MediaFrameSource.FormatChanged Événement
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Se produit lorsque le format de frame actuel de MediaFrameSource change.
// 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)
Type d'événement
TypedEventHandler<MediaFrameSource,IInspectable>
Remarques
Obtenez le format de frame actuel de la source de trame multimédia en accédant à la propriété CurrentFormat .
S’applique à
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de l’année 2024, nous abandonnerons progressivement le mécanisme de retour d’information GitHub Issues pour le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultez :Soumettre et afficher des commentaires pour