语言

Notification.CallStyle.SetVerificationIcon(Icon) 方法

定义

可选图标,以文本作为调用方验证状态显示。

[Android.Runtime.Register("setVerificationIcon", "(Landroid/graphics/drawable/Icon;)Landroid/app/Notification$CallStyle;", "GetSetVerificationIcon_Landroid_graphics_drawable_Icon_Handler", ApiSince=31)]
public virtual Android.App.Notification.CallStyle SetVerificationIcon(Android.Graphics.Drawables.Icon? verificationIcon);
[<Android.Runtime.Register("setVerificationIcon", "(Landroid/graphics/drawable/Icon;)Landroid/app/Notification$CallStyle;", "GetSetVerificationIcon_Landroid_graphics_drawable_Icon_Handler", ApiSince=31)>]
abstract member SetVerificationIcon : Android.Graphics.Drawables.Icon -> Android.App.Notification.CallStyle
override this.SetVerificationIcon : Android.Graphics.Drawables.Icon -> Android.App.Notification.CallStyle

参数

verificationIcon
Icon

图标:此值可能为 null。

返回

此 Android.App.Notification.CallStyle 实例允许链接调用。

特性

注解

可选图标,以文本作为调用方验证状态显示。

Android 参考。android.app.Notification.CallStyle.setVerificationIcon

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于