Skip to content

Af2System.showSettings

Petro O. Bochan edited this page Sep 13, 2023 · 8 revisions

Usage
Af2System.showSettings(context, panel)

Parameters
context - An interface to global information about an application environment.
panel - A number that specifies which capabilities panel to display, as described below.

0 - Camera and Microphone
2 - Microphone
3 - Camera

Description
Method; displays the specified settings panel, which lets user allow or deny access to their camera and microphone. For example, if your application requires the use of a camera, you can inform the user that they must choose 'Allow' in the settings panel, and then issue a Af2System.showSettings(this, 0) command.

See also
Af2Camera.get, Af2Microphone.get

Clone this wiki locally