Method | Description | |
---|---|---|
IsCameraTypeSupported ( CameraType type ) : bool |
Determines whether a particular camera type is supported on the device.
|
Method | Description | |
---|---|---|
CancelCameraFocus ( ) : void |
Cancels the current camera auto focus operation. This method is already protected and only called when the service is currently running. |
|
CaptureCameraImage ( ) : void |
Initiates a full-resolution capture of the current image displayed in the viewfinder This method is already protected and only called when the service is currently running. |
|
FocusCamera ( ) : void |
Starts a camera auto focus operation. This method is already protected and only called when the service is currently running. |
|
FocusCameraAtPoint ( double x, double y ) : void |
Starts a camera auto focus operation on a specific point in the viewfinder, for those devices that support it. This method is already protected and only called when the service is currently running. |
|
GetAvailableResolutions ( ) : IEnumerable |
Gets the available resolutions.
|
|
GetCameraType ( ) : CameraType |
Gets the type of the camera.
|
|
GetFlashMode ( ) : FlashMode |
Gets the flash mode.
|
|
GetIsFocusAtPointSupported ( ) : bool |
Gets a value indicating whether the camera can programmatically auto focus on a specific point in the viewfinder.
|
|
GetIsFocusSupported ( ) : bool |
Gets a value indicating whether the camera can be auto-focused programmatically.
|
|
GetOrientation ( ) : double |
Gets the number of degrees that the viewfind brush needs to be rotated clockwise to align with the camera sensor.
|
|
GetPreviewBufferArgb32FromCamera ( int pixelData ) : void |
Copies the current viewfinder ARGB frame into a buffer for further manipulation. This method is already protected and only called when the service is currently running. |
|
GetPreviewBufferYCbCrFromCamera ( byte pixelData ) : void |
Copies the current viewfinder frame into a buffer for further manipulation. This method is already protected and only called when the service is currently running. |
|
GetPreviewBufferYFromCamera ( byte pixelData ) : void |
Copies the luminance data for the current viewfinder frame into a buffer for further manipulation. This method is already protected and only called when the service is currently running. |
|
GetPreviewResolution ( ) : Catel.Services.Size |
Gets the preview resolution of the images.
|
|
GetResolution ( ) : Catel.Services.Size |
Gets the resolution of the actual images.
|
|
IsFlashModeSupportedByCamera ( FlashMode mode ) : bool |
Determines whether a particular flash mode is supported on the device. This method is already protected and only called when the service is currently running. |
|
SetFlashMode ( FlashMode flashMode ) : void |
Sets the flash mode.
|
|
SetResolution ( Catel.Services.Size resolution ) : void |
Sets the resolution of the actual images.
|
|
StartService ( CameraType cameraType ) : void |
Starts the camera service so it's retrieving data. This method is already protected and only called when the service is currently not running. |
|
StopService ( ) : void |
Stops the camera service so it's no longer retrieving data. This method is already protected and only called when the service is currently running. |
protected FocusCameraAtPoint ( double x, double y ) : void | ||
x | double | The horizontal location in the viewfinder; a value between 0 (left) and 1.0 (right). |
y | double | The vertical location in the viewfinder; a value between 0 (top) and 1.0 (bottom). |
return | void |
protected GetAvailableResolutions ( ) : IEnumerable |
||
return | IEnumerable |
protected GetIsFocusAtPointSupported ( ) : bool | ||
return | bool |
protected GetPreviewBufferArgb32FromCamera ( int pixelData ) : void | ||
pixelData | int | The ARGB pixel data. |
return | void |
protected GetPreviewBufferYCbCrFromCamera ( byte pixelData ) : void | ||
pixelData | byte | The pixel data. |
return | void |
protected GetPreviewBufferYFromCamera ( byte pixelData ) : void | ||
pixelData | byte | The YCrCb pixel data. |
return | void |
protected GetPreviewResolution ( ) : Catel.Services.Size | ||
return | Catel.Services.Size |
protected GetResolution ( ) : Catel.Services.Size | ||
return | Catel.Services.Size |
public IsCameraTypeSupported ( CameraType type ) : bool | ||
type | CameraType | The type. |
return | bool |
protected IsFlashModeSupportedByCamera ( FlashMode mode ) : bool | ||
mode | FlashMode | The mode. |
return | bool |
protected SetFlashMode ( FlashMode flashMode ) : void | ||
flashMode | FlashMode | The flash mode. |
return | void |
protected SetResolution ( Catel.Services.Size resolution ) : void | ||
resolution | Catel.Services.Size | The resolution. |
return | void |
protected StartService ( CameraType cameraType ) : void | ||
cameraType | CameraType | Type of the camera. |
return | void |