MICROPHONE property

PermissionResourceType MICROPHONE
final

Resource belongs to audio capture device, like microphone.

Officially Supported Platforms/Implementations:

Implementation

static final MICROPHONE =
    PermissionResourceType._internalMultiPlatform('MICROPHONE', () {
  switch (defaultTargetPlatform) {
    case TargetPlatform.android:
      return 'android.webkit.resource.AUDIO_CAPTURE';
    case TargetPlatform.iOS:
      return 1;
    case TargetPlatform.macOS:
      return 1;
    default:
      break;
  }
  return null;
});