AdvancedPhotoCapture.OptionalReferencePhotoCaptured 事件
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
在支持此功能的设备上捕获高级照片操作的参考照片时引发。
// 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)
事件类型
注解
某些设备支持从捕获操作返回参考照片,在捕获或处理操作的所有图像帧之前,调用应用可以使用该照片。 在不支持返回参考照片的设备上,永远不会引发此事件。