C# Class Unity.Platform.Windows.WindowsMedia

Inheritance: Unity.Core.Media.AbstractMedia
Datei anzeigen Open project: Appverse/appverse-mobile Class Usage Examples

Public Methods

Method Description
GetCurrentMedia ( ) : Unity.Core.Media.MediaMetadata
GetMetadata ( string filePath ) : Unity.Core.Media.MediaMetadata
GetSnapshot ( ) : Unity.Core.Media.MediaMetadata
GetState ( ) : MediaState
Pause ( ) : bool
Play ( string filePath ) : bool
PlayStream ( string url ) : bool
SeekPosition ( long position ) : long
StartAudioRecording ( string outputFilePath ) : bool
StartVideoRecording ( string outputFilePath ) : bool
Stop ( ) : bool
StopAudioRecording ( ) : bool
StopVideoRecording ( ) : bool
TakeSnapshot ( ) : Unity.Core.Media.MediaMetadata
TakeSnapshotWithOptions ( CameraOptions options ) : void

Method Details

GetCurrentMedia() public method

public GetCurrentMedia ( ) : Unity.Core.Media.MediaMetadata
return Unity.Core.Media.MediaMetadata

GetMetadata() public method

public GetMetadata ( string filePath ) : Unity.Core.Media.MediaMetadata
filePath string
return Unity.Core.Media.MediaMetadata

GetSnapshot() public method

public GetSnapshot ( ) : Unity.Core.Media.MediaMetadata
return Unity.Core.Media.MediaMetadata

GetState() public method

public GetState ( ) : MediaState
return MediaState

Pause() public method

public Pause ( ) : bool
return bool

Play() public method

public Play ( string filePath ) : bool
filePath string
return bool

PlayStream() public method

public PlayStream ( string url ) : bool
url string
return bool

SeekPosition() public method

public SeekPosition ( long position ) : long
position long
return long

StartAudioRecording() public method

public StartAudioRecording ( string outputFilePath ) : bool
outputFilePath string
return bool

StartVideoRecording() public method

public StartVideoRecording ( string outputFilePath ) : bool
outputFilePath string
return bool

Stop() public method

public Stop ( ) : bool
return bool

StopAudioRecording() public method

public StopAudioRecording ( ) : bool
return bool

StopVideoRecording() public method

public StopVideoRecording ( ) : bool
return bool

TakeSnapshot() public method

public TakeSnapshot ( ) : Unity.Core.Media.MediaMetadata
return Unity.Core.Media.MediaMetadata

TakeSnapshotWithOptions() public method

public TakeSnapshotWithOptions ( CameraOptions options ) : void
options Unity.Core.Media.Camera.CameraOptions
return void