Language

Activity.IsHandoffEnabled Property

Definition

Returns if Handoff has been enabled for this Activity.

public bool IsHandoffEnabled { [Android.Runtime.Register("isHandoffEnabled", "()Z", "", ApiSince=37)] get; }
[<get: Android.Runtime.Register("isHandoffEnabled", "()Z", "", ApiSince=37)>]
member this.IsHandoffEnabled : bool

Property Value

Whether Handoff is enabled for the Activity

Attributes

Remarks

Returns if Handoff has been enabled for this Activity. See setHandoffEnabled(boolean, HandoffActivityParams) to change if Handoff is enabled on this Activity. When Handoff is enabled, the user may request this Activity to be sent to other devices that they owe. The system will request data from this Activity to recreate it on the other device. TODO (b/412338142): Add link to onHandoffActivityDataRequested once method is added.

Android reference for android.app.Activity.isHandoffEnabled.

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