Freigeben über


WalletCard.CardIcon Property

Definition

An icon may be shown alongside the card image to convey information about how the card can be used, or if some other action must be taken before using the card.

public Android.Graphics.Drawables.Icon? CardIcon { [Android.Runtime.Register("getCardIcon", "()Landroid/graphics/drawable/Icon;", "", ApiSince=30)] get; }
[<get: Android.Runtime.Register("getCardIcon", "()Landroid/graphics/drawable/Icon;", "", ApiSince=30)>]
member this.CardIcon : Android.Graphics.Drawables.Icon

Property Value

Attributes

Remarks

An icon may be shown alongside the card image to convey information about how the card can be used, or if some other action must be taken before using the card. For example, an NFC logo could indicate that the card is NFC-enabled and will be provided to an NFC terminal if the phone is held in close proximity to the NFC reader.

If the supplied Icon is backed by a bitmap, it should have width and height GetWalletCardsRequest#getIconSizePx().

Java documentation for android.service.quickaccesswallet.WalletCard.getCardIcon().

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