Kalay1.0鸿蒙版PSC

KalaySDK升级版PSC


Index

<p>[TOC]</p> <h1>HarmonyOS Next API Index</h1> <h2>1.1 Init/Uninit</h2> <table> <thead> <tr> <th style="text-align: left;">API</th> <th style="text-align: left;">Function Description</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">TK_InitIOTC</td> <td style="text-align: left;">IOTC module initialization</td> </tr> <tr> <td style="text-align: left;">TK_uninitIOTC</td> <td style="text-align: left;">IOTC module de-initialization</td> </tr> <tr> <td style="text-align: left;">TK_LanSearch</td> <td style="text-align: left;">Search for devices in the LAN</td> </tr> <tr> <td style="text-align: left;">TK_Set_Log_Attr</td> <td style="text-align: left;">Set logging</td> </tr> <tr> <td style="text-align: left;">TK_GetIOTCVersion</td> <td style="text-align: left;">Get IOTC SDK version information</td> </tr> <tr> <td style="text-align: left;">TK_getIOTCameraVersion</td> <td style="text-align: left;">Get IOTCamera version information</td> </tr> </tbody> </table> <h2>1.2 Video/Audio</h2> <table> <thead> <tr> <th style="text-align: left;">API</th> <th style="text-align: left;">Function Description</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">TK_connect</td> <td style="text-align: left;">Start connecting the device</td> </tr> <tr> <td style="text-align: left;">TK_disconnect</td> <td style="text-align: left;">close the opened channel, and disconnect</td> </tr> <tr> <td style="text-align: left;">TK_start</td> <td style="text-align: left;">Start connecting av channel</td> </tr> <tr> <td style="text-align: left;">TK_stop</td> <td style="text-align: left;">close the av channel</td> </tr> <tr> <td style="text-align: left;">TK_startShow</td> <td style="text-align: left;">Start decoding the image</td> </tr> <tr> <td style="text-align: left;">TK_stopShow</td> <td style="text-align: left;">Stop decoding and outputting images</td> </tr> <tr> <td style="text-align: left;">TK_startSoundToPhone</td> <td style="text-align: left;">Turn on/off the listening function</td> </tr> <tr> <td style="text-align: left;">TK_stopSoundToPhone</td> <td style="text-align: left;">Stop Listen and audio decoding</td> </tr> <tr> <td style="text-align: left;">TK_startSoundToDevice</td> <td style="text-align: left;">Turn on/off the intercom function</td> </tr> <tr> <td style="text-align: left;">TK_stopSoundToDevice</td> <td style="text-align: left;">Stop Talk and audio encoding</td> </tr> <tr> <td style="text-align: left;">TK_setHWDecodingAbility</td> <td style="text-align: left;">Set the decoding method of the specified channel</td> </tr> </tbody> </table> <h2>1.3 Recording/Snapshot</h2> <table> <thead> <tr> <th style="text-align: left;">API</th> <th style="text-align: left;">Function Description</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">TK_snapshot</td> <td style="text-align: left;">Capture a picture displayed in liveview and save it</td> </tr> <tr> <td style="text-align: left;">TK_startRecording</td> <td style="text-align: left;">Turn on local recording function</td> </tr> <tr> <td style="text-align: left;">TK_stopRecording</td> <td style="text-align: left;">Turn off local recording function</td> </tr> </tbody> </table> <h2>1.4 Send Command</h2> <table> <thead> <tr> <th style="text-align: left;">API</th> <th style="text-align: left;">Function Description</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">TK_sendIOCtrlToChannel</td> <td style="text-align: left;">Send data of the specified command to the device</td> </tr> </tbody> </table> <h2>1.5 CallBack</h2> <table> <thead> <tr> <th style="text-align: left;">API</th> <th style="text-align: left;">Function Description</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">TK_sessionStateCallBack</td> <td style="text-align: left;">IOTC session state listening callback interface</td> </tr> <tr> <td style="text-align: left;">TK_channelStateCallBack</td> <td style="text-align: left;">Specifies the connection status of the channel callback</td> </tr> <tr> <td style="text-align: left;">TK_recvIOCtrlCallBack</td> <td style="text-align: left;">The device responds to the command's data information callback</td> </tr> <tr> <td style="text-align: left;">TK_recvFrameInfoCallBack</td> <td style="text-align: left;">Specified channel's video width and height/FPS/BPS/number of people online/number of frames/frame loss rate and other debugging information callback</td> </tr> <tr> <td style="text-align: left;">TK_recordingStateCallBack</td> <td style="text-align: left;">local recording state listening callback interface</td> </tr> <tr> <td style="text-align: left;">TK_startShowCallBack</td> <td style="text-align: left;">The decoded data of the specified channel of the current device callback</td> </tr> <tr> <td style="text-align: left;">TK_startListenCallBack</td> <td style="text-align: left;">Listening channel established successfully callback</td> </tr> <tr> <td style="text-align: left;">TK_startTalkCallBack</td> <td style="text-align: left;">Intercom channel established successfully callback</td> </tr> </tbody> </table> <h2>1.6 State</h2> <table> <thead> <tr> <th style="text-align: left;">API</th> <th style="text-align: left;">Function Description</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">CONNECTION_STATE</td> <td style="text-align: left;">Session / Channel connection state</td> </tr> </tbody> </table> <hr />

页面列表

ITEM_HTML