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)
事件類型
備註
某些裝置支援從擷取作業傳回參考相片,而呼叫應用程式可以在擷取或處理作業的所有影像畫面之前取用。 在不支援傳回參照相片的裝置上,永遠不會引發此事件。