Condividi tramite


MediaFrameSource.FormatChanged Evento

Definizione

Si verifica quando cambia il formato del frame corrente di MediaFrameSource .

// Register
event_token FormatChanged(TypedEventHandler<MediaFrameSource, IInspectable const&> const& handler) const;

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

// Revoke with event_revoker
MediaFrameSource::FormatChanged_revoker FormatChanged(auto_revoke_t, TypedEventHandler<MediaFrameSource, IInspectable const&> const& handler) const;
public event TypedEventHandler<MediaFrameSource,object> FormatChanged;
function onFormatChanged(eventArgs) { /* Your code */ }
mediaFrameSource.addEventListener("formatchanged", onFormatChanged);
mediaFrameSource.removeEventListener("formatchanged", onFormatChanged);
- or -
mediaFrameSource.onformatchanged = onFormatChanged;
Public Custom Event FormatChanged As TypedEventHandler(Of MediaFrameSource, Object) 

Tipo evento

Commenti

Ottenere il formato del frame corrente dell'origine fotogramma multimediale accedendo alla proprietà CurrentFormat .

Si applica a