VoiceInteractionSession.UserDisabledShowContext Property

Definition

Return which show context flags have been disabled by the user through the system settings UI, so the session will never get this data.

public virtual Android.Service.Voice.ShowFlags UserDisabledShowContext { [Android.Runtime.Register("getUserDisabledShowContext", "()I", "GetGetUserDisabledShowContextHandler", ApiSince=23)] get; }
[<get: Android.Runtime.Register("getUserDisabledShowContext", "()I", "GetGetUserDisabledShowContextHandler", ApiSince=23)>]
member this.UserDisabledShowContext : Android.Service.Voice.ShowFlags

Property Value

Attributes

Remarks

Return which show context flags have been disabled by the user through the system settings UI, so the session will never get this data. Returned flags are any combination of VoiceInteractionSession#SHOW_WITH_ASSIST VoiceInteractionSession.SHOW_WITH_ASSIST and VoiceInteractionSession#SHOW_WITH_SCREENSHOT VoiceInteractionSession.SHOW_WITH_SCREENSHOT. Note that this only tells you about global user settings, not about restrictions that may be applied contextual based on the current application the user is in or other transient states.

Java documentation for android.service.voice.VoiceInteractionSession.getUserDisabledShowContext().

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