Метод | Описание | |
---|---|---|
CameraSingleton ( ) : System |
Initialize DataURI and Image types.
|
|
SaveToLocalFolderAsync ( Stream file, string fileName, IMethodResult StorechoosePictureResult, string>.Dictionary |
Stores file in its own virtual drive rho\apps\app
|
|
choosePicture ( string>.IReadOnlyDictionary |
Choose the Pictures from the shown list.
|
|
copyImageToDeviceGallery ( string pathToImage, IMethodResult oResult ) : void |
Not supported by WP8.
|
|
enumerate ( IMethodResult oResult ) : void |
Get the list of supported Camera
|
|
getCameraByType ( string cameraType, IMethodResult oResult ) : void |
Get whether the supplied camera type is supported or not.
|
Метод | Описание | |
---|---|---|
Initialize_choosePicture ( ) : void |
Initialize the callback with the default values.
|
|
photoChooserTask_Completed ( object sender, PhotoResult e ) : void |
After selecting the Picture this event is raised.
|
public SaveToLocalFolderAsync ( Stream file, string fileName, IMethodResult StorechoosePictureResult, string>.Dictionary |
||
file | Stream | Stream of file that needs to be saved in the Location. |
fileName | string | Name i n which the file needs to be saved |
StorechoosePictureResult | IMethodResult | Callback event |
choosePicture_output | string>.Dictionary | The path of the image needs to be stored |
Результат | Task |
public choosePicture ( string>.IReadOnlyDictionary |
||
propertyMap | string>.IReadOnlyDictionary | supports only outputformat. |
oResult | IMethodResult | |
Результат | void |
public copyImageToDeviceGallery ( string pathToImage, IMethodResult oResult ) : void | ||
pathToImage | string | |
oResult | IMethodResult | |
Результат | void |
public enumerate ( IMethodResult oResult ) : void | ||
oResult | IMethodResult | |
Результат | void |
public getCameraByType ( string cameraType, IMethodResult oResult ) : void | ||
cameraType | string | type of camera supported (back or front) |
oResult | IMethodResult | |
Результат | void |