react-native-vision-cameraFunctions
useOrientation
function useOrientation(source:
| OrientationSource
| undefined): Orientation | undefinedReactively use the current source Orientation.
'interface'will listen to UI-orientation.'device'will listen to physical phone orientation.undefinedwill returnundefinedand not listen to anything.