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

# PFPlatformSpecificClientAndroidDevicePushNotificationRegistrationAsync

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

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

## 구문

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

### 매개 변수

**`entityHandle`**   PFEntityHandle

인증에 사용할 PFEntityHandle입니다.

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

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

**`async`**   XAsyncBlock\*<br />*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))에서 확인할 수 있습니다. 푸시 알림을 구성하고 보내는 단계는 [푸시 알림 빠른 시작](/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 개요 - PFPlatformSpecific.h](/ko/services/playfab/api-references/c/pfplatformspecific/pfplatformspecific_members.md)
- [PFPlatformSpecificAndroidDevicePushNotificationRegistrationRequest](/ko/services/playfab/api-references/c/pfplatformspecifictypes/structs/pfplatformspecificandroiddevicepushnotificationregistrationrequest.md)
- [PFPlatformSpecificClientRegisterForIOSPushNotificationAsync](/ko/services/playfab/api-references/c/pfplatformspecific/functions/pfplatformspecificclientregisterforiospushnotificationasync.md)
- [Services C API 개요 - PFPlatformSpecificTypes.h](/ko/services/playfab/api-references/c/pfplatformspecifictypes/pfplatformspecifictypes_members.md)
- [PushNotificationRegistration](/ko/services/playfab/api-references/events/data-types/pushnotificationregistration.md)
