MethodChannelDoNotDisturb class

An implementation of DoNotDisturbPlatform that uses method channels.

Inheritance

Constructors

MethodChannelDoNotDisturb()

Properties

hashCode int
The hash code for this object.
no setterinherited
methodChannel MethodChannel
The method channel used to communicate with the platform.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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