Language

VoiceInteractionManager.CanReadScreenContext Method

Definition

Returns whether the calling app can read screen context.

[Android.Runtime.Register("canReadScreenContext", "()Z", "", ApiSince=37)]
public bool CanReadScreenContext();
[<Android.Runtime.Register("canReadScreenContext", "()Z", "", ApiSince=37)>]
member this.CanReadScreenContext : unit -> bool

Returns

true if the calling app is the current assistant and has access to screen context , false otherwise.

Attributes

Remarks

Returns whether the calling app can read screen context.

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

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