Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
AVRecorder.AuthorizationStatusForMediaType
Queries authorization status for audio/video recording.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| AVRecorder | 8.4 | Yes | No | No | No | Yes |
MBS( "AVRecorder.AuthorizationStatusForMediaType"; MediaType ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| MediaType | The media type, can be video or audio. | "video" |
Result
Returns status or error.
Description
Queries authorization status for audio/video recording.Returns the client's authorization status for accessing the underlying hardware that supports a given media type.
The possible values are:
| NotDetermined | Indicates that the user has not yet made a choice regarding whether the client can access the hardware. |
| Restricted | The client is not authorized to access the hardware for the media type. The user cannot change the client's status, possibly due to active restrictions such as parental controls being in place. |
| Denied | The user explicitly denied access to the hardware supporting a media type for the client. |
| Authorized | The client is authorized to access the hardware supporting a media type. |
The application (FileMaker or runtime) may need to have Microphone and Camera usage strings in info.plist as well as entitlements used for code signing for those. FileMaker Pro 18.0.3 or newer does have those, but for a runtime or iOS SDK based app you may need to add that yourself.
See also
Example Databases
Blog Entries
Release notes
- Version 8.4
- Added AVRecorder.RequestAccessForMediaType and AVRecorder.AuthorizationStatusForMediaType to request permissions for camera and microphone access.
Created 2nd September 2018, last changed 6th May 2020
AVRecorder.AudioDeviceInfo - AVRecorder.CaptureStillPhoto
Feedback: Report problem or ask question.
Links
MBS Xojo PDF Plugins