public abstract class

AudienceChecks

extends Object
java.lang.Object
   ↳ com.urbanairship.iam.AudienceChecks

Class Overview

Audience checks.

Summary

Public Constructors
AudienceChecks()
Public Methods
static boolean checkAudience(Context context, Audience audience, Map<StringSet<String>> tagGroups)
Checks the audience.
static boolean checkAudience(Context context, Audience audience)
Checks the audience.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public AudienceChecks ()

Public Methods

public static boolean checkAudience (Context context, Audience audience, Map<StringSet<String>> tagGroups)

Checks the audience.

Parameters
context The application context.
audience The audience.
tagGroups The channel tag groups.
Returns
  • true if the audience conditions are met, otherwise false.

public static boolean checkAudience (Context context, Audience audience)

Checks the audience.

Parameters
context The application context.
audience The audience.
Returns
  • true if the audience conditions are met, otherwise false.