> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PFPlatformSpecificClientRegisterForIOSPushNotificationAsync

> Inscrit l'appareil iOS pour recevoir des notifications push

Inscrit l'appareil iOS pour recevoir des notifications push

## Syntaxe

```cpp theme={null}
HRESULT PFPlatformSpecificClientRegisterForIOSPushNotificationAsync(  
    PFEntityHandle entityHandle,  
    const PFPlatformSpecificRegisterForIOSPushNotificationRequest* request,  
    XAsyncBlock* async  
)  
```

### Paramètres

**`entityHandle`**   PFEntityHandle

PFEntityHandle à utiliser pour l'authentification.

**`request`**   [PFPlatformSpecificRegisterForIOSPushNotificationRequest\*](/services/playfab/api-references/c/pfplatformspecifictypes/structs/pfplatformspecificregisterforiospushnotificationrequest)

Objet de requête renseigné.

**`async`**   XAsyncBlock\*<br />*Inout*

XAsyncBlock pour l'opération asynchrone.

### Valeur de retour

Type : HRESULT

Code de résultat de cette opération d'API.

## Notes

Cette API est disponible sur iOS. Pour connaître les étapes de configuration et d'envoi des notifications push, consultez le [démarrage rapide des notifications push](/services/playfab/live-service-management/game-configuration/title-communications/push-notifications/quickstart). Appelez XAsyncGetStatus pour obtenir l'état de l'opération. Si l'appel au service échoue, le résultat asynchrone sera E\_PF\_NO\_PUSH\_NOTIFICATION\_ARN\_FOR\_TITLE, E\_PF\_PUSH\_SERVICE\_ERROR ou l'une des erreurs globales du service PlayFab. Consultez la page de documentation "Handling PlayFab Errors" pour plus de détails sur la gestion des erreurs.

## Configuration requise

**En-tête :** PFPlatformSpecific.h

## Voir aussi

[Membres de PFPlatformSpecific](/services/playfab/api-references/c/pfplatformspecific/pfplatformspecific_members)


## Related topics

- [Vue d'ensemble de l'API C Services - PFPlatformSpecific.h](/fr/services/playfab/api-references/c/pfplatformspecific/pfplatformspecific_members.md)
- [PFPlatformSpecificRegisterForIOSPushNotificationRequest](/fr/services/playfab/api-references/c/pfplatformspecifictypes/structs/pfplatformspecificregisterforiospushnotificationrequest.md)
- [PFPlatformSpecificClientAndroidDevicePushNotificationRegistrationAsync](/fr/services/playfab/api-references/c/pfplatformspecific/functions/pfplatformspecificclientandroiddevicepushnotificationregistrationasync.md)
- [Vue d'ensemble de l'API C Services - PFPlatformSpecificTypes.h](/fr/services/playfab/api-references/c/pfplatformspecifictypes/pfplatformspecifictypes_members.md)
- [PFPlatformSpecificAndroidDevicePushNotificationRegistrationRequest](/fr/services/playfab/api-references/c/pfplatformspecifictypes/structs/pfplatformspecificandroiddevicepushnotificationregistrationrequest.md)
