swift
Public Types | Signals | Public Member Functions | List of all members
swift::misc::CMacOSMicrophoneAccess Class Reference

Wrapper around MacOS 10.14 AVCaptureDevice AVCaptureDevice authorization. More...

Inheritance diagram for swift::misc::CMacOSMicrophoneAccess:
[legend]

Public Types

enum  AuthorizationStatus { Authorized , Denied , NotDetermined }
 Authorization status.
 

Signals

void permissionRequestAnswered (bool granted)
 User has answered the permission request popup.
 

Public Member Functions

 CMacOSMicrophoneAccess (QObject *parent=nullptr)
 Constructor.
 
void requestAccess ()
 Request access.
 
AuthorizationStatus getAuthorizationStatus ()
 Get current authorization status.
 

Detailed Description

Wrapper around MacOS 10.14 AVCaptureDevice AVCaptureDevice authorization.

Definition at line 17 of file microphoneaccess.h.


The documentation for this class was generated from the following files: