This version of Unity is unsupported.

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. Some platforms like WebGL need explicit user consent to use features. In most build targets, this function always returns true.