- changeSeat(String, MultiUser.Role, int, AsyncCallback<Void>) - Method in interface com.tencent.tcr.sdk.api.TcrSession
-
Switch the role and seat of a user (`userID`) to `targetRole` and `targetPlayerIndex` respectively.
- checkAutoLoginSupport(AsyncCallback<Void>) - Method in interface com.tencent.tcr.sdk.api.LoginHelper
-
Checks if the current cloud application supports automatic login.
- checkKeyboardCapsLock(AsyncCallback<String>) - Method in interface com.tencent.tcr.sdk.api.Keyboard
-
Query the capitalization status of the cloud virtual keyboard.
- close() - Method in interface com.tencent.tcr.sdk.api.CustomDataChannel
-
Close this data channel.
- codecName - Variable in class com.tencent.tcr.sdk.api.data.StatsInfo
-
Video decoding format, such as H265/H264
- com.tencent.tcr.sdk.api - package com.tencent.tcr.sdk.api
-
- com.tencent.tcr.sdk.api.data - package com.tencent.tcr.sdk.api.data
-
- com.tencent.tcr.sdk.api.utils - package com.tencent.tcr.sdk.api.utils
-
- com.tencent.tcr.sdk.api.view - package com.tencent.tcr.sdk.api.view
-
- CONNECT_FAILED - Static variable in interface com.tencent.tcr.sdk.api.TcrCode.SessionStop
-
This value indicate that failed to connect to cloud
- connectGamepad() - Method in interface com.tencent.tcr.sdk.api.Gamepad
-
Trigger the cloud machine to insert the virtual Gamepad.
- cpu - Variable in class com.tencent.tcr.sdk.api.data.StatsInfo
-
CPU usage of the remote device
- createCustomDataChannel(int, CustomDataChannel.Observer) - Method in interface com.tencent.tcr.sdk.api.TcrSession
-
Creates a custom data channel.
- createRenderView(TcrRenderView.TcrRenderViewType) - Method in class com.tencent.tcr.sdk.api.view.TcrRenderView
-
创建渲染视图
- createTcrRenderView(Context, TcrSession, TcrRenderView.TcrRenderViewType) - Method in class com.tencent.tcr.sdk.api.TcrSdk
-
Create a rendering view for a session.
- createTcrSession(TcrSessionConfig) - Method in class com.tencent.tcr.sdk.api.TcrSdk
-
Create a session.
- CREATOR - Static variable in class com.tencent.tcr.sdk.api.data.MultiUser
-
- cursorBitmap - Variable in class com.tencent.tcr.sdk.api.data.CursorImageInfo
-
cursorBitmap mouse pointer picture
- CursorImageInfo - Class in com.tencent.tcr.sdk.api.data
-
The remote cursor image information.
The mouse picture is a rectangle.
- CursorImageInfo(Bitmap, int, int) - Constructor for class com.tencent.tcr.sdk.api.data.CursorImageInfo
-
- CursorState - Class in com.tencent.tcr.sdk.api.data
-
The showing state of cloud cursor
- CursorState(boolean) - Constructor for class com.tencent.tcr.sdk.api.data.CursorState
-
- CustomAudioBufferUtil - Class in com.tencent.tcr.sdk.api.utils
-
- CustomAudioBufferUtil() - Constructor for class com.tencent.tcr.sdk.api.utils.CustomAudioBufferUtil
-
- CustomDataChannel - Interface in com.tencent.tcr.sdk.api
-
This interface represents a data channel between the client and the cloud application.
- CustomDataChannel.Observer - Interface in com.tencent.tcr.sdk.api
-
A class can implement the Observer
interface when it wants to be informed of events
in CustomDataChannel objects.
- e(String, String) - Method in interface com.tencent.tcr.sdk.api.TcrLogger
-
- enableCustomAudioCapture(boolean, int, boolean) - Method in class com.tencent.tcr.sdk.api.TcrSessionConfig.Builder
-
- enableCustomAudioCapture - Variable in class com.tencent.tcr.sdk.api.TcrSessionConfig
-
Indicates whether custom audio capture is enabled (true) or disabled (false).
- enableLowLegacyRendering(boolean) - Method in class com.tencent.tcr.sdk.api.TcrSessionConfig.Builder
-
- enableLowLegacyRendering - Variable in class com.tencent.tcr.sdk.api.TcrSessionConfig
-
Turn on low-latency rendering.
Rendering delay will be reduced when turned on.
When the network condition is good, the delay is significantly reduced after opening.
- ERR_CLOSED - Static variable in interface com.tencent.tcr.sdk.api.TcrCode
-
This indicates that the data channel has been closed.
- ERR_CREATE_DIRECTORY_FAILED - Static variable in interface com.tencent.tcr.sdk.api.TcrCode
-
The directory failed to be created.
- ERR_CREATE_FAILURE - Static variable in interface com.tencent.tcr.sdk.api.TcrCode
-
This indicates that the data channel is created failed.
- ERR_DATA_CHANNEL_BASE_CODE - Static variable in interface com.tencent.tcr.sdk.api.TcrCode
-
The starting error code of the data channel module.
- ERR_EXTRACT_PLUGIN_FAILED - Static variable in interface com.tencent.tcr.sdk.api.TcrCode
-
The plugin failed to be extracted
- ERR_INSTALL_PLUGIN_FAILED - Static variable in interface com.tencent.tcr.sdk.api.TcrCode
-
The plugin failed to be installed.
- ERR_INTERNAL_ERROR - Static variable in interface com.tencent.tcr.sdk.api.TcrCode
-
This indicates that some internal error has happened.
- ERR_INVALID_PARAMS - Static variable in interface com.tencent.tcr.sdk.api.TcrCode
-
This indicates that the request parameter is invalid.
- ERR_MULTI_PLAYER_BASE_CODE - Static variable in interface com.tencent.tcr.sdk.api.TcrCode
-
The starting error code of the multi-player module.
- ERR_PLUGIN_DO_NOT_EXIST - Static variable in interface com.tencent.tcr.sdk.api.TcrCode
-
The plugin doesn't exist.
- ERR_PLUGIN_MD5_VERIFY_FAILED - Static variable in interface com.tencent.tcr.sdk.api.TcrCode
-
The MD5 value of the plugin failed to be verified.
- ERR_SDK_STATE_INITIALIZING - Static variable in interface com.tencent.tcr.sdk.api.TcrCode
-
The sdk is initializing
- ERR_STATE_ILLEGAL - Static variable in interface com.tencent.tcr.sdk.api.TcrCode
-
This indicates that the context state is illegal.
- ERR_TCRSDK_BASE_CODE - Static variable in interface com.tencent.tcr.sdk.api.TcrCode
-
The starting error code of the TcrSdk class.
- ERR_TIMEOUT - Static variable in interface com.tencent.tcr.sdk.api.TcrCode
-
This indicates that the request is timed out.
- ERR_UNKNOWN - Static variable in interface com.tencent.tcr.sdk.api.TcrCode
-
This indicates that some unknown error has happened.
- Gamepad - Interface in com.tencent.tcr.sdk.api
-
This interface is used to interact with the virtual Gamepad device on the server.
- Gamepad.KeyType - Enum in com.tencent.tcr.sdk.api
-
The type of a general controller button
- GameStartParam - Class in com.tencent.tcr.sdk.api.data
-
该类封装了开始游戏所需要的参数
客户端需要根据实际需求自定义业务后台的请求参数
业务后台API文档:https://cloud.tencent.com/document/product/1162/40740
- GameStartParam(String) - Constructor for class com.tencent.tcr.sdk.api.data.GameStartParam
-
构造函数,传入app回调拿到的clientSession
- getBuffer() - Method in interface com.tencent.tcr.sdk.api.VideoFrame
-
- getCustomAudioCaptureDataBufferSize(int, boolean) - Static method in class com.tencent.tcr.sdk.api.utils.CustomAudioBufferUtil
-
Calculates the buffer size for custom audio capture data based on the given sample rate and whether stereo input
is used.
- getDataU() - Method in interface com.tencent.tcr.sdk.api.VideoFrame.I420Buffer
-
A direct ByteBuffer containing U-plane data.
- getDataV() - Method in interface com.tencent.tcr.sdk.api.VideoFrame.I420Buffer
-
A direct ByteBuffer containing V-plane data.
- getDataY() - Method in interface com.tencent.tcr.sdk.api.VideoFrame.I420Buffer
-
A direct ByteBuffer containing Y-plane data.
- getEGLContext() - Method in class com.tencent.tcr.sdk.api.TcrSdk
-
Get the EGLContext.
- getGamepad() - Method in interface com.tencent.tcr.sdk.api.TcrSession
-
Return the interface to interact with the cloud Gamepad in this session.
- getHeight() - Method in interface com.tencent.tcr.sdk.api.VideoFrame
-
Video frame height
- getInstance() - Static method in class com.tencent.tcr.sdk.api.TcrSdk
-
Return The singleton of this class
- getInstance() - Static method in class com.tencent.tcr.sdk.api.TcrTestEnv
-
- getKeyboard() - Method in interface com.tencent.tcr.sdk.api.TcrSession
-
Return the interface to interact with the cloud keyboard in this session.
- getKeyCodeMapping(TcrRenderView.InputDeviceType) - Method in class com.tencent.tcr.sdk.api.view.TcrRenderView
-
Returns a mapping table, based on which TcrRenderView maps local peripheral input events to cloud input events.
- getLoginHelper() - Method in interface com.tencent.tcr.sdk.api.TcrSession
-
- getMotionSensor() - Method in interface com.tencent.tcr.sdk.api.TcrSession
-
Return the interface to interact with the cloud Sensor in this session.
- getMouse() - Method in interface com.tencent.tcr.sdk.api.TcrSession
-
Return the interface to interact with the cloud Mouse in this session.
- getPluginUrl() - Static method in class com.tencent.tcr.sdk.api.TcrSdk
-
Get the plugin download url for the light version TcrSdk.
- getRecommendedResolution(int, int) - Static method in class com.tencent.tcr.sdk.api.utils.VideoCapabilityUtil
-
Returns the recommended resolution that take into account the capability of hardware decoders.
- getRequestId() - Method in class com.tencent.tcr.sdk.api.data.GameStartParam
-
- getRequestId() - Method in interface com.tencent.tcr.sdk.api.TcrSession
-
Get the current connection's requestId.
- getRotation() - Method in interface com.tencent.tcr.sdk.api.VideoFrame
-
The clockwise rotation angle of video pixels.
- getStrideU() - Method in interface com.tencent.tcr.sdk.api.VideoFrame.I420Buffer
-
Represents the number of bytes between the start of each row of U-plane pixels in the video frame
- getStrideV() - Method in interface com.tencent.tcr.sdk.api.VideoFrame.I420Buffer
-
Represents the number of bytes between the start of each row of V-plane pixels in the video frame
- getStrideY() - Method in interface com.tencent.tcr.sdk.api.VideoFrame.I420Buffer
-
Represents the number of bytes between the start of each row of Y-plane pixels in the video frame
- getTextureID() - Method in interface com.tencent.tcr.sdk.api.VideoFrame.TextureBuffer
-
The parameter "textureID" is a public integer variable that represents the ID of a texture in the graphics
memory.
- getTimestampNs() - Method in interface com.tencent.tcr.sdk.api.VideoFrame
-
The timestamp of the video frame, in ns
- getTouchScreen() - Method in interface com.tencent.tcr.sdk.api.TcrSession
-
Return the interface to interact with the cloud TouchScreen in this session.
- getTransformMatrix() - Method in interface com.tencent.tcr.sdk.api.VideoFrame.TextureBuffer
-
Retrieve the transform matrix associated with the frame.
- getValue() - Method in enum com.tencent.tcr.sdk.api.view.TcrRenderView.VideoRotation
-
Return the angle value.
- getWidth() - Method in interface com.tencent.tcr.sdk.api.VideoFrame
-
Video frame width
- getZoomHandler() - Method in class com.tencent.tcr.sdk.api.view.PcTouchListener
-
- gpu - Variable in class com.tencent.tcr.sdk.api.data.StatsInfo
-
GPU usage of the remote device
- Keyboard - Interface in com.tencent.tcr.sdk.api
-
This interface is used to interact with the virtual Keyboard device on the server.
- KEYBOARD_KEYCODE_0 - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard key '0' keycode
- KEYBOARD_KEYCODE_1 - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard key '1' keycode
- KEYBOARD_KEYCODE_2 - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard key '2' keycode
- KEYBOARD_KEYCODE_3 - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard key '3' keycode
- KEYBOARD_KEYCODE_4 - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard key '4' keycode
- KEYBOARD_KEYCODE_5 - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard key '5' keycode
- KEYBOARD_KEYCODE_6 - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard key '6' keycode
- KEYBOARD_KEYCODE_7 - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard key '7' keycode
- KEYBOARD_KEYCODE_8 - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard key '8' keycode
- KEYBOARD_KEYCODE_9 - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard key '9' keycode
- KEYBOARD_KEYCODE_A - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard key 'A' keycode
- KEYBOARD_KEYCODE_ALT - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
- KEYBOARD_KEYCODE_APOSTROPHE - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard key ''' keycode
- KEYBOARD_KEYCODE_B - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard key 'B' keycode
- KEYBOARD_KEYCODE_BACKSLASH - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard key '\' keycode
- KEYBOARD_KEYCODE_BACKSPACE - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard key 'BackSpace' keycode
- KEYBOARD_KEYCODE_C - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard key 'C' keycode
- KEYBOARD_KEYCODE_CAPS_LOCK - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard key 'CapsLock' keycode
- KEYBOARD_KEYCODE_COMMA - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard key ',' keycode
- KEYBOARD_KEYCODE_CTRL - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
- KEYBOARD_KEYCODE_D - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard key 'D' keycode
- KEYBOARD_KEYCODE_DEL - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard key 'Delete' keycode
- KEYBOARD_KEYCODE_DOT - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard key '.' keycode
- KEYBOARD_KEYCODE_DPAD_DOWN - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard key '⬇' keycode
- KEYBOARD_KEYCODE_DPAD_LEFT - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard key '⬅' keycode
- KEYBOARD_KEYCODE_DPAD_RIGHT - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard key '➡' keycode
- KEYBOARD_KEYCODE_DPAD_UP - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard key '⬆' keycode
- KEYBOARD_KEYCODE_E - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard key 'E' keycode
- KEYBOARD_KEYCODE_END - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard key 'End' keycode
- KEYBOARD_KEYCODE_ENTER - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard key 'Enter' keycode
- KEYBOARD_KEYCODE_EQUALS - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard key '=' keycode
- KEYBOARD_KEYCODE_ESCAPE - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard key 'ESC' keycode
- KEYBOARD_KEYCODE_F - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard key 'F' keycode
- KEYBOARD_KEYCODE_F1 - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard key 'F1' keycode
- KEYBOARD_KEYCODE_F10 - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard key 'F10' keycode
- KEYBOARD_KEYCODE_F11 - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard key 'F11' keycode
- KEYBOARD_KEYCODE_F12 - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard key 'F12' keycode
- KEYBOARD_KEYCODE_F2 - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard key 'F2' keycode
- KEYBOARD_KEYCODE_F3 - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard key 'F3' keycode
- KEYBOARD_KEYCODE_F4 - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard key 'F4' keycode
- KEYBOARD_KEYCODE_F5 - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard key 'F5' keycode
- KEYBOARD_KEYCODE_F6 - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard key 'F6' keycode
- KEYBOARD_KEYCODE_F7 - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard key 'F7' keycode
- KEYBOARD_KEYCODE_F8 - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard key 'F8' keycode
- KEYBOARD_KEYCODE_F9 - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard key 'F9' keycode
- KEYBOARD_KEYCODE_G - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard key 'G' keycode
- KEYBOARD_KEYCODE_GRAV - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard key '`' keycode
- KEYBOARD_KEYCODE_H - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard key 'H' keycode
- KEYBOARD_KEYCODE_HOME - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard key 'Home' keycode
- KEYBOARD_KEYCODE_I - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard key 'I' keycode
- KEYBOARD_KEYCODE_INSERT - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard key 'Insert' keycode
- KEYBOARD_KEYCODE_J - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard key 'J' keycode
- KEYBOARD_KEYCODE_K - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard key 'K' keycode
- KEYBOARD_KEYCODE_L - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard key 'L' keycode
- KEYBOARD_KEYCODE_LEFT_BRACKET - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard key '[' keycode
- KEYBOARD_KEYCODE_M - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard key 'M' keycode
- KEYBOARD_KEYCODE_MINUS - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard key '-' keycode
- KEYBOARD_KEYCODE_N - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard key 'N' keycode
- KEYBOARD_KEYCODE_NUM_LOCK - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard key 'NumLock' keycode
- KEYBOARD_KEYCODE_NUM_PAD_0 - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard NumPad key '0' keycode
- KEYBOARD_KEYCODE_NUM_PAD_1 - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard NumPad key '1' keycode
- KEYBOARD_KEYCODE_NUM_PAD_2 - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard NumPad key '2' keycode
- KEYBOARD_KEYCODE_NUM_PAD_3 - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard NumPad key '3' keycode
- KEYBOARD_KEYCODE_NUM_PAD_4 - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard NumPad key '4' keycode
- KEYBOARD_KEYCODE_NUM_PAD_5 - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard NumPad key '5' keycode
- KEYBOARD_KEYCODE_NUM_PAD_6 - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard NumPad key '6' keycode
- KEYBOARD_KEYCODE_NUM_PAD_7 - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard NumPad key '7' keycode
- KEYBOARD_KEYCODE_NUM_PAD_8 - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard NumPad key '8' keycode
- KEYBOARD_KEYCODE_NUM_PAD_9 - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard NumPad key '9' keycode
- KEYBOARD_KEYCODE_NUM_PAD_ADD - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard NumPad key '+' keycode
- KEYBOARD_KEYCODE_NUM_PAD_DIVIDE - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard NumPad key '/' keycode
- KEYBOARD_KEYCODE_NUM_PAD_DOT - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard NumPad key '.' keycode
- KEYBOARD_KEYCODE_NUM_PAD_ENTER - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard NumPad key 'Enter' keycode
- KEYBOARD_KEYCODE_NUM_PAD_MULTIPLY - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard NumPad key '*' keycode
- KEYBOARD_KEYCODE_NUM_PAD_SUBTRACT - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard NumPad key '-' keycode
- KEYBOARD_KEYCODE_O - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard key 'O' keycode
- KEYBOARD_KEYCODE_P - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard key 'P' keycode
- KEYBOARD_KEYCODE_PAGE_DOWN - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard key 'PageDown' keycode
- KEYBOARD_KEYCODE_PAGE_UP - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard key 'PageUp' keycode
- KEYBOARD_KEYCODE_Q - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard key 'Q' keycode
- KEYBOARD_KEYCODE_R - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard key 'R' keycode
- KEYBOARD_KEYCODE_RIGHT_BRACKET - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard key ']' keycode
- KEYBOARD_KEYCODE_S - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard key 'S' keycode
- KEYBOARD_KEYCODE_SEMICOLON - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard key ';' keycode
- KEYBOARD_KEYCODE_SHIFT - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
- KEYBOARD_KEYCODE_SLASH - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard key '/' keycode
- KEYBOARD_KEYCODE_SPACE - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard key 'Space' keycode
- KEYBOARD_KEYCODE_T - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard key 'T' keycode
- KEYBOARD_KEYCODE_TAB - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard key 'Tab' keycode
- KEYBOARD_KEYCODE_U - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard key 'U' keycode
- KEYBOARD_KEYCODE_V - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard key 'V' keycode
- KEYBOARD_KEYCODE_W - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard key 'W' keycode
- KEYBOARD_KEYCODE_X - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard key 'X' keycode
- KEYBOARD_KEYCODE_Y - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard key 'Y' keycode
- KEYBOARD_KEYCODE_Z - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
-
Keyboard key 'Z' keycode
- mAppWindowLeftOffset - Variable in class com.tencent.tcr.sdk.api.data.RemoteDesktopInfo
-
Deprecated.
- mAppWindowTopOffset - Variable in class com.tencent.tcr.sdk.api.data.RemoteDesktopInfo
-
Deprecated.
- maxPlayerSeats - Variable in class com.tencent.tcr.sdk.api.data.MultiUserSeatInfo
-
The current maximum number of players
- mCursorShowing - Variable in class com.tencent.tcr.sdk.api.data.RemoteDesktopInfo
-
cursor show status true:showing false:hidden.
- mHandler - Variable in class com.tencent.tcr.sdk.api.view.PcTouchListener
-
触摸事件的处理器
- MIC_STATUS_DISABLE - Static variable in class com.tencent.tcr.sdk.api.data.MultiUser
-
If the mic is muted by the room owner, the user cannot unmute it.
- MIC_STATUS_OFF - Static variable in class com.tencent.tcr.sdk.api.data.MultiUser
-
If the mic is muted by the user, the user can unmute it.
- MIC_STATUS_ON - Static variable in class com.tencent.tcr.sdk.api.data.MultiUser
-
The user unmutes the mic.
- micStatus - Variable in class com.tencent.tcr.sdk.api.data.MultiUser
-
The status of the user mic
`0`: The mic is muted by the room owner.
- MobileTouchListener - Class in com.tencent.tcr.sdk.api.view
-
This class implements the touch logic for mobile applications on the cloud machine.
It Maps local screen touch events to touch events on the cloud machine.
NOTE: The implementation of MobileTouchListener depends on TcrRenderView, so it only takes effect when it is set to
TcrRenderView.
- MobileTouchListener(TcrSession) - Constructor for class com.tencent.tcr.sdk.api.view.MobileTouchListener
-
- mObserver - Variable in class com.tencent.tcr.sdk.api.view.TcrRenderView
-
- MotionSensor - Interface in com.tencent.tcr.sdk.api
-
- MotionSensor.SensorType - Enum in com.tencent.tcr.sdk.api
-
- Mouse - Interface in com.tencent.tcr.sdk.api
-
This interface is used to interact with the virtual Mouse device on the server.
- Mouse.CursorStyle - Enum in com.tencent.tcr.sdk.api
-
The style of the cloud cursor
- Mouse.KeyType - Enum in com.tencent.tcr.sdk.api
-
General mouse button types
- mRenderView - Variable in class com.tencent.tcr.sdk.api.view.TcrRenderView
-
- mScreenHeight - Variable in class com.tencent.tcr.sdk.api.data.RemoteDesktopInfo
-
Deprecated.
- mScreenWidth - Variable in class com.tencent.tcr.sdk.api.data.RemoteDesktopInfo
-
Deprecated.
- mTcrRenderViewType - Variable in class com.tencent.tcr.sdk.api.view.TcrRenderView
-
- MULTI_PLAYER_ASSIGN_SEAT_FAILED - Static variable in interface com.tencent.tcr.sdk.api.TcrCode
-
Seat assignment failed.
- MULTI_PLAYER_IGNORED_HOST_SUBMIT - Static variable in interface com.tencent.tcr.sdk.api.TcrCode
-
The host didn't need to change the seat.
- MULTI_PLAYER_INVALID_SEAT_INDEX - Static variable in interface com.tencent.tcr.sdk.api.TcrCode
-
An invalid seat
- MULTI_PLAYER_NO_AUTHORIZED - Static variable in interface com.tencent.tcr.sdk.api.TcrCode
-
The viewer couldn't switch the seat.
- MULTI_PLAYER_NO_SUCH_ROLE - Static variable in interface com.tencent.tcr.sdk.api.TcrCode
-
The role dosen’t exist.
- MULTI_PLAYER_NO_SUCH_USER - Static variable in interface com.tencent.tcr.sdk.api.TcrCode
-
The `user_id` doesn’t exist.
- MultiUser - Class in com.tencent.tcr.sdk.api.data
-
Message body for user parameters.
- MultiUser(Parcel) - Constructor for class com.tencent.tcr.sdk.api.data.MultiUser
-
- MultiUser.Role - Enum in com.tencent.tcr.sdk.api.data
-
Multiplayer interactive cloud game user roles
- MultiUserSeatInfo - Class in com.tencent.tcr.sdk.api.data
-
The multi user seat info
- MultiUserSeatInfo(String, List<MultiUser>, List<MultiUser>, int, int) - Constructor for class com.tencent.tcr.sdk.api.data.MultiUserSeatInfo
-
- observer(TcrSession.Observer) - Method in class com.tencent.tcr.sdk.api.TcrSessionConfig.Builder
-
- observer - Variable in class com.tencent.tcr.sdk.api.TcrSessionConfig
-
The observer of TcrSession
- onAudioData(byte[], int, int) - Method in interface com.tencent.tcr.sdk.api.AudioSink
-
Called when a piece of audio data is ready.
- onAudioFormat(int, int, int) - Method in interface com.tencent.tcr.sdk.api.AudioSink
-
Called when the audio sample format has changed.
- onCapturedPointerEvent(MotionEvent) - Method in class com.tencent.tcr.sdk.api.view.TcrRenderView
-
- onClickDown() - Method in class com.tencent.tcr.sdk.api.view.PcClickListener
-
- onClickDown() - Method in interface com.tencent.tcr.sdk.api.view.PcTouchListener.OnClickListener
-
Called when a view has been clicked and the finger is down.
- onClickUp() - Method in class com.tencent.tcr.sdk.api.view.PcClickListener
-
- onClickUp() - Method in interface com.tencent.tcr.sdk.api.view.PcTouchListener.OnClickListener
-
Called when a view has been clicked and the finger is up.
- onConnected(int) - Method in interface com.tencent.tcr.sdk.api.CustomDataChannel.Observer
-
This method is called when the listened CustomDataChannel
is connected successfully.
- onDoubleClick() - Method in interface com.tencent.tcr.sdk.api.view.PcTouchListener.OnDoubleClickListener
-
Called when a view has been double clicked.
- onError(int, int, String) - Method in interface com.tencent.tcr.sdk.api.CustomDataChannel.Observer
-
This method is called whenever some error is happened in the listened CustomDataChannel
.
- onEvent(TcrSession.Event, Object) - Method in interface com.tencent.tcr.sdk.api.TcrSession.Observer
-
This will be called when some event happened in the session.
- onFailure(int, String) - Method in interface com.tencent.tcr.sdk.api.AsyncCallback
-
This is called when the async task is executed failed.
- onFirstFrameRendered() - Method in interface com.tencent.tcr.sdk.api.view.TcrRenderView.Observer
-
This will be called when the TcrRenderView renders its first frame.
- onFrame(VideoFrame) - Method in interface com.tencent.tcr.sdk.api.VideoSink
-
Called when a video frame is received.
- onFrame(Bitmap) - Method in interface com.tencent.tcr.sdk.api.view.TcrRenderView.Observer
-
- onGamepadKey(int, boolean) - Method in interface com.tencent.tcr.sdk.api.Gamepad
-
Trigger a key event of the cloud Gamepad.
- onGamepadStick(Gamepad.KeyType, int, int) - Method in interface com.tencent.tcr.sdk.api.Gamepad
-
Trigger a stick event of the cloud Gamepad.
- onGamepadTrigger(Gamepad.KeyType, int, boolean) - Method in interface com.tencent.tcr.sdk.api.Gamepad
-
Trigger a trigger event of the cloud Gamepad.
- onKeyboard(int, boolean) - Method in interface com.tencent.tcr.sdk.api.Keyboard
-
Trigger a key event of the cloud keyboard.
- onKeyboard(int, boolean, boolean) - Method in interface com.tencent.tcr.sdk.api.Keyboard
-
Trigger a key event of the cloud keyboard.
- onLayout(boolean, int, int, int, int) - Method in class com.tencent.tcr.sdk.api.view.TcrRenderView
-
- onLocationChanged(double, double) - Method in interface com.tencent.tcr.sdk.api.MotionSensor
-
Called when the location has changed.
- onMediaCodecFormat(String, int, int) - Method in interface com.tencent.tcr.sdk.api.VideoFrameBufferCallback
-
Called when the video format has changed.
- onMessage(int, ByteBuffer) - Method in interface com.tencent.tcr.sdk.api.CustomDataChannel.Observer
-
This method is called whenever the listened CustomDataChannel
receives cloud message.
- onMouseDeltaMove(int, int) - Method in interface com.tencent.tcr.sdk.api.Mouse
-
According to the offset pixel amount [localDeltaX, localDeltaY] of the local mouse movement,
calculate the relative movement pixel amount [DeltaX, DeltaY] of the remote movement.
- onMouseKey(Mouse.KeyType, boolean) - Method in interface com.tencent.tcr.sdk.api.Mouse
-
Trigger a click event of the cloud mouse.
- onMouseMoveTo(int, int) - Method in interface com.tencent.tcr.sdk.api.Mouse
-
After you get the coordinates of the local View, you need to convert the coordinates to the coordinates of the
remote end before calling this method.Before calculation, you need to get the width and height of the gameView
[localViewWidth, localViewHeight] and the position of the click position in the game screen [localX, localY].
- onMouseScroll(float) - Method in interface com.tencent.tcr.sdk.api.Mouse
-
Rotate the scroll wheel of the cloud mouse.
- onPivot(float, float) - Method in interface com.tencent.tcr.sdk.api.view.PcZoomHandler.ZoomListener
-
Called when the zoom center is changed.
- onSensorChanged(SensorEvent) - Method in interface com.tencent.tcr.sdk.api.MotionSensor
-
Called when there is a change in the sensor data.
- onSimulateSensorEvent(MotionSensor.SensorType) - Method in interface com.tencent.tcr.sdk.api.MotionSensor
-
Simulate sensor events, send events to cloud devices and trigger events
- onSuccess(T) - Method in interface com.tencent.tcr.sdk.api.AsyncCallback
-
This is called when the async task is executed successfully.
- onTouch(View, MotionEvent) - Method in class com.tencent.tcr.sdk.api.view.MobileTouchListener
-
- onTouch(View, MotionEvent) - Method in class com.tencent.tcr.sdk.api.view.PcTouchListener
-
- onTouch(View, MotionEvent) - Method in class com.tencent.tcr.sdk.api.view.PcZoomHandler
-
Perform two-finger pinch zoom and swipe based on the gesture.
- onVideoBufferCallback(ByteBuffer, int, int, long) - Method in interface com.tencent.tcr.sdk.api.VideoFrameBufferCallback
-
Called when a piece of video raw data is ready.
- onZoom(float) - Method in interface com.tencent.tcr.sdk.api.view.PcZoomHandler.ZoomListener
-
Called when the zoom radio is changed.
- orientation - Variable in class com.tencent.tcr.sdk.api.data.ScreenConfig
-
Deprecated.
- RECONNECT_FAILED - Static variable in interface com.tencent.tcr.sdk.api.TcrCode.SessionStop
-
This value indicates that reconnection failure leads to exit
- release() - Method in interface com.tencent.tcr.sdk.api.TcrSession
-
Release the session.
- release() - Method in interface com.tencent.tcr.sdk.api.VideoFrame.Buffer
-
Decreases ref count by one.
- release() - Method in interface com.tencent.tcr.sdk.api.VideoFrame
-
Decreases ref count by one.
- release() - Method in class com.tencent.tcr.sdk.api.view.PcTouchListener
-
Release the underlying resources.
- release() - Method in class com.tencent.tcr.sdk.api.view.TcrRenderView
-
Release the underlying resources of this view.
You need to call this API to release the underlying resources if it is no longer needed, for example, when the
Activity
is to be destroyed.
- RemoteDesktopInfo - Class in com.tencent.tcr.sdk.api.data
-
Remote desktop information.
- RemoteDesktopInfo(boolean, int, int, int, int) - Constructor for class com.tencent.tcr.sdk.api.data.RemoteDesktopInfo
-
- remoteDesktopResolution(int, int) - Method in class com.tencent.tcr.sdk.api.TcrSessionConfig.Builder
-
Set the resolution of Cloud Desktop.
- remoteDesktopResolution - Variable in class com.tencent.tcr.sdk.api.TcrSessionConfig
-
The resolution of Cloud Desktop.
- requestChangeSeat(String, MultiUser.Role, int, AsyncCallback<Void>) - Method in interface com.tencent.tcr.sdk.api.TcrSession
-
Apply to the room owner to switch the role and seat of a player (`userID`) to `targetRole` and
`targetPlayerIndex` respectively.
- resetKeyboard() - Method in interface com.tencent.tcr.sdk.api.Keyboard
-
Reset the key status of the cloud keyboard.
This API is used to release all keys when there are stuck keys on the keyboard.
- resetKeyboardCapsLock() - Method in interface com.tencent.tcr.sdk.api.Keyboard
-
Reset the capitalization status (to lowercase) of the cloud virtual keyboard.
- resetZoom() - Method in class com.tencent.tcr.sdk.api.view.PcZoomHandler
-
Reset the zoom of the render view.
- restartCloudApp() - Method in interface com.tencent.tcr.sdk.api.TcrSession
-
Restart the cloud application process.
- resumeStreaming() - Method in interface com.tencent.tcr.sdk.api.TcrSession
-
Resume the media stream.
- retain() - Method in interface com.tencent.tcr.sdk.api.VideoFrame.Buffer
-
Increases ref count by one.
- retain() - Method in interface com.tencent.tcr.sdk.api.VideoFrame
-
Increases ref count by one.
- role - Variable in class com.tencent.tcr.sdk.api.data.RoleApplyInfo
-
The role want to apply for
- RoleApplyInfo - Class in com.tencent.tcr.sdk.api.data
-
role apply information
- RoleApplyInfo(String, MultiUser.Role, int) - Constructor for class com.tencent.tcr.sdk.api.data.RoleApplyInfo
-
- rtt - Variable in class com.tencent.tcr.sdk.api.data.StatsInfo
-
The round-trip event to STUN
- ScreenConfig - Class in com.tencent.tcr.sdk.api.data
-
The cloud screen configuration.
- ScreenConfig(String, String, int, int) - Constructor for class com.tencent.tcr.sdk.api.data.ScreenConfig
-
- screenHeight - Variable in class com.tencent.tcr.sdk.api.data.ScreenConfig
-
The height of the cloud screen
- screenWidth - Variable in class com.tencent.tcr.sdk.api.data.ScreenConfig
-
The width of the cloud screen
- seatIndex - Variable in class com.tencent.tcr.sdk.api.data.MultiUser
-
The user seat
- seatIndex - Variable in class com.tencent.tcr.sdk.api.data.RoleApplyInfo
-
The seat index want to apply for
- send(ByteBuffer) - Method in interface com.tencent.tcr.sdk.api.CustomDataChannel
-
Send data to the cloud Application.
- sendCustomAudioData(ByteBuffer, long) - Method in interface com.tencent.tcr.sdk.api.TcrSession
-
Send custom audio data.
- SERVER_DUPLICATE_CONNECT - Static variable in interface com.tencent.tcr.sdk.api.TcrCode.SessionStop
-
This value indicates that the server issues an exit command: Repeat userID connection.
The cloud service background received a CreateSession request with the same UserID when the front-end and
back-end were connected.
- SERVER_EXIT - Static variable in interface com.tencent.tcr.sdk.api.TcrCode.SessionStop
-
This value indicates that the server issues an exit command: the cloud actively exits
- SERVER_STOP_GAME - Static variable in interface com.tencent.tcr.sdk.api.TcrCode.SessionStop
-
This value indicates that the server issues exit instructions: Cloud API call exit
- SERVER_UNKNOWN - Static variable in interface com.tencent.tcr.sdk.api.TcrCode.SessionStop
-
This value indicates that an unknown error occurred in the cloud
- SESSION_STOP_BASE_CODE - Static variable in interface com.tencent.tcr.sdk.api.TcrCode
-
- setAppId(String) - Method in class com.tencent.tcr.sdk.api.data.GameStartParam
-
- setAudioSink(AudioSink) - Method in interface com.tencent.tcr.sdk.api.TcrSession
-
Sets a audio sink for this session.
- setBitrate(int) - Method in class com.tencent.tcr.sdk.api.data.GameStartParam
-
- setDisableCloudInput(boolean) - Method in interface com.tencent.tcr.sdk.api.TcrSession
-
Disable the Cloud input.
When the cloud input is disable, the cloud application's soft keyboard won't appear.
This function is only supported for mobile cloud applications.
- setDisplayDebugView(boolean) - Method in class com.tencent.tcr.sdk.api.view.TcrRenderView
-
Set whether to display the debug view.
- setDoubleClickListener(PcTouchListener.OnDoubleClickListener) - Method in class com.tencent.tcr.sdk.api.view.PcTouchListener
-
Set the double-click listener.
- setEGLContext(EGLContext) - Method in class com.tencent.tcr.sdk.api.TcrSdk
-
Set the EGLContext.
- setEnableAudioPlaying(boolean) - Method in interface com.tencent.tcr.sdk.api.TcrSession
-
Set whether the SDK plays audio.
- setEnableFrameCallback(float) - Method in class com.tencent.tcr.sdk.api.view.TcrRenderView
-
Set whether to enable the callback of video frame rendering.
If the
scale
is greater or equal to 0, the callback (
TcrRenderView.Observer.onFrame(Bitmap)
) will be
invoked whenever a new video frame has been rendered.
- setEnableInputDeviceHandle(boolean) - Method in class com.tencent.tcr.sdk.api.view.TcrRenderView
-
Set whether to enable TcrRenderView to process the peripheral input events.
- setEnableLocalAudio(boolean) - Method in interface com.tencent.tcr.sdk.api.TcrSession
-
Enable or disable the local audio track that is captured from the mic.
- setEnableLocalVideo(boolean) - Method in interface com.tencent.tcr.sdk.api.TcrSession
-
Enable or disable the local video track that is captured from the camera.
- setEnableSuperResolution(boolean) - Method in class com.tencent.tcr.sdk.api.view.TcrRenderView
-
Set whether the video super-resolution capability should be enabled.
- setFps(int) - Method in class com.tencent.tcr.sdk.api.data.GameStartParam
-
- setGameCode(String) - Method in class com.tencent.tcr.sdk.api.data.GameStartParam
-
- setGameId(String) - Method in class com.tencent.tcr.sdk.api.data.GameStartParam
-
- setGameParas(String) - Method in class com.tencent.tcr.sdk.api.data.GameStartParam
-
- setGameRegion(String) - Method in class com.tencent.tcr.sdk.api.data.GameStartParam
-
- setGroupId(String) - Method in class com.tencent.tcr.sdk.api.data.GameStartParam
-
- setHostUserId(String) - Method in class com.tencent.tcr.sdk.api.data.GameStartParam
-
- setLocalVideoProfile(int, int, int, int, int, boolean) - Method in interface com.tencent.tcr.sdk.api.TcrSession
-
Set the local video profile.
- setLogger(TcrLogger) - Method in class com.tencent.tcr.sdk.api.TcrSdk
-
Set a logger for the TcrSdk.
- setLongClickListener(PcTouchListener.OnClickListener) - Method in class com.tencent.tcr.sdk.api.view.PcTouchListener
-
Set the long click listener.
- setMaxBitrate(int) - Method in class com.tencent.tcr.sdk.api.data.GameStartParam
-
- setMicMute(String, int, AsyncCallback<Void>) - Method in interface com.tencent.tcr.sdk.api.TcrSession
-
Change the mic status of the `userID
` user.
- setMinBitrate(int) - Method in class com.tencent.tcr.sdk.api.data.GameStartParam
-
- setMouseConfig(boolean, float, boolean) - Method in class com.tencent.tcr.sdk.api.view.PcTouchListener
-
Set the mouse parameters.
- setMouseCursorStyle(Mouse.CursorStyle) - Method in interface com.tencent.tcr.sdk.api.Mouse
-
Set the cursor style.
- setMouseKey(Mouse.KeyType) - Method in class com.tencent.tcr.sdk.api.view.PcClickListener
-
Set the mouse button type to be sent to the cloud when a click is triggered.
- setObserver(TcrRenderView.Observer) - Method in class com.tencent.tcr.sdk.api.view.TcrRenderView
-
Set the observer of this TcrRenderView instance.
- setOnTouchListener(View.OnTouchListener) - Method in class com.tencent.tcr.sdk.api.view.TcrRenderView
-
Set the listener for the touch events of the view.
- setRemoteAudioPlayProfile(float) - Method in interface com.tencent.tcr.sdk.api.TcrSession
-
Set the playing profile of the remote audio.
- setRemoteDesktopResolution(int, int) - Method in interface com.tencent.tcr.sdk.api.TcrSession
-
Set the resolution of Cloud Desktop.
- setRemoteVideoProfile(int, int, int, AsyncCallback<String>) - Method in interface com.tencent.tcr.sdk.api.TcrSession
-
Deprecated.
- setResolution(String) - Method in class com.tencent.tcr.sdk.api.data.GameStartParam
-
- setRole(String) - Method in class com.tencent.tcr.sdk.api.data.GameStartParam
-
- setSetNo(long) - Method in class com.tencent.tcr.sdk.api.data.GameStartParam
-
- setShortClickListener(PcTouchListener.OnClickListener) - Method in class com.tencent.tcr.sdk.api.view.PcTouchListener
-
Set the short click listener.
- setUserId(String) - Method in class com.tencent.tcr.sdk.api.data.GameStartParam
-
- setVideoRotation(TcrRenderView.VideoRotation) - Method in class com.tencent.tcr.sdk.api.view.TcrRenderView
-
Set the rotation angle of the rendered video.
- setVideoScaleType(TcrRenderView.ScaleType) - Method in class com.tencent.tcr.sdk.api.view.TcrRenderView
-
Set the scaling type of the rendered video.
- setVideoSink(VideoSink) - Method in interface com.tencent.tcr.sdk.api.TcrSession
-
Sets a video sink for this session.
- setZoomHandler(PcZoomHandler) - Method in class com.tencent.tcr.sdk.api.view.PcTouchListener
-
- setZoomListener(PcZoomHandler.ZoomListener) - Method in class com.tencent.tcr.sdk.api.view.PcZoomHandler
-
Set the two-finger pinch zoom listener.
- setZoomOffset(Rect) - Method in class com.tencent.tcr.sdk.api.view.PcZoomHandler
-
Set the offsets of the video image frame during zoom.
- setZoomRatio(float, float) - Method in class com.tencent.tcr.sdk.api.view.PcZoomHandler
-
Set zoom ratio.
- SINGLE_CLICK - Static variable in class com.tencent.tcr.sdk.api.view.PcTouchListener
-
异步单击(包括按下和抬起)
- start(String) - Method in interface com.tencent.tcr.sdk.api.TcrSession
-
Starts the session.
- startAutoLogin(String, String, AsyncCallback<Void>) - Method in interface com.tencent.tcr.sdk.api.LoginHelper
-
Starts the automatic login.
- startSession(Context, String, String, <any>, ErrorListener) - Method in class com.tencent.tcr.sdk.api.TcrTestEnv
-
Request to start the session in the test environment and obtain the server session.
- startSession(Context, String, String, String, String, String, boolean, boolean, <any>, ErrorListener) - Method in class com.tencent.tcr.sdk.api.TcrTestEnv
-
Request to start the session in the test environment and obtain the server session.
- StatsInfo - Class in com.tencent.tcr.sdk.api.data
-
Stats (performance) information.
- StatsInfo(String, String, long, long, long, long, long, long, long, int, long, double, int, long, long, long, long, long, String) - Constructor for class com.tencent.tcr.sdk.api.data.StatsInfo
-
constructor
- STOP_MANUALLY - Static variable in interface com.tencent.tcr.sdk.api.TcrCode.SessionStop
-
- stopSession(String) - Method in class com.tencent.tcr.sdk.api.TcrTestEnv
-
Request to stop the session in the test environment.
- SUCCESS - Static variable in interface com.tencent.tcr.sdk.api.TcrCode
-
This indicates that the result is success.
- syncRoomInfo() - Method in interface com.tencent.tcr.sdk.api.TcrSession
-
Refresh the information of all seats.
- TcrCode - Interface in com.tencent.tcr.sdk.api
-
This interface defines common codes of TcrSdk.
- TcrCode.SessionStop - Interface in com.tencent.tcr.sdk.api
-
- TcrLogger - Interface in com.tencent.tcr.sdk.api
-
This interface represents the log callbacks of the TcrSdk.
- TcrRenderView - Class in com.tencent.tcr.sdk.api.view
-
This view is used to render and display the cloud streaming video.
- TcrRenderView(Context, TcrRenderView.TcrRenderViewType, TcrSession) - Constructor for class com.tencent.tcr.sdk.api.view.TcrRenderView
-
The constructor
- TcrRenderView.InputDeviceType - Enum in com.tencent.tcr.sdk.api.view
-
An enumeration that defines the input device type.
- TcrRenderView.Observer - Interface in com.tencent.tcr.sdk.api.view
-
This interface represents the observer of TcrRenderView.
- TcrRenderView.ScaleType - Enum in com.tencent.tcr.sdk.api.view
-
An enumeration that defines the video scaling type.
- TcrRenderView.TcrRenderViewType - Enum in com.tencent.tcr.sdk.api.view
-
An enumeration that defines the types of the rendering view.
- TcrRenderView.VideoRotation - Enum in com.tencent.tcr.sdk.api.view
-
An enumeration that defines the video rotation angle.
- TcrSdk - Class in com.tencent.tcr.sdk.api
-
This is the entry class for the TcrSdk.
- TcrSession - Interface in com.tencent.tcr.sdk.api
-
This interface represents a session between the client and the TCR server.
- TcrSession.Event - Enum in com.tencent.tcr.sdk.api
-
Session event definitions.
- TcrSession.Observer - Interface in com.tencent.tcr.sdk.api
-
This interface represents the observer of TcrSession.
- TcrSessionConfig - Class in com.tencent.tcr.sdk.api
-
The Tcr session configuration class
- TcrSessionConfig.Builder - Class in com.tencent.tcr.sdk.api
-
- TcrSessionConfig.VideoCodecType - Enum in com.tencent.tcr.sdk.api
-
Enumeration of supported video codec types.
- TcrTestEnv - Class in com.tencent.tcr.sdk.api
-
This class helps app developers quickly verify the correctness of SDK integration, so that
potential issues can be discovered and resolved before using the SDK in production.
With TcrTestEnv, app developers can test SDK integration without relying on a real backend service.
Once the integration testing is completed, app developers must use their own backend APIs
to communicate with the SDK.
- toI420() - Method in interface com.tencent.tcr.sdk.api.VideoFrame.Buffer
-
Convert Buffer to yuv 420 type
- toJson() - Method in class com.tencent.tcr.sdk.api.data.GameStartParam
-
- toString() - Method in class com.tencent.tcr.sdk.api.data.CursorState
-
- toString() - Method in class com.tencent.tcr.sdk.api.data.MultiUser
-
- toString() - Method in class com.tencent.tcr.sdk.api.data.RemoteDesktopInfo
-
- toString() - Method in class com.tencent.tcr.sdk.api.data.VideoStreamConfig
-
- toString() - Method in enum com.tencent.tcr.sdk.api.MotionSensor.SensorType
-
- toString() - Method in class com.tencent.tcr.sdk.api.TcrSessionConfig
-
- toString() - Method in enum com.tencent.tcr.sdk.api.view.TcrRenderView.VideoRotation
-
- touch(float, float, int, int, int, int, long) - Method in interface com.tencent.tcr.sdk.api.TouchScreen
-
Trigger the touch event of the cloud touch screen.
- TouchScreen - Interface in com.tencent.tcr.sdk.api
-
This interface is used to interact with the virtual touch screen on the server.
- v(String, String) - Method in interface com.tencent.tcr.sdk.api.TcrLogger
-
- valueOf(String) - Static method in enum com.tencent.tcr.sdk.api.data.MultiUser.Role
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tencent.tcr.sdk.api.Gamepad.KeyType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tencent.tcr.sdk.api.MotionSensor.SensorType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tencent.tcr.sdk.api.Mouse.CursorStyle
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tencent.tcr.sdk.api.Mouse.KeyType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tencent.tcr.sdk.api.TcrSession.Event
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tencent.tcr.sdk.api.TcrSessionConfig.VideoCodecType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tencent.tcr.sdk.api.view.TcrRenderView.InputDeviceType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tencent.tcr.sdk.api.view.TcrRenderView.ScaleType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tencent.tcr.sdk.api.view.TcrRenderView.TcrRenderViewType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tencent.tcr.sdk.api.view.TcrRenderView.VideoRotation
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.tencent.tcr.sdk.api.data.MultiUser.Role
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.tencent.tcr.sdk.api.Gamepad.KeyType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.tencent.tcr.sdk.api.MotionSensor.SensorType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.tencent.tcr.sdk.api.Mouse.CursorStyle
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.tencent.tcr.sdk.api.Mouse.KeyType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.tencent.tcr.sdk.api.TcrSession.Event
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.tencent.tcr.sdk.api.TcrSessionConfig.VideoCodecType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.tencent.tcr.sdk.api.view.TcrRenderView.InputDeviceType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.tencent.tcr.sdk.api.view.TcrRenderView.ScaleType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.tencent.tcr.sdk.api.view.TcrRenderView.TcrRenderViewType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.tencent.tcr.sdk.api.view.TcrRenderView.VideoRotation
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- VideoCapabilityUtil - Class in com.tencent.tcr.sdk.api.utils
-
The util to query video capability.
- VideoCapabilityUtil() - Constructor for class com.tencent.tcr.sdk.api.utils.VideoCapabilityUtil
-
- VideoFrame - Interface in com.tencent.tcr.sdk.api
-
This interface represents a Video frame data.
- VideoFrame.Buffer - Interface in com.tencent.tcr.sdk.api
-
Video frame buffer basic class
- VideoFrame.I420Buffer - Interface in com.tencent.tcr.sdk.api
-
Definition of I420 buffers
- VideoFrame.TextureBuffer - Interface in com.tencent.tcr.sdk.api
-
Definition of texture buffers
- videoFrameBufferCallback - Variable in class com.tencent.tcr.sdk.api.TcrSessionConfig
-
The callback of video frame buffer
- VideoFrameBufferCallback - Interface in com.tencent.tcr.sdk.api
-
Implement this interface if you want to get and decode the raw video data by yourself.
- videoFrameCallback(VideoFrameBufferCallback) - Method in class com.tencent.tcr.sdk.api.TcrSessionConfig.Builder
-
- videoFreezeCount - Variable in class com.tencent.tcr.sdk.api.data.StatsInfo
-
Number of video freezes
- videoFreezeDuration - Variable in class com.tencent.tcr.sdk.api.data.StatsInfo
-
Total video freeze time
- videoRecvBitrate - Variable in class com.tencent.tcr.sdk.api.data.StatsInfo
-
The calculated bitrate of the video bytes received over the network.
- videoSentBitrate - Variable in class com.tencent.tcr.sdk.api.data.StatsInfo
-
The calculated bitrate of the video bytes sent to the server over network.
- VideoSink - Interface in com.tencent.tcr.sdk.api
-
This interface represents a video sink.
- VideoStreamConfig - Class in com.tencent.tcr.sdk.api.data
-
The streaming video configuration
- VideoStreamConfig(int, int) - Constructor for class com.tencent.tcr.sdk.api.data.VideoStreamConfig
-
- viewers - Variable in class com.tencent.tcr.sdk.api.data.MultiUserSeatInfo
-
The viewer list