Sdílet prostřednictvím


Icon.Uri Property

Definition

Gets the uri used to create this icon.

public Android.Net.Uri Uri { [Android.Runtime.Register("getUri", "()Landroid/net/Uri;", "", ApiSince=28)] get; }
[<get: Android.Runtime.Register("getUri", "()Landroid/net/Uri;", "", ApiSince=28)>]
member this.Uri : Android.Net.Uri

Property Value

Uri
Attributes

Remarks

Gets the uri used to create this icon.

Only valid for icons of type #TYPE_URI and #TYPE_URI_ADAPTIVE_BITMAP. Note: This uri may not be available in the future, and it is up to the caller to ensure safety if this uri is re-used and/or persisted.

Java documentation for android.graphics.drawable.Icon.getUri().

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