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; otherwise, false. The system can use the activity's default intent when the app has not set one.

Attributes

Remarks

Returns whether or not the current Intent was explicitly provided in android.app.Activity#onProvideAssistContent Activity.onProvideAssistContent. The system can set a default Intent 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