Compartilhar via


Icon.ResPackage Property

Definition

Gets the package used to create this icon.

public string ResPackage { [Android.Runtime.Register("getResPackage", "()Ljava/lang/String;", "", ApiSince=28)] get; }
[<get: Android.Runtime.Register("getResPackage", "()Ljava/lang/String;", "", ApiSince=28)>]
member this.ResPackage : string

Property Value

Attributes

Remarks

Gets the package used to create this icon.

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

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

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