Package com.caplin.streamlink
Interface PermissionEvent
- All Superinterfaces:
DataEvent
Provides information about a change to permission data.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns the boolean that indicates whether all permission keys for this subject have been deleted.boolean
Returns the boolean that indicates whether the permission key within this update has been deleted.Returns the collection of fields relating to this PermissionEvent.getKey()
Returns the permission key relating to this event.Methods inherited from interface com.caplin.streamlink.DataEvent
getSubject, isImage
-
Method Details
-
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:
- A collection of name-value pairs.
-
getKey
String getKey()Returns the permission key relating to this event.
- Returns:
- The value of the permission key.
-
deleteKey
boolean deleteKey()Returns the boolean that indicates whether the permission key within this update has been deleted.
- Returns:
- Whether the specified key should be deleted from your cache.
-
deleteAllKeys
boolean deleteAllKeys()Returns the boolean that indicates whether all permission keys for this subject have been deleted.
- Returns:
- If true, all permission data for this subject should be removed from your cache.
-