Class: shaka.deprecate.Enforcer

Constructor

new Enforcer(libraryVersionnon-null, onPending, onExpired)

Parameters:
Name Type Description
libraryVersion shaka.deprecate.Version
onPending shaka.deprecate.Listener
onExpired shaka.deprecate.Listener
Source:

Members

(private, non-null) libraryVersion_ :shaka.deprecate.Version

Type:
Source:

Methods

enforce(expiresOnnon-null, name, description)

Tell the enforcer that a feature will expire on |expiredOn| and that it should notify the listeners if it is pending or expired.
Parameters:
Name Type Description
expiresOn shaka.deprecate.Version
name string
description string
Source: