isHardwareCameraInstalled

fun Context.isHardwareCameraInstalled(): Boolean


fun isHardwareCameraInstalled(context: Context): Boolean

Check if the device has a camera installed.

Return

true if installed, false otherwise.