Freigeben über


ActivityOptions.SetAppVerificationBundle(Bundle) Method

Definition

Set the Bundle that is provided to the app installer for additional verification if the call to Context#startActivity results in an app being installed.

[Android.Runtime.Register("setAppVerificationBundle", "(Landroid/os/Bundle;)Landroid/app/ActivityOptions;", "GetSetAppVerificationBundle_Landroid_os_Bundle_Handler", ApiSince=26)]
public virtual Android.App.ActivityOptions? SetAppVerificationBundle (Android.OS.Bundle? bundle);
[<Android.Runtime.Register("setAppVerificationBundle", "(Landroid/os/Bundle;)Landroid/app/ActivityOptions;", "GetSetAppVerificationBundle_Landroid_os_Bundle_Handler", ApiSince=26)>]
abstract member SetAppVerificationBundle : Android.OS.Bundle -> Android.App.ActivityOptions
override this.SetAppVerificationBundle : Android.OS.Bundle -> Android.App.ActivityOptions

Parameters

bundle
Bundle

Returns

Attributes

Remarks

Set the Bundle that is provided to the app installer for additional verification if the call to Context#startActivity results in an app being installed.

This Bundle is not provided to any other app besides the installer.

Java documentation for android.app.ActivityOptions.setAppVerificationBundle(android.os.Bundle).

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