C# Class WPCordovaClassLib.Cordova.Commands.Camera

Inheritance: BaseCommand
Afficher le fichier Open project: ChristianWeyer/tUdUs

Méthodes publiques

Méthode Description
onCameraTaskCompleted ( object sender, PhotoResult e ) : void
onPickerTaskCompleted ( object sender, PhotoResult e ) : void
takePicture ( string options ) : void

Private Methods

Méthode Description
GetImageContent ( Stream stream ) : string

Returns image content in a form of base64 string

ResizePhoto ( Stream stream, byte fileData ) : byte[]

Resize image

SaveImageToLocalStorage ( System.Windows.Media.Imaging.WriteableBitmap image, string imageFileName ) : string

Saves captured image in isolated storage

Method Details

onCameraTaskCompleted() public méthode

public onCameraTaskCompleted ( object sender, PhotoResult e ) : void
sender object
e PhotoResult
Résultat void

onPickerTaskCompleted() public méthode

public onPickerTaskCompleted ( object sender, PhotoResult e ) : void
sender object
e PhotoResult
Résultat void

takePicture() public méthode

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