语言

GetWalletCardsError 构造函数

定义

重载

名称 说明
GetWalletCardsError(Icon, ICharSequence)

构造新的错误响应。

GetWalletCardsError(Icon, String)

构造新的错误响应。

GetWalletCardsError(Icon, ICharSequence)

构造新的错误响应。

[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

参数

icon
Icon

要显示给消息旁边的用户显示的图标。 Optional.

message
ICharSequence

要向用户显示的消息。 Optional.

特性

注解

构造新的错误响应。 如果提供,则向用户显示图标和消息。

适用于 . 的 android.service.quickaccesswallet.GetWalletCardsError.GetWalletCardsError(android.graphics.drawable.Icon, java.lang.CharSequence)Java 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于

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

参数

icon
Icon

要显示给消息旁边的用户显示的图标。 Optional. 此值可能为 null。

message
String

要向用户显示的消息。 Optional. 此值可能为 null。

特性

注解

构造新的错误响应。 如果提供,则向用户显示图标和消息。

Android 参考。android.service.quickaccesswallet.GetWalletCardsError.GetWalletCardsError

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于