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 事件,则预期会最终确定它正在录制的文件。 如果未完成,捕获引擎将停止将示例发送到应用录制到的文件。

在当前版本中,记录限制为三小时。

适用于

另请参阅