1
我試圖在15秒後停止視頻播放,但它不起作用。請告訴我如何做到這一點?15秒後停止錄製視頻
CameraCaptureUI captureUI = new CameraCaptureUI();
captureUI.VideoSettings.Format = CameraCaptureUIVideoFormat.Mp4;
StorageFile videoFile = await captureUI.CaptureFileAsync(CameraCaptureUIMode.Video);
if (videoFile == null)
{
// User cancelled photo capture
return;
}
使用System.Timers名字空間不是windows10提供phone.Suggest我如何做到這一點感謝@ Cybrus – Robert
@Robert請參考這個帖子:[鏈接](http://stackoverflow.com/問題/ 22012056 /定時器的窗口電話-8) – Cybrus