isFrontFacing

abstract fun isFrontFacing(deviceName: String): Boolean

Checks whether the provided device name belongs to a front-facing camera.

Return

true if the camera is front-facing, false otherwise