Contents

requestPersonalVoiceAuthorization(completionHandler:)

Prompts the user to authorize your app to use personal voices.

Declaration

class func requestPersonalVoiceAuthorization(completionHandler handler: @escaping  @Sendable (AVSpeechSynthesizer.PersonalVoiceAuthorizationStatus) -> Void)
class func requestPersonalVoiceAuthorization() async -> AVSpeechSynthesizer.PersonalVoiceAuthorizationStatus

Parameters

  • handler:

    A completion handler that the system calls after the user responds to a request to authorize use of personal voices, which receives the authorization status as an argument.

See Also

Enabling personal voices