AndroidCamera
NameSpace: Android
Inherits from:
IDisposable
Public Methods
CaptureRequest CreateCaptureRequest
public CaptureRequest CreateCaptureRequest(
RequestTemplate template,
CaptureRequest.OnFrameAvailable onFrameAvailable,
IntPtr context =default
)
Parameters
Type | Name | Description |
---|---|---|
RequestTemplate | template | |
CaptureRequest.OnFrameAvailable | onFrameAvailable | |
IntPtr | context |
void Dispose
public void Dispose()
bool TryStopRepeatingRequest
public bool TryStopRepeatingRequest()
bool TrySubmitCaptureRequest
public bool TrySubmitCaptureRequest(
CaptureRequest request,
bool repeating =false
)
Parameters
Type | Name | Description |
---|---|---|
CaptureRequest | request | |
bool | repeating |
bool TrySubmitCaptureRequests
public bool TrySubmitCaptureRequests(
CaptureRequest [] requests,
bool repeating =false
)
Parameters
Type | Name | Description |
---|---|---|
CaptureRequest [] | requests | |
bool | repeating |
Public Attributes
Format
public MediaFormat Format => cameraState->imageReader.Format;
ImageHeight
public int ImageHeight => cameraState->imageReader.Height;
ImageWidth
public int ImageWidth => cameraState->imageReader.Width;