Notification.CallStyle.SetAnswerButtonColorHint(Color) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
可选颜色,用作“答案”操作按钮颜色的提示。
[Android.Runtime.Register("setAnswerButtonColorHint", "(I)Landroid/app/Notification$CallStyle;", "GetSetAnswerButtonColorHint_IHandler", ApiSince=31)]
public virtual Android.App.Notification.CallStyle SetAnswerButtonColorHint(Android.Graphics.Color color);
[<Android.Runtime.Register("setAnswerButtonColorHint", "(I)Landroid/app/Notification$CallStyle;", "GetSetAnswerButtonColorHint_IHandler", ApiSince=31)>]
abstract member SetAnswerButtonColorHint : Android.Graphics.Color -> Android.App.Notification.CallStyle
override this.SetAnswerButtonColorHint : Android.Graphics.Color -> Android.App.Notification.CallStyle
参数
- color
- Color
int
返回
此 Android.App.Notification.CallStyle 实例允许链接调用。
- 特性
注解
可选颜色,用作“答案”操作按钮颜色的提示。 系统可能会更改此颜色,以确保与背景形成足够的对比度。 如果未着色通知,系统可能会选择忽略此提示。
Android 参考。android.app.Notification.CallStyle.setAnswerButtonColorHint
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。