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

# PFPlatformSpecificClientRegisterForIOSPushNotificationAsync

> プッシュ通知を受信するように iOS デバイスを登録します。

プッシュ通知を受信するように iOS デバイスを登録します。

## 構文

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

### パラメーター

**`entityHandle`**   PFEntityHandle

認証に使用する PFEntityHandle。

**`request`**   [PFPlatformSpecificRegisterForIOSPushNotificationRequest\*](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfplatformspecifictypes/structs/pfplatformspecificregisterforiospushnotificationrequest.md)

値が設定されたリクエスト オブジェクト。

**`async`**   XAsyncBlock\*\
*Inout*

非同期操作用の XAsyncBlock。

### 戻り値

型: HRESULT

この API 操作の結果コード。

## 解説

この API は iOS で利用できます。プッシュ通知を構成して送信する手順については、[プッシュ通知のクイックスタート](https://docs.xbox.com/ja-jp/services/playfab/live-service-management/game-configuration/title-communications/push-notifications/quickstart.md) を参照してください。操作の状態を取得するには XAsyncGetStatus を呼び出します。サービス呼び出しが失敗した場合、非同期結果は E\_PF\_NO\_PUSH\_NOTIFICATION\_ARN\_FOR\_TITLE、E\_PF\_PUSH\_SERVICE\_ERROR、またはグローバル PlayFab サービス エラーのいずれかになります。エラー処理の詳細については、ドキュメント ページ「Handling PlayFab Errors」を参照してください。

## 要件

**ヘッダー:** PFPlatformSpecific.h

## 関連項目

[PFPlatformSpecific のメンバー](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfplatformspecific/pfplatformspecific_members.md)


## Related topics

- [Services C API の概要 - PFPlatformSpecific.h](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfplatformspecific/pfplatformspecific_members.md)
- [PFPlatformSpecificRegisterForIOSPushNotificationRequest](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfplatformspecifictypes/structs/pfplatformspecificregisterforiospushnotificationrequest.md)
- [PFPlatformSpecificClientAndroidDevicePushNotificationRegistrationAsync](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfplatformspecific/functions/pfplatformspecificclientandroiddevicepushnotificationregistrationasync.md)
- [Register For IOS Push Notification](https://docs.xbox.com/api-reference/platform-specific-methods/register-for-ios-push-notification.md)
- [Android Device Push Notification Registration](https://docs.xbox.com/api-reference/platform-specific-methods/android-device-push-notification-registration.md)
