getCameraFacingMode()
Returns the facing mode of the currently active camera: 'user' (front-facing) or 'environment' (rear-facing). Returns null if the facing mode cannot be determined.
Return value
Returns aPromise<DailyCameraFacingMode | null> where DailyCameraFacingMode is 'user' | 'environment'.