audiofileplayer library

Classes

Audio
A plugin for audio playback. [...]
MediaEvent
Represents events received from the OS's background audio system (e.g. iOS lockscreen/control center, bluetooth controllers, etc) and from Android buttons in the notification.

Constants

absolutePathKey → const String
'absolutePath'
audioBytesKey → const String
'audioBytes'
audioIdKey → const String
'audioId'
channelName → const String
@visibleForTesting
'audiofileplayer'
durationSecondsKey → const String
'duration_seconds'
endpointSecondsKey → const String
'endpointSeconds'
errorCode → const String
'AudioPluginError'
flutterPathKey → const String
'flutterPath'
loadMethod → const String
'load'
loopingKey → const String
'looping'
mediaCustom → const String
'custom'
mediaCustomDrawableResourceKey → const String
'customDrawableResource'
mediaCustomEventIdKey → const String
'customEventId'
mediaCustomTitleKey → const String
'customTitle'
mediaEventTypeKey → const String
'mediaEventType'
mediaNext → const String
'next'
mediaPause → const String
'pause'
mediaPlay → const String
'play'
mediaPlayPause → const String
'playPause'
mediaPrevious → const String
'previous'
mediaSeekBackward → const String
'seekBackward'
mediaSeekForward → const String
'seekForward'
mediaSeekTo → const String
'seekTo'
mediaSeekToPositionSecondsKey → const String
'seekToPositionSeconds'
mediaSkipBackward → const String
'skipBackward'
mediaSkipForward → const String
'skipForward'
mediaSkipIntervalSecondsKey → const String
'skipIntervalSeconds'
mediaStop → const String
'stop'
onCompleteCallback → const String
'onComplete'
onDurationCallback → const String
'onDuration'
onMediaEventCallback → const String
'onMediaEvent'
onPositionCallback → const String
'onPosition'
pauseMethod → const String
'pause'
playFromStartKey → const String
'playFromStart'
playInBackgroundKey → const String
'playInBackground'
playMethod → const String
'play'
positionSecondsKey → const String
'position_seconds'
releaseMethod → const String
'release'
remoteUrlKey → const String
'remoteUrl'
seekMethod → const String
'seek'
setVolumeMethod → const String
'setVolume'
volumeKey → const String
'volume'

Properties

audioMethodChannel MethodChannel
read / write

Enums

MediaActionType
Specifies an action that the OS's background audio system may support. [...]