C# Class MonoMac.AudioToolbox.SystemSound

Inheritance: INativeObject, IDisposable
Mostrar archivo Open project: kangaroo/maccore

Public Properties

Property Type Description
Vibrate SystemSound

Public Methods

Method Description
Close ( ) : void
FromFile ( NSUrl fileUrl ) : SystemSound
FromFile ( string filename ) : SystemSound
PlayAlertSound ( ) : void
PlaySystemSound ( ) : void
SystemSound ( NSUrl fileUrl ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
AssertNotDisposed ( ) : void
AudioServicesCreateSystemSoundID ( IntPtr fileUrl, uint &soundId ) : AudioServiceErrors
AudioServicesDisposeSystemSoundID ( uint soundId ) : AudioServiceErrors
AudioServicesPlayAlertSound ( uint inSystemSoundID ) : void
AudioServicesPlaySystemSound ( uint inSystemSoundID ) : void
Cleanup ( bool checkForError ) : void
IDisposable ( ) : void
SystemSound ( uint soundId, bool ownsHandle ) : System

Method Details

Close() public method

public Close ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

FromFile() public static method

public static FromFile ( NSUrl fileUrl ) : SystemSound
fileUrl MonoMac.Foundation.NSUrl
return SystemSound

FromFile() public static method

public static FromFile ( string filename ) : SystemSound
filename string
return SystemSound

PlayAlertSound() public method

public PlayAlertSound ( ) : void
return void

PlaySystemSound() public method

public PlaySystemSound ( ) : void
return void

SystemSound() public method

public SystemSound ( NSUrl fileUrl ) : System
fileUrl MonoMac.Foundation.NSUrl
return System

Property Details

Vibrate public_oe static_oe property

public static SystemSound,MonoMac.AudioToolbox Vibrate
return SystemSound