Class: shaka.ads.InterstitialPreloadTask

Constructor

new InterstitialPreloadTask(playernon-null, uri, mimeTypeopt, nullable)

Parameters:
Name Type Attributes Default Description
player shaka.Player
uri string
mimeType string <optional>
<nullable>
null
Implements:
Source:

Members

released_ :boolean

Type:
  • boolean
Source:

Methods

getInitialError() → {shaka.util.Error}

Returns the initial preload error, if any.
Source:
Returns:
Type
shaka.util.Error

getPreloadManager() → {shaka.media.PreloadManager}

Returns the PreloadManager if preload succeeded.
Source:
Returns:
Type
shaka.media.PreloadManager

release()

Request that this object release all internal references.
Implements:
Source:

start_(uri, mimeTypenullable)

Parameters:
Name Type Attributes Description
uri string
mimeType string <nullable>
Source: