Notification.WearableExtender.ContentAction 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得被指定為主要動作的通知動作的索引(如果有的話)。
public int ContentAction { [Android.Runtime.Register("getContentAction", "()I", "")] get; }
[<get: Android.Runtime.Register("getContentAction", "()I", "")>]
member this.ContentAction : int
屬性值
若未選擇動作,則為UNSET_ACTION_INDEX
- 屬性
備註
取得被指定為主要動作的通知動作的索引(如果有的話)。 如果可穿戴式特定動作被加入主通知,這個索引會套用到該清單,否則會套用到一般的動作清單。
Android 參考資料。android.app.Notification.WearableExtender.getContentAction
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。