Language

Notification.CallStyle.SetAnswerButtonColorHint(Color) メソッド

定義

回答アクション ボタンの色のヒントとして使用するオプションの色。

[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.app.Notification.CallStyle.setAnswerButtonColorHintの Android リファレンス。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象