Class
caplin.streamlink

PermissionEvent

Provides information about a change to permission data.

Constructor Summary

Attributes Name and Description
caplin.streamlink.PermissionEvent()

Method Summary

Attributes Name and Description
boolean deleteAllKeys()

Returns the boolean that indicates whether all permission keys for this subject have been deleted.

boolean deleteKey()

Returns the boolean that indicates whether the permission key within this update has been deleted.

Object getFields()

Returns the collection of fields relating to this PermissionEvent.

String getKey()

Returns the permission key relating to this event.

Methods inherited from class caplin.streamlink.DataEvent:
getSubject, isImage

Constructor Detail

caplin.streamlink.PermissionEvent()

Method Detail

boolean deleteAllKeys()

Returns the boolean that indicates whether all permission keys for this subject have been deleted.

Returns
{boolean} If true, all permission data for this subject should be removed from your cache.

boolean deleteKey()

Returns the boolean that indicates whether the permission key within this update has been deleted.

Returns
{boolean} Whether the specified key should be deleted from your cache.

Object getFields()

Returns the collection of fields relating to this PermissionEvent.

For example, if this event is not an image, the fields are the ones that have been updated.

Returns
{Object} A collection of name-value pairs.

String getKey()

Returns the permission key relating to this event.

Returns
{String} The value of the permission key.