getCameraPosition

fun CameraEnumerator.getCameraPosition(deviceName: String?): CameraPosition?

Returns the camera position of a camera, or null if neither front or back facing (e.g. external camera).