Method TryGetAsyncRequestData
TryGetAsyncRequestData(int, out IntPtr, out int)
Method to be implemented by the provider to get a pointer to the image data from a completed asynchronous request. This method should only succeed if GetAsyncRequestStatus(int) returns Ready.
Declaration
public virtual bool TryGetAsyncRequestData(int requestId, out IntPtr dataPtr, out int dataLength)
Parameters
| Type | Name | Description |
|---|---|---|
| int | requestId | The unique identifier associated with a request. |
| IntPtr | dataPtr | A pointer to the native buffer containing the data. |
| int | dataLength | The number of bytes in |
Returns
| Type | Description |
|---|---|
| bool |
|
Exceptions
| Type | Condition |
|---|---|
| NotSupportedException | Thrown if the implementation does not support camera image. |