C# Класс Cimbalino.Phone.Toolkit.Services.PhotoCameraService

Represents an instance of the IPhotoCameraService
Наследование: IPhotoCameraService
Показать файл Открыть проект

Открытые методы

Метод Описание
CancelFocus ( ) : void

Cancels the current focus operation.

CaptureImage ( ) : void

Initiates a full-resolution capture of the current image displayed in the viewfinder.

CreateVideoBrush ( ) : VideoBrush

Creates a VideoBrush containing the current image.

Focus ( ) : void

Starts a camera auto focus operation.

FocusAtPoint ( double x, double y ) : void

Starts a camera auto focus operation on a specific point in the viewfinder, for those devices that support it.

GetPreviewBufferY ( byte pixelData ) : void

Copies the luminance data for the current viewfinder frame into a buffer for further manipulation.

GetPreviewBufferYCbCr ( byte pixelData ) : void

Copies the current viewfinder frame into a buffer for further manipulation.

Start ( ) : void

Starts the camera service.

Stop ( ) : void

Stops the camera service.

Приватные методы

Метод Описание
PhotoCamera_AutoFocusCompleted ( object sender, CameraOperationCompletedEventArgs e ) : void
PhotoCamera_CaptureCompleted ( object sender, CameraOperationCompletedEventArgs e ) : void
PhotoCamera_CaptureImageAvailable ( object sender, ContentReadyEventArgs e ) : void
PhotoCamera_CaptureStarted ( object sender, EventArgs e ) : void
PhotoCamera_CaptureThumbnailAvailable ( object sender, ContentReadyEventArgs e ) : void
PhotoCamera_Initialized ( object sender, CameraOperationCompletedEventArgs e ) : void

Описание методов

CancelFocus() публичный Метод

Cancels the current focus operation.
public CancelFocus ( ) : void
Результат void

CaptureImage() публичный Метод

Initiates a full-resolution capture of the current image displayed in the viewfinder.
public CaptureImage ( ) : void
Результат void

CreateVideoBrush() публичный Метод

Creates a VideoBrush containing the current image.
public CreateVideoBrush ( ) : VideoBrush
Результат VideoBrush

Focus() публичный Метод

Starts a camera auto focus operation.
public Focus ( ) : void
Результат void

FocusAtPoint() публичный Метод

Starts a camera auto focus operation on a specific point in the viewfinder, for those devices that support it.
public FocusAtPoint ( 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 (bottom) and 1.0 (top).
Результат void

GetPreviewBufferY() публичный Метод

Copies the luminance data for the current viewfinder frame into a buffer for further manipulation.
public GetPreviewBufferY ( byte pixelData ) : void
pixelData byte The YUV pixel data.
Результат void

GetPreviewBufferYCbCr() публичный Метод

Copies the current viewfinder frame into a buffer for further manipulation.
public GetPreviewBufferYCbCr ( byte pixelData ) : void
pixelData byte The pixel data.
Результат void

Start() публичный Метод

Starts the camera service.
public Start ( ) : void
Результат void

Stop() публичный Метод

Stops the camera service.
public Stop ( ) : void
Результат void