PackageInstaller.SessionParams.SetReferrerUri(Uri) Method

Definition

Optionally set the URI that referred you to install this package.

[Android.Runtime.Register("setReferrerUri", "(Landroid/net/Uri;)V", "GetSetReferrerUri_Landroid_net_Uri_Handler")]
public virtual void SetReferrerUri (Android.Net.Uri? referrerUri);
[<Android.Runtime.Register("setReferrerUri", "(Landroid/net/Uri;)V", "GetSetReferrerUri_Landroid_net_Uri_Handler")>]
abstract member SetReferrerUri : Android.Net.Uri -> unit
override this.SetReferrerUri : Android.Net.Uri -> unit

Parameters

referrerUri
Uri
Attributes

Remarks

Optionally set the URI that referred you to install this package. This is informational and may be used as a signal for anti-malware purposes.

Java documentation for android.content.pm.PackageInstaller.SessionParams.setReferrerUri(android.net.Uri).

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