Notification.ProgressStyle.SetProgressStartIcon(Icon) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
一個可選的方形圖示,會出現在進度條開頭。
[Android.Runtime.Register("setProgressStartIcon", "(Landroid/graphics/drawable/Icon;)Landroid/app/Notification$ProgressStyle;", "GetSetProgressStartIcon_Landroid_graphics_drawable_Icon_Handler", ApiSince=36)]
public virtual Android.App.Notification.ProgressStyle SetProgressStartIcon(Android.Graphics.Drawables.Icon? startIcon);
[<Android.Runtime.Register("setProgressStartIcon", "(Landroid/graphics/drawable/Icon;)Landroid/app/Notification$ProgressStyle;", "GetSetProgressStartIcon_Landroid_graphics_drawable_Icon_Handler", ApiSince=36)>]
abstract member SetProgressStartIcon : Android.Graphics.Drawables.Icon -> Android.App.Notification.ProgressStyle
override this.SetProgressStartIcon : Android.Graphics.Drawables.Icon -> Android.App.Notification.ProgressStyle
參數
- startIcon
- Icon
圖示:此值可能為空值。
傳回
這個 Android.App.Notification.ProgressStyle 實例,允許呼叫串接。
- 屬性
備註
一個可選的方形圖示,會出現在進度條開頭。 此圖示將被裁切至中央方格。 這個圖示不會在 RTL 版面中鏡像。
Android 參考資料。android.app.Notification.ProgressStyle.setProgressStartIcon
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。