> ## 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

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

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

## 構文

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

### パラメーター

**`entityHandle`**   PFEntityHandle

認証に使用する PFEntityHandle。

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

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

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

非同期操作用の XAsyncBlock。

### 戻り値

型: HRESULT

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

## 解説

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

## 要件

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

## 関連項目

[PFPlatformSpecific のメンバー](/services/playfab/api-references/c/pfplatformspecific/pfplatformspecific_members)


## Related topics

- [Services C API overview - PFPlatformSpecific.h](/ja-jp/services/playfab/api-references/c/pfplatformspecific/pfplatformspecific_members.md)
- [PFPlatformSpecificRegisterForIOSPushNotificationRequest](/ja-jp/services/playfab/api-references/c/pfplatformspecifictypes/structs/pfplatformspecificregisterforiospushnotificationrequest.md)
- [PFPlatformSpecificClientAndroidDevicePushNotificationRegistrationAsync](/ja-jp/services/playfab/api-references/c/pfplatformspecific/functions/pfplatformspecificclientandroiddevicepushnotificationregistrationasync.md)
- [Services C API overview - PFPlatformSpecificTypes.h](/ja-jp/services/playfab/api-references/c/pfplatformspecifictypes/pfplatformspecifictypes_members.md)
- [PFPlatformSpecificAndroidDevicePushNotificationRegistrationRequest](/ja-jp/services/playfab/api-references/c/pfplatformspecifictypes/structs/pfplatformspecificandroiddevicepushnotificationregistrationrequest.md)
