logo

THEOplayer > RepresentationChangeEvent

RepresentationChangeEvent interface

Inherits from Event<'representationchange'> . See parent page for inherited properties and methods.

Fired when the current representation changes.

Signature:

export interface RepresentationChangeEvent extends Event<'representationchange'> 

Properties

Property

Type

Description

previousRepresentation

Representation | undefined

The player's previous representation.

representation

Representation | undefined

The player's current representation.

Property Details

previousRepresentation

The player's previous representation.

Signature:

readonly previousRepresentation: Representation | undefined;

representation

The player's current representation.

Signature:

readonly representation: Representation | undefined;
github
Make sure to follow us on GitHub!
THEO-logo-white
twitter
facebook
linkedin
Copyright © 2022. All Rights Reserved.
Leuven
New York
Singapore
Barcelona