audioPermissionGranted method

  1. @override
Future<bool> audioPermissionGranted()
override

True iff the user has granted microphone access. Cheap; safe to re-poll on app foregrounding to detect grants made via Settings.

Implementation

@override
Future<bool> audioPermissionGranted() async {
  audioPermissionCalls += 1;
  return audioPermission;
}