S'abonner à une ressource de matchmaking
Subscribe to match resource notifications.
Error codes
This operation may return the following PlayFab errors:
| Error | Code |
|---|---|
| MatchmakingAttributeInvalid | 2046 |
| MatchmakingBadRequest | 2059 |
| MatchmakingEntityInvalid | 2001 |
| MatchmakingTicketNotFound | 2018 |
| MatchmakingUnauthorized | 2056 |
| PubSubConnectionHandleInvalid | 2503 |
| PubSubConnectionNotFoundForEntity | 2502 |
| PubSubSubscriptionLimitExceeded | 2504 |
Autorisations
This API requires an Entity Session Token, available from the Entity GetEntityToken method.
Corps
Subscribe to match resource notifications. Match subscriptions have two types; MatchInvite and MatchTicketStatusChange
Subscribe to match resource notifications. Match subscriptions have two types; MatchInvite and MatchTicketStatusChange
The entity performing the subscription. The entity must be authorized to use this connectionHandle.
Opaque string, given to a client upon creating a connection with PubSub. Notifications will be sent to the connection associated with this handle.
The name of the resource to subscribe to. It follows the format {queueName}|{ticketId} for MatchTicketStatusChange. For MatchInvite, ResourceId is @me.
Version number for the subscription of this resource. Current supported version must be 1.
Subscription type. MatchInvite subscriptions are per-player. MatchTicketStatusChange subscriptions are per-ticket. Subscribe calls are idempotent. Subscribing on the same resource for the same connection results in success.
The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.).
Sujets connexes
S'abonner à une ressource de lobbySe désabonner d'une ressource de matchmakingMessages en temps réel pour les API Lobby et MatchmakingAbonnement aux ressources pour les messages en temps réelMessages en temps réel de Lobby et Matchmaking