PackageInstaller.SessionParams.SetOriginatingUri(Uri) 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.
Optionally set the URI where this package was downloaded from.
[Android.Runtime.Register("setOriginatingUri", "(Landroid/net/Uri;)V", "GetSetOriginatingUri_Landroid_net_Uri_Handler")]
public virtual void SetOriginatingUri (Android.Net.Uri? originatingUri);
[<Android.Runtime.Register("setOriginatingUri", "(Landroid/net/Uri;)V", "GetSetOriginatingUri_Landroid_net_Uri_Handler")>]
abstract member SetOriginatingUri : Android.Net.Uri -> unit
override this.SetOriginatingUri : Android.Net.Uri -> unit
Parameters
- originatingUri
- Uri
- Attributes
Remarks
Optionally set the URI where this package was downloaded from. This is informational and may be used as a signal for anti-malware purposes.
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.