Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MediaInstance

A MediaInstance represents an instance managing the playback of a sound or video stream, i.e. it plays an asset that was preloaded in an asset container

Hierarchy

  • MediaInstance

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

actor

actor: Actor

id

id: string

Methods

pause

  • pause(): void

resume

  • resume(): void

setState

stop

  • stop(): void