docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class InviteSection

    Represents a section in the Invite dialog that contains suggested matches. The sections display in the order they're included in the array, and the last section contains as many results as possible.

    Inheritance
    object
    JsObject
    InviteSection
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Meta.InstantGames
    Assembly: Unity.Meta.InstantGames.Sdk.dll
    Syntax
    public class InviteSection : JsObject

    Constructors

    InviteSection()

    Construct an instance of InviteSection

    Declaration
    public InviteSection()

    InviteSection(InviteSectionType, double?)

    Creates a new instance of InviteSection

    Declaration
    public InviteSection(InviteSectionType sectionType, double? maxResults = null)
    Parameters
    Type Name Description
    InviteSectionType sectionType

    The type of section to include in the Invite dialog.

    double? maxResults

    An optional maximum number of results to include in the section. This can be no higher than 10. This value is disregarded for the last section, which contains as many results as possible. If not included, the default maximum number of results for that section type is used.

    Properties

    MaxResults

    An optional maximum number of results to include in the section. This can be no higher than 10. This value is disregarded for the last section, which contains as many results as possible. If not included, the default maximum number of results for that section type is used.

    Declaration
    public double? MaxResults { get; }
    Property Value
    Type Description
    double?

    SectionType

    The type of section to include in the Invite dialog.

    Declaration
    public InviteSectionType SectionType { get; }
    Property Value
    Type Description
    InviteSectionType
    In This Article
    Back to top
    Copyright © 2025 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)