docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class IronSourceSegment

    Representation of a user segment

    Inheritance
    object
    IronSourceSegment
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Global Namespace
    Assembly: Unity.LevelPlay.dll
    Syntax
    public class IronSourceSegment

    Constructors

    IronSourceSegment()

    Constructs a Segment with default values

    Declaration
    public IronSourceSegment()

    Fields

    age

    Age of the segment

    Declaration
    public int age
    Field Value
    Type Description
    int

    customs

    Custom key-values for the segment

    Declaration
    public Dictionary<string, string> customs
    Field Value
    Type Description
    Dictionary<string, string>

    gender

    Gender of the segment

    Declaration
    public string gender
    Field Value
    Type Description
    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)
    Parameters
    Type Name Description
    string key

    Key to be added

    string value

    Value to be added

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)