[Proposal] Add a property CameraOrientation and event OnOrientationChanged to detect the Camera's Orientation #2308
sourcetonuts
started this conversation in
New Feature Discussions
Replies: 1 comment 10 replies
-
Is it possible to determine the device orientation if the app is locked to portrait? Also what about macOS and Windows? I guess there might be a windows tablet that can have orientation? |
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Feature Name
Camera Orientation Detection
Noob and my first proposal and effort.
Link to discussion
None
Progress Tracker
Repo forked and work is on a branch https://github.com/sourcetonuts/Maui/tree/mct/feature-cameraview-orientation
Summary
New property CameraOrientation which is automatically detected and an event OnOrientationChanged when that property changes w/ the user rotating the phone (device fixed in Portrait mode still changes CameraOrientation property).
Detailed Design
Implementation for IOS and Android on branch.
Usage Syntax
Not applicable
Drawbacks
Detection does take some processing time.
Alternatives
No response
Unresolved Questions
No response
Beta Was this translation helpful? Give feedback.
All reactions