getSocialFriends

fun getSocialFriends(    platform: FriendsPlatform?,     fromGameOnly: Boolean,     callback: GetSocialFriendsCallback,     offset: Int = 0,     @IntRange(from = 1, to = 500) limit: Int = 500)

Returns user friends data from a social provider.

Parameters

platform

Name of social provider. If empty, friends from all available social providers will be fetched.

offset

Number of the element from which the list is generated.

limit

Maximum number of friends that can be received at a time.

fromGameOnly

Whether social friends are from this game.

callback

Callback with social friends.

Sources

Link copied to clipboard