PyzeUnity.IPyzePersonalizationIntelligence Interface Reference

This class provides access to get the personalization intelligence tags. These tags are set in the intelligence explorer. More...

Public Member Functions

void GetTags (EventHandler< EventArgsWithStringArray > callback)
 Get all tags assigned to the user.
Note: Tags are case sensitive, High Value and high value are different tags.
Usage:
Pyze.PyzePersonalizationIntelligence.GetTags((sender, e) => {
foreach (var tag in e.Value) {
Debug.Log(tag);
}
}); More...
 
bool IsTagSet (string tag)
 Returns true if requested tag is assigned to user.
Note: Tags are case sensitive, High Value and high value are different tags
Usage:
Debug.Log(Pyze.PyzePersonalizationIntelligence.IsTagSet ("loyal")); More...
 
bool AreAnyTagsSet (string[] listOfTags)
 Returns true if at least one tag is assigned.
Note: Tags are case sensitive, High Value and high value are different tags
Usage:
Pyze.PyzePersonalizationIntelligence.AreAnyTagsSet (new string[]{"loyal","High Value","high value" }); More...
 
bool AreAllTagsSet (string[] listOfTags)
 Returns true if all tags specified in list are assigned to user.
Note: Tags are case sensitive, High Value and high value are different tags.
Usage:
Pyze.PyzePersonalizationIntelligence.AreAllTagsSet (new string[]{"loyal","High Value","high value" }); More...
 

Detailed Description

This class provides access to get the personalization intelligence tags. These tags are set in the intelligence explorer.

Member Function Documentation

bool PyzeUnity.IPyzePersonalizationIntelligence.AreAllTagsSet ( string[]  listOfTags)

Returns true if all tags specified in list are assigned to user.
Note: Tags are case sensitive, High Value and high value are different tags.
Usage:
Pyze.PyzePersonalizationIntelligence.AreAllTagsSet (new string[]{"loyal","High Value","high value" });

Returns
true, if all tags are set, false otherwise.
Parameters
listOfTagsList of tags.
bool PyzeUnity.IPyzePersonalizationIntelligence.AreAnyTagsSet ( string[]  listOfTags)

Returns true if at least one tag is assigned.
Note: Tags are case sensitive, High Value and high value are different tags
Usage:
Pyze.PyzePersonalizationIntelligence.AreAnyTagsSet (new string[]{"loyal","High Value","high value" });

Returns
true, if any of the tag is set, false otherwise.
Parameters
listOfTagsList of tags.
void PyzeUnity.IPyzePersonalizationIntelligence.GetTags ( EventHandler< EventArgsWithStringArray >  callback)

Get all tags assigned to the user.
Note: Tags are case sensitive, High Value and high value are different tags.
Usage:
Pyze.PyzePersonalizationIntelligence.GetTags((sender, e) => {
foreach (var tag in e.Value) {
Debug.Log(tag);
}
});

Parameters
callbackCallback method returing array of tags.
bool PyzeUnity.IPyzePersonalizationIntelligence.IsTagSet ( string  tag)

Returns true if requested tag is assigned to user.
Note: Tags are case sensitive, High Value and high value are different tags
Usage:
Debug.Log(Pyze.PyzePersonalizationIntelligence.IsTagSet ("loyal"));

Returns
true if the specified tag is set otherwise, false.
Parameters
tagTag.

The documentation for this interface was generated from the following file:
  • src/PyzeExterns.cs