Share via


WalletCard.CardLabelFormatted Property

Definition

A card label 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 Java.Lang.ICharSequence? CardLabelFormatted { [Android.Runtime.Register("getCardLabel", "()Ljava/lang/CharSequence;", "", ApiSince=30)] get; }
[<get: Android.Runtime.Register("getCardLabel", "()Ljava/lang/CharSequence;", "", ApiSince=30)>]
member this.CardLabelFormatted : Java.Lang.ICharSequence

Property Value

Attributes

Remarks

A card label 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-enabled card could be labeled "Hold near reader" to inform the user of how to use NFC cards when interacting with an NFC reader.

If the provided label is too long to fit on one line, it may be truncated and ellipsized.

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

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