fromCameraId

fun fromCameraId(context: Context, cameraId: String): CameraFacingDirection

Returns the camera facing direction from the camera id.

Return

the camera facing direction

Parameters

context

the application context

cameraId

the camera id