Compartilhar via


GetWalletCardsError Constructors

Definition

Overloads

GetWalletCardsError(Icon, ICharSequence)

Construct a new error response.

GetWalletCardsError(Icon, String)

GetWalletCardsError(Icon, ICharSequence)

Construct a new error response.

[Android.Runtime.Register(".ctor", "(Landroid/graphics/drawable/Icon;Ljava/lang/CharSequence;)V", "", ApiSince=30)]
public GetWalletCardsError (Android.Graphics.Drawables.Icon? icon, Java.Lang.ICharSequence? message);
[<Android.Runtime.Register(".ctor", "(Landroid/graphics/drawable/Icon;Ljava/lang/CharSequence;)V", "", ApiSince=30)>]
new Android.Service.QuickAccessWallet.GetWalletCardsError : Android.Graphics.Drawables.Icon * Java.Lang.ICharSequence -> Android.Service.QuickAccessWallet.GetWalletCardsError

Parameters

icon
Icon

an icon to be shown to the user next to the message. Optional.

message
ICharSequence

message to be shown to the user. Optional.

Attributes

Remarks

Construct a new error response. If provided, the icon and message will be displayed to the user.

Java documentation for android.service.quickaccesswallet.GetWalletCardsError.GetWalletCardsError(android.graphics.drawable.Icon, java.lang.CharSequence).

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

GetWalletCardsError(Icon, String)

[Android.Runtime.Register(".ctor", "(Landroid/graphics/drawable/Icon;Ljava/lang/CharSequence;)V", "", ApiSince=30)]
public GetWalletCardsError (Android.Graphics.Drawables.Icon? icon, string? message);
[<Android.Runtime.Register(".ctor", "(Landroid/graphics/drawable/Icon;Ljava/lang/CharSequence;)V", "", ApiSince=30)>]
new Android.Service.QuickAccessWallet.GetWalletCardsError : Android.Graphics.Drawables.Icon * string -> Android.Service.QuickAccessWallet.GetWalletCardsError

Parameters

icon
Icon
message
String
Attributes

Applies to