Application.HasUserAuthorization

Declaration

public static bool HasUserAuthorization(UserAuthorization mode);

Description

Check if the user has authorized use of the webcam or microphone on iOS and WebGL.

This is used to check the result of a previous call to Application.RequestUserAuthorization. Explicit user consent to use features is only needed in WebGL. In other build targets, this function always returns true.


Did you find this page useful? Please give it a rating: