Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

PlayerSettings.BlackBerry.SetMicrophonePermissions

static function SetMicrophonePermissions(enable: bool): void;
static void SetMicrophonePermissions(bool enable);
static def SetMicrophonePermissions(enable as bool) as void

Parameters

enableNew permission value.

Description

Enable / Disable microphone permission level. (Will prompt user for access).