Package | com.pushtechnology.diffusion.notifications |
Class | public final class NotificationLevel |
Inheritance | NotificationLevel ![]() |
Since : | 4.6 |
Method | Defined By | ||
---|---|---|---|
NotificationLevel(code:String, hasProperties:Boolean, hasMetadata:Boolean) | NotificationLevel | ||
fromCode(code:String):NotificationLevel [static]
Method to get the NtoficationLevel obejct from the code. | NotificationLevel | ||
getCode():String
Returns the code representing the notification level. | NotificationLevel | ||
hasMetadata():Boolean
Indicates if metadata is included in this notification level. | NotificationLevel | ||
hasProperties():Boolean
Indicates if properties are included in the notification level. | NotificationLevel |
Constant | Defined By | ||
---|---|---|---|
FULL : NotificationLevel [static]
Highest level of notifications. | NotificationLevel | ||
METADATA : NotificationLevel [static]
Midlevel of notifications. | NotificationLevel | ||
MINIMUM : NotificationLevel [static]
Lowest level of notifications. | NotificationLevel | ||
NONE : NotificationLevel [static]
Lowest level of notification. | NotificationLevel | ||
PROPERTIES : NotificationLevel [static]
Midlevel of notifications. | NotificationLevel |
NotificationLevel | () | Constructor |
public function NotificationLevel(code:String, hasProperties:Boolean, hasMetadata:Boolean)
code:String | |
hasProperties:Boolean | |
hasMetadata:Boolean |
fromCode | () | method |
public static function fromCode(code:String):NotificationLevel
Since : | 4.6 |
Method to get the NtoficationLevel obejct from the code. It will return one of the public constants of this class.
Parameters
code:String |
NotificationLevel |
getCode | () | method |
public function getCode():String
Since : | 4.6 |
Returns the code representing the notification level.
ReturnsString |
hasMetadata | () | method |
public function hasMetadata():Boolean
Since : | 4.6 |
Indicates if metadata is included in this notification level.
ReturnsBoolean |
hasProperties | () | method |
public function hasProperties():Boolean
Since : | 4.6 |
Indicates if properties are included in the notification level.
ReturnsBoolean |
FULL | Constant |
public static const FULL:NotificationLevel
Highest level of notifications. All available data is returned.
METADATA | Constant |
public static const METADATA:NotificationLevel
Midlevel of notifications. Inlcudes all the infomation MINIMUM does and the topic metadata.
MINIMUM | Constant |
public static const MINIMUM:NotificationLevel
Lowest level of notifications. Only the type of notification, topic name and data type are returned.
NONE | Constant |
public static const NONE:NotificationLevel
Lowest level of notification. Does not notify of added topics.
PROPERTIES | Constant |
public static const PROPERTIES:NotificationLevel
Midlevel of notifications. Inlcudes all the infomation MINIMUM does and the topic properties.