VolumeButtonDisablerPlatform class abstract

Platform interface for controlling hardware volume button behavior.

Inheritance
  • Object
  • PlatformInterface
  • VolumeButtonDisablerPlatform
Implementers

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

areVolumeButtonsEnabled() Future<bool>
Returns whether hardware volume buttons are currently enabled for this app.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setVolumeButtonsEnabled(bool enabled) Future<void>
Enable or disable the hardware volume buttons while the Flutter activity is in the foreground.
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

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