Język

VoiceInteractionManager.ReadScreenContextRequestState Property

Definition

Returns the read screen context request state for an app.

public int ReadScreenContextRequestState { [Android.Runtime.Register("getReadScreenContextRequestState", "()I", "", ApiSince=37)] get; }
[<get: Android.Runtime.Register("getReadScreenContextRequestState", "()I", "", ApiSince=37)>]
member this.ReadScreenContextRequestState : int

Property Value

The current request state of the specified access, represented by one of the following constants: #READ_SCREEN_CONTEXT_REQUEST_STATE_GRANTED, #READ_SCREEN_CONTEXT_REQUEST_STATE_REQUESTABLE, or #READ_SCREEN_CONTEXT_REQUEST_STATE_UNREQUESTABLE

Attributes

Remarks

Returns the read screen context request state for an app. This method provides a streamlined mechanism for applications to determine whether read screen context access can be requested (i.e. whether the user will be prompted with a request dialog).

Android reference for android.app.voiceinteraction.VoiceInteractionManager.getReadScreenContextRequestState.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to