기술 자료

​
​

Development

User Acquisition

Monetization

산업 분야

Vivox Core SDK

Vivox Core SDK

이 페이지는 선택한 언어로 제공되지 않습니다.
Vivox
​
​
Vivox Core SDK
  • Overview
  • Before you begin
  • Get started
  • Release notes
  • Developer Guide
  • Reference
    • Access Token Developer Guide
    • Server to Server Web API Reference Guide
    • Core API Reference Manual
      • Modules
        • Initialization
        • Sending and Receiving Vivox Messages
        • Memory Management
        • Logging In and Logging Out
        • Group Voice and Text Communications
        • Audio Devices
        • Diagnostics
      • Data Structures
      • Deprecated List
    • Third-party license information
  • Privacy overview
  1. Vivox Core SDK documentation

Sending and Receiving Vivox Messages

Learn how to send messages to groups.
읽는 시간 3분
최근 업데이트: 8달 전

Functions

Name

VIVOXSDK_DLLEXPORT intvx_get_message(vx_message_base_t ** message)
The VxSDK polling function.
VIVOXSDK_DLLEXPORT intvx_issue_request(vx_req_base_t * request)
VIVOXSDK_DLLEXPORT intvx_issue_request2(vx_req_base_t * request)
Execute the given request.
VIVOXSDK_DLLEXPORT intvx_issue_request3(vx_req_base_t * request, int * request_count)
Execute the given request.
VIVOXSDK_DLLEXPORT intvx_register_message_notification_handler(void(*)(void *) pf_handler, void * cookie)
Register a callback that is called when a message is placed in the queue.
VIVOXSDK_DLLEXPORT intvx_unregister_message_notification_handler(void(*)(void *) pf_handler, void * cookie)
Unregister a notification handler.
VIVOXSDK_DLLEXPORT vx_message_base_t *vx_wait_for_message(int msTimeout)
Block the caller until a message is available.
VIVOXSDK_DLLEXPORT intvx_set_out_of_process_server_address(const char * address, unsigned short port)
Set the default out of process server address.

Functions Documentation

function vx_get_message

VIVOXSDK_DLLEXPORT int vx_get_message( vx_message_base_t ** message)
The VxSDK polling function.
Parameters:
  • message [out] The object containing the message data.
Return: The status of the poll: VX_GET_MESSAGE_AVAILABLE = Success, VX_GET_MESSAGE_FAILURE = Failure, VX_GET_MESSAGE_NO_MESSAGE = No Message Available
This should be called periodically to check for any incoming events.

function vx_issue_request

VIVOXSDK_DLLEXPORT int vx_issue_request( vx_req_base_t * request)
Parameters:
  • request The request object to execute. This is of one of the vx_req_* structs.
Return: The success status of the request.

function vx_issue_request2

VIVOXSDK_DLLEXPORT int vx_issue_request2( vx_req_base_t * request)
Execute the given request.
Parameters:
  • request The request object to execute. This is of one of the vx_req_* structs.
Return: The success status of the request.
This function returns an error if the SDK is not initialized (see vx_initialize3()).

function vx_issue_request3

VIVOXSDK_DLLEXPORT int vx_issue_request3( vx_req_base_t * request, int * request_count)
Execute the given request.
Parameters:
  • request The request object to execute. This is of one of the vx_req_* structs.
  • request_count If non-null, vx_issue_request3 outputs the number of requests that are still outstanding. Requests at a rate of 12 requests per second - an application can use this value to determine if the application is issuing requests at an unacceptable rate.
Return: The success status of the request.
This function returns an error if the SDK is not initialized (see vx_initialize3()).

function vx_register_message_notification_handler

VIVOXSDK_DLLEXPORT int vx_register_message_notification_handler( void(*)(void *) pf_handler, void * cookie)
Register a callback that is called when a message is placed in the queue.
The application should use this to signal the main application thread that will then wakeup and call vx_get_message;

function vx_unregister_message_notification_handler

VIVOXSDK_DLLEXPORT int vx_unregister_message_notification_handler( void(*)(void *) pf_handler, void * cookie)
Unregister a notification handler.

function vx_wait_for_message

VIVOXSDK_DLLEXPORT vx_message_base_t * vx_wait_for_message( int msTimeout)
Block the caller until a message is available.
Returns NULL if no message was available within the allotted time.

function vx_set_out_of_process_server_address

VIVOXSDK_DLLEXPORT int vx_set_out_of_process_server_address( const char * address, unsigned short port)
Set the default out of process server address.
Parameters:
  • address - The address of the out of process server. Use "127.0.0.1" for most applications.
  • port - port - Use 44125 for most applications.
Return: - 0 if successful, non-zero if failed.
When an address is set, requests issued by using vx_issue_request are sent to the server at the supplied address instead of being handled in the current process context.

Copyright © 2026 Unity Technologies
법률 정보개인정보 처리방침쿠키Documentation Terms of Use개인 정보 판매 또는 공유 금지개인정보 보호 선택(쿠키 설정)

'Unity', Unity 로고 및 기타 Unity 상표는 미국 및 기타 지역 내 Unity Technologies 또는 그 계열사의 상표 또는 등록상표입니다(자세한 내용은 여기에서 확인하세요). 기타 명칭 또는 브랜드는 해당 소유자의 상표입니다.

일부 페이지는 편의를 위해 기계 번역되었으며 부정확한 내용이 있을 수 있습니다. 정보가 상충되는 경우, 영어 버전을 우선으로 참조하세요.

  • 보고 있는 페이지
    • Functions

    • Functions Documentation

      • function vx_get_message

      • function vx_issue_request

      • function vx_issue_request2

      • function vx_issue_request3

      • function vx_register_message_notification_handler

      • function vx_unregister_message_notification_handler

      • function vx_wait_for_message

      • function vx_set_out_of_process_server_address


이 페이지의 문제 보고