Show / Hide Table of Contents

Interface ISocialPlatform

Namespace: UnityEngine.SocialPlatforms
Assembly: UnityEngine.dll
Syntax
public interface ISocialPlatform

Properties

| Improve this Doc View Source

localUser

Declaration
ILocalUser localUser { get; }
Property Value
Type Description
ILocalUser

Methods

| Improve this Doc View Source

Authenticate(ILocalUser, Action<Boolean, String>)

Declaration
void Authenticate(ILocalUser user, Action<bool, string> callback)
Parameters
Type Name Description
ILocalUser user
Action<Boolean, String> callback
| Improve this Doc View Source

Authenticate(ILocalUser, Action<Boolean>)

Declaration
void Authenticate(ILocalUser user, Action<bool> callback)
Parameters
Type Name Description
ILocalUser user
Action<Boolean> callback
| Improve this Doc View Source

CreateAchievement()

Declaration
IAchievement CreateAchievement()
Returns
Type Description
IAchievement
| Improve this Doc View Source

CreateLeaderboard()

Declaration
ILeaderboard CreateLeaderboard()
Returns
Type Description
ILeaderboard
| Improve this Doc View Source

GetLoading(ILeaderboard)

Declaration
bool GetLoading(ILeaderboard board)
Parameters
Type Name Description
ILeaderboard board
Returns
Type Description
Boolean
| Improve this Doc View Source

LoadAchievementDescriptions(Action<IAchievementDescription[]>)

Declaration
void LoadAchievementDescriptions(Action<IAchievementDescription[]> callback)
Parameters
Type Name Description
Action<IAchievementDescription[]> callback
| Improve this Doc View Source

LoadAchievements(Action<IAchievement[]>)

Declaration
void LoadAchievements(Action<IAchievement[]> callback)
Parameters
Type Name Description
Action<IAchievement[]> callback
| Improve this Doc View Source

LoadFriends(ILocalUser, Action<Boolean>)

Declaration
void LoadFriends(ILocalUser user, Action<bool> callback)
Parameters
Type Name Description
ILocalUser user
Action<Boolean> callback
| Improve this Doc View Source

LoadScores(String, Action<IScore[]>)

Declaration
void LoadScores(string leaderboardID, Action<IScore[]> callback)
Parameters
Type Name Description
String leaderboardID
Action<IScore[]> callback
| Improve this Doc View Source

LoadScores(ILeaderboard, Action<Boolean>)

Declaration
void LoadScores(ILeaderboard board, Action<bool> callback)
Parameters
Type Name Description
ILeaderboard board
Action<Boolean> callback
| Improve this Doc View Source

LoadUsers(String[], Action<IUserProfile[]>)

Declaration
void LoadUsers(string[] userIDs, Action<IUserProfile[]> callback)
Parameters
Type Name Description
String[] userIDs
Action<IUserProfile[]> callback
| Improve this Doc View Source

ReportProgress(String, Double, Action<Boolean>)

Declaration
void ReportProgress(string achievementID, double progress, Action<bool> callback)
Parameters
Type Name Description
String achievementID
Double progress
Action<Boolean> callback
| Improve this Doc View Source

ReportScore(Int64, String, Action<Boolean>)

Declaration
void ReportScore(long score, string board, Action<bool> callback)
Parameters
Type Name Description
Int64 score
String board
Action<Boolean> callback
| Improve this Doc View Source

ShowAchievementsUI()

Declaration
void ShowAchievementsUI()
| Improve this Doc View Source

ShowLeaderboardUI()

Declaration
void ShowLeaderboardUI()

Extension Methods

MustExtensions.MustBeEqual<T>(T, T)
MustExtensions.MustBeEqual<T>(T, T, String)
MustExtensions.MustNotBeEqual<T>(T, T)
MustExtensions.MustNotBeEqual<T>(T, T, String)
MustExtensions.MustBeNull<T>(T)
MustExtensions.MustBeNull<T>(T, String)
MustExtensions.MustNotBeNull<T>(T)
MustExtensions.MustNotBeNull<T>(T, String)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX