Notification.AudioAttributes 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
此欄位在 API 等級 26 中被棄用。
[Android.Runtime.Register("audioAttributes")]
public Android.Media.AudioAttributes? AudioAttributes { get; set; }
[<Android.Runtime.Register("audioAttributes")>]
member this.AudioAttributes : Android.Media.AudioAttributes with get, set
屬性值
- 屬性
備註
此欄位在 API 等級 26 中被棄用。 改用 NotificationChannel.getAudioAttributes() 來處理。
播放聲音時要用的音效屬性。
Android 參考資料。android.app.Notification.audioAttributes
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。