Свойство | Type | Description | |
---|---|---|---|
ASSETS_PATH | string |
Méthode | 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 |
Méthode | Description | |
---|---|---|
GetImageMediaTitle ( string assetUrl ) : string | ||
GetMetadataFromUrl ( NSUrl nsUrl ) : Unity.Core.Media.MediaMetadata | ||
GetNSUrlFromPath ( string path, bool localPath ) : NSUrl | ||
HandleCameraFinishedPickingMedia ( object sender, UIImagePickerMediaPickedEventArgs e ) : void | ||
HandleImagePickerControllerCanceled ( object sender, |
||
HandleImagePickerControllerFinishedPickingImage ( object sender, UIImagePickerImagePickedEventArgs e ) : void | ||
HandleImagePickerControllerFinishedPickingMedia ( object sender, UIImagePickerMediaPickedEventArgs e ) : void | ||
HandlePlayerFinishedPlaying ( object sender, AVStatusEventArgs e ) : void | ||
PlayNSUrl ( NSUrl nsUrl ) : bool |
Plaies the NS URL.
|
|
ResizeImage ( byte imageData, nfloat width, nfloat height ) : byte[] | ||
ShowCameraView ( ) : void | ||
ShowImagePickerView ( ) : void | ||
ShowMediaPlayer ( object url ) : void |
public GetCurrentMedia ( ) : Unity.Core.Media.MediaMetadata | ||
Résultat | Unity.Core.Media.MediaMetadata |
public GetMetadata ( string filePath ) : Unity.Core.Media.MediaMetadata | ||
filePath | string | |
Résultat | Unity.Core.Media.MediaMetadata |
public GetSnapshot ( ) : Unity.Core.Media.MediaMetadata | ||
Résultat | Unity.Core.Media.MediaMetadata |
public SeekPosition ( long position ) : long | ||
position | long | |
Résultat | long |
public StartAudioRecording ( string outputFilePath ) : bool | ||
outputFilePath | string | |
Résultat | bool |
public StartVideoRecording ( string outputFilePath ) : bool | ||
outputFilePath | string | |
Résultat | bool |
public TakeSnapshot ( ) : Unity.Core.Media.MediaMetadata | ||
Résultat | Unity.Core.Media.MediaMetadata |
public TakeSnapshotWithOptions ( CameraOptions options ) : void | ||
options | CameraOptions | |
Résultat | void |