共用方式為


MediaCapture.RecordLimitationExceeded 事件

定義

發生于超過記錄限制時。

public:
 virtual event RecordLimitationExceededEventHandler ^ RecordLimitationExceeded;
// Register
event_token RecordLimitationExceeded(RecordLimitationExceededEventHandler const& handler) const;

// Revoke with event_token
void RecordLimitationExceeded(event_token const* cookie) const;

// Revoke with event_revoker
MediaCapture::RecordLimitationExceeded_revoker RecordLimitationExceeded(auto_revoke_t, RecordLimitationExceededEventHandler const& handler) const;
public event RecordLimitationExceededEventHandler RecordLimitationExceeded;
function onRecordLimitationExceeded(eventArgs) { /* Your code */ }
mediaCapture.addEventListener("recordlimitationexceeded", onRecordLimitationExceeded);
mediaCapture.removeEventListener("recordlimitationexceeded", onRecordLimitationExceeded);
- or -
mediaCapture.onrecordlimitationexceeded = onRecordLimitationExceeded;
Public Custom Event RecordLimitationExceeded As RecordLimitationExceededEventHandler 

事件類型

Windows 需求

應用程式功能
backgroundMediaRecording

備註

如果應用程式收到 RecordLimitationExceeded 事件,預期會完成正在錄製的檔案。 如果未完成,擷取引擎會停止將範例傳送至應用程式所錄製的檔案。

在目前版本中,記錄限制為三小時。

適用於

另請參閱