Udostępnij za pośrednictwem


Settings.ExtraDoNotDisturbModeEnabled Field

Definition

Activity Extra: Enable or disable Do Not Disturb mode.

[Android.Runtime.Register("EXTRA_DO_NOT_DISTURB_MODE_ENABLED", ApiSince=23)]
public const string ExtraDoNotDisturbModeEnabled;
[<Android.Runtime.Register("EXTRA_DO_NOT_DISTURB_MODE_ENABLED", ApiSince=23)>]
val mutable ExtraDoNotDisturbModeEnabled : string

Field Value

Attributes

Remarks

Activity Extra: Enable or disable Do Not Disturb mode.

This can be passed as an extra field to the #ACTION_VOICE_CONTROL_DO_NOT_DISTURB_MODE intent as a boolean to indicate if it should be enabled.

Java documentation for android.provider.Settings.EXTRA_DO_NOT_DISTURB_MODE_ENABLED.

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