Jump to: navigation, search

Difference between revisions of "Activity:PushCriterionContext (Activity)"


(Created page with "Adds a push criterion that restricts the push action only to clients that are consuming the configured Context. <!-- DO NOT REMOVE THIS -->{{Template:Activity/Begin}}<!--...")
 
(No difference)

Latest revision as of 10:30, 30 March 2015

Adds a push criterion that restricts the push action only to clients that are consuming the configured Context.


[edit]

Description

PushCriterionContext
Name PushCriterionContext
Purpose Restrict push action to Context
Category UBIK Push
Returns true if successful
Version 2.4.2+

Arguments

Argument Type Direction Purpose
Context Context In The contextobject to which the push action should be restricted to; this argument is mutually exclusive with the argument ContextName
ContextName String In The name of the context to which the push action should be restricted to; this argument is mutually exclusive with the argument Context
Result Boolean Out True if successful, false if an error occurred

Usage

Use this criterion to restrict the hosting push action only to clients that are logged on to a specific Context. Clients consuming different contexts will not be notified about the push update.

Example

This example will send the hosting push action only to clients that are using CXT_DEMO

Argument Value
ContextName "CXT_DEMO"


See also