BS2_ResponseUserPhrase
+ v2.7.0 개인 메시지를 단말기로 전송합니다.
함수
#include "BS_API.h"
int BS2_ResponseUserPhrase(void* context, uint32_t deviceId, uint16_t seq, int handleResult, const BS2_USER_PHRASE userPhrase);
파라미터
-
[In]
context: Context -
[In]
deviceId: 장치 식별자 -
[In]
seq: 패킷 일련번호 -
[In]
handleResult: 매칭 결과 값(BS_SDK_SUCCESSorBS_SDK_ERROR_XXX) -
[In]
userPhrase: 개인 메시지
알아두기
패킷 일련번호는 반드시 OnUserPhrase에서 전달받은 값과 동일해야 합니다.
반환 값
성공적으로 수행될 경우 BS_SDK_SUCCESS를 반환하고, 에러가 발생할 경우 상응하는 에러 코드를 반환합니다.