⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 userinput.h

📁 基于h323协议的软phone
💻 H
字号:
#ifdef __cplusplus
extern "C" {
#endif

/*
***********************************************************************************

NOTICE:
This document contains information that is proprietary to RADVISION LTD..
No part of this publication may be reproduced in any form whatsoever without
written prior approval by RADVISION LTD..

RADVISION LTD. reserves the right to revise this publication and make changes
without obligation to notify any person of such revisions or changes.

***********************************************************************************
*/



#ifndef _USER_INPUT_H
#define _USER_INPUT_H

#include <rvcommon.h>

typedef enum
{
  cmUserInputNonStandard=0,
  cmUserInputAlphanumeric,
  cmUserInputSupport,
  cmUserInputSignal,
  cmUserInputSignalUpdate
}cmUserInputIndication;


typedef enum
{
  cmSupportNonStandard=0,
  cmSupportBasicString,
  cmSupportIA5String,
  cmSupportGeneralString

}cmUserInputSupportIndication;

typedef struct
{
  int timestamp;      /* -1 if optional; */
  int expirationTime; /* -1 if optional;*/
  int logicalChannelNumber;
}cmUserInputSignalRtpStruct;

typedef struct
{
  char signalType;
  int duration;
  cmUserInputSignalRtpStruct cmUserInputSignalRtp;/* if logicalchannel == 0 -optional*/
}cmUserInputSignalStruct;

typedef struct
{
  int duration;
  cmUserInputSignalRtpStruct cmUserInputSignalRtp;
  /* if logicalchannel == 0 -optional only logicalchannel element is used */
}cmUserInputSignalUpdateStruct;


RVAPI int RVCALLCONV  /* userInput message node id or negative value on failure */
cmUserInputSupportIndicationBuild(
                 /* Build userUser message with alphanumeric data */
                 IN  HAPP hApp,
                 IN cmUserInputSupportIndication userInputSupport,
           OUT int * nodeId  /* nodeId of nonstandart UserInputSupportIndication */
                 );
RVAPI int RVCALLCONV  /* userInput message node id or negative value on failure */
cmUserInputSignalBuild(
                 /* Build userUser message with alphanumeric data */
                 IN  HAPP hApp,
                 cmUserInputSignalStruct *userInputSignalStruct
                 );

RVAPI int RVCALLCONV  /* userInput message node id or negative value on failure */
cmUserInputSignalUpdateBuild(
                 /* Build userUser message with alphanumeric data */
                 IN  HAPP hApp,
                 cmUserInputSignalStruct *userInputSignalStruct
                 );


RVAPI int RVCALLCONV  /* RV_TRUE or negative value on failure */
cmUserInputGetDetail(
           IN  HAPP hApp,
           IN  RvInt32 userInputId,
         OUT cmUserInputIndication * userInputIndication
           );
RVAPI int RVCALLCONV
cmUserInputGetSignal(
           IN  HAPP hApp,
           IN  RvInt32 signalUserInputId,
         OUT cmUserInputSignalStruct * userInputSignalStruct
           );
RVAPI int RVCALLCONV
cmUserInputGetSignalUpdate(
           IN  HAPP hApp,
           IN  RvInt32 signalUserInputId,
         OUT cmUserInputSignalStruct * userInputSignalStruct
           );
RVAPI int RVCALLCONV
cmUserInputSupportGet(
           IN  HAPP hApp,
           IN  RvInt32 supportUserInputId,
         OUT cmUserInputSupportIndication * userInputSupportIndication
           );




#endif
#ifdef __cplusplus
}
#endif



⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -