DoNotDisturbPlatform class abstract

The interface that has implementations of do_not_disturb plugin.

Inheritance
  • Object
  • PlatformInterface
  • DoNotDisturbPlatform
Implementers

Constructors

DoNotDisturbPlatform()
Constructs a DoNotDisturbPlatform.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getDNDStatus() Future<InterruptionFilter>
Retrieves the current Do Not Disturb status.
isNotificationPolicyAccessGranted() Future<bool>
Checks if the Notification Policy Access is granted.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openDndSettings() Future<void>
Opens the Do Not Disturb settings.
openNotificationPolicyAccessSettings() Future<void>
Opens the Notification Policy Access settings.
setInterruptionFilter(InterruptionFilter filter) Future<void>
Sets the Interruption Filter for Do Not Disturb.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

instance DoNotDisturbPlatform
The default instance of DoNotDisturbPlatform to use.
getter/setter pair