Class IronSourceSegment
Representation of a user segment
Inherited Members
Namespace: Global Namespace
Assembly: Unity.LevelPlay.dll
Syntax
public class IronSourceSegment
Constructors
IronSourceSegment()
Constructs a Segment with default values
Declaration
public IronSourceSegment()
Fields
customs
Custom key-values for the segment
Declaration
public Dictionary<string, string> customs
Field Value
Type | Description |
---|---|
Dictionary<string, string> |
iapt
Number of in app purchases
Declaration
public double iapt
Field Value
Type | Description |
---|---|
double |
isPaying
Is the segment paying
Declaration
public int isPaying
Field Value
Type | Description |
---|---|
int |
level
level of the segment
Declaration
public int level
Field Value
Type | Description |
---|---|
int |
segmentName
Name of the segment
Declaration
public string segmentName
Field Value
Type | Description |
---|---|
string |
userCreationDate
date at which the user was created
Declaration
public long userCreationDate
Field Value
Type | Description |
---|---|
long |
Methods
getSegmentAsDict()
Returns the segment as a Dictionary
Declaration
public Dictionary<string, string> getSegmentAsDict()
Returns
Type | Description |
---|---|
Dictionary<string, string> | Dictionary representing the segment |
setCustom(string, string)
Add a custom key-value to the segment
Declaration
public void setCustom(string key, string value)