public static async Task InitializeServiceAsync() { await mediaCapture.SetFrontCameraAsync(); await mediaCapture.SetLowestResolutionAsync(); displayRequest.RequestActive(); }