Hierarchy

  • HardwareIOSProps

Properties

Properties

microphone: { requestRecordPermission?: ((callback: ((...args: any[]) => void)) => void) }

Microphone related properties

Deprecated

Use Permission.requestPermission(Permissions.microphone) instead

Ios

Static

Since

1.1.12

Type declaration

  • Optional Readonly requestRecordPermission?: ((callback: ((...args: any[]) => void)) => void)
      • (callback: ((...args: any[]) => void)): void
      • Readonly

        Checks to see if calling process has permission to record audio. The callback will be called immediately if permission has already been granted or denied. Otherwise, it presents a dialog to notify the user and allow them to choose, and calls the block once the UI has been dismissed. 'true' indicates whether permission has been granted.

        Method

        requestRecordPermission

        Ios

        Static

        Since

        1.1.12

        Parameters

        • callback: ((...args: any[]) => void)

          for permission situation.

            • (...args: any[]): void
            • Parameters

              • Rest ...args: any[]

              Returns void

        Returns void

Generated using TypeDoc