Notification.CallStyle.SetDeclineButtonColorHint(Color) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
可選顏色可作為拒絕或掛斷按鈕顏色的提示。
[Android.Runtime.Register("setDeclineButtonColorHint", "(I)Landroid/app/Notification$CallStyle;", "GetSetDeclineButtonColorHint_IHandler", ApiSince=31)]
public virtual Android.App.Notification.CallStyle SetDeclineButtonColorHint(Android.Graphics.Color color);
[<Android.Runtime.Register("setDeclineButtonColorHint", "(I)Landroid/app/Notification$CallStyle;", "GetSetDeclineButtonColorHint_IHandler", ApiSince=31)>]
abstract member SetDeclineButtonColorHint : Android.Graphics.Color -> Android.App.Notification.CallStyle
override this.SetDeclineButtonColorHint : Android.Graphics.Color -> Android.App.Notification.CallStyle
參數
- color
- Color
int
傳回
這個 Android.App.Notification.CallStyle 實例,允許通話串接。
- 屬性
備註
可選顏色可作為拒絕或掛斷按鈕顏色的提示。 系統可能會改變這個顏色,以確保與背景有足夠的對比度。 如果通知沒有被上色,系統可能會選擇忽略這個提示。
Android 參考資料。android.app.Notification.CallStyle.setDeclineButtonColorHint
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。