HandoffActivityParams.Builder.SetAllowHandoffWithoutPackageInstalled 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 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.
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.