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

# PFPlatformSpecificClientAndroidDevicePushNotificationRegistrationAsync

> 푸시 알림을 받도록 Android 디바이스를 등록합니다.

푸시 알림을 받도록 Android 디바이스를 등록합니다.

## 구문

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

### 매개 변수

**`entityHandle`**   PFEntityHandle

인증에 사용할 PFEntityHandle입니다.

**`request`**   [PFPlatformSpecificAndroidDevicePushNotificationRegistrationRequest\*](https://docs.xbox.com/ko/services/playfab/api-references/c/pfplatformspecifictypes/structs/pfplatformspecificandroiddevicepushnotificationregistrationrequest.md)

값이 채워진 요청 개체입니다.

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

비동기 작업용 XAsyncBlock입니다.

### 반환 값

형식: HRESULT

이 API 작업의 결과 코드입니다.

## 설명

이 API는 Android에서 사용할 수 있습니다. Google Cloud Messaging 서비스에 맞게 게임을 구성하는 방법에 대한 자세한 내용은 Google 개발자 설명서([http://developer.android.com/google/gcm/client.html](http://developer.android.com/google/gcm/client.html))에서 확인할 수 있습니다. 푸시 알림을 구성하고 보내는 단계는 [푸시 알림 빠른 시작](https://docs.xbox.com/ko/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/ko/services/playfab/api-references/c/pfplatformspecific/pfplatformspecific_members.md)


## Related topics

- [Services C API 개요 - PFPlatformSpecific.h](https://docs.xbox.com/ko/services/playfab/api-references/c/pfplatformspecific/pfplatformspecific_members.md)
- [PFPlatformSpecificAndroidDevicePushNotificationRegistrationRequest](https://docs.xbox.com/ko/services/playfab/api-references/c/pfplatformspecifictypes/structs/pfplatformspecificandroiddevicepushnotificationregistrationrequest.md)
- [PFPlatformSpecificClientRegisterForIOSPushNotificationAsync](https://docs.xbox.com/ko/services/playfab/api-references/c/pfplatformspecific/functions/pfplatformspecificclientregisterforiospushnotificationasync.md)
- [Android Device Push Notification Registration](https://docs.xbox.com/api-reference/platform-specific-methods/android-device-push-notification-registration.md)
- [Android 디바이스 푸시 알림 등록](https://docs.xbox.com/ko/services/playfab/api-references/rest/client/platform-specific-methods/android-device-push-notification-registration.md)
