共用方式為


NotificationChannel.HasUserSetSound Property

Definition

Returns whether the user has chosen the sound of this channel.

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

Property Value

Attributes

Remarks

Returns whether the user has chosen the sound of this channel.

Java documentation for android.app.NotificationChannel.hasUserSetSound().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to