Język

HandoffActivityParams.Builder.SetAllowHandoffWithoutPackageInstalled Method

Definition

Sets whether the activity should be handed off even if the package is not installed on the remote device.

[Android.Runtime.Register("setAllowHandoffWithoutPackageInstalled", "(Z)Landroid/app/HandoffActivityParams$Builder;", "", ApiSince=37)]
public Android.App.HandoffActivityParams.Builder SetAllowHandoffWithoutPackageInstalled(bool allowHandoffWithoutPackageInstalled);
[<Android.Runtime.Register("setAllowHandoffWithoutPackageInstalled", "(Z)Landroid/app/HandoffActivityParams$Builder;", "", ApiSince=37)>]
member this.SetAllowHandoffWithoutPackageInstalled : bool -> Android.App.HandoffActivityParams.Builder

Parameters

allowHandoffWithoutPackageInstalled
Boolean

whether the activity should be handed off even if the package is not installed on the remote device.

Returns

the builder. This value cannot be null.

Attributes

Remarks

Sets whether the activity should be handed off even if the package is not installed on the remote device. If this is set to false, this activity will not appear as a Handoff suggestion on devices which do not have the package installed.

Android reference for android.app.HandoffActivityParams.Builder.setAllowHandoffWithoutPackageInstalled.

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