OptionalactiveThe audio file to play.
OptionalaudioShould mix audio.
OptionalaudioAndroid: Used to determine volume source on android < 26. Otherwise use contentType option while creating the player. https://developer.android.com/reference/android/media/MediaPlayer#setAudioStreamType(int)
OptionalautoPrevent autoplay if desired as player autoplays be default
OptionalcompleteCallback to execute when playback has completed.
OptionaldataAndroid: custom player datasource.
OptionalerrorCallback to execute when playback has an error.
OptionalinfoCallback to execute when info is emitted from the player.
Set true to loop audio playback.
OptionalmeteringSet true to enable audio metering.
OptionalpitchOptionalseekstart at a specific position
OptionalsessioniOS: The category for playing recorded music or other sounds that are central to the successful use of your app. https://developer.apple.com/documentation/avfaudio/avaudiosessioncategory?language=objc
OptionalsessioniOS: The set of options associated with the current audio session category. https://developer.apple.com/documentation/avfaudio/avaudiosession/categoryoptions-swift.property?language=objc
OptionalsessioniOS: Audio session mode identifiers. https://developer.apple.com/documentation/avfaudio/avaudiosessionmode
OptionalsessioniOS: Cases that indicate the possible route-sharing policies for an audio session. https://developer.apple.com/documentation/avfaudio/avaudiosessionroutesharingpolicy
iOS: acive session. https://developer.apple.com/documentation/avfaudio/avaudiosession/1616627-setactive