CaptureRequest
NameSpace: Android
Inherits from:
IDisposable
Public Methods
void Dispose
public void Dispose()
delegate JobHandle OnFrameAvailable
public delegate JobHandle OnFrameAvailable(
AndroidCamera camera,
CaptureRequest request,
NativeImage image,
IntPtr context
)
Parameters
Type | Name | Description |
---|---|---|
AndroidCamera | camera | |
CaptureRequest | request | |
NativeImage | image | |
IntPtr | context |
bool TrySetMetadata
Set a metadata value for the capture request in the form of one or more bytes .
public bool TrySetMetadata(
uint tag,
byte [] values
)
Parameters
Type | Name | Description |
---|---|---|
uint | tag | Enumeration for the metadata tag, e.g. a member of NDK.Camera.Metadata.Tags or MagicLeapCameras.MetadataTags |
byte [] | values | Array containing all of the desired values to assign to the metadata tag. The correct number of values depends on the metadata tag. |
Returns:
bool TrySetMetadata
Set a metadata value for the capture request in the form of one or more ints .
public bool TrySetMetadata(
uint tag,
int [] values
)
Parameters
Type | Name | Description |
---|---|---|
uint | tag | Enumeration for the metadata tag, e.g. a member of NDK.Camera.Metadata.Tags or MagicLeapCameras.MetadataTags |
int [] | values | Array containing all of the desired values to assign to the metadata tag. The correct number of values depends on the metadata tag. |
Returns:
bool TrySetMetadata
Set a metadata value for the capture request in the form of one or more longs .
public bool TrySetMetadata(
uint tag,
long [] values
)
Parameters
Type | Name | Description |
---|---|---|
uint | tag | Enumeration for the metadata tag, e.g. a member of NDK.Camera.Metadata.Tags or MagicLeapCameras.MetadataTags |
long [] | values | Array containing all of the desired values to assign to the metadata tag. The correct number of values depends on the metadata tag. |
Returns:
bool TrySetMetadata
Set a metadata value for the capture request in the form of one or more doubles .
public bool TrySetMetadata(
uint tag,
double [] values
)
Parameters
Type | Name | Description |
---|---|---|
uint | tag | Enumeration for the metadata tag, e.g. a member of NDK.Camera.Metadata.Tags or MagicLeapCameras.MetadataTags |
double [] | values | Array containing all of the desired values to assign to the metadata tag. The correct number of values depends on the metadata tag. |
Returns:
bool TrySetMetadata
Set a metadata value for the capture request in the form of one or more floats .
public bool TrySetMetadata(
uint tag,
float [] values
)
Parameters
Type | Name | Description |
---|---|---|
uint | tag | Enumeration for the metadata tag, e.g. a member of NDK.Camera.Metadata.Tags or MagicLeapCameras.MetadataTags |
float [] | values | Array containing all of the desired values to assign to the metadata tag. The correct number of values depends on the metadata tag. |
Returns:
bool TrySetMetadata
Set a metadata value for the capture request in the form of one or more ACameraMetadata.Rational.
public bool TrySetMetadata(
uint tag,
ACameraMetadata.Rational [] values
)
Parameters
Type | Name | Description |
---|---|---|
uint | tag | Enumeration for the metadata tag, e.g. a member of NDK.Camera.Metadata.Tags or MagicLeapCameras.MetadataTags |
ACameraMetadata.Rational [] | values | Array containing all of the desired values to assign to the metadata tag. The correct number of values depends on the metadata tag. |
Returns: