Skip to main content

FutureUserActionsClient

A class in Alta.Api.Client, Alta.Api.Client.HighLevel.

Online client for actions the API should run for a platform user later, such as friending or inviting an Oculus user once they join. Calls Alta's web API, which no longer answers.

Constructors​

1 private and internal constructor
MemberWhat it is
internal FutureUserActionsClient(IHighLevelApiClientManager clientManager)Creates a FutureUserActionsClient from clientManager.

Methods​

MemberWhat it is
Task AddOculusFriendAsAltaFriend(ulong oculusId)Asks the API to friend the logged-in user with this Oculus user once they have an Alta account.
Task CreateCustomAction(UserType userType, ulong userIdentifier, FutureUserActionType actionType, object actionData)Queues any future action type with your own action data for a platform user.
Task InviteOculusFriendToGroup(ulong oculusId, int groupId)Asks the API to invite this Oculus user to a group once they have an Alta account.