CardEmulation.DescriptionForPreferredPaymentServiceFormatted Property
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.
Returns a user-visible description of the preferred payment service.
public Java.Lang.ICharSequence? DescriptionForPreferredPaymentServiceFormatted { [Android.Runtime.Register("getDescriptionForPreferredPaymentService", "()Ljava/lang/CharSequence;", "", ApiSince=30)] [Android.Runtime.RequiresPermission("android.permission.NFC_PREFERRED_PAYMENT_INFO")] get; }
[<get: Android.Runtime.Register("getDescriptionForPreferredPaymentService", "()Ljava/lang/CharSequence;", "", ApiSince=30)>]
[<get: Android.Runtime.RequiresPermission("android.permission.NFC_PREFERRED_PAYMENT_INFO")>]
member this.DescriptionForPreferredPaymentServiceFormatted : Java.Lang.ICharSequence
Property Value
the preferred payment service description
- Attributes
Remarks
Returns a user-visible description of the preferred payment service.
Starting with Build.VERSION_CODES#VANILLA_ICE_CREAM
, the preferred payment service no longer exists and is replaced by android.app.role.RoleManager#ROLE_WALLET
. This will return the description for one of the services registered by the role holder (if any). If there are multiple services registered, it is unspecified which of those will be used to obtain the service description here.
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.