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
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: