Language

AssistContent.IsAppProvidedIntent Property

Definition

Returns whether or not the current Intent was explicitly provided in android.app.Activity#onProvideAssistContent Activity.onProvideAssistContent.

public virtual bool IsAppProvidedIntent { [Android.Runtime.Register("isAppProvidedIntent", "()Z", "GetIsAppProvidedIntentHandler", ApiSince=23)] get; }
[<get: Android.Runtime.Register("isAppProvidedIntent", "()Z", "GetIsAppProvidedIntentHandler", ApiSince=23)>]
member this.IsAppProvidedIntent : bool

Property Value

true if the app explicitly set the intent; false if the system used the activity's default intent.

Attributes

Remarks

Returns whether or not the current Intent was explicitly provided in android.app.Activity#onProvideAssistContent Activity.onProvideAssistContent. If not, the Intent was automatically set based on android.app.Activity#getIntent Activity.getIntent.

Java documentation for android.app.assist.AssistContent.isAppProvidedIntent().

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