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.SetCameraPermissions

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

Parameters

enableNew permission value.

Description

Enable or disable camera permissions. (Will prompt user for access).