Keep the Screen On With DeviceDisplayInfo in Xamarin.Essentials

preview_player
Показать описание
The Device Display Information API in Xamarin.Essentials gives you all kinds of information about the device display. You can see the width, the height, the density, but not only that, you can also prevent the screen from going to sleep. Maybe you have a navigation app that needs to keep the screen on even if the user is not interacting with it. This API can do that and a lot more.

🔗 Links

⏱ Timestamps
0:00 Intro
0:49 Sample App Outline
1:55 Explore DeviceDisplay API
2:44 Keep Your App Open With KeepScreenOn API
3:28 DeviceDisplayInfo Properties
3:52 MainDisplayInfoChanged Event
5:09 Run The Sample App
7:09 Outro

🙋‍♂️ Also find my...
Рекомендации по теме
Комментарии
Автор

Thanks for your videos... Do you know if it is possible to keep running the app when the device screen is locked? Like an alarm, timer or so.

StevenGomezC
Автор

I am making a picture book app. I want to use KeepScreenOn only on one page of my app (when a book is read to a user). Untill now I've only found this "global" setting. Do you know if it can be done on a screen by screen basis?

sjorsmiltenburg
Автор

dude you are amazing <3 please post more tutorial on Xamarin

mnrdwevil
Автор

Hi how to we can check device lock is active or not in Xamarin form .

usmanqadeer
Автор

Please make a tutorial or series on App Center like Distribute and in-app update on every new commit.i try it but getting build errors.Please please make tutorial on app center

AMIRKHAN-dmfm
Автор

Hey thanks for video can you make video that convert list data into pdf and excel is this possible in xamarin without using paid library or package. If it possible to u please make video on it
Thanks for videos 😊👍

mandardesai