docs.unity3d.com
    Show / Hide Table of Contents

    Class FriendsService

    Here is the first point and call for accessing the Friends Package's features! Use the .Instance method to get a singleton of the type IFriendsService. From there, you can make various requests to the friends service API.

    Inheritance
    Object
    FriendsService
    Namespace: Unity.Services.Friends
    Syntax
    public static class FriendsService

    Properties

    Instance

    Provides the Friends Service SDK interface for making service API requests. It is highly recommended to use the ManagedRelationshipService instead due to the sheer amount of convenience methods it has. In order to access the ManagedRelationshipService object, call ManagedRelationshipService.CreateManagedRelationshipServiceAsync()

    Declaration
    public static IFriendsService Instance { get; }
    Property Value
    Type Description
    IFriendsService
    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