public class

Triggers

extends Object
java.lang.Object
   ↳ com.urbanairship.automation.Triggers

Class Overview

Class providing factory methods and builder classes for Trigger.

Summary

Nested Classes
class Triggers.ActiveSessionTriggerBuilder Active session trigger builder class. 
class Triggers.CustomEventTriggerBuilder Custom event trigger Builder class. 
class Triggers.LifeCycleTriggerBuilder Lifecycle trigger Builder class. 
class Triggers.RegionTriggerBuilder Region trigger Builder class. 
class Triggers.ScreenTriggerBuilder Screen trigger Builder class. 
class Triggers.VersionTriggerBuilder Version trigger builder class. 
Public Constructors
Triggers()
Public Methods
static Triggers.ActiveSessionTriggerBuilder newActiveSessionTriggerBuilder()
Creates a new active session trigger builder.
static Triggers.LifeCycleTriggerBuilder newAppInitTriggerBuilder()
Creates a new app init trigger builder.
static Triggers.LifeCycleTriggerBuilder newBackgroundTriggerBuilder()
Creates a new background trigger builder.
static Triggers.CustomEventTriggerBuilder newCustomEventTriggerBuilder()
Creates a new custom event trigger builder.
static Triggers.RegionTriggerBuilder newEnterRegionTriggerBuilder()
Creates a new enter region trigger builder.
static Triggers.RegionTriggerBuilder newExitRegionTriggerBuilder()
Creates a new exit region trigger builder.
static Triggers.LifeCycleTriggerBuilder newForegroundTriggerBuilder()
Creates a new foreground trigger builder.
static Triggers.ScreenTriggerBuilder newScreenTriggerBuilder()
Creates a new screen trigger builder.
static Triggers.VersionTriggerBuilder newVersionTriggerBuilder(ValueMatcher versionMatcher)
Create a new version trigger builder.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public Triggers ()

Public Methods

public static Triggers.ActiveSessionTriggerBuilder newActiveSessionTriggerBuilder ()

Creates a new active session trigger builder.

Returns
  • The new active session trigger builder.

public static Triggers.LifeCycleTriggerBuilder newAppInitTriggerBuilder ()

Creates a new app init trigger builder.

Returns
  • The new app init trigger builder.

public static Triggers.LifeCycleTriggerBuilder newBackgroundTriggerBuilder ()

Creates a new background trigger builder.

Returns
  • The new background trigger builder.

public static Triggers.CustomEventTriggerBuilder newCustomEventTriggerBuilder ()

Creates a new custom event trigger builder.

Returns
  • The new custom event trigger builder.

public static Triggers.RegionTriggerBuilder newEnterRegionTriggerBuilder ()

Creates a new enter region trigger builder.

Returns
  • The new enter region trigger builder.

public static Triggers.RegionTriggerBuilder newExitRegionTriggerBuilder ()

Creates a new exit region trigger builder.

Returns
  • The new exit region trigger builder.

public static Triggers.LifeCycleTriggerBuilder newForegroundTriggerBuilder ()

Creates a new foreground trigger builder.

Returns
  • The new foreground trigger builder.

public static Triggers.ScreenTriggerBuilder newScreenTriggerBuilder ()

Creates a new screen trigger builder.

Returns
  • The new screen trigger builder.

public static Triggers.VersionTriggerBuilder newVersionTriggerBuilder (ValueMatcher versionMatcher)

Create a new version trigger builder.

Parameters
versionMatcher The version matcher.
Returns
  • The new version trigger builder.