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
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。