IosSystemSoundPlatform class abstract

The interface that platform implementations of the plugin must implement.

Extend this class rather than implementing it, so methods added later do not break existing implementations; extends is enforced at runtime by PlatformInterface.

Inheritance
  • Object
  • PlatformInterface
  • IosSystemSoundPlatform
Implementers

Constructors

IosSystemSoundPlatform()

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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
play(SystemSoundID soundId, {bool waitForCompletion = false}) → Future<void>
Plays a predefined soundId.
playRawId(int rawId, {bool waitForCompletion = false}) → Future<void>
Plays a raw SystemSoundID value, for IDs missing from the enum.
toString() → String
A string representation of this object.
inherited

Operators

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

Static Properties

instance ↔ IosSystemSoundPlatform
The platform implementation in use, MethodChannelIosSystemSound by default.
getter/setter pair