AndroidCameraManager
NameSpace: Android
Public Methods
string [] GetCameraIdList
public static string [] GetCameraIdList()
bool TryCreateAndroidCamera
public static bool TryCreateAndroidCamera(
string cameraId,
StreamConfiguration config,
out AndroidCamera outCamera
)
Parameters
Type | Name | Description |
---|---|---|
string | cameraId | |
StreamConfiguration | config | |
out AndroidCamera | outCamera |
bool TryGetAvailableStreamConfigurations
public static bool TryGetAvailableStreamConfigurations(
string cameraId,
out NativeArray< StreamConfiguration > outConfigs
)
Parameters
Type | Name | Description |
---|---|---|
string | cameraId | |
out NativeArray< StreamConfiguration > | outConfigs |
bool TryGetCameraDimensions
public static bool TryGetCameraDimensions(
string cameraId,
out int width,
out int height
)
Parameters
Type | Name | Description |
---|---|---|
string | cameraId | |
out int | width | |
out int | height |
bool TryGetCameraMetadata
public static bool TryGetCameraMetadata(
string cameraId,
out ACameraMetadata outMetadata
)
Parameters
Type | Name | Description |
---|---|---|
string | cameraId | |
out ACameraMetadata | outMetadata |