xamarin / Essentials

Xamarin.Essentials is no longer supported. Migrate your apps to .NET MAUI, which includes Maui.Essentials.
https://aka.ms/xamarin-upgrade
Other
1.53k stars 505 forks source link

Lock Device Orientation API #188

Closed wcoder closed 1 year ago

wcoder commented 6 years ago

Description

Ability to work with screen orientation on mobile device (change, lock/unlock).

API Declaration

Migrate from

jamesmontemagno commented 6 years ago

We do have the current orientation and screen metrics. We are going to make it more discoverable with #197 which is where we would put something like this.

jamesmontemagno commented 6 years ago

Moved the orientation to a new class. Locking will be on the proposal block for future milestones.

Mrnikbobjeff commented 4 years ago

Is this actually up for grabs @jamesmontemagno ?

dlandi commented 4 years ago

Hi. I could really use LosckScreenOrientation() from now! What's the status?

Burgler-dev commented 4 years ago

Hi, I could use the locking/unlocking to.

jfversluis commented 1 year ago

I think at this point it's safe to say that this won't be making it's way into Xamarin.Essentials anymore. Keep your eye on .NET MAUI for all new development! Thanks for all input and efforts here.