C# Class WPCordovaClassLib.Cordova.Commands.Media

Provides the ability to record and play back audio files on a device.
Inheritance: BaseCommand
Afficher le fichier Open project: ChristianWeyer/tUdUs Class Usage Examples

Méthodes publiques

Méthode Description
create ( string options ) : void
getCurrentPositionAudio ( string options ) : void

Gets current position of playback

pausePlayingAudio ( string options ) : void

Pauses playing

release ( string options ) : void

Releases the audio player instance to save memory.

seekToAudio ( string options ) : void

Seeks to a location

setVolume ( string options ) : void
startPlayingAudio ( string options ) : void

Starts or resume playing audio file

startRecordingAudio ( string options ) : void

Starts recording and save the specified file

stopPlayingAudio ( String options ) : void

Stops playing the audio file

stopRecordingAudio ( string options ) : void

Stops recording and save to the file specified when recording started

Private Methods

Méthode Description
getDurationAudio ( string options ) : void

Method Details

create() public méthode

public create ( string options ) : void
options string
Résultat void

getCurrentPositionAudio() public méthode

Gets current position of playback
public getCurrentPositionAudio ( string options ) : void
options string
Résultat void

pausePlayingAudio() public méthode

Pauses playing
public pausePlayingAudio ( string options ) : void
options string
Résultat void

release() public méthode

Releases the audio player instance to save memory.
public release ( string options ) : void
options string
Résultat void

seekToAudio() public méthode

Seeks to a location
public seekToAudio ( string options ) : void
options string
Résultat void

setVolume() public méthode

public setVolume ( string options ) : void
options string
Résultat void

startPlayingAudio() public méthode

Starts or resume playing audio file
public startPlayingAudio ( string options ) : void
options string
Résultat void

startRecordingAudio() public méthode

Starts recording and save the specified file
public startRecordingAudio ( string options ) : void
options string
Résultat void

stopPlayingAudio() public méthode

Stops playing the audio file
public stopPlayingAudio ( String options ) : void
options String
Résultat void

stopRecordingAudio() public méthode

Stops recording and save to the file specified when recording started
public stopRecordingAudio ( string options ) : void
options string
Résultat void