Package | Description |
---|---|
crossmobile.ios.avfoundation |
Modifier and Type | Method and Description |
---|---|
static AVAudioPlayer |
AVAudioPlayer.initWithContentsOfURL(NSURL url,
crossmobile.rt.StrongReference<NSError> error)
Constructs and returns an AVAudioPlayer with the specified URL for the
sound and error handing values.
|
static AVAudioPlayer |
AVAudioPlayer.initWithData(NSData data,
crossmobile.rt.StrongReference<NSError> error)
Constructs and returns an AVAudioPlayer with the specified NSData and
error handing values.
|
Modifier and Type | Method and Description |
---|---|
void |
AVAudioPlayerDelegate.beginInterruption(AVAudioPlayer avap)
It is called when the AVAudioPlayer is interrupted.
|
void |
AVAudioPlayerDelegate.decodeErrorDidOccur(AVAudioPlayer avap,
NSError error)
It is called when the AVAudioPlayer encounters an error.
|
void |
AVAudioPlayerDelegate.didFinishPlaying(AVAudioPlayer avap,
boolean bln)
It is called when the AVAudioPlayer finished playing.
|
void |
AVAudioPlayerDelegate.endInterruption(AVAudioPlayer avap)
It is called after the audio session interruption ends.
|
Copyright © 2020. All rights reserved.