C# Class MonoMac.AVFoundation.AVAudioPlayer

显示文件 Open project: kangaroo/maccore Class Usage Examples

Public Methods

Method Description
FromData ( NSData data ) : AVAudioPlayer
FromData ( NSData data, NSError &error ) : AVAudioPlayer
FromUrl ( NSUrl url ) : AVAudioPlayer
FromUrl ( NSUrl url, NSError &error ) : AVAudioPlayer

Private Methods

Method Description
AVAudioPlayer ( NSData data, NSError error ) : System
AVAudioPlayer ( NSUrl url, NSError error ) : System
EnsureEventDelegate ( ) : InternalAVAudioPlayerDelegate

Method Details

FromData() public static method

public static FromData ( NSData data ) : AVAudioPlayer
data NSData
return AVAudioPlayer

FromData() public static method

public static FromData ( NSData data, NSError &error ) : AVAudioPlayer
data NSData
error MonoMac.Foundation.NSError
return AVAudioPlayer

FromUrl() public static method

public static FromUrl ( NSUrl url ) : AVAudioPlayer
url MonoMac.Foundation.NSUrl
return AVAudioPlayer

FromUrl() public static method

public static FromUrl ( NSUrl url, NSError &error ) : AVAudioPlayer
url MonoMac.Foundation.NSUrl
error MonoMac.Foundation.NSError
return AVAudioPlayer