Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.3   7.4   7.5   8.0   8.1   8.2   8.3   8.4   8.5   8.6    Statistic  

AVRecorder.RequestAccessForMediaType

Requests permissions for media type.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
AVRecorder 8.4 Yes No No No Yes
MBS( "AVRecorder.RequestAccessForMediaType"; MediaType )   More

Parameters

Parameter Description Example value
MediaType The media type, can be video or audio. "video"

Result

Returns OK or error.

Description

Requests permissions for media type.
Requests access to the underlying hardware for the media type, showing a dialog to the user if necessary.
May show a dialog to user, so call early when the features are needed.
Check with AVRecorder.AuthorizationStatusForMediaType, whether you are allowed.

See also

Blog Entries

Created 2nd September 2018, last changed 2nd September 2018


AVRecorder.Release   -   AVRecorder.SetAudioDevice

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins