MseSourceBuffer.UpdateStarting Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Occurs when the MseSourceBuffer update is starting.
// Register
event_token UpdateStarting(TypedEventHandler<MseSourceBuffer, IInspectable const&> const& handler) const;
// Revoke with event_token
void UpdateStarting(event_token const* cookie) const;
// Revoke with event_revoker
MseSourceBuffer::UpdateStarting_revoker UpdateStarting(auto_revoke_t, TypedEventHandler<MseSourceBuffer, IInspectable const&> const& handler) const;
public event TypedEventHandler<MseSourceBuffer,object> UpdateStarting;
function onUpdateStarting(eventArgs) { /* Your code */ }
mseSourceBuffer.addEventListener("updatestarting", onUpdateStarting);
mseSourceBuffer.removeEventListener("updatestarting", onUpdateStarting);
- or -
mseSourceBuffer.onupdatestarting = onUpdateStarting;
Public Custom Event UpdateStarting As TypedEventHandler(Of MseSourceBuffer, Object)
Event Type
TypedEventHandler<MseSourceBuffer,IInspectable>