Toggle flashlight in Windows Phone 8.1

前端 未结 5 1085
面向向阳花
面向向阳花 2020-12-11 07:30

Can anyone say how to toggle flashlight in Windows Phone 8.1 using C#? It seems like there are lots of API changes in Windows Phone 8.1 and most of the API\'s in WP 8.0 are

5条回答
  •  感动是毒
    2020-12-11 08:26

    In my Lumia 1520. I need to start video recording and start preview to get flashlight working:

    await captureManager.StartPreviewAsync();
    

提交回复
热议问题