Legacy Documentation: Version 5.0
Language: English
  • C#
  • JS

Script language

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

PlayerSettings.BlackBerry.SetCameraPermissions

Switch to Manual
public static function SetCameraPermissions(enable: bool): void;

Parameters

enableNew permission value.

Description

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