AdvancedPhotoCapture.OptionalReferencePhotoCaptured 事件

定义

在支持此功能的设备上捕获高级照片操作的参考照片时引发。

// Register
event_token OptionalReferencePhotoCaptured(TypedEventHandler<AdvancedPhotoCapture, OptionalReferencePhotoCapturedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
AdvancedPhotoCapture::OptionalReferencePhotoCaptured_revoker OptionalReferencePhotoCaptured(auto_revoke_t, TypedEventHandler<AdvancedPhotoCapture, OptionalReferencePhotoCapturedEventArgs const&> const& handler) const;
public event TypedEventHandler<AdvancedPhotoCapture,OptionalReferencePhotoCapturedEventArgs> OptionalReferencePhotoCaptured;
function onOptionalReferencePhotoCaptured(eventArgs) { /* Your code */ }
advancedPhotoCapture.addEventListener("optionalreferencephotocaptured", onOptionalReferencePhotoCaptured);
advancedPhotoCapture.removeEventListener("optionalreferencephotocaptured", onOptionalReferencePhotoCaptured);
- or -
advancedPhotoCapture.onoptionalreferencephotocaptured = onOptionalReferencePhotoCaptured;
Public Custom Event OptionalReferencePhotoCaptured As TypedEventHandler(Of AdvancedPhotoCapture, OptionalReferencePhotoCapturedEventArgs) 

事件类型

注解

某些设备支持从捕获操作返回参考照片,在捕获或处理操作的所有图像帧之前,调用应用可以使用该照片。 在不支持返回参考照片的设备上,永远不会引发此事件。

适用于