语言

NotificationChannel.HasUserSetSound 属性

定义

返回用户是否选择了此通道的声音。

public bool HasUserSetSound { [Android.Runtime.Register("hasUserSetSound", "()Z", "", ApiSince=30)] get; }
[<get: Android.Runtime.Register("hasUserSetSound", "()Z", "", ApiSince=30)>]
member this.HasUserSetSound : bool

属性值

true 当通道的声音被标记为用户选择时;否则,为 false.

特性

注解

返回用户是否选择了此通道的声音。

Android 参考。android.app.NotificationChannel.hasUserSetSound

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于