Forum Discussion

tscholze's avatar
tscholze
Iron Contributor
Mar 02, 2020
Solved

Is the Hinge Angle Sensor API / Hinge Sensor still the way to go to listen on hinge angle changes?

Hi team,

is the https://docs.microsoft.com/de-de/dual-screen/android/api-reference/hinge-sensor?tabs=csharp still the way to go to listen on hinge angle changes?

 

The blog post is a little bit older than the NuGet package release and I do not really know if this API / sensor will exist in the future.

 

The DualScreenInfo.Current.PropertyChanged event seems to be perfect to also populate changes in the hinge angle, isn't it?

 

Thanks for your feedback!

- Tobi

3 Replies

Resources