Compartilhar via


MediaPlaybackSession.SeekableRangesChanged Evento

Definição

Ocorre quando o conjunto de intervalos de tempo que podem ser buscados é alterado.

// Register
event_token SeekableRangesChanged(TypedEventHandler<MediaPlaybackSession, IInspectable const&> const& handler) const;

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

// Revoke with event_revoker
MediaPlaybackSession::SeekableRangesChanged_revoker SeekableRangesChanged(auto_revoke_t, TypedEventHandler<MediaPlaybackSession, IInspectable const&> const& handler) const;
public event TypedEventHandler<MediaPlaybackSession,object> SeekableRangesChanged;
function onSeekableRangesChanged(eventArgs) { /* Your code */ }
mediaPlaybackSession.addEventListener("seekablerangeschanged", onSeekableRangesChanged);
mediaPlaybackSession.removeEventListener("seekablerangeschanged", onSeekableRangesChanged);
- or -
mediaPlaybackSession.onseekablerangeschanged = onSeekableRangesChanged;
Public Custom Event SeekableRangesChanged As TypedEventHandler(Of MediaPlaybackSession, Object) 

Tipo de evento

Requisitos do Windows

Família de dispositivos
Windows 10 Creators Update (introduzida na 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduzida na v4.0)

Comentários

Obtenha o conjunto atual de intervalos de tempo que podem ser buscados chamando GetSeekableRanges.

Aplica-se a