Activity.SetHandoffEnabled(Boolean, HandoffActivityParams) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets if Handoff is enabled for this Activity.
[Android.Runtime.Register("setHandoffEnabled", "(ZLandroid/app/HandoffActivityParams;)V", "", ApiSince=37)]
public void SetHandoffEnabled(bool handoffEnabled, Android.App.HandoffActivityParams? handoffActivityParams);
[<Android.Runtime.Register("setHandoffEnabled", "(ZLandroid/app/HandoffActivityParams;)V", "", ApiSince=37)>]
member this.SetHandoffEnabled : bool * Android.App.HandoffActivityParams -> unit
Parameters
- handoffEnabled
- Boolean
- handoffActivityParams
- HandoffActivityParams
Configuration parameters for Handoff.
- Attributes
Remarks
Sets if Handoff is enabled for this Activity. See isHandoffEnabled() to get if Handoff is currently enabled on this Activity. If Handoff is enabled, this Activity will only be eligible to be handed off to other devices if it is the topmost Activity in its Task. Callers may specify optional parameters to specify when Handoff is appropriate for the current activity. See HandoffActivityParams for more details.
Android reference for android.app.Activity.setHandoffEnabled.
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.