docs.unity3d.com
    Show / Hide Table of Contents

    Class RelationshipOptions

    Defines the options to query the relationship data.

    Inheritance
    Object
    RelationshipOptions
    Namespace: Unity.Services.Friends.Options
    Syntax
    public class RelationshipOptions

    Methods

    WithMemberPresence(Boolean)

    Defines whether or not to attach presence data to the member object

    Declaration
    public RelationshipOptions WithMemberPresence(bool withPresence)
    Parameters
    Type Name Description
    Boolean withPresence

    whether or not to attach presence data

    Returns
    Type Description
    RelationshipOptions

    Itself

    WithMemberProfile(Boolean)

    Defines whether or not to attach profile data to the member object

    Declaration
    public RelationshipOptions WithMemberProfile(bool withProfile)
    Parameters
    Type Name Description
    Boolean withProfile

    whether or not to attach profile data

    Returns
    Type Description
    RelationshipOptions

    Itself

    WithPaging(PagingOptions)

    Defines the paging options for the results

    Declaration
    public RelationshipOptions WithPaging(PagingOptions pagingOptions)
    Parameters
    Type Name Description
    PagingOptions pagingOptions

    Options to define the paging of the results

    Returns
    Type Description
    RelationshipOptions

    Itself

    WithTypes(RelationshipType)

    Defines the types of relationships to return as part of the query

    Declaration
    public RelationshipOptions WithTypes(RelationshipType relationshipType)
    Parameters
    Type Name Description
    RelationshipType relationshipType

    the relationship types to query

    Returns
    Type Description
    RelationshipOptions

    Itself

    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023