Packagecom.pushtechnology.diffusion.notifications
Classpublic final class SelectionMode
InheritanceSelectionMode Inheritance Object

Since : 4.6

How to modify the list of topics of that a client receives notifications. Allows topics to be added, removed, replaced and the entire list to be cleared.



Public Methods
 MethodDefined By
  
SelectionMode(code:String)
SelectionMode
  
fromCode(code:String):SelectionMode
[static] Returns the SelectionMode object for a code representing it.
SelectionMode
  
getCode():String
SelectionMode
Public Constants
 ConstantDefined By
  ADD : SelectionMode
[static]
SelectionMode
  CLEAR : SelectionMode
[static]
SelectionMode
  REMOVE : SelectionMode
[static]
SelectionMode
  REPLACE : SelectionMode
[static]
SelectionMode
Constructor Detail
SelectionMode()Constructor
public function SelectionMode(code:String)



Parameters
code:String
Method Detail
fromCode()method
public static function fromCode(code:String):SelectionMode

Since : 4.6

Returns the SelectionMode object for a code representing it.

Parameters

code:String — The code

Returns
SelectionMode — The selection mode object

Throws
com.pushtechnology.diffusion.errors:DiffusionProtocolError — If the code is not recognised
getCode()method 
public function getCode():String

Returns
String
Constant Detail
ADDConstant
public static const ADD:SelectionMode

CLEARConstant 
public static const CLEAR:SelectionMode

REMOVEConstant 
public static const REMOVE:SelectionMode

REPLACEConstant 
public static const REPLACE:SelectionMode