Type Alias


The signature for the block executed when the user responds to a system prompt for recording permission.


typealias PermissionBlock = (Bool) -> Void


The block takes a single parameter:


true if the user has explicitly granted the app permission for audio recording; false if the user denied permission.

This block type is used by the requestRecordPermission(_:) method.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software