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

# PFPushNotificationsServerSendPushNotificationAsync

> 사용자의 디바이스가 PlayFab에서 푸시 알림을 받도록 구성된 경우, 특정 사용자에게 iOS/Android 푸시 알림을 보냅니다. 사용자가 Android와 iOS 디바이스를 모두 연결한 경우 두 디바이스 모두에 알림이 전송됩니다.

사용자의 디바이스가 PlayFab에서 푸시 알림을 받도록 구성된 경우, 특정 사용자에게 iOS/Android 푸시 알림을 보냅니다. 사용자가 Android와 iOS 디바이스를 모두 연결한 경우 두 디바이스 모두에 알림이 전송됩니다.

## 구문

```cpp theme={null}
HRESULT PFPushNotificationsServerSendPushNotificationAsync(  
    PFEntityHandle titleEntityHandle,  
    const PFPushNotificationsSendPushNotificationRequest* request,  
    XAsyncBlock* async  
)  
```

### 매개 변수

**`titleEntityHandle`**   PFEntityHandle

PFAuthenticationGetEntityWithSecretKeyAsync를 사용하여 얻은 타이틀 엔터티의 PFEntityHandle입니다.

**`request`**   [PFPushNotificationsSendPushNotificationRequest\*](/services/playfab/api-references/c/pfpushnotificationstypes/structs/pfpushnotificationssendpushnotificationrequest)

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

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

비동기 작업용 XAsyncBlock입니다.

### 반환 값

형식: HRESULT

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

## 설명

이 API는 Windows, Linux 및 macOS에서 사용할 수 있습니다. 작업의 상태를 가져오려면 XAsyncGetStatus를 호출합니다. 서비스 호출이 실패하면 비동기 결과는 E\_PF\_PUSH\_NOT\_ENABLED\_FOR\_ACCOUNT, E\_PF\_PUSH\_SERVICE\_ERROR 또는 전역 PlayFab 서비스 오류 중 하나가 됩니다. 오류 처리에 대한 자세한 내용은 "Handling PlayFab Errors" 문서 페이지를 참조하세요.

## 요구 사항

**헤더:** PFPushNotifications.h

## 참고 항목

[PFPushNotifications 멤버](/services/playfab/api-references/c/pfpushnotifications/pfpushnotifications_members)


## Related topics

- [Services C API 개요 - PFPushNotifications.h](/ko/services/playfab/api-references/c/pfpushnotifications/pfpushnotifications_members.md)
- [PFPushNotificationsServerSendPushNotificationFromTemplateAsync](/ko/services/playfab/api-references/c/pfpushnotifications/functions/pfpushnotificationsserversendpushnotificationfromtemplateasync.md)
- [PFPushNotificationsSendPushNotificationRequest](/ko/services/playfab/api-references/c/pfpushnotificationstypes/structs/pfpushnotificationssendpushnotificationrequest.md)
- [PFPushNotificationsSendPushNotificationFromTemplateRequest](/ko/services/playfab/api-references/c/pfpushnotificationstypes/structs/pfpushnotificationssendpushnotificationfromtemplaterequest.md)
- [PFPlatformSpecificClientRegisterForIOSPushNotificationAsync](/ko/services/playfab/api-references/c/pfplatformspecific/functions/pfplatformspecificclientregisterforiospushnotificationasync.md)
