From b3d7ba89dcda0ff9a6175c2c87f56ad799011b41 Mon Sep 17 00:00:00 2001 From: tyrionchen Date: Fri, 29 Nov 2024 12:02:52 +0800 Subject: [PATCH] add TcrSdk javadoc api doc --- tcrsdk/3.22.0/allclasses-frame.html | 74 + tcrsdk/3.22.0/allclasses-noframe.html | 74 + .../tencent/tcr/sdk/api/AsyncCallback.html | 251 ++ .../com/tencent/tcr/sdk/api/AudioSink.html | 263 ++ .../sdk/api/CustomDataChannel.Observer.html | 283 ++ .../tcr/sdk/api/CustomDataChannel.html | 279 ++ .../tencent/tcr/sdk/api/Gamepad.KeyType.html | 379 +++ .../com/tencent/tcr/sdk/api/Gamepad.html | 336 +++ .../com/tencent/tcr/sdk/api/Keyboard.html | 311 +++ .../com/tencent/tcr/sdk/api/LoginHelper.html | 258 ++ .../com/tencent/tcr/sdk/api/MotionSensor.html | 232 ++ .../tcr/sdk/api/Mouse.CursorStyle.html | 349 +++ .../tencent/tcr/sdk/api/Mouse.KeyType.html | 394 +++ .../3.22.0/com/tencent/tcr/sdk/api/Mouse.html | 371 +++ .../tcr/sdk/api/TcrCode.SessionStop.html | 353 +++ .../com/tencent/tcr/sdk/api/TcrCode.html | 699 +++++ .../com/tencent/tcr/sdk/api/TcrLogger.html | 286 ++ .../com/tencent/tcr/sdk/api/TcrSdk.html | 449 +++ .../tencent/tcr/sdk/api/TcrSession.Event.html | 859 ++++++ .../tcr/sdk/api/TcrSession.Observer.html | 233 ++ .../com/tencent/tcr/sdk/api/TcrSession.html | 930 +++++++ .../tcr/sdk/api/TcrSessionConfig.Builder.html | 477 ++++ .../api/TcrSessionConfig.VideoCodecType.html | 367 +++ .../tencent/tcr/sdk/api/TcrSessionConfig.html | 510 ++++ .../com/tencent/tcr/sdk/api/TcrTestEnv.html | 344 +++ .../com/tencent/tcr/sdk/api/TouchScreen.html | 266 ++ .../tcr/sdk/api/VideoFrame.Buffer.html | 267 ++ .../tcr/sdk/api/VideoFrame.I420Buffer.html | 321 +++ .../tcr/sdk/api/VideoFrame.TextureBuffer.html | 259 ++ .../com/tencent/tcr/sdk/api/VideoFrame.html | 358 +++ .../tcr/sdk/api/VideoFrameBufferCallback.html | 268 ++ .../com/tencent/tcr/sdk/api/VideoSink.html | 226 ++ .../tcr/sdk/api/data/CursorImageInfo.html | 340 +++ .../tencent/tcr/sdk/api/data/CursorState.html | 273 ++ .../tcr/sdk/api/data/GameStartParam.html | 486 ++++ .../tcr/sdk/api/data/MultiUser.Role.html | 349 +++ .../tencent/tcr/sdk/api/data/MultiUser.html | 478 ++++ .../tcr/sdk/api/data/MultiUserSeatInfo.html | 346 +++ .../tcr/sdk/api/data/RemoteDesktopInfo.html | 400 +++ .../tcr/sdk/api/data/RoleApplyInfo.html | 310 +++ .../tcr/sdk/api/data/ScreenConfig.html | 311 +++ .../tencent/tcr/sdk/api/data/StatsInfo.html | 601 ++++ .../tcr/sdk/api/data/VideoStreamConfig.html | 292 ++ .../tcr/sdk/api/data/package-frame.html | 32 + .../tcr/sdk/api/data/package-summary.html | 216 ++ .../tcr/sdk/api/data/package-tree.html | 155 ++ .../tencent/tcr/sdk/api/package-frame.html | 54 + .../tencent/tcr/sdk/api/package-summary.html | 339 +++ .../com/tencent/tcr/sdk/api/package-tree.html | 180 ++ .../sdk/api/utils/CustomAudioBufferUtil.html | 285 ++ .../sdk/api/utils/VideoCapabilityUtil.html | 286 ++ .../tcr/sdk/api/utils/package-frame.html | 20 + .../tcr/sdk/api/utils/package-summary.html | 145 + .../tcr/sdk/api/utils/package-tree.html | 135 + .../tcr/sdk/api/view/MobileTouchListener.html | 274 ++ .../tcr/sdk/api/view/PcClickListener.html | 330 +++ .../view/PcTouchListener.OnClickListener.html | 246 ++ ...PcTouchListener.OnDoubleClickListener.html | 226 ++ .../tcr/sdk/api/view/PcTouchListener.html | 563 ++++ .../api/view/PcZoomHandler.ZoomListener.html | 253 ++ .../tcr/sdk/api/view/PcZoomHandler.html | 384 +++ .../view/TcrRenderView.InputDeviceType.html | 355 +++ .../sdk/api/view/TcrRenderView.Observer.html | 251 ++ .../sdk/api/view/TcrRenderView.ScaleType.html | 370 +++ .../view/TcrRenderView.TcrRenderViewType.html | 349 +++ .../api/view/TcrRenderView.VideoRotation.html | 412 +++ .../tcr/sdk/api/view/TcrRenderView.html | 733 +++++ .../tcr/sdk/api/view/WindowsKeyEvent.html | 2450 +++++++++++++++++ .../tcr/sdk/api/view/package-frame.html | 38 + .../tcr/sdk/api/view/package-summary.html | 245 ++ .../tcr/sdk/api/view/package-tree.html | 165 ++ tcrsdk/3.22.0/constant-values.html | 1210 ++++++++ tcrsdk/3.22.0/deprecated-list.html | 179 ++ tcrsdk/3.22.0/help-doc.html | 222 ++ tcrsdk/3.22.0/index-all.html | 2097 ++++++++++++++ tcrsdk/3.22.0/index.html | 75 + tcrsdk/3.22.0/overview-frame.html | 23 + tcrsdk/3.22.0/overview-summary.html | 147 + tcrsdk/3.22.0/overview-tree.html | 214 ++ tcrsdk/3.22.0/package-list | 4 + tcrsdk/3.22.0/script.js | 30 + tcrsdk/3.22.0/stylesheet.css | 574 ++++ tcrsdk/index.html | 1 + 83 files changed, 29779 insertions(+) create mode 100755 tcrsdk/3.22.0/allclasses-frame.html create mode 100755 tcrsdk/3.22.0/allclasses-noframe.html create mode 100755 tcrsdk/3.22.0/com/tencent/tcr/sdk/api/AsyncCallback.html create mode 100755 tcrsdk/3.22.0/com/tencent/tcr/sdk/api/AudioSink.html create mode 100755 tcrsdk/3.22.0/com/tencent/tcr/sdk/api/CustomDataChannel.Observer.html create mode 100755 tcrsdk/3.22.0/com/tencent/tcr/sdk/api/CustomDataChannel.html create mode 100755 tcrsdk/3.22.0/com/tencent/tcr/sdk/api/Gamepad.KeyType.html create mode 100755 tcrsdk/3.22.0/com/tencent/tcr/sdk/api/Gamepad.html create mode 100755 tcrsdk/3.22.0/com/tencent/tcr/sdk/api/Keyboard.html create mode 100755 tcrsdk/3.22.0/com/tencent/tcr/sdk/api/LoginHelper.html create mode 100755 tcrsdk/3.22.0/com/tencent/tcr/sdk/api/MotionSensor.html create mode 100755 tcrsdk/3.22.0/com/tencent/tcr/sdk/api/Mouse.CursorStyle.html create mode 100755 tcrsdk/3.22.0/com/tencent/tcr/sdk/api/Mouse.KeyType.html create mode 100755 tcrsdk/3.22.0/com/tencent/tcr/sdk/api/Mouse.html create mode 100755 tcrsdk/3.22.0/com/tencent/tcr/sdk/api/TcrCode.SessionStop.html create mode 100755 tcrsdk/3.22.0/com/tencent/tcr/sdk/api/TcrCode.html create mode 100755 tcrsdk/3.22.0/com/tencent/tcr/sdk/api/TcrLogger.html create mode 100755 tcrsdk/3.22.0/com/tencent/tcr/sdk/api/TcrSdk.html create mode 100755 tcrsdk/3.22.0/com/tencent/tcr/sdk/api/TcrSession.Event.html create mode 100755 tcrsdk/3.22.0/com/tencent/tcr/sdk/api/TcrSession.Observer.html create mode 100755 tcrsdk/3.22.0/com/tencent/tcr/sdk/api/TcrSession.html create mode 100755 tcrsdk/3.22.0/com/tencent/tcr/sdk/api/TcrSessionConfig.Builder.html create mode 100755 tcrsdk/3.22.0/com/tencent/tcr/sdk/api/TcrSessionConfig.VideoCodecType.html create mode 100755 tcrsdk/3.22.0/com/tencent/tcr/sdk/api/TcrSessionConfig.html create mode 100755 tcrsdk/3.22.0/com/tencent/tcr/sdk/api/TcrTestEnv.html create mode 100755 tcrsdk/3.22.0/com/tencent/tcr/sdk/api/TouchScreen.html create mode 100755 tcrsdk/3.22.0/com/tencent/tcr/sdk/api/VideoFrame.Buffer.html create mode 100755 tcrsdk/3.22.0/com/tencent/tcr/sdk/api/VideoFrame.I420Buffer.html create mode 100755 tcrsdk/3.22.0/com/tencent/tcr/sdk/api/VideoFrame.TextureBuffer.html create mode 100755 tcrsdk/3.22.0/com/tencent/tcr/sdk/api/VideoFrame.html create mode 100755 tcrsdk/3.22.0/com/tencent/tcr/sdk/api/VideoFrameBufferCallback.html create mode 100755 tcrsdk/3.22.0/com/tencent/tcr/sdk/api/VideoSink.html create mode 100755 tcrsdk/3.22.0/com/tencent/tcr/sdk/api/data/CursorImageInfo.html create mode 100755 tcrsdk/3.22.0/com/tencent/tcr/sdk/api/data/CursorState.html create mode 100755 tcrsdk/3.22.0/com/tencent/tcr/sdk/api/data/GameStartParam.html create mode 100755 tcrsdk/3.22.0/com/tencent/tcr/sdk/api/data/MultiUser.Role.html create mode 100755 tcrsdk/3.22.0/com/tencent/tcr/sdk/api/data/MultiUser.html create mode 100755 tcrsdk/3.22.0/com/tencent/tcr/sdk/api/data/MultiUserSeatInfo.html create mode 100755 tcrsdk/3.22.0/com/tencent/tcr/sdk/api/data/RemoteDesktopInfo.html create mode 100755 tcrsdk/3.22.0/com/tencent/tcr/sdk/api/data/RoleApplyInfo.html create mode 100755 tcrsdk/3.22.0/com/tencent/tcr/sdk/api/data/ScreenConfig.html create mode 100755 tcrsdk/3.22.0/com/tencent/tcr/sdk/api/data/StatsInfo.html create mode 100755 tcrsdk/3.22.0/com/tencent/tcr/sdk/api/data/VideoStreamConfig.html create mode 100755 tcrsdk/3.22.0/com/tencent/tcr/sdk/api/data/package-frame.html create mode 100755 tcrsdk/3.22.0/com/tencent/tcr/sdk/api/data/package-summary.html create mode 100755 tcrsdk/3.22.0/com/tencent/tcr/sdk/api/data/package-tree.html create mode 100755 tcrsdk/3.22.0/com/tencent/tcr/sdk/api/package-frame.html create mode 100755 tcrsdk/3.22.0/com/tencent/tcr/sdk/api/package-summary.html create mode 100755 tcrsdk/3.22.0/com/tencent/tcr/sdk/api/package-tree.html create mode 100755 tcrsdk/3.22.0/com/tencent/tcr/sdk/api/utils/CustomAudioBufferUtil.html create mode 100755 tcrsdk/3.22.0/com/tencent/tcr/sdk/api/utils/VideoCapabilityUtil.html create mode 100755 tcrsdk/3.22.0/com/tencent/tcr/sdk/api/utils/package-frame.html create mode 100755 tcrsdk/3.22.0/com/tencent/tcr/sdk/api/utils/package-summary.html create mode 100755 tcrsdk/3.22.0/com/tencent/tcr/sdk/api/utils/package-tree.html create mode 100755 tcrsdk/3.22.0/com/tencent/tcr/sdk/api/view/MobileTouchListener.html create mode 100755 tcrsdk/3.22.0/com/tencent/tcr/sdk/api/view/PcClickListener.html create mode 100755 tcrsdk/3.22.0/com/tencent/tcr/sdk/api/view/PcTouchListener.OnClickListener.html create mode 100755 tcrsdk/3.22.0/com/tencent/tcr/sdk/api/view/PcTouchListener.OnDoubleClickListener.html create mode 100755 tcrsdk/3.22.0/com/tencent/tcr/sdk/api/view/PcTouchListener.html create mode 100755 tcrsdk/3.22.0/com/tencent/tcr/sdk/api/view/PcZoomHandler.ZoomListener.html create mode 100755 tcrsdk/3.22.0/com/tencent/tcr/sdk/api/view/PcZoomHandler.html create mode 100755 tcrsdk/3.22.0/com/tencent/tcr/sdk/api/view/TcrRenderView.InputDeviceType.html create mode 100755 tcrsdk/3.22.0/com/tencent/tcr/sdk/api/view/TcrRenderView.Observer.html create mode 100755 tcrsdk/3.22.0/com/tencent/tcr/sdk/api/view/TcrRenderView.ScaleType.html create mode 100755 tcrsdk/3.22.0/com/tencent/tcr/sdk/api/view/TcrRenderView.TcrRenderViewType.html create mode 100755 tcrsdk/3.22.0/com/tencent/tcr/sdk/api/view/TcrRenderView.VideoRotation.html create mode 100755 tcrsdk/3.22.0/com/tencent/tcr/sdk/api/view/TcrRenderView.html create mode 100755 tcrsdk/3.22.0/com/tencent/tcr/sdk/api/view/WindowsKeyEvent.html create mode 100755 tcrsdk/3.22.0/com/tencent/tcr/sdk/api/view/package-frame.html create mode 100755 tcrsdk/3.22.0/com/tencent/tcr/sdk/api/view/package-summary.html create mode 100755 tcrsdk/3.22.0/com/tencent/tcr/sdk/api/view/package-tree.html create mode 100755 tcrsdk/3.22.0/constant-values.html create mode 100755 tcrsdk/3.22.0/deprecated-list.html create mode 100755 tcrsdk/3.22.0/help-doc.html create mode 100755 tcrsdk/3.22.0/index-all.html create mode 100755 tcrsdk/3.22.0/index.html create mode 100755 tcrsdk/3.22.0/overview-frame.html create mode 100755 tcrsdk/3.22.0/overview-summary.html create mode 100755 tcrsdk/3.22.0/overview-tree.html create mode 100755 tcrsdk/3.22.0/package-list create mode 100755 tcrsdk/3.22.0/script.js create mode 100755 tcrsdk/3.22.0/stylesheet.css diff --git a/tcrsdk/3.22.0/allclasses-frame.html b/tcrsdk/3.22.0/allclasses-frame.html new file mode 100755 index 00000000..cb963cc7 --- /dev/null +++ b/tcrsdk/3.22.0/allclasses-frame.html @@ -0,0 +1,74 @@ + + + + + +All Classes (TcrSdkFull 3.22.0 API) + + + + +

All Classes

+
+ +
+ + diff --git a/tcrsdk/3.22.0/allclasses-noframe.html b/tcrsdk/3.22.0/allclasses-noframe.html new file mode 100755 index 00000000..4763efe6 --- /dev/null +++ b/tcrsdk/3.22.0/allclasses-noframe.html @@ -0,0 +1,74 @@ + + + + + +All Classes (TcrSdkFull 3.22.0 API) + + + + +

All Classes

+
+ +
+ + diff --git a/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/AsyncCallback.html b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/AsyncCallback.html new file mode 100755 index 00000000..e4e1fb6a --- /dev/null +++ b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/AsyncCallback.html @@ -0,0 +1,251 @@ + + + + + +AsyncCallback (TcrSdkFull 3.22.0 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.tencent.tcr.sdk.api
+

Interface AsyncCallback<T>

+
+
+
+
    +
  • +
    +
    +
    public interface AsyncCallback<T>
    +
    This interface defines a general async task callback schema.
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + +
      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethod and Description
      voidonFailure(int code, + java.lang.String msg) +
      This is called when the async task is executed failed.
      +
      voidonSuccess(T result) +
      This is called when the async task is executed successfully.
      +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + + + +
        +
      • +

        onSuccess

        +
        void onSuccess(T result)
        +
        This is called when the async task is executed successfully.
        +
        +
        Parameters:
        +
        result - The result of the task execution.
        +
        +
      • +
      + + + +
        +
      • +

        onFailure

        +
        void onFailure(int code,
        +               java.lang.String msg)
        +
        This is called when the async task is executed failed.
        +
        +
        Parameters:
        +
        code - The error code of the task execution.
        +
        msg - The error message of the task execution.
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/AudioSink.html b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/AudioSink.html new file mode 100755 index 00000000..a9afea12 --- /dev/null +++ b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/AudioSink.html @@ -0,0 +1,263 @@ + + + + + +AudioSink (TcrSdkFull 3.22.0 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.tencent.tcr.sdk.api
+

Interface AudioSink

+
+
+
+
    +
  • +
    +
    +
    public interface AudioSink
    +
    Implement this interface if you want to get and play the audio data by yourself.
    +
    +
    See Also:
    +
    TcrSession.setAudioSink(AudioSink)
    +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + +
      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethod and Description
      voidonAudioData(byte[] audioData, + int offsetInBytes, + int sizeInBytes) +
      Called when a piece of audio data is ready.
      +
      voidonAudioFormat(int audioFormat, + int channelMask, + int sampleRate) +
      Called when the audio sample format has changed.
      +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        onAudioData

        +
        void onAudioData(byte[] audioData,
        +                 int offsetInBytes,
        +                 int sizeInBytes)
        +
        Called when a piece of audio data is ready.
        +
        +
        Parameters:
        +
        audioData - The audio data that can be played via android.media.AudioTrack.
        +
        offsetInBytes - The offset expressed in bytes in audioData where the data to write starts.
        +
        sizeInBytes - The number of bytes to write in audioData after the offset.
        +
        +
      • +
      + + + +
        +
      • +

        onAudioFormat

        +
        void onAudioFormat(int audioFormat,
        +                   int channelMask,
        +                   int sampleRate)
        +
        Called when the audio sample format has changed. You may need these output parameters to build or update your + AudioFormat.
        +
        +
        Parameters:
        +
        audioFormat - The audio data encoding format. See AudioFormat.Builder#setEncoding(int)
        +
        channelMask - The channel position mask. See AudioFormat.Builder#setChannelMask(int)
        +
        sampleRate - The sample rate expressed in Hz. See AudioFormat.Builder#setSampleRate(int)
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/CustomDataChannel.Observer.html b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/CustomDataChannel.Observer.html new file mode 100755 index 00000000..cada5a9b --- /dev/null +++ b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/CustomDataChannel.Observer.html @@ -0,0 +1,283 @@ + + + + + +CustomDataChannel.Observer (TcrSdkFull 3.22.0 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.tencent.tcr.sdk.api
+

Interface CustomDataChannel.Observer

+
+
+
+
    +
  • +
    +
    Enclosing interface:
    +
    CustomDataChannel
    +
    +
    +
    +
    public static interface CustomDataChannel.Observer
    +
    A class can implement the Observer interface when it wants to be informed of events + in CustomDataChannel objects.
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethod and Description
      voidonConnected(int port) +
      This method is called when the listened CustomDataChannel is connected successfully.
      +
      voidonError(int port, + int code, + java.lang.String msg) +
      This method is called whenever some error is happened in the listened CustomDataChannel.
      +
      voidonMessage(int port, + java.nio.ByteBuffer buffer) +
      This method is called whenever the listened CustomDataChannel receives cloud message.
      +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        onConnected

        +
        void onConnected(int port)
        +
        This method is called when the listened CustomDataChannel is connected successfully.
        +
        +
        Parameters:
        +
        port - The identify of the listened CustomDataChannel.
        +
        +
      • +
      + + + +
        +
      • +

        onError

        +
        void onError(int port,
        +             int code,
        +             java.lang.String msg)
        +
        This method is called whenever some error is happened in the listened CustomDataChannel.
        +
        +
        Parameters:
        +
        port - The identify of the listened CustomDataChannel.
        +
        code - The error code.
        +
        msg - The error message.
        +
        +
      • +
      + + + +
        +
      • +

        onMessage

        +
        void onMessage(int port,
        +               java.nio.ByteBuffer buffer)
        +
        This method is called whenever the listened CustomDataChannel receives cloud message. + +

        NOTE: |buffer.data| will be freed once this function returns so callers who want to use the data + asynchronously must make sure to copy it first.

        +
        +
        Parameters:
        +
        port - The identify of the listened CustomDataChannel.
        +
        buffer - The message sent from the cloud.
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/CustomDataChannel.html b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/CustomDataChannel.html new file mode 100755 index 00000000..59f723a5 --- /dev/null +++ b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/CustomDataChannel.html @@ -0,0 +1,279 @@ + + + + + +CustomDataChannel (TcrSdkFull 3.22.0 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.tencent.tcr.sdk.api
+

Interface CustomDataChannel

+
+
+
+
    +
  • +
    +
    +
    public interface CustomDataChannel
    +
    This interface represents a data channel between the client and the cloud application. + +

    The client can send a message to the cloud application via the send(ByteBuffer) method, and receive the + reply message from the cloud application via CustomDataChannel.Observer.onMessage(int, ByteBuffer).

    + +

    In terms of implementation, the send(ByteBuffer) method in fact sends the message to a UDP port of the + cloud machine, which is defined when creating this CustomDataChannel. The cloud application listens to this UDP port + to receive messages from the client. When the cloud application replies a message, the Cloud Rendering SDK will call + back the message to the client application through CustomDataChannel.Observer.onMessage(int, ByteBuffer). Note that the + associated UDP port identifies a data channel uniquely.

    +
    +
    See Also:
    +
    com.tencent.tcr.sdk.api.TcrSession#createCustomDataChannel(int, Observer)
    +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Nested Class Summary

      + + + + + + + + + + +
      Nested Classes 
      Modifier and TypeInterface and Description
      static interface CustomDataChannel.Observer +
      A class can implement the Observer interface when it wants to be informed of events + in CustomDataChannel objects.
      +
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + +
      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethod and Description
      voidclose() +
      Close this data channel.
      +
      booleansend(java.nio.ByteBuffer data) +
      Send data to the cloud Application.
      +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        send

        +
        boolean send(java.nio.ByteBuffer data)
        +
        Send data to the cloud Application.
        +
        +
        Parameters:
        +
        data - The data to be sent, which cannot exceed 1,200 bytes.
        +
        Returns:
        +
        true if success, false otherwise.
        +
        +
      • +
      + + + +
        +
      • +

        close

        +
        void close()
        +
        Close this data channel.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/Gamepad.KeyType.html b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/Gamepad.KeyType.html new file mode 100755 index 00000000..2e27d7e5 --- /dev/null +++ b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/Gamepad.KeyType.html @@ -0,0 +1,379 @@ + + + + + +Gamepad.KeyType (TcrSdkFull 3.22.0 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.tencent.tcr.sdk.api
+

Enum Gamepad.KeyType

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    java.io.Serializable, java.lang.Comparable<Gamepad.KeyType>
    +
    +
    +
    Enclosing interface:
    +
    Gamepad
    +
    +
    +
    +
    public static enum Gamepad.KeyType
    +extends java.lang.Enum<Gamepad.KeyType>
    +
    The type of a general controller button
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Enum Constant Summary

      + + + + + + + + + + + + + + + + + +
      Enum Constants 
      Enum Constant and Description
      LS +
      The left stick
      +
      LT +
      The left trigger
      +
      RS +
      The right stick
      +
      RT +
      The right trigger
      +
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + +
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethod and Description
      static Gamepad.KeyTypevalueOf(java.lang.String name) +
      Returns the enum constant of this type with the specified name.
      +
      static Gamepad.KeyType[]values() +
      Returns an array containing the constants of this enum type, in +the order they are declared.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Enum

        +clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +getClass, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + + + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static Gamepad.KeyType[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (Gamepad.KeyType c : Gamepad.KeyType.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static Gamepad.KeyType valueOf(java.lang.String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        +
        java.lang.NullPointerException - if the argument is null
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/Gamepad.html b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/Gamepad.html new file mode 100755 index 00000000..29e84cc2 --- /dev/null +++ b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/Gamepad.html @@ -0,0 +1,336 @@ + + + + + +Gamepad (TcrSdkFull 3.22.0 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.tencent.tcr.sdk.api
+

Interface Gamepad

+
+
+
+
    +
  • +
    +
    +
    public interface Gamepad
    +
    This interface is used to interact with the virtual Gamepad device on the server.
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Nested Class Summary

      + + + + + + + + + + +
      Nested Classes 
      Modifier and TypeInterface and Description
      static class Gamepad.KeyType +
      The type of a general controller button
      +
      +
    • +
    + + +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        connectGamepad

        +
        void connectGamepad()
        +
        Trigger the cloud machine to insert the virtual Gamepad.
        +
      • +
      + + + +
        +
      • +

        disconnectGamepad

        +
        void disconnectGamepad()
        +
        Trigger the cloud machine to pull out the virtual Gamepad.
        +
      • +
      + + + +
        +
      • +

        onGamepadKey

        +
        void onGamepadKey(int keycode,
        +                  boolean down)
        +
        Trigger a key event of the cloud Gamepad.
        +
        +
        Parameters:
        +
        keycode - The keycode. Please refer to WindowsKeyEvent for the + definition of key codes.
        +
        down - true if the button is pressed, false if the button is released.
        +
        +
      • +
      + + + +
        +
      • +

        onGamepadStick

        +
        void onGamepadStick(Gamepad.KeyType type,
        +                    int x,
        +                    int y)
        +
        Trigger a stick event of the cloud Gamepad.
        +
        +
        Parameters:
        +
        type - The stick type. See Gamepad.KeyType.LS, Gamepad.KeyType.RS.
        +
        x - The X coordinate of the stick
        +
        y - The Y coordinate of the stick
        +
        +
      • +
      + + + +
        +
      • +

        onGamepadTrigger

        +
        void onGamepadTrigger(Gamepad.KeyType type,
        +                      int value,
        +                      boolean down)
        +
        Trigger a trigger event of the cloud Gamepad.
        +
        +
        Parameters:
        +
        type - The trigger type. See Gamepad.KeyType.LT, Gamepad.KeyType.RT.
        +
        value - The absolute position of the trigger control. The value is normalized to a range from 0 + (released) to 255 (fully pressed).
        +
        down - true if the trigger is pressed, false if the trigger is released.
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/Keyboard.html b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/Keyboard.html new file mode 100755 index 00000000..acf5bbcb --- /dev/null +++ b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/Keyboard.html @@ -0,0 +1,311 @@ + + + + + +Keyboard (TcrSdkFull 3.22.0 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.tencent.tcr.sdk.api
+

Interface Keyboard

+
+
+
+
    +
  • +
    +
    +
    public interface Keyboard
    +
    This interface is used to interact with the virtual Keyboard device on the server.
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethod and Description
      voidcheckKeyboardCapsLock(AsyncCallback<java.lang.String> callback) +
      Query the capitalization status of the cloud virtual keyboard.
      +
      voidonKeyboard(int keycode, + boolean down) +
      Trigger a key event of the cloud keyboard.
      +
      voidonKeyboard(int keycode, + boolean down, + boolean isLeft) +
      Trigger a key event of the cloud keyboard.
      +
      voidresetKeyboard() +
      Reset the key status of the cloud keyboard.
      + This API is used to release all keys when there are stuck keys on the keyboard.
      +
      voidresetKeyboardCapsLock() +
      Reset the capitalization status (to lowercase) of the cloud virtual keyboard.
      +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        onKeyboard

        +
        void onKeyboard(int keycode,
        +                boolean down)
        +
        Trigger a key event of the cloud keyboard.
        +
        +
        Parameters:
        +
        keycode - The keycode
        +
        down - Valid values: `true`: Press; `false`: Release.
        +
        +
      • +
      + + + +
        +
      • +

        onKeyboard

        +
        void onKeyboard(int keycode,
        +                boolean down,
        +                boolean isLeft)
        +
        Trigger a key event of the cloud keyboard. Differentiate between the left and right keys of the + keyboard.
        +
        +
        Parameters:
        +
        keycode - The keycode. Please refer to KeycodeDefinition for the definition of key codes.
        +
        down - Valid values: `true`: Press; `false`: Release.
        +
        isLeft - Used to distinguish between left and right keys of the keyboard: `true`: Left; `false` : + Right.
        +
        +
      • +
      + + + +
        +
      • +

        checkKeyboardCapsLock

        +
        void checkKeyboardCapsLock(AsyncCallback<java.lang.String> callback)
        +
        Query the capitalization status of the cloud virtual keyboard.
        +
        +
        Parameters:
        +
        callback - Asynchronous callback object for returning results.
        +
        +
      • +
      + + + +
        +
      • +

        resetKeyboardCapsLock

        +
        void resetKeyboardCapsLock()
        +
        Reset the capitalization status (to lowercase) of the cloud virtual keyboard.
        +
      • +
      + + + +
        +
      • +

        resetKeyboard

        +
        void resetKeyboard()
        +
        Reset the key status of the cloud keyboard.
        + This API is used to release all keys when there are stuck keys on the keyboard.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/LoginHelper.html b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/LoginHelper.html new file mode 100755 index 00000000..1ffb0bc8 --- /dev/null +++ b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/LoginHelper.html @@ -0,0 +1,258 @@ + + + + + +LoginHelper (TcrSdkFull 3.22.0 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.tencent.tcr.sdk.api
+

Interface LoginHelper

+
+
+
+
    +
  • +
    +
    +
    public interface LoginHelper
    +
    This interface is used to implement automatic login.
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        checkAutoLoginSupport

        +
        void checkAutoLoginSupport(AsyncCallback<java.lang.Void> callback)
        +
        Checks if the current cloud application supports automatic login. + If supported, it will invoke the AsyncCallback.onSuccess(Object) callback. + otherwise it will invoke the AsyncCallback.onFailure(int, String) callback, + and the `code` and `msg` parameters can be ignored by the application.
        +
        +
        Parameters:
        +
        callback - The asynchronous callback interface to handle the result of checking auto login support.
        +
        +
      • +
      + + + +
        +
      • +

        startAutoLogin

        +
        void startAutoLogin(java.lang.String acc,
        +                    java.lang.String pwd,
        +                    AsyncCallback<java.lang.Void> callback)
        +
        Starts the automatic login. + If the automatic login process is completed successfully, the onSuccess() callback will be invoked. + If an error occurs during the automatic login process, the onFailed() callback will be invoked, + and the application can ignore the `code` and `msg parameters of the callback.
        +
        +
        Parameters:
        +
        acc - The account entered for automatic login.
        +
        pwd - The password entered for automatic login.
        +
        callback - The asynchronous callback interface to handle the result of autologin status.
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/MotionSensor.html b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/MotionSensor.html new file mode 100755 index 00000000..c4ba82fb --- /dev/null +++ b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/MotionSensor.html @@ -0,0 +1,232 @@ + + + + + +MotionSensor (TcrSdkFull 3.22.0 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.tencent.tcr.sdk.api
+

Interface MotionSensor

+
+
+
+
    +
  • +
    +
    +
    public interface MotionSensor
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        onSensorChanged

        +
        void onSensorChanged(SensorEvent event)
        +
        Called when there is a change in the sensor data. + + This method is triggered whenever the sensor detects a change in its readings. + The method processes the incoming sensor event and determines the type of sensor + that generated the event. Currently, it supports accelerometer and gyroscope sensors.
        +
        +
        Parameters:
        +
        event - The sensor event containing the data from the sensor.
        +
        See Also:
        +
        SensorEvent, +android.hardware.Sensor
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/Mouse.CursorStyle.html b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/Mouse.CursorStyle.html new file mode 100755 index 00000000..b3bbaae2 --- /dev/null +++ b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/Mouse.CursorStyle.html @@ -0,0 +1,349 @@ + + + + + +Mouse.CursorStyle (TcrSdkFull 3.22.0 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.tencent.tcr.sdk.api
+

Enum Mouse.CursorStyle

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    java.io.Serializable, java.lang.Comparable<Mouse.CursorStyle>
    +
    +
    +
    Enclosing interface:
    +
    Mouse
    +
    +
    +
    +
    public static enum Mouse.CursorStyle
    +extends java.lang.Enum<Mouse.CursorStyle>
    +
    The style of the cloud cursor
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Enum Constant Summary

      + + + + + + + + + + + +
      Enum Constants 
      Enum Constant and Description
      HUGE +
      The big cursor style
      +
      NORMAL +
      The default cursor style
      +
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + +
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethod and Description
      static Mouse.CursorStylevalueOf(java.lang.String name) +
      Returns the enum constant of this type with the specified name.
      +
      static Mouse.CursorStyle[]values() +
      Returns an array containing the constants of this enum type, in +the order they are declared.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Enum

        +clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +getClass, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + + + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static Mouse.CursorStyle[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (Mouse.CursorStyle c : Mouse.CursorStyle.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static Mouse.CursorStyle valueOf(java.lang.String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        +
        java.lang.NullPointerException - if the argument is null
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/Mouse.KeyType.html b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/Mouse.KeyType.html new file mode 100755 index 00000000..fb17c9dd --- /dev/null +++ b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/Mouse.KeyType.html @@ -0,0 +1,394 @@ + + + + + +Mouse.KeyType (TcrSdkFull 3.22.0 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.tencent.tcr.sdk.api
+

Enum Mouse.KeyType

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    java.io.Serializable, java.lang.Comparable<Mouse.KeyType>
    +
    +
    +
    Enclosing interface:
    +
    Mouse
    +
    +
    +
    +
    public static enum Mouse.KeyType
    +extends java.lang.Enum<Mouse.KeyType>
    +
    General mouse button types
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Enum Constant Summary

      + + + + + + + + + + + + + + + + + + + + +
      Enum Constants 
      Enum Constant and Description
      BACKWARD +
      The back side button
      +
      FORWARD +
      The forward side button
      +
      LEFT +
      The left mouse button
      +
      MIDDLE +
      The middle mouse button (scroll wheel)
      +
      RIGHT +
      The right mouse button
      +
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + +
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethod and Description
      static Mouse.KeyTypevalueOf(java.lang.String name) +
      Returns the enum constant of this type with the specified name.
      +
      static Mouse.KeyType[]values() +
      Returns an array containing the constants of this enum type, in +the order they are declared.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Enum

        +clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +getClass, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Enum Constant Detail

      + + + +
        +
      • +

        LEFT

        +
        public static final Mouse.KeyType LEFT
        +
        The left mouse button
        +
      • +
      + + + +
        +
      • +

        RIGHT

        +
        public static final Mouse.KeyType RIGHT
        +
        The right mouse button
        +
      • +
      + + + +
        +
      • +

        MIDDLE

        +
        public static final Mouse.KeyType MIDDLE
        +
        The middle mouse button (scroll wheel)
        +
      • +
      + + + +
        +
      • +

        FORWARD

        +
        public static final Mouse.KeyType FORWARD
        +
        The forward side button
        +
      • +
      + + + +
        +
      • +

        BACKWARD

        +
        public static final Mouse.KeyType BACKWARD
        +
        The back side button
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static Mouse.KeyType[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (Mouse.KeyType c : Mouse.KeyType.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static Mouse.KeyType valueOf(java.lang.String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        +
        java.lang.NullPointerException - if the argument is null
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/Mouse.html b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/Mouse.html new file mode 100755 index 00000000..75008c4a --- /dev/null +++ b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/Mouse.html @@ -0,0 +1,371 @@ + + + + + +Mouse (TcrSdkFull 3.22.0 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.tencent.tcr.sdk.api
+

Interface Mouse

+
+
+
+
    +
  • +
    +
    +
    public interface Mouse
    +
    This interface is used to interact with the virtual Mouse device on the server.
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Nested Class Summary

      + + + + + + + + + + + + + + +
      Nested Classes 
      Modifier and TypeInterface and Description
      static class Mouse.CursorStyle +
      The style of the cloud cursor
      +
      static class Mouse.KeyType +
      General mouse button types
      +
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethod and Description
      voidonMouseDeltaMove(int deltaX, + int deltaY) +
      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.
      +
      voidonMouseKey(Mouse.KeyType key, + boolean down) +
      Trigger a click event of the cloud mouse.
      +
      voidonMouseMoveTo(int x, + int y) +
      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].
      +
      voidonMouseScroll(float delta) +
      Rotate the scroll wheel of the cloud mouse.
      +
      voidsetMouseCursorStyle(Mouse.CursorStyle cursorStyle) +
      Set the cursor style.
      +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        setMouseCursorStyle

        +
        void setMouseCursorStyle(Mouse.CursorStyle cursorStyle)
        +
        Set the cursor style. + The cursor style Mouse.CursorStyle will be updated immediately: the new cursor style will be distributed + from the cloud through the data channel. You can get the latest mouse style image from Observer.
        +
        +
        Parameters:
        +
        cursorStyle - The new cursor style, which will overwrite the original style value.
        +
        +
      • +
      + + + +
        +
      • +

        onMouseKey

        +
        void onMouseKey(Mouse.KeyType key,
        +                boolean down)
        +
        Trigger a click event of the cloud mouse.
        +
        +
        Parameters:
        +
        key - The mouse button. Valid values: `left`: The left button; `middle`: The scroll wheel; `right`: + The right button; `forward`: The forward side button; `backward`: The back side button.
        +
        down - Valid values: `true`: Press; `false`: Release.
        +
        +
      • +
      + + + +
        +
      • +

        onMouseScroll

        +
        void onMouseScroll(float delta)
        +
        Rotate the scroll wheel of the cloud mouse.
        +
        +
        Parameters:
        +
        delta - Valid values: -1.0~1.0
        +
        +
      • +
      + + + +
        +
      • +

        onMouseDeltaMove

        +
        void onMouseDeltaMove(int deltaX,
        +                      int deltaY)
        +
        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.
        + You can refer to the sample code below to complete your own calculations.
        +
        
        +      // localX/localY: click coordinates on gameView
        +      // localViewWidth/localViewHeight: gameView width&height
        +      DeltaX = localDeltaX * MouseConfig.getMoveSensitivity() * 8192 / localViewWidth;
        +      DeltaY = localDeltaY * MouseConfig.getMoveSensitivity() * 8192 / localViewHeight;
        +      // send mouse move message
        +      onDeltaMove(DeltaX,DeltaY);
        + 
        +
        +
        Parameters:
        +
        deltaX - The offset on the horizontal axis by which the cursor needs to move in remote device
        +
        deltaY - The offset on the vertical axis by which the cursor needs to move in remote device
        +
        +
      • +
      + + + +
        +
      • +

        onMouseMoveTo

        +
        void onMouseMoveTo(int x,
        +                   int y)
        +
        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]. + Then calculate the coordinates through the following sample code to get [remoteX,remoteY].
        + Finally, call the interface to send the mouse movement event.
        + You can refer to the sample code below to complete your own calculations.
        +
        
        +      // localX/localY: click coordinates on gameView
        +      // localViewWidth/localViewHeight: gameView width&height
        +      remoteX = localX * 8192 / localViewWidth;
        +      remoteY = localY * 8192 / localViewHeight;
        +      // send mouse move message
        +      onMoveTo(remoteX,remoteY);
        + 
        +
        +
        Parameters:
        +
        x - The X coordinate on the remote device
        +
        y - The Y coordinate on the remote device
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/TcrCode.SessionStop.html b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/TcrCode.SessionStop.html new file mode 100755 index 00000000..b6d1a895 --- /dev/null +++ b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/TcrCode.SessionStop.html @@ -0,0 +1,353 @@ + + + + + +TcrCode.SessionStop (TcrSdkFull 3.22.0 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.tencent.tcr.sdk.api
+

Interface TcrCode.SessionStop

+
+
+
+
    +
  • +
    +
    Enclosing interface:
    +
    TcrCode
    +
    +
    +
    +
    public static interface TcrCode.SessionStop
    +
    The code returned when the state of TcrSession changes to + TcrSession.Event.STATE_CLOSED
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Fields 
      Modifier and TypeField and Description
      static intCONNECT_FAILED +
      This value indicate that failed to connect to cloud
      +
      static intRECONNECT_FAILED +
      This value indicates that reconnection failure leads to exit
      +
      static intSERVER_DUPLICATE_CONNECT +
      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.
      +
      static intSERVER_EXIT +
      This value indicates that the server issues an exit command: the cloud actively exits
      +
      static intSERVER_STOP_GAME +
      This value indicates that the server issues exit instructions: Cloud API call exit
      +
      static intSERVER_UNKNOWN +
      This value indicates that an unknown error occurred in the cloud
      +
      static intSTOP_MANUALLY +
      This value indicates that the App call TcrSession.release() to actively exit
      +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        SERVER_UNKNOWN

        +
        static final int SERVER_UNKNOWN
        +
        This value indicates that an unknown error occurred in the cloud
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        SERVER_DUPLICATE_CONNECT

        +
        static final int SERVER_DUPLICATE_CONNECT
        +
        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. In this case, the connecting front end will receive this error code.
        +
        +
        See Also:
        +
        create session api, +Constant Field Values
        +
        +
      • +
      + + + + + + + +
        +
      • +

        SERVER_EXIT

        +
        static final int SERVER_EXIT
        +
        This value indicates that the server issues an exit command: the cloud actively exits
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + + + + + +
        +
      • +

        RECONNECT_FAILED

        +
        static final int RECONNECT_FAILED
        +
        This value indicates that reconnection failure leads to exit
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        CONNECT_FAILED

        +
        static final int CONNECT_FAILED
        +
        This value indicate that failed to connect to cloud
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/TcrCode.html b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/TcrCode.html new file mode 100755 index 00000000..7433c000 --- /dev/null +++ b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/TcrCode.html @@ -0,0 +1,699 @@ + + + + + +TcrCode (TcrSdkFull 3.22.0 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.tencent.tcr.sdk.api
+

Interface TcrCode

+
+
+
+
    +
  • +
    +
    +
    public interface TcrCode
    +
    This interface defines common codes of TcrSdk.
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        SUCCESS

        +
        static final int SUCCESS
        +
        This indicates that the result is success.
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        ERR_TIMEOUT

        +
        static final int ERR_TIMEOUT
        +
        This indicates that the request is timed out.
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        ERR_INVALID_PARAMS

        +
        static final int ERR_INVALID_PARAMS
        +
        This indicates that the request parameter is invalid.
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        ERR_UNKNOWN

        +
        static final int ERR_UNKNOWN
        +
        This indicates that some unknown error has happened.
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        ERR_INTERNAL_ERROR

        +
        static final int ERR_INTERNAL_ERROR
        +
        This indicates that some internal error has happened.
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        ERR_STATE_ILLEGAL

        +
        static final int ERR_STATE_ILLEGAL
        +
        This indicates that the context state is illegal.
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        ERR_MULTI_PLAYER_BASE_CODE

        +
        static final int ERR_MULTI_PLAYER_BASE_CODE
        +
        The starting error code of the multi-player module.
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        MULTI_PLAYER_INVALID_SEAT_INDEX

        +
        static final int MULTI_PLAYER_INVALID_SEAT_INDEX
        +
        An invalid seat
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        MULTI_PLAYER_NO_AUTHORIZED

        +
        static final int MULTI_PLAYER_NO_AUTHORIZED
        +
        The viewer couldn't switch the seat.
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        MULTI_PLAYER_NO_SUCH_ROLE

        +
        static final int MULTI_PLAYER_NO_SUCH_ROLE
        +
        The role dosen’t exist.
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        MULTI_PLAYER_NO_SUCH_USER

        +
        static final int MULTI_PLAYER_NO_SUCH_USER
        +
        The `user_id` doesn’t exist.
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        MULTI_PLAYER_ASSIGN_SEAT_FAILED

        +
        static final int MULTI_PLAYER_ASSIGN_SEAT_FAILED
        +
        Seat assignment failed.
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        MULTI_PLAYER_IGNORED_HOST_SUBMIT

        +
        static final int MULTI_PLAYER_IGNORED_HOST_SUBMIT
        +
        The host didn't need to change the seat.
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        ERR_DATA_CHANNEL_BASE_CODE

        +
        static final int ERR_DATA_CHANNEL_BASE_CODE
        +
        The starting error code of the data channel module.
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        ERR_CREATE_FAILURE

        +
        static final int ERR_CREATE_FAILURE
        +
        This indicates that the data channel is created failed.
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        ERR_CLOSED

        +
        static final int ERR_CLOSED
        +
        This indicates that the data channel has been closed.
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        ERR_TCRSDK_BASE_CODE

        +
        static final int ERR_TCRSDK_BASE_CODE
        +
        The starting error code of the TcrSdk class.
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        ERR_PLUGIN_DO_NOT_EXIST

        +
        static final int ERR_PLUGIN_DO_NOT_EXIST
        +
        The plugin doesn't exist.
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        ERR_PLUGIN_MD5_VERIFY_FAILED

        +
        static final int ERR_PLUGIN_MD5_VERIFY_FAILED
        +
        The MD5 value of the plugin failed to be verified.
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        ERR_CREATE_DIRECTORY_FAILED

        +
        static final int ERR_CREATE_DIRECTORY_FAILED
        +
        The directory failed to be created.
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        ERR_EXTRACT_PLUGIN_FAILED

        +
        static final int ERR_EXTRACT_PLUGIN_FAILED
        +
        The plugin failed to be extracted
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        ERR_INSTALL_PLUGIN_FAILED

        +
        static final int ERR_INSTALL_PLUGIN_FAILED
        +
        The plugin failed to be installed.
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        ERR_SDK_STATE_INITIALIZING

        +
        static final int ERR_SDK_STATE_INITIALIZING
        +
        The sdk is initializing
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        SESSION_STOP_BASE_CODE

        +
        static final int SESSION_STOP_BASE_CODE
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/TcrLogger.html b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/TcrLogger.html new file mode 100755 index 00000000..0ae68359 --- /dev/null +++ b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/TcrLogger.html @@ -0,0 +1,286 @@ + + + + + +TcrLogger (TcrSdkFull 3.22.0 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.tencent.tcr.sdk.api
+

Interface TcrLogger

+
+
+
+
    +
  • +
    +
    +
    public interface TcrLogger
    +
    This interface represents the log callbacks of the TcrSdk.
    +
    +
    See Also:
    +
    android.util.Log, +TcrSdk.setLogger(TcrLogger)
    +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethod and Description
      voidd(java.lang.String tag, + java.lang.String msg) 
      voide(java.lang.String tag, + java.lang.String msg) 
      voidi(java.lang.String tag, + java.lang.String msg) 
      voidv(java.lang.String tag, + java.lang.String msg) 
      voidw(java.lang.String tag, + java.lang.String msg) 
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        v

        +
        void v(java.lang.String tag,
        +       java.lang.String msg)
        +
      • +
      + + + +
        +
      • +

        d

        +
        void d(java.lang.String tag,
        +       java.lang.String msg)
        +
      • +
      + + + +
        +
      • +

        i

        +
        void i(java.lang.String tag,
        +       java.lang.String msg)
        +
      • +
      + + + +
        +
      • +

        e

        +
        void e(java.lang.String tag,
        +       java.lang.String msg)
        +
      • +
      + + + +
        +
      • +

        w

        +
        void w(java.lang.String tag,
        +       java.lang.String msg)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/TcrSdk.html b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/TcrSdk.html new file mode 100755 index 00000000..33de181f --- /dev/null +++ b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/TcrSdk.html @@ -0,0 +1,449 @@ + + + + + +TcrSdk (TcrSdkFull 3.22.0 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.tencent.tcr.sdk.api
+

Class TcrSdk

+
+
+ +
+
    +
  • +
    +
    +
    public class TcrSdk
    +extends java.lang.Object
    +
    This is the entry class for the TcrSdk. It is singleton.
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getInstance

        +
        public static TcrSdk getInstance()
        +
        Return The singleton of this class
        +
        +
        Returns:
        +
        The singleton of this class
        +
        +
      • +
      + + + + + + + +
        +
      • +

        createTcrRenderView

        +
        public TcrRenderView createTcrRenderView(Context context,
        +                                         TcrSession session,
        +                                         TcrRenderView.TcrRenderViewType mode)
        +
        Create a rendering view for a session. + +

        The TcrRenderView.release() method of the returned view should be called to release the underlying + resources if it is no longer used.

        + +

        This method should only be called on UI Thread.

        +
        +
        Parameters:
        +
        context - The context of the return view. It cannot be null.
        +
        session - The session that return view associates with. It cannot be null.
        +
        mode - The type of the return view. It cannot be null.
        +
        Returns:
        +
        The created rendering view. null maybe returned if creation fails due to the TcrSdk plugin + fails to be initialized.
        +
        +
      • +
      + + + +
        +
      • +

        createTcrSession

        +
        public TcrSession createTcrSession(TcrSessionConfig cfg)
        +
        Create a session. + +

        The TcrSession.release() method of the returned session should be called to release the underlying + resources if it is no longer used.

        +
        +
        Parameters:
        +
        cfg - The configuration of the session.
        +
        Returns:
        +
        The created session. null maybe returned if creation fails due to the TcrSdk plugin fails to + be initialized.
        +
        +
      • +
      + + + +
        +
      • +

        setEGLContext

        +
        public void setEGLContext(EGLContext eglContext)
        +
        Set the EGLContext.
        +

        + This API is associated with VideoSink. +

        + +

        + If you want TcrSdk to use your EGLContext as a `sharedContext` to create an EGLContext, you can set it through + this API. When you get VideoFrame for rendering, the EGLContext in your rendering thread must be + `sharedContext` with the EGLContext used by TcrSdk internally to generate video frames. Otherwise, it cannot be + guaranteed that the frames callback by VideoSink.onFrame(VideoFrame) can be successfully rendered. You + should call this method before createTcrSession(TcrSessionConfig). Otherwise, the setting will be + invalid. +

        + +

        + When you want to use the internal EGLContext of TcrSdk as a `sharedContext` to create your EGLContext, + you can use this API: getEGLContext() +

        +
        +
        Parameters:
        +
        eglContext - eglContext
        +
        +
      • +
      + + + +
        +
      • +

        getEGLContext

        +
        public EGLContext getEGLContext()
        +
        Get the EGLContext.
        +

        + This API is associated with VideoSink. +

        + +

        + If you want to use the internal EGLContext of TcrSdk as a `sharedContext` to create your EGLContext, you need + to call getEGLContext() in your rendering thread as the `sharedContext` to create your EGLContext. + When you get VideoFrame for rendering, the EGLContext in your rendering thread must be `sharedContext` + with the EGLContext used by TcrSdk internally to generate video frames. Otherwise, it cannot be guaranteed that + the frames callback by VideoSink.onFrame(VideoFrame) can be successfully rendered. +

        + +

        + If you want TcrSdk to use your EGLContext as a `sharedContext` to create an EGLContext, + you can use this API: setEGLContext(EGLContext) +

        +
      • +
      + + + +
        +
      • +

        setLogger

        +
        public void setLogger(TcrLogger logger)
        +
        Set a logger for the TcrSdk. + +

        By default, the TcrSdk will print logs to a temporary file on the sdcard as well as the android device logs. + If you set a custom logger via this method, the TcrSdk will then only callback logs to your + logger.

        + +

        This method can be called before init(Context, String, AsyncCallback).

        +
        +
        Parameters:
        +
        logger - the TcrLogger object to be set. It should not be null.
        +
        +
      • +
      + + + +
        +
      • +

        getPluginUrl

        +
        public static java.lang.String getPluginUrl()
        +
        Get the plugin download url for the light version TcrSdk.
        +
        +
        Returns:
        +
        The plugin download url. Return null if in full version TcrSdk.
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/TcrSession.Event.html b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/TcrSession.Event.html new file mode 100755 index 00000000..2231bb5f --- /dev/null +++ b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/TcrSession.Event.html @@ -0,0 +1,859 @@ + + + + + +TcrSession.Event (TcrSdkFull 3.22.0 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.tencent.tcr.sdk.api
+

Enum TcrSession.Event

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    java.io.Serializable, java.lang.Comparable<TcrSession.Event>
    +
    +
    +
    Enclosing interface:
    +
    TcrSession
    +
    +
    +
    +
    public static enum TcrSession.Event
    +extends java.lang.Enum<TcrSession.Event>
    +
    Session event definitions.
    +
    +
    See Also:
    +
    Observer#onEvent(Event, Object)
    +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Enum Constant Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Enum Constants 
      Enum Constant and Description
      ARCHIVE_LOAD_STATUS +
      This event indicates the status of the archive loading in the server.
      + + The associated event data is of type String in json format:
      +
      ARCHIVE_SAVE_STATUS +
      This event indicates the status of the archive saving in the server.
      + + The associated event data is of type String in json format:
      +
      CAMERA_STATUS_CHANGED +
      This event indicates that the camera status of the server has changed.
      +
      CLIENT_IDLE +
      This event indicates that the user is in an idle state, that is, the user does not operate the mouse, + keyboard or screen for a while.
      + + This event has no associated data.
      +
      CLIENT_LOW_FPS +
      This event indicates that the frame rate remains low for a while.
      +
      CLIENT_STATS +
      This event indicates that the performance data is updated.
      +
      CURSOR_IMAGE_INFO +
      This event indicates that the remote cursor image information is updated.
      +
      CURSOR_STATE_CHANGE +
      This event indicates that the showing status of cloud cursor is changed.
      +
      GAME_PROCESS_STOPPED +
      This event indicates that the status of the game process on the server has been stopped.
      + + The associated event data is of type String in json format:
      +
      GAME_START_COMPLETE +
      This event indicates that the status of the game process on the server has been changed.
      + + The associated event data is of type String in json format:
      +
      INPUT_STATE_CHANGE +
      This event indicates that the status of the remote input box has changed.
      +
      INPUT_STATUS_CHANGED +
      This event indicates that the input status of the server has changed.
      +
      MULTI_USER_ROLE_APPLY +
      This event indicates that some user request to change seat.
      +
      MULTI_USER_SEAT_INFO +
      This event indicates that the multi user seat info is updated.
      +
      OPEN_URL +
      This event indicates that an openable url link was clicked.
      +
      REMOTE_DESKTOP_INFO +
      This event indicates that the cloud PC desktop information is updated.
      +
      SCREEN_CONFIG_CHANGE +
      This event indicates that the configuration of the cloud phone screen configuration has been changed.
      + + The associated event data is of type ScreenConfig.
      +
      START_AUTO_LOGIN +
      This event indicates that someone has called + LoginHelper.startAutoLogin(String, String, AsyncCallback) .
      + After calling this method, the cloud will start a login script to input the account and password.
      +
      + The associated data of this type is an Integer value, with the following meanings: + // Valid values: + // `0`: Execution of automatic login succeeded (Please note that this only means that the execution + // process has started successfully and does not imply that login result has succeeded).
      +
      STATE_CLOSED +
      This event indicates that the session is closed, and thus it can not be used any more.
      + + The associated event data is of type Integer.For the value range, refer to + TcrCode.SessionStop.
      +
      STATE_CONNECTED +
      This event indicates that the session is connected.
      + + This event has no associated data.
      +
      STATE_INITED +
      This event indicates that the session has been initialized.
      + + The associated event data is of type String and represents the ClientSession which is further + used as a parameter to call the Cloud API CreateSession.
      +
      STATE_RECONNECTING +
      This event indicates that the session is reconnecting.
      +
      VIDEO_STREAM_CONFIG_CHANGED +
      This event indicates that the cloud Mobile screen information is updated.
      + + The associated event data is of type VideoStreamConfig.
      +
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + +
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethod and Description
      static TcrSession.EventvalueOf(java.lang.String name) +
      Returns the enum constant of this type with the specified name.
      +
      static TcrSession.Event[]values() +
      Returns an array containing the constants of this enum type, in +the order they are declared.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Enum

        +clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +getClass, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Enum Constant Detail

      + + + +
        +
      • +

        STATE_INITED

        +
        public static final TcrSession.Event STATE_INITED
        +
        This event indicates that the session has been initialized.
        + + The associated event data is of type String and represents the ClientSession which is further + used as a parameter to call the Cloud API CreateSession.
        +
      • +
      + + + +
        +
      • +

        STATE_CONNECTED

        +
        public static final TcrSession.Event STATE_CONNECTED
        +
        This event indicates that the session is connected.
        + + This event has no associated data.
        +
      • +
      + + + +
        +
      • +

        STATE_RECONNECTING

        +
        public static final TcrSession.Event STATE_RECONNECTING
        +
        This event indicates that the session is reconnecting. You can do some interaction to prompt your user.
        + + This event has no associated data.
        +
      • +
      + + + +
        +
      • +

        STATE_CLOSED

        +
        public static final TcrSession.Event STATE_CLOSED
        +
        This event indicates that the session is closed, and thus it can not be used any more.
        + + The associated event data is of type Integer.For the value range, refer to + TcrCode.SessionStop.
        +
      • +
      + + + +
        +
      • +

        CLIENT_STATS

        +
        public static final TcrSession.Event CLIENT_STATS
        +
        This event indicates that the performance data is updated.
        + + The associated event data is of type StatsInfo.
        +
      • +
      + + + +
        +
      • +

        CLIENT_IDLE

        +
        public static final TcrSession.Event CLIENT_IDLE
        +
        This event indicates that the user is in an idle state, that is, the user does not operate the mouse, + keyboard or screen for a while.
        + + This event has no associated data.
        +
      • +
      + + + + + + + +
        +
      • +

        GAME_START_COMPLETE

        +
        public static final TcrSession.Event GAME_START_COMPLETE
        +
        This event indicates that the status of the game process on the server has been changed.
        + + The associated event data is of type String in json format: +
         
        + {
        +     user_id: String      // The user ID
        +     game_id: String      // The game ID
        +     app_id: number
        +     request_id: string
        +     status: number       // The game start error code. Valid values:
        +                          // `0`: Started the game successfully;
        +                          // `1`: Failed to start the game;
        + }
        + 
        +
      • +
      + + + +
        +
      • +

        GAME_PROCESS_STOPPED

        +
        public static final TcrSession.Event GAME_PROCESS_STOPPED
        +
        This event indicates that the status of the game process on the server has been stopped.
        + + The associated event data is of type String in json format: +
         
        + {
        +     user_id: String      // The user ID
        +     game_name: String      // The game name
        +     timestamp: number      // stop time stamp
        +     message: String       // stop message
        + }
        + 
        +
      • +
      + + + +
        +
      • +

        ARCHIVE_LOAD_STATUS

        +
        public static final TcrSession.Event ARCHIVE_LOAD_STATUS
        +
        This event indicates the status of the archive loading in the server.
        + + The associated event data is of type String in json format: +
        
        + {
        +     user_id: String      // The user ID
        +     game_id: String      // The game ID
        +     name: String         // The eventual filename of the archive
        +     url: String          // The archive download address
        +     status: number       // The error code of the archive loading status.
        +                          // Valid values:
        +                          // `0`: loaded the archive successfully;
        +                          // `1`: Failed to download the archive;
        +                          // `2`: Failed to verify the archive;
        +                          // `3`: Failed to extract the archive;
        +                          // `4`: Other error;
        +                          // `5`: The archive was being downloaded.
        +     save_type: String    // "`Auto` or `Normal`",
        +     category_id: String  // The archive category ID
        +     archive_size: number // The archive size
        +     loaded_size: number  // The size of the downloaded archive
        + }
        + 
        +
      • +
      + + + +
        +
      • +

        ARCHIVE_SAVE_STATUS

        +
        public static final TcrSession.Event ARCHIVE_SAVE_STATUS
        +
        This event indicates the status of the archive saving in the server.
        + + The associated event data is of type String in json format: +
        
        + {
        +     user_id: String      // The user ID
        +     game_id: String      // The game ID
        +     name: String         // The eventual filename of the archive
        +     md5: String          // The MD5 value of the archive
        +    status: number        // The error code of the archive saving status.
        +                          // Valid values:
        +                          // `0`: saved the archive successfully;
        +                          // `1`: Failed to save the archive;
        +                          // `2`: Failed to compress the archive;
        +                          // `3`: Other error;
        +                          // `4`: The archive was being uploaded;
        +                          // `5`: The archive could not be found;
        +                          // `6`: The archive operations were too frequent.
        +   save_type: String      // "`Auto` or `Normal`",
        +   category_id: String    // The archive category ID
        +   archive_size: number   // The archive size
        +   saved_size: number     // The size of the saved archive
        + }
        + 
        +
      • +
      + + + +
        +
      • +

        INPUT_STATUS_CHANGED

        +
        public static final TcrSession.Event INPUT_STATUS_CHANGED
        +
        This event indicates that the input status of the server has changed.
        + + The associated event data is of type String in json format: +
        
        + {
        +   status: String  // If the status distributed by the cloud is `disabled`, input is disabled.
        + }
        + 
        +
      • +
      + + + +
        +
      • +

        CAMERA_STATUS_CHANGED

        +
        public static final TcrSession.Event CAMERA_STATUS_CHANGED
        +
        This event indicates that the camera status of the server has changed.
        + + The associated event data is of type String in json format: +
        
        + {
        +   status: String  // The server's camera status
        +                   // Valid values:
        +                   // `open_back`: Activates the back camera.
        +                   // `open_front`: Activates the front camera.
        +                   // `close`: Deactivates the camera.
        +
        +   width: number   // The width of the camera's resolution
        +   height: number  // The height of the camera's resolution
        + }
        + 
        +
      • +
      + + + +
        +
      • +

        REMOTE_DESKTOP_INFO

        +
        public static final TcrSession.Event REMOTE_DESKTOP_INFO
        +
        This event indicates that the cloud PC desktop information is updated.
        + + The associated event data is of type RemoteDesktopInfo.
        +
      • +
      + + + +
        +
      • +

        SCREEN_CONFIG_CHANGE

        +
        public static final TcrSession.Event SCREEN_CONFIG_CHANGE
        +
        This event indicates that the configuration of the cloud phone screen configuration has been changed.
        + + The associated event data is of type ScreenConfig.
        +
      • +
      + + + +
        +
      • +

        VIDEO_STREAM_CONFIG_CHANGED

        +
        public static final TcrSession.Event VIDEO_STREAM_CONFIG_CHANGED
        +
        This event indicates that the cloud Mobile screen information is updated.
        + + The associated event data is of type VideoStreamConfig.
        +
      • +
      + + + +
        +
      • +

        CURSOR_IMAGE_INFO

        +
        public static final TcrSession.Event CURSOR_IMAGE_INFO
        +
        This event indicates that the remote cursor image information is updated.
        + + The associated event data is of type CursorImageInfo.
        +
      • +
      + + + +
        +
      • +

        CURSOR_STATE_CHANGE

        +
        public static final TcrSession.Event CURSOR_STATE_CHANGE
        +
        This event indicates that the showing status of cloud cursor is changed.
        + + The associated event data is of type CursorState.
        +
      • +
      + + + +
        +
      • +

        MULTI_USER_SEAT_INFO

        +
        public static final TcrSession.Event MULTI_USER_SEAT_INFO
        +
        This event indicates that the multi user seat info is updated.
        + + The associated event data is of type MultiUserSeatInfo.
        +
      • +
      + + + +
        +
      • +

        MULTI_USER_ROLE_APPLY

        +
        public static final TcrSession.Event MULTI_USER_ROLE_APPLY
        +
        This event indicates that some user request to change seat. Note that only the host will receive this + event.
        + + The associated event data is of type RoleApplyInfo.
        +
      • +
      + + + + + + + +
        +
      • +

        START_AUTO_LOGIN

        +
        public static final TcrSession.Event START_AUTO_LOGIN
        +
        This event indicates that someone has called + LoginHelper.startAutoLogin(String, String, AsyncCallback) .
        + After calling this method, the cloud will start a login script to input the account and password.
        +
        + The associated data of this type is an Integer value, with the following meanings: + // Valid values: + // `0`: Execution of automatic login succeeded (Please note that this only means that the execution + // process has started successfully and does not imply that login result has succeeded). + // `-1`: Indicates that the execution of automatic login script has failed.
        +
      • +
      + + + +
        +
      • +

        OPEN_URL

        +
        public static final TcrSession.Event OPEN_URL
        +
        This event indicates that an openable url link was clicked.
        + + The associated event data is of type String in json format: +
        
        + {
        +   url: String  // The clicked url link
        + }
        + 
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static TcrSession.Event[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (TcrSession.Event c : TcrSession.Event.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static TcrSession.Event valueOf(java.lang.String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        +
        java.lang.NullPointerException - if the argument is null
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/TcrSession.Observer.html b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/TcrSession.Observer.html new file mode 100755 index 00000000..bf5a40e8 --- /dev/null +++ b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/TcrSession.Observer.html @@ -0,0 +1,233 @@ + + + + + +TcrSession.Observer (TcrSdkFull 3.22.0 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.tencent.tcr.sdk.api
+

Interface TcrSession.Observer

+
+
+
+
    +
  • +
    +
    Enclosing interface:
    +
    TcrSession
    +
    +
    +
    +
    public static interface TcrSession.Observer
    +
    This interface represents the observer of TcrSession.
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        onEvent

        +
        void onEvent(TcrSession.Event event,
        +             java.lang.Object eventData)
        +
        This will be called when some event happened in the session.
        +
        +
        Parameters:
        +
        event - TcrSession.Event.
        +
        eventData - The data relative to the event.
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/TcrSession.html b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/TcrSession.html new file mode 100755 index 00000000..c9647435 --- /dev/null +++ b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/TcrSession.html @@ -0,0 +1,930 @@ + + + + + +TcrSession (TcrSdkFull 3.22.0 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.tencent.tcr.sdk.api
+

Interface TcrSession

+
+
+
+
    +
  • +
    +
    +
    public interface TcrSession
    +
    This interface represents a session between the client and the TCR server.
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Nested Class Summary

      + + + + + + + + + + + + + + +
      Nested Classes 
      Modifier and TypeInterface and Description
      static class TcrSession.Event +
      Session event definitions.
      +
      static interface TcrSession.Observer +
      This interface represents the observer of TcrSession.
      +
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and TypeMethod and Description
      voidchangeSeat(java.lang.String userId, + MultiUser.Role targetRole, + int targetPlayerIndex, + AsyncCallback<java.lang.Void> callback) +
      Switch the role and seat of a user (`userID`) to `targetRole` and `targetPlayerIndex` respectively.
      +
      CustomDataChannelcreateCustomDataChannel(int port, + CustomDataChannel.Observer observer) +
      Creates a custom data channel.
      +
      GamepadgetGamepad() +
      Return the interface to interact with the cloud Gamepad in this session.
      +
      KeyboardgetKeyboard() +
      Return the interface to interact with the cloud keyboard in this session.
      +
      LoginHelpergetLoginHelper() +
      Deprecated.  +
      This interface is not recommended for use.
      +
      +
      MotionSensorgetMotionSensor() +
      Return the interface to interact with the cloud Sensor in this session.
      +
      MousegetMouse() +
      Return the interface to interact with the cloud Mouse in this session.
      +
      java.lang.StringgetRequestId() +
      Get the current connection's requestId.
      +
      TouchScreengetTouchScreen() +
      Return the interface to interact with the cloud TouchScreen in this session.
      +
      voidpasteText(java.lang.String text) +
      Send the text to the input box in the cloud application.
      + The input box of the cloud application must have obtained the focus and allow the user to paste text from the + clipboard.
      + + For Android cloud applications, sent text replaces the input box content.
      + For Windows cloud applications, sent text is added to the existing content in the input box.
      +
      voidpauseStreaming() +
      Pause the media stream.
      +
      voidrelease() +
      Release the session.
      +
      voidrequestChangeSeat(java.lang.String userId, + MultiUser.Role targetRole, + int targetPlayerIndex, + AsyncCallback<java.lang.Void> callback) +
      Apply to the room owner to switch the role and seat of a player (`userID`) to `targetRole` and + `targetPlayerIndex` respectively.
      +
      voidrestartCloudApp() +
      Restart the cloud application process.
      +
      voidresumeStreaming() +
      Resume the media stream.
      +
      voidsendCustomAudioData(java.nio.ByteBuffer audioData, + long captureTimeNs) +
      Send custom audio data.
      +
      voidsetAudioSink(AudioSink audioSink) +
      Sets a audio sink for this session.
      +
      voidsetDisableCloudInput(boolean disableCloudInput) +
      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.
      +
      +
      voidsetEnableAudioPlaying(boolean enable) +
      Set whether the SDK plays audio.
      +
      voidsetEnableLocalAudio(boolean enableLocalAudio) +
      Enable or disable the local audio track that is captured from the mic.
      +
      voidsetEnableLocalVideo(boolean enableLocalVideo) +
      Enable or disable the local video track that is captured from the camera.
      +
      voidsetLocalVideoProfile(int width, + int height, + int fps, + int minBitrate, + int maxBitrate, + boolean isFrontCamera) +
      Set the local video profile.
      +
      voidsetMicMute(java.lang.String userID, + int micStatus, + AsyncCallback<java.lang.Void> callback) +
      Change the mic status of the `userID` user.
      +
      voidsetRemoteAudioPlayProfile(float volume) +
      Set the playing profile of the remote audio.
      +
      voidsetRemoteDesktopResolution(int width, + int height) +
      Set the resolution of Cloud Desktop.
      +
      voidsetRemoteVideoProfile(int fps, + int minBitrate, + int maxBitrate, + AsyncCallback<java.lang.String> callback) +
      Deprecated. 
      +
      voidsetVideoSink(VideoSink videoSink) +
      Sets a video sink for this session.
      +
      booleanstart(java.lang.String serverSession) +
      Starts the session.
      +
      voidsyncRoomInfo() +
      Refresh the information of all seats.
      +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        start

        +
        boolean start(java.lang.String serverSession)
        +
        Starts the session. This method should only be called once.
        +
        +
        Parameters:
        +
        serverSession - The ServerSession returned from CreateSession + API.
        +
        Returns:
        +
        true if success, false otherwise.
        +
        +
      • +
      + + + +
        +
      • +

        release

        +
        void release()
        +
        Release the session.
        + The session will disconnect from the sever, and the local resources of this + session will be released. Once released, this session instance cannot be used anymore.
        +
      • +
      + + + +
        +
      • +

        getRequestId

        +
        java.lang.String getRequestId()
        +
        Get the current connection's requestId. + + It takes effect after calling start(String).
        +
      • +
      + + + +
        +
      • +

        setVideoSink

        +
        void setVideoSink(VideoSink videoSink)
        +
        Sets a video sink for this session. After that, the SDK will callback the decoded video frame data to the + videoSink. + +

        You may use this interface to post-process or render video images.

        +
        +
        Parameters:
        +
        videoSink - The view sink to be set.This can be null to remove any existing one.
        +
        +
      • +
      + + + +
        +
      • +

        setAudioSink

        +
        void setAudioSink(AudioSink audioSink)
        +
        Sets a audio sink for this session. After that, the SDK will callback the audio data to the audioSink
        +
        +
        Parameters:
        +
        audioSink - The audio sink to be set.
        +
        +
      • +
      + + + +
        +
      • +

        setEnableAudioPlaying

        +
        void setEnableAudioPlaying(boolean enable)
        +
        Set whether the SDK plays audio.
        +
        +
        Parameters:
        +
        enable - true to enable audio playback, false otherwise.
        +
        +
      • +
      + + + +
        +
      • +

        pauseStreaming

        +
        void pauseStreaming()
        +
        Pause the media stream.
        +
      • +
      + + + +
        +
      • +

        resumeStreaming

        +
        void resumeStreaming()
        +
        Resume the media stream.
        +
      • +
      + + + +
        +
      • +

        setRemoteVideoProfile

        +
        @Deprecated
        +void setRemoteVideoProfile(int fps,
        +                                       int minBitrate,
        +                                       int maxBitrate,
        +                                       AsyncCallback<java.lang.String> callback)
        +
        Deprecated. 
        +
      • +
      + + + +
        +
      • +

        setRemoteAudioPlayProfile

        +
        void setRemoteAudioPlayProfile(float volume)
        +
        Set the playing profile of the remote audio.
        +
        +
        Parameters:
        +
        volume - The volume scalar in the range of [0,10] that will be set on this remote audio stream.
        +
        +
      • +
      + + + +
        +
      • +

        setLocalVideoProfile

        +
        void setLocalVideoProfile(int width,
        +                          int height,
        +                          int fps,
        +                          int minBitrate,
        +                          int maxBitrate,
        +                          boolean isFrontCamera)
        +
        Set the local video profile. Each parameter value of this method needs to be within its valid range, otherwise + the method call will be invalid.
        +
        +
        Parameters:
        +
        width - The frame width, range[128, 1920]. Suggested value: 640.
        +
        height - The frame height, range[128, 1920]. Suggested value: 480.
        +
        fps - The frame rate must be greater than 0. Suggested value: 30.
        +
        minBitrate - The minimum bitrate in kbps must be greater than or equal to 0. Suggested value: 512.
        +
        maxBitrate - The maximum bitrate in kbps must be greater than 0. Suggested value: 1024.
        +
        isFrontCamera - whether to use the front camera. Suggested value: true.
        +
        +
      • +
      + + + +
        +
      • +

        setEnableLocalVideo

        +
        void setEnableLocalVideo(boolean enableLocalVideo)
        +
        Enable or disable the local video track that is captured from the camera.
        +
        +
        Parameters:
        +
        enableLocalVideo - true to enable the local video, false otherwise.
        +
        +
      • +
      + + + +
        +
      • +

        setEnableLocalAudio

        +
        void setEnableLocalAudio(boolean enableLocalAudio)
        +
        Enable or disable the local audio track that is captured from the mic.
        +
        +
        Parameters:
        +
        enableLocalAudio - true to enable the local audio, false otherwise.
        +
        +
      • +
      + + + +
        +
      • +

        sendCustomAudioData

        +
        void sendCustomAudioData(java.nio.ByteBuffer audioData,
        +                         long captureTimeNs)
        +
        Send custom audio data. +
        + You MUST call this method within the same thread. Use this method to send audio data to the processing pipeline + when custom audio capture is enabled. This method is only effective when + TcrSessionConfig.enableCustomAudioCapture is true.
        +
        +
        Parameters:
        +
        audioData - A ByteBuffer containing the audio data. This buffer MUST contain PCM data + (16-bit) according to the configured audio format.
        +
        captureTimeNs - The capture time of the audio data, in nanoseconds. This timestamp should be a + monotonically increasing value, used for synchronizing the audio data.
        +
        See Also:
        +
        TcrSessionConfig.Builder.enableCustomAudioCapture(boolean, int, boolean)
        +
        +
      • +
      + + + +
        +
      • +

        restartCloudApp

        +
        void restartCloudApp()
        +
        Restart the cloud application process.
        +
      • +
      + + + +
        +
      • +

        pasteText

        +
        void pasteText(java.lang.String text)
        +
        Send the text to the input box in the cloud application.
        + The input box of the cloud application must have obtained the focus and allow the user to paste text from the + clipboard.
        + + For Android cloud applications, sent text replaces the input box content.
        + For Windows cloud applications, sent text is added to the existing content in the input box.
        +
        +
        Parameters:
        +
        text - The text to be sent
        +
        +
      • +
      + + + +
        +
      • +

        setDisableCloudInput

        +
        void setDisableCloudInput(boolean disableCloudInput)
        +
        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.
        +
        +
        +
        Parameters:
        +
        disableCloudInput - true disables the cloud input.
        + false enables the cloud input, allowing the soft keyboard to appear for user interaction with + the cloud application via touch screen.
        +
        +
      • +
      + + + +
        +
      • +

        setRemoteDesktopResolution

        +
        void setRemoteDesktopResolution(int width,
        +                                int height)
        +
        Set the resolution of Cloud Desktop. If the cloud PC application is in full-screen mode, the resolution of the + downstream video stream will also change accordingly.
        + This method is currently only valid for scenarios where the cloud is a PC application, and the scenario where the + cloud is a mobile application is to be supported.
        +
        +
        Parameters:
        +
        width - Width of cloud desktop.
        +
        height - Height of cloud desktop.
        +
        +
      • +
      + + + +
        +
      • +

        getLoginHelper

        +
        LoginHelper getLoginHelper()
        +
        Deprecated. This interface is not recommended for use.
        +
        Returns a login helper object for implementing automatic login functionality.
        +
        +
        Returns:
        +
        This function must be called after the successful execution of start(String) function, + otherwise the return value will be null.
        +
        +
      • +
      + + + +
        +
      • +

        getKeyboard

        +
        Keyboard getKeyboard()
        +
        Return the interface to interact with the cloud keyboard in this session.
        +
        +
        Returns:
        +
        The interface to interact with the cloud keyboard in this session.
        +
        +
      • +
      + + + +
        +
      • +

        getMouse

        +
        Mouse getMouse()
        +
        Return the interface to interact with the cloud Mouse in this session.
        +
        +
        Returns:
        +
        The interface to interact with the cloud Mouse in this session.
        +
        +
      • +
      + + + +
        +
      • +

        getGamepad

        +
        Gamepad getGamepad()
        +
        Return the interface to interact with the cloud Gamepad in this session.
        +
        +
        Returns:
        +
        The interface to interact with the cloud Gamepad in this session.
        +
        +
      • +
      + + + +
        +
      • +

        getTouchScreen

        +
        TouchScreen getTouchScreen()
        +
        Return the interface to interact with the cloud TouchScreen in this session.
        +
        +
        Returns:
        +
        The interface to interact with the cloud TouchScreen in this session.
        +
        +
      • +
      + + + +
        +
      • +

        getMotionSensor

        +
        MotionSensor getMotionSensor()
        +
        Return the interface to interact with the cloud Sensor in this session.
        +
        +
        Returns:
        +
        The interface to interact with the cloud Sensor in this session.
        +
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        requestChangeSeat

        +
        void requestChangeSeat(java.lang.String userId,
        +                       MultiUser.Role targetRole,
        +                       int targetPlayerIndex,
        +                       AsyncCallback<java.lang.Void> callback)
        +
        Apply to the room owner to switch the role and seat of a player (`userID`) to `targetRole` and + `targetPlayerIndex` respectively. +
        + If the change succeeds, `AsyncCallback.onSuccess(Object)` will be called back. +
        + This API can only be called by a user who is not the room owner. If it is called by the room owner, the call will + fail, and `TcrCode.MULTI_PLAYER_IGNORED_HOST_SUBMIT` will be passed in to `code` of the `AsyncCallback.onFailure(int, String)` callback. +
        + If the API call times out, the call will fail, and `TcrCode.ERR_TIMEOUT` will be passed in to + `code` of the `AsyncCallback.onFailure(int, String)` callback.
        +
        +
        Parameters:
        +
        userId - The target player ID
        +
        targetRole - The target role `MultiUser.Role`
        +
        targetPlayerIndex - The target seat. This parameter can take effect only for the `Player` role and + will be `0` for the `Viewer` role.
        +
        callback - The callback for the setting result.
        + This callback is not guaranteed to be called on the UI thread.
        +
        +
      • +
      + + + + + + + + +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/TcrSessionConfig.Builder.html b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/TcrSessionConfig.Builder.html new file mode 100755 index 00000000..d59dc1bc --- /dev/null +++ b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/TcrSessionConfig.Builder.html @@ -0,0 +1,477 @@ + + + + + +TcrSessionConfig.Builder (TcrSdkFull 3.22.0 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.tencent.tcr.sdk.api
+

Class TcrSessionConfig.Builder

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    TcrSessionConfig
    +
    +
    +
    +
    public static class TcrSessionConfig.Builder
    +extends java.lang.Object
    +
  • +
+
+
+ +
+
+ +
+
+ + +
+ + + + + + + +
+ + + + diff --git a/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/TcrSessionConfig.VideoCodecType.html b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/TcrSessionConfig.VideoCodecType.html new file mode 100755 index 00000000..35a50c35 --- /dev/null +++ b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/TcrSessionConfig.VideoCodecType.html @@ -0,0 +1,367 @@ + + + + + +TcrSessionConfig.VideoCodecType (TcrSdkFull 3.22.0 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.tencent.tcr.sdk.api
+

Enum TcrSessionConfig.VideoCodecType

+
+
+ +
+ +
+
+
    +
  • + +
      +
    • + + +

      Enum Constant Summary

      + + + + + + + + + + + + + + + + + +
      Enum Constants 
      Enum Constant and Description
      H264 
      H265 
      VP8 
      VP9 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + +
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethod and Description
      static TcrSessionConfig.VideoCodecTypevalueOf(java.lang.String name) +
      Returns the enum constant of this type with the specified name.
      +
      static TcrSessionConfig.VideoCodecType[]values() +
      Returns an array containing the constants of this enum type, in +the order they are declared.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Enum

        +clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +getClass, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + + + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static TcrSessionConfig.VideoCodecType[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (TcrSessionConfig.VideoCodecType c : TcrSessionConfig.VideoCodecType.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static TcrSessionConfig.VideoCodecType valueOf(java.lang.String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        +
        java.lang.NullPointerException - if the argument is null
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/TcrSessionConfig.html b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/TcrSessionConfig.html new file mode 100755 index 00000000..346e1748 --- /dev/null +++ b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/TcrSessionConfig.html @@ -0,0 +1,510 @@ + + + + + +TcrSessionConfig (TcrSdkFull 3.22.0 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.tencent.tcr.sdk.api
+

Class TcrSessionConfig

+
+
+ +
+
    +
  • +
    +
    +
    public class TcrSessionConfig
    +extends java.lang.Object
    +
    The Tcr session configuration class
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      + + + +
        +
      • +

        builder

        +
        public static TcrSessionConfig.Builder builder()
        +
        return the builder for TcrSessionConfig
        +
        +
        Returns:
        +
        The builder
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/TcrTestEnv.html b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/TcrTestEnv.html new file mode 100755 index 00000000..f8a78dda --- /dev/null +++ b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/TcrTestEnv.html @@ -0,0 +1,344 @@ + + + + + +TcrTestEnv (TcrSdkFull 3.22.0 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.tencent.tcr.sdk.api
+

Class TcrTestEnv

+
+
+ +
+
    +
  • +
    +
    +
    public class TcrTestEnv
    +extends java.lang.Object
    +
    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.
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      static TcrTestEnvgetInstance() +
      获取TcrTestEnv 实例。
      +
      voidstartSession(Context ctx, + java.lang.String experienceCode, + java.lang.String clientSession, + <any> listener, + ErrorListener errorListener) +
      Request to start the session in the test environment and obtain the server session.
      +
      voidstartSession(Context ctx, + java.lang.String experienceCode, + java.lang.String clientSession, + java.lang.String userID, + java.lang.String hostUserID, + java.lang.String role, + boolean isTestEnv, + boolean isInternational, + <any> listener, + ErrorListener errorListener) +
      Request to start the session in the test environment and obtain the server session.
      +
      voidstopSession(java.lang.String experienceCode) +
      Request to stop the session in the test environment.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        startSession

        +
        public void startSession(Context ctx,
        +                         java.lang.String experienceCode,
        +                         java.lang.String clientSession,
        +                         <any> listener,
        +                         ErrorListener errorListener)
        +
        Request to start the session in the test environment and obtain the server session.
        +
        +
        Parameters:
        +
        ctx - Android's Context
        +
        experienceCode - The experience code created in the console.
        +
        clientSession - The client session returned by the TcrSession.Event.STATE_INITED event + after SDK initialization is successful.
        +
        listener - The listener for successful requests. + The parameter of the onResponse method after a successful request is the server session.
        +
        errorListener - The listener for failed requests.
        +
        +
      • +
      + + + +
        +
      • +

        startSession

        +
        public void startSession(Context ctx,
        +                         java.lang.String experienceCode,
        +                         java.lang.String clientSession,
        +                         java.lang.String userID,
        +                         java.lang.String hostUserID,
        +                         java.lang.String role,
        +                         boolean isTestEnv,
        +                         boolean isInternational,
        +                         <any> listener,
        +                         ErrorListener errorListener)
        +
        Request to start the session in the test environment and obtain the server session.
        +
        +
        Parameters:
        +
        ctx - Android's Context
        +
        experienceCode - The experience code created in the console.
        +
        clientSession - The client session returned by the TcrSession.Event.STATE_INITED event + after SDK initialization is successful.
        +
        userID - The user id you want to set
        +
        hostUserID - The room host user id. default null
        +
        role - is player or not. valid value: Player Viewer
        +
        isInternational - Is it a Tencent Cloud International Station experience code
        +
        listener - The listener for successful requests. + The parameter of the onResponse method after a successful request is the server session.
        +
        errorListener - The listener for failed requests.
        +
        +
      • +
      + + + +
        +
      • +

        stopSession

        +
        public void stopSession(java.lang.String experienceCode)
        +
        Request to stop the session in the test environment.
        +
        +
        Parameters:
        +
        experienceCode - The experience code created in the console.
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/TouchScreen.html b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/TouchScreen.html new file mode 100755 index 00000000..a98b47b9 --- /dev/null +++ b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/TouchScreen.html @@ -0,0 +1,266 @@ + + + + + +TouchScreen (TcrSdkFull 3.22.0 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.tencent.tcr.sdk.api
+

Interface TouchScreen

+
+
+
+
    +
  • +
    +
    +
    public interface TouchScreen
    +
    This interface is used to interact with the virtual touch screen on the server.
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + +
      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethod and Description
      voidtouch(float x, + float y, + int eventType, + int fingerID, + int width, + int height, + long timestamp) +
      Trigger the touch event of the cloud touch screen.
      +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        touch

        +
        void touch(float x,
        +           float y,
        +           int eventType,
        +           int fingerID,
        +           int width,
        +           int height,
        +           long timestamp)
        +
        Trigger the touch event of the cloud touch screen. + +

        If you have rendered streaming video on the local view and want to obtain the parameters of the touch event + that triggers the cloud touch screen from the touch event of the local view, then you may need to perform some + coordinate system conversion, and convert the coordinates of the touch point on the local view to a coordinate + value on the streaming video. The coordinate system of the streaming video is based on the upper left corner of + the streaming video as the origin, the x-axis is rightward, and the y-axis is downward. For example, the + streaming video shown in the figure below is centered and rendered on the local view, and the touch point + coordinates (a, b) of the local view need to be converted to coordinates (x, y) in the streaming video coordinate + system.

        +
        
        +        ┌─────┬─────────────────┬─────┐
        +        │     │  +(a,b)         │     │
        +        │     │   (x,y)         │     │
        +        │     │                 │     │
        +        │     │                 │     │
        +        │     │                 │     │
        +        └─────┴─────────────────┴─────┘
        +  
        +
        +
        Parameters:
        +
        x - The coordinate value x of the touch point on the streaming video coordinate system.
        +
        y - The coordinate value y of the touch point on the streaming video coordinate system.
        +
        eventType - 0 for press, 1 for move, 2 for lift.
        +
        fingerID - The pointer identifier associated with a particular pointer data index in this event. The + identifier tells you the actual pointer number associated with the data, accounting for individual + pointers going up and down since the start of the current gesture. You may obtain this value from + android.view.MotionEvent#getPointerId(int).
        +
        width - The width of the streaming video.
        +
        height - The height of the streaming video.
        +
        timestamp - The time this event occurred, in the android.os.SystemClock#uptimeMillis time + base. You may obtain this value from android.view.MotionEvent#getEventTime().
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/VideoFrame.Buffer.html b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/VideoFrame.Buffer.html new file mode 100755 index 00000000..7f834bda --- /dev/null +++ b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/VideoFrame.Buffer.html @@ -0,0 +1,267 @@ + + + + + +VideoFrame.Buffer (TcrSdkFull 3.22.0 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.tencent.tcr.sdk.api
+

Interface VideoFrame.Buffer

+
+
+
+ +
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        toI420

        +
        VideoFrame.I420Buffer toI420()
        +
        Convert Buffer to yuv 420 type
        +
        +
        Returns:
        +
        I420Buffer
        +
        +
      • +
      + + + +
        +
      • +

        retain

        +
        void retain()
        +
        Increases ref count by one.
        +
      • +
      + + + +
        +
      • +

        release

        +
        void release()
        +
        Decreases ref count by one. When the ref count reaches zero, resources related to the object + will be freed.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/VideoFrame.I420Buffer.html b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/VideoFrame.I420Buffer.html new file mode 100755 index 00000000..649a55de --- /dev/null +++ b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/VideoFrame.I420Buffer.html @@ -0,0 +1,321 @@ + + + + + +VideoFrame.I420Buffer (TcrSdkFull 3.22.0 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.tencent.tcr.sdk.api
+

Interface VideoFrame.I420Buffer

+
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethod and Description
      java.nio.ByteBuffergetDataU() +
      A direct ByteBuffer containing U-plane data.
      +
      java.nio.ByteBuffergetDataV() +
      A direct ByteBuffer containing V-plane data.
      +
      java.nio.ByteBuffergetDataY() +
      A direct ByteBuffer containing Y-plane data.
      +
      intgetStrideU() +
      Represents the number of bytes between the start of each row of U-plane pixels in the video frame
      +
      intgetStrideV() +
      Represents the number of bytes between the start of each row of V-plane pixels in the video frame
      +
      intgetStrideY() +
      Represents the number of bytes between the start of each row of Y-plane pixels in the video frame
      +
      + +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getDataY

        +
        java.nio.ByteBuffer getDataY()
        +
        A direct ByteBuffer containing Y-plane data. The buffer capacity is at least + StrideY * Height bytes.
        +
      • +
      + + + +
        +
      • +

        getDataU

        +
        java.nio.ByteBuffer getDataU()
        +
        A direct ByteBuffer containing U-plane data. The buffer capacity is at least + StrideU * ((Height + 1) / 2) bytes.
        +
      • +
      + + + +
        +
      • +

        getDataV

        +
        java.nio.ByteBuffer getDataV()
        +
        A direct ByteBuffer containing V-plane data. The buffer capacity is at least + StrideV * ((Height + 1) / 2) bytes.
        +
      • +
      + + + +
        +
      • +

        getStrideY

        +
        int getStrideY()
        +
        Represents the number of bytes between the start of each row of Y-plane pixels in the video frame
        +
      • +
      + + + +
        +
      • +

        getStrideU

        +
        int getStrideU()
        +
        Represents the number of bytes between the start of each row of U-plane pixels in the video frame
        +
      • +
      + + + +
        +
      • +

        getStrideV

        +
        int getStrideV()
        +
        Represents the number of bytes between the start of each row of V-plane pixels in the video frame
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/VideoFrame.TextureBuffer.html b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/VideoFrame.TextureBuffer.html new file mode 100755 index 00000000..11c63461 --- /dev/null +++ b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/VideoFrame.TextureBuffer.html @@ -0,0 +1,259 @@ + + + + + +VideoFrame.TextureBuffer (TcrSdkFull 3.22.0 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.tencent.tcr.sdk.api
+

Interface VideoFrame.TextureBuffer

+
+
+
+ +
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getTextureID

        +
        int getTextureID()
        +
        The parameter "textureID" is a public integer variable that represents the ID of a texture in the graphics + memory. It is used to store the unique identifier of a texture that has been loaded into the graphics memory + and can be accessed by the rendering engine.
        +
      • +
      + + + +
        +
      • +

        getTransformMatrix

        +
        Matrix getTransformMatrix()
        +
        Retrieve the transform matrix associated with the frame. This transform matrix maps 2D + homogeneous coordinates of the form (s, t, 1) with s and t in the inclusive range [0, 1] to + the coordinate that should be used to sample that location from the buffer.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/VideoFrame.html b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/VideoFrame.html new file mode 100755 index 00000000..be527227 --- /dev/null +++ b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/VideoFrame.html @@ -0,0 +1,358 @@ + + + + + +VideoFrame (TcrSdkFull 3.22.0 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.tencent.tcr.sdk.api
+

Interface VideoFrame

+
+
+
+
    +
  • +
    +
    +
    public interface VideoFrame
    +
    This interface represents a Video frame data.
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getRotation

        +
        int getRotation()
        +
        The clockwise rotation angle of video pixels.
        +
      • +
      + + + +
        +
      • +

        getTimestampNs

        +
        long getTimestampNs()
        +
        The timestamp of the video frame, in ns
        +
      • +
      + + + +
        +
      • +

        getWidth

        +
        int getWidth()
        +
        Video frame width
        +
      • +
      + + + +
        +
      • +

        getHeight

        +
        int getHeight()
        +
        Video frame height
        +
      • +
      + + + +
        +
      • +

        retain

        +
        void retain()
        +
        Increases ref count by one.
        +
      • +
      + + + +
        +
      • +

        release

        +
        void release()
        +
        Decreases ref count by one. When the ref count reaches zero, resources related to the object + will be freed.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/VideoFrameBufferCallback.html b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/VideoFrameBufferCallback.html new file mode 100755 index 00000000..09166452 --- /dev/null +++ b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/VideoFrameBufferCallback.html @@ -0,0 +1,268 @@ + + + + + +VideoFrameBufferCallback (TcrSdkFull 3.22.0 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.tencent.tcr.sdk.api
+

Interface VideoFrameBufferCallback

+
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + +
      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethod and Description
      voidonMediaCodecFormat(java.lang.String mimeType, + int width, + int height) +
      Called when the video format has changed.
      +
      voidonVideoBufferCallback(java.nio.ByteBuffer byteBuffer, + int width, + int height, + long captureTimeNs) +
      Called when a piece of video raw data is ready.
      +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        onVideoBufferCallback

        +
        void onVideoBufferCallback(java.nio.ByteBuffer byteBuffer,
        +                           int width,
        +                           int height,
        +                           long captureTimeNs)
        +
        Called when a piece of video raw data is ready.
        +
        +
        Parameters:
        +
        byteBuffer - The data buffer to be decoded.
        +
        width - The width of the frame (in pixels)
        +
        height - The height of the frame (in pixels)
        +
        captureTimeNs - The capture time of the frame in nano seconds
        +
        +
      • +
      + + + +
        +
      • +

        onMediaCodecFormat

        +
        void onMediaCodecFormat(java.lang.String mimeType,
        +                        int width,
        +                        int height)
        +
        Called when the video format has changed. You may need these output parameters to build or update + your MediaFormat.
        +
        +
        Parameters:
        +
        mimeType - The mime type of the content.
        +
        width - The width of the frame (in pixels)
        +
        height - The height of the frame (in pixels)
        +
        See Also:
        +
        MediaFormat#createVideoFormat(String, int, int)
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/VideoSink.html b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/VideoSink.html new file mode 100755 index 00000000..eaa7276b --- /dev/null +++ b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/VideoSink.html @@ -0,0 +1,226 @@ + + + + + +VideoSink (TcrSdkFull 3.22.0 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.tencent.tcr.sdk.api
+

Interface VideoSink

+
+
+
+
    +
  • +
    +
    +
    public interface VideoSink
    +
    This interface represents a video sink.
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        onFrame

        +
        void onFrame(VideoFrame frame)
        +
        Called when a video frame is received.
        +
        +
        Parameters:
        +
        frame - The received video frame. See VideoFrame.
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/data/CursorImageInfo.html b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/data/CursorImageInfo.html new file mode 100755 index 00000000..24389089 --- /dev/null +++ b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/data/CursorImageInfo.html @@ -0,0 +1,340 @@ + + + + + +CursorImageInfo (TcrSdkFull 3.22.0 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.tencent.tcr.sdk.api.data
+

Class CursorImageInfo

+
+
+ +
+
    +
  • +
    +
    +
    public class CursorImageInfo
    +extends java.lang.Object
    +
    The remote cursor image information.
    + + The mouse picture is a rectangle. + By default, the mouse pointer points to the upper left vertex of the rectangle. + When the mouse style pointer no longer points to the upper + left vertex, it needs to offset the coordinate position it points to.
    + +
    
    +                               HotSpotY
    +                 ┌──────────────────▲───────────────────────────┐
    +                 │                  │                           │
    +                 │    HotSpotX      │                           │
    +                 ◀───────────────── ●●                          │
    +                 │                ●●●●●●●                       │
    +                 │              ●●●     ●●●                     │
    +                 │            ●●●          ●●●                  │
    +                 │          ●●●              ●●                 │
    +                 │         ●●                 ●●                │
    +                 │         ●●●●●●●●●●●●●●●●●●●●●                │
    +                 │                ●       ●                     │
    +                 │                ●       ●                     │
    +                 │                ●       ●                     │
    +                 │                ●       ●                     │
    +                 │                ●       ●                     │
    +                 │                ●       ●                     │
    +                 │                ●●●●●●●●●                     │
    +                 │                                              │
    +                 │                                              │
    +                 │                                              │
    +                 └──────────────────────────────────────────────┘
    + 
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Summary

      + + + + + + + + + + + + + + + + + + +
      Fields 
      Modifier and TypeField and Description
      BitmapcursorBitmap +
      cursorBitmap mouse pointer picture
      +
      inthotSpotX +
      hotSpotX mouse x coordinate offset, default value is 0 (The mouse pointer points to the upper left vertex)
      +
      inthotSpotY +
      hotSpotY mouse y coordinate offset, default value is 0 (The mouse pointer points to the upper left vertex)
      +
      +
    • +
    + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      CursorImageInfo(Bitmap cursorBitmap, + int hotSpotX, + int hotSpotY) 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        cursorBitmap

        +
        public Bitmap cursorBitmap
        +
        cursorBitmap mouse pointer picture
        +
      • +
      + + + +
        +
      • +

        hotSpotX

        +
        public int hotSpotX
        +
        hotSpotX mouse x coordinate offset, default value is 0 (The mouse pointer points to the upper left vertex)
        +
      • +
      + + + +
        +
      • +

        hotSpotY

        +
        public int hotSpotY
        +
        hotSpotY mouse y coordinate offset, default value is 0 (The mouse pointer points to the upper left vertex)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CursorImageInfo

        +
        public CursorImageInfo(Bitmap cursorBitmap,
        +                       int hotSpotX,
        +                       int hotSpotY)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/data/CursorState.html b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/data/CursorState.html new file mode 100755 index 00000000..ee66300c --- /dev/null +++ b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/data/CursorState.html @@ -0,0 +1,273 @@ + + + + + +CursorState (TcrSdkFull 3.22.0 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.tencent.tcr.sdk.api.data
+

Class CursorState

+
+
+ +
+
    +
  • +
    +
    +
    public class CursorState
    +extends java.lang.Object
    +
    The showing state of cloud cursor
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      CursorState(boolean cursorShowState) 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      java.lang.StringtoString() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CursorState

        +
        public CursorState(boolean cursorShowState)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/data/GameStartParam.html b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/data/GameStartParam.html new file mode 100755 index 00000000..b4b38de8 --- /dev/null +++ b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/data/GameStartParam.html @@ -0,0 +1,486 @@ + + + + + +GameStartParam (TcrSdkFull 3.22.0 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.tencent.tcr.sdk.api.data
+

Class GameStartParam

+
+
+ +
+
    +
  • +
    +
    +
    public class GameStartParam
    +extends java.lang.Object
    +
    该类封装了开始游戏所需要的参数 + 客户端需要根据实际需求自定义业务后台的请求参数 + 业务后台API文档:https://cloud.tencent.com/document/product/1162/40740
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        GameStartParam

        +
        public GameStartParam(java.lang.String clientSession)
        +
        构造函数,传入app回调拿到的clientSession
        +
        +
        Parameters:
        +
        clientSession - 客户端请求参数
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        setGameCode

        +
        public GameStartParam setGameCode(java.lang.String gameCode)
        +
      • +
      + + + +
        +
      • +

        setUserId

        +
        public GameStartParam setUserId(java.lang.String userId)
        +
      • +
      + + + +
        +
      • +

        setGameId

        +
        public GameStartParam setGameId(java.lang.String gameId)
        +
      • +
      + + + +
        +
      • +

        setGameRegion

        +
        public GameStartParam setGameRegion(java.lang.String gameRegion)
        +
      • +
      + + + + + + + +
        +
      • +

        setGroupId

        +
        public GameStartParam setGroupId(java.lang.String groupId)
        +
      • +
      + + + +
        +
      • +

        setResolution

        +
        public GameStartParam setResolution(java.lang.String resolution)
        +
      • +
      + + + +
        +
      • +

        setMaxBitrate

        +
        public GameStartParam setMaxBitrate(int maxBitrate)
        +
      • +
      + + + +
        +
      • +

        setMinBitrate

        +
        public GameStartParam setMinBitrate(int minBitrate)
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        setRole

        +
        public GameStartParam setRole(java.lang.String role)
        +
      • +
      + + + +
        +
      • +

        setHostUserId

        +
        public GameStartParam setHostUserId(java.lang.String hostUserId)
        +
      • +
      + + + +
        +
      • +

        setAppId

        +
        public GameStartParam setAppId(java.lang.String appId)
        +
      • +
      + + + +
        +
      • +

        setGameParas

        +
        public GameStartParam setGameParas(java.lang.String gameParas)
        +
      • +
      + + + +
        +
      • +

        getRequestId

        +
        public java.lang.String getRequestId()
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public java.lang.String toJson()
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/data/MultiUser.Role.html b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/data/MultiUser.Role.html new file mode 100755 index 00000000..bfa0b2b9 --- /dev/null +++ b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/data/MultiUser.Role.html @@ -0,0 +1,349 @@ + + + + + +MultiUser.Role (TcrSdkFull 3.22.0 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.tencent.tcr.sdk.api.data
+

Enum MultiUser.Role

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    java.io.Serializable, java.lang.Comparable<MultiUser.Role>
    +
    +
    +
    Enclosing class:
    +
    MultiUser
    +
    +
    +
    +
    public static enum MultiUser.Role
    +extends java.lang.Enum<MultiUser.Role>
    +
    Multiplayer interactive cloud game user roles
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Enum Constant Summary

      + + + + + + + + + + + +
      Enum Constants 
      Enum Constant and Description
      PLAYER +
      Player
      +
      VIEWER +
      Viewer
      +
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + +
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethod and Description
      static MultiUser.RolevalueOf(java.lang.String name) +
      Returns the enum constant of this type with the specified name.
      +
      static MultiUser.Role[]values() +
      Returns an array containing the constants of this enum type, in +the order they are declared.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Enum

        +clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +getClass, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + + + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static MultiUser.Role[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (MultiUser.Role c : MultiUser.Role.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static MultiUser.Role valueOf(java.lang.String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        +
        java.lang.NullPointerException - if the argument is null
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/data/MultiUser.html b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/data/MultiUser.html new file mode 100755 index 00000000..ef3d420e --- /dev/null +++ b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/data/MultiUser.html @@ -0,0 +1,478 @@ + + + + + +MultiUser (TcrSdkFull 3.22.0 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.tencent.tcr.sdk.api.data
+

Class MultiUser

+
+
+ +
+
    +
  • +
    +
    +
    public class MultiUser
    +extends java.lang.Object
    +
    Message body for user parameters.
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Nested Class Summary

      + + + + + + + + + + +
      Nested Classes 
      Modifier and TypeClass and Description
      static class MultiUser.Role +
      Multiplayer interactive cloud game user roles
      +
      +
    • +
    + +
      +
    • + + +

      Field Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Fields 
      Modifier and TypeField and Description
      static <any>CREATOR 
      static intMIC_STATUS_DISABLE +
      If the mic is muted by the room owner, the user cannot unmute it.
      +
      static intMIC_STATUS_OFF +
      If the mic is muted by the user, the user can unmute it.
      +
      static intMIC_STATUS_ON +
      The user unmutes the mic.
      +
      intmicStatus +
      The status of the user mic + `0`: The mic is muted by the room owner.
      +
      intseatIndex +
      The user seat
      +
      java.lang.StringuserID +
      The user ID
      +
      +
    • +
    + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + +
      Constructors 
      ModifierConstructor and Description
      protected MultiUser(Parcel in) 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      intdescribeContents() 
      java.lang.StringtoString() 
      voidwriteToParcel(Parcel dest, + int flags) 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        userID

        +
        public java.lang.String userID
        +
        The user ID
        +
      • +
      + + + +
        +
      • +

        seatIndex

        +
        public int seatIndex
        +
        The user seat
        +
      • +
      + + + +
        +
      • +

        micStatus

        +
        public int micStatus
        +
        The status of the user mic + `0`: The mic is muted by the room owner. + `1`: The mic is muted by the user. + `2`: The mic is unmuted.
        +
        +
        See Also:
        +
        MIC_STATUS_DISABLE, +MIC_STATUS_OFF, +MIC_STATUS_ON
        +
        +
      • +
      + + + +
        +
      • +

        MIC_STATUS_DISABLE

        +
        public static final int MIC_STATUS_DISABLE
        +
        If the mic is muted by the room owner, the user cannot unmute it.
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        MIC_STATUS_OFF

        +
        public static final int MIC_STATUS_OFF
        +
        If the mic is muted by the user, the user can unmute it.
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        MIC_STATUS_ON

        +
        public static final int MIC_STATUS_ON
        +
        The user unmutes the mic.
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        CREATOR

        +
        public static final <any> CREATOR
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        MultiUser

        +
        protected MultiUser(Parcel in)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        describeContents

        +
        public int describeContents()
        +
      • +
      + + + +
        +
      • +

        writeToParcel

        +
        public void writeToParcel(Parcel dest,
        +                          int flags)
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/data/MultiUserSeatInfo.html b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/data/MultiUserSeatInfo.html new file mode 100755 index 00000000..65d42115 --- /dev/null +++ b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/data/MultiUserSeatInfo.html @@ -0,0 +1,346 @@ + + + + + +MultiUserSeatInfo (TcrSdkFull 3.22.0 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.tencent.tcr.sdk.api.data
+

Class MultiUserSeatInfo

+
+
+ +
+
    +
  • +
    +
    +
    public class MultiUserSeatInfo
    +extends java.lang.Object
    +
    The multi user seat info
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Fields 
      Modifier and TypeField and Description
      intmaxPlayerSeats +
      The current maximum number of players
      +
      java.util.List<MultiUser>players +
      The player list
      +
      intplayerSeatLeft +
      The current number of idle player seats
      +
      java.lang.StringuserID +
      The user ID
      +
      java.util.List<MultiUser>viewers +
      The viewer list
      +
      +
    • +
    + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      MultiUserSeatInfo(java.lang.String userID, + java.util.List<MultiUser> players, + java.util.List<MultiUser> viewers, + int maxPlayerSeats, + int playerSeatLeft) 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        userID

        +
        public java.lang.String userID
        +
        The user ID
        +
      • +
      + + + +
        +
      • +

        players

        +
        public java.util.List<MultiUser> players
        +
        The player list
        +
      • +
      + + + +
        +
      • +

        viewers

        +
        public java.util.List<MultiUser> viewers
        +
        The viewer list
        +
      • +
      + + + +
        +
      • +

        maxPlayerSeats

        +
        public int maxPlayerSeats
        +
        The current maximum number of players
        +
      • +
      + + + +
        +
      • +

        playerSeatLeft

        +
        public int playerSeatLeft
        +
        The current number of idle player seats
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        MultiUserSeatInfo

        +
        public MultiUserSeatInfo(java.lang.String userID,
        +                         java.util.List<MultiUser> players,
        +                         java.util.List<MultiUser> viewers,
        +                         int maxPlayerSeats,
        +                         int playerSeatLeft)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/data/RemoteDesktopInfo.html b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/data/RemoteDesktopInfo.html new file mode 100755 index 00000000..7a83f205 --- /dev/null +++ b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/data/RemoteDesktopInfo.html @@ -0,0 +1,400 @@ + + + + + +RemoteDesktopInfo (TcrSdkFull 3.22.0 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.tencent.tcr.sdk.api.data
+

Class RemoteDesktopInfo

+
+
+ +
+
    +
  • +
    +
    +
    public class RemoteDesktopInfo
    +extends java.lang.Object
    +
    Remote desktop information.
    +
  • +
+
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      RemoteDesktopInfo(boolean mCursorShowing, + int left, + int top, + int width, + int height) 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      java.lang.StringtoString() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        mCursorShowing

        +
        public boolean mCursorShowing
        +
        cursor show status true:showing false:hidden.
        +

        When the remote device mouse is displayed, you need to send absolute (Mouse#onMoveTo(int, int)) coordinates to + the remote device.

        +

        When the remote device mouse is hidden, you need to send relative (Mouse#onDeltaMove(int, int)) coordinates to + the remote device

        +
      • +
      + + + +
        +
      • +

        mAppWindowLeftOffset

        +
        @Deprecated
        +public int mAppWindowLeftOffset
        +
        Deprecated. 
        +
        The offset of the application window to the left edge of the desktop
        +
      • +
      + + + +
        +
      • +

        mAppWindowTopOffset

        +
        @Deprecated
        +public int mAppWindowTopOffset
        +
        Deprecated. 
        +
        The offset of the application window to the top edge of the desktop
        +
      • +
      + + + +
        +
      • +

        mScreenWidth

        +
        @Deprecated
        +public int mScreenWidth
        +
        Deprecated. 
        +
        This value depends on the window capture mode you set for the cloud application on the Tencent Cloud console.
        + If it is the "capture desktop" mode, this value is the width of the desktop;
        + if it is the "capture application window" mode, this value is the width of the application window.
        +
      • +
      + + + +
        +
      • +

        mScreenHeight

        +
        @Deprecated
        +public int mScreenHeight
        +
        Deprecated. 
        +
        This value depends on the window capture mode you set for the cloud application on the Tencent Cloud console.
        + If it is the "capture desktop" mode, this value is the height of the desktop;
        + if it is the "capture application window" mode, this value is the height of the application window.
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        RemoteDesktopInfo

        +
        public RemoteDesktopInfo(boolean mCursorShowing,
        +                         int left,
        +                         int top,
        +                         int width,
        +                         int height)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/data/RoleApplyInfo.html b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/data/RoleApplyInfo.html new file mode 100755 index 00000000..58645e59 --- /dev/null +++ b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/data/RoleApplyInfo.html @@ -0,0 +1,310 @@ + + + + + +RoleApplyInfo (TcrSdkFull 3.22.0 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.tencent.tcr.sdk.api.data
+

Class RoleApplyInfo

+
+
+ +
+
    +
  • +
    +
    +
    public class RoleApplyInfo
    +extends java.lang.Object
    +
    role apply information
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Summary

      + + + + + + + + + + + + + + + + + + +
      Fields 
      Modifier and TypeField and Description
      MultiUser.Rolerole +
      The role want to apply for
      +
      intseatIndex +
      The seat index want to apply for
      +
      java.lang.StringuserID +
      The user ID
      +
      +
    • +
    + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      RoleApplyInfo(java.lang.String userID, + MultiUser.Role role, + int seatIndex) 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        userID

        +
        public java.lang.String userID
        +
        The user ID
        +
      • +
      + + + + + + + +
        +
      • +

        seatIndex

        +
        public int seatIndex
        +
        The seat index want to apply for
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        RoleApplyInfo

        +
        public RoleApplyInfo(java.lang.String userID,
        +                     MultiUser.Role role,
        +                     int seatIndex)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/data/ScreenConfig.html b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/data/ScreenConfig.html new file mode 100755 index 00000000..8ffe5fa1 --- /dev/null +++ b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/data/ScreenConfig.html @@ -0,0 +1,311 @@ + + + + + +ScreenConfig (TcrSdkFull 3.22.0 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.tencent.tcr.sdk.api.data
+

Class ScreenConfig

+
+
+ +
+
    +
  • +
    +
    +
    public class ScreenConfig
    +extends java.lang.Object
    +
    The cloud screen configuration
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Summary

      + + + + + + + + + + + + + + + + + + +
      Fields 
      Modifier and TypeField and Description
      java.lang.Stringorientation +
      The orientation of the activity's display on the device.
      +
      intscreenHeight +
      The height of the cloud screen
      +
      intscreenWidth +
      The width of the cloud screen
      +
      +
    • +
    + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      ScreenConfig(java.lang.String orientation, + int width, + int height) 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        orientation

        +
        public java.lang.String orientation
        +
        The orientation of the activity's display on the device.
        + Valid values: `landscape`、`portrait`.
        +
      • +
      + + + +
        +
      • +

        screenWidth

        +
        public int screenWidth
        +
        The width of the cloud screen
        +
      • +
      + + + +
        +
      • +

        screenHeight

        +
        public int screenHeight
        +
        The height of the cloud screen
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ScreenConfig

        +
        public ScreenConfig(java.lang.String orientation,
        +                    int width,
        +                    int height)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/data/StatsInfo.html b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/data/StatsInfo.html new file mode 100755 index 00000000..832c20c1 --- /dev/null +++ b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/data/StatsInfo.html @@ -0,0 +1,601 @@ + + + + + +StatsInfo (TcrSdkFull 3.22.0 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.tencent.tcr.sdk.api.data
+

Class StatsInfo

+
+
+ +
+
    +
  • +
    +
    +
    public class StatsInfo
    +extends java.lang.Object
    +
    Stats (performance) information.
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Fields 
      Modifier and TypeField and Description
      longaudioRecvBitrate +
      The calculated bitrate of the audio bytes received over the network.
      +
      longaudioSentBitrate +
      The calculated bitrate of the audio bytes sent to the server over network.
      +
      longbitrate +
      The calculated bitrate of the audio and video bytes received over the network.
      +
      java.lang.StringcodecName +
      Video decoding format, such as H265/H264
      +
      java.lang.Stringcpu +
      CPU usage of the remote device
      +
      longfps +
      The frame rate of the decoded video
      +
      longframesDecoded +
      The number of frames that have been successfully decoded
      +
      longframesDropped +
      The number of frames that have been dropped
      +
      longframesReceived +
      The number of frames received
      +
      java.lang.Stringgpu +
      GPU usage of the remote device
      +
      intlastDecodeMs +
      The time it took to decode the last received frame, in milliseconds
      +
      longnackCount +
      The number of times a negative acknowledgment (NACK) has been sent to request a missing packet
      +
      intpacketLost +
      The number of packets discarded.
      +
      longpacketReceived +
      The number of packets received.
      +
      longrtt +
      The round-trip event to STUN
      +
      longvideoFreezeCount +
      Number of video freezes
      +
      doublevideoFreezeDuration +
      Total video freeze time
      +
      longvideoRecvBitrate +
      The calculated bitrate of the video bytes received over the network.
      +
      longvideoSentBitrate +
      The calculated bitrate of the video bytes sent to the server over network.
      +
      +
    • +
    + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      StatsInfo(java.lang.String cpu, + java.lang.String gpu, + long fps, + long rtt, + long bitrate, + long audioRecvBitrate, + long videoRecvBitrate, + long audioSentBitrate, + long videoSentBitrate, + int packetLost, + long videoFreezeCount, + double videoFreezeDuration, + int lastDecodeMs, + long packetReceived, + long framesDecoded, + long framesDropped, + long framesReceived, + long nackCount, + java.lang.String codecName) +
      constructor
      +
      +
    • +
    + +
      +
    • + + +

      Method Summary

      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        cpu

        +
        public java.lang.String cpu
        +
        CPU usage of the remote device
        +
      • +
      + + + +
        +
      • +

        gpu

        +
        public java.lang.String gpu
        +
        GPU usage of the remote device
        +
      • +
      + + + +
        +
      • +

        fps

        +
        public long fps
        +
        The frame rate of the decoded video
        +
      • +
      + + + +
        +
      • +

        rtt

        +
        public long rtt
        +
        The round-trip event to STUN
        +
      • +
      + + + +
        +
      • +

        bitrate

        +
        public long bitrate
        +
        The calculated bitrate of the audio and video bytes received over the network.
        +
      • +
      + + + +
        +
      • +

        audioRecvBitrate

        +
        public long audioRecvBitrate
        +
        The calculated bitrate of the audio bytes received over the network.
        +
      • +
      + + + +
        +
      • +

        videoRecvBitrate

        +
        public long videoRecvBitrate
        +
        The calculated bitrate of the video bytes received over the network.
        +
      • +
      + + + +
        +
      • +

        audioSentBitrate

        +
        public long audioSentBitrate
        +
        The calculated bitrate of the audio bytes sent to the server over network.
        +
      • +
      + + + +
        +
      • +

        videoSentBitrate

        +
        public long videoSentBitrate
        +
        The calculated bitrate of the video bytes sent to the server over network.
        +
      • +
      + + + +
        +
      • +

        packetLost

        +
        public int packetLost
        +
        The number of packets discarded.
        +
      • +
      + + + +
        +
      • +

        packetReceived

        +
        public long packetReceived
        +
        The number of packets received.
        +
      • +
      + + + +
        +
      • +

        videoFreezeCount

        +
        public long videoFreezeCount
        +
        Number of video freezes
        +
      • +
      + + + +
        +
      • +

        videoFreezeDuration

        +
        public double videoFreezeDuration
        +
        Total video freeze time
        +
      • +
      + + + +
        +
      • +

        framesDecoded

        +
        public long framesDecoded
        +
        The number of frames that have been successfully decoded
        +
      • +
      + + + +
        +
      • +

        framesReceived

        +
        public long framesReceived
        +
        The number of frames received
        +
      • +
      + + + +
        +
      • +

        framesDropped

        +
        public long framesDropped
        +
        The number of frames that have been dropped
        +
      • +
      + + + +
        +
      • +

        nackCount

        +
        public long nackCount
        +
        The number of times a negative acknowledgment (NACK) has been sent to request a missing packet
        +
      • +
      + + + +
        +
      • +

        lastDecodeMs

        +
        public int lastDecodeMs
        +
        The time it took to decode the last received frame, in milliseconds
        +
      • +
      + + + +
        +
      • +

        codecName

        +
        public java.lang.String codecName
        +
        Video decoding format, such as H265/H264
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        StatsInfo

        +
        public StatsInfo(java.lang.String cpu,
        +                 java.lang.String gpu,
        +                 long fps,
        +                 long rtt,
        +                 long bitrate,
        +                 long audioRecvBitrate,
        +                 long videoRecvBitrate,
        +                 long audioSentBitrate,
        +                 long videoSentBitrate,
        +                 int packetLost,
        +                 long videoFreezeCount,
        +                 double videoFreezeDuration,
        +                 int lastDecodeMs,
        +                 long packetReceived,
        +                 long framesDecoded,
        +                 long framesDropped,
        +                 long framesReceived,
        +                 long nackCount,
        +                 java.lang.String codecName)
        +
        constructor
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/data/VideoStreamConfig.html b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/data/VideoStreamConfig.html new file mode 100755 index 00000000..e74d91d6 --- /dev/null +++ b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/data/VideoStreamConfig.html @@ -0,0 +1,292 @@ + + + + + +VideoStreamConfig (TcrSdkFull 3.22.0 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.tencent.tcr.sdk.api.data
+

Class VideoStreamConfig

+
+
+ +
+
    +
  • +
    +
    +
    public class VideoStreamConfig
    +extends java.lang.Object
    +
    The streaming video configuration
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Summary

      + + + + + + + + + + + + + + +
      Fields 
      Modifier and TypeField and Description
      intheight +
      The height of the streaming video
      +
      intwidth +
      The width of the streaming video
      +
      +
    • +
    + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      VideoStreamConfig(int videoWidth, + int videoHeight) 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        width

        +
        public int width
        +
        The width of the streaming video
        +
      • +
      + + + +
        +
      • +

        height

        +
        public int height
        +
        The height of the streaming video
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        VideoStreamConfig

        +
        public VideoStreamConfig(int videoWidth,
        +                         int videoHeight)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/data/package-frame.html b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/data/package-frame.html new file mode 100755 index 00000000..1d7bc5f7 --- /dev/null +++ b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/data/package-frame.html @@ -0,0 +1,32 @@ + + + + + +com.tencent.tcr.sdk.api.data (TcrSdkFull 3.22.0 API) + + + + +

com.tencent.tcr.sdk.api.data

+
+

Classes

+ +

Enums

+ +
+ + diff --git a/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/data/package-summary.html b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/data/package-summary.html new file mode 100755 index 00000000..ba493a59 --- /dev/null +++ b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/data/package-summary.html @@ -0,0 +1,216 @@ + + + + + +com.tencent.tcr.sdk.api.data (TcrSdkFull 3.22.0 API) + + + + + + + +
+ + + + + + + +
+ + +
+

Package com.tencent.tcr.sdk.api.data

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/data/package-tree.html b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/data/package-tree.html new file mode 100755 index 00000000..eac293d3 --- /dev/null +++ b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/data/package-tree.html @@ -0,0 +1,155 @@ + + + + + +com.tencent.tcr.sdk.api.data Class Hierarchy (TcrSdkFull 3.22.0 API) + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For Package com.tencent.tcr.sdk.api.data

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +

Enum Hierarchy

+ +
+ +
+ + + + + + + +
+ + + + diff --git a/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/package-frame.html b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/package-frame.html new file mode 100755 index 00000000..74a7dc09 --- /dev/null +++ b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/package-frame.html @@ -0,0 +1,54 @@ + + + + + +com.tencent.tcr.sdk.api (TcrSdkFull 3.22.0 API) + + + + +

com.tencent.tcr.sdk.api

+
+

Interfaces

+ +

Classes

+ +

Enums

+ +
+ + diff --git a/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/package-summary.html b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/package-summary.html new file mode 100755 index 00000000..49a9606b --- /dev/null +++ b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/package-summary.html @@ -0,0 +1,339 @@ + + + + + +com.tencent.tcr.sdk.api (TcrSdkFull 3.22.0 API) + + + + + + + +
+ + + + + + + +
+ + +
+

Package com.tencent.tcr.sdk.api

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/package-tree.html b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/package-tree.html new file mode 100755 index 00000000..f038a6ab --- /dev/null +++ b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/package-tree.html @@ -0,0 +1,180 @@ + + + + + +com.tencent.tcr.sdk.api Class Hierarchy (TcrSdkFull 3.22.0 API) + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For Package com.tencent.tcr.sdk.api

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +

Interface Hierarchy

+ +

Enum Hierarchy

+ +
+ +
+ + + + + + + +
+ + + + diff --git a/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/utils/CustomAudioBufferUtil.html b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/utils/CustomAudioBufferUtil.html new file mode 100755 index 00000000..0f9687f8 --- /dev/null +++ b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/utils/CustomAudioBufferUtil.html @@ -0,0 +1,285 @@ + + + + + +CustomAudioBufferUtil (TcrSdkFull 3.22.0 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.tencent.tcr.sdk.api.utils
+

Class CustomAudioBufferUtil

+
+
+ +
+
    +
  • +
    +
    +
    public class CustomAudioBufferUtil
    +extends java.lang.Object
    +
  • +
+
+
+
    +
  • + + + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + +
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethod and Description
      static intgetCustomAudioCaptureDataBufferSize(int sampleRate, + boolean useStereoInput) +
      Calculates the buffer size for custom audio capture data based on the given sample rate and whether stereo input + is used.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomAudioBufferUtil

        +
        public CustomAudioBufferUtil()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getCustomAudioCaptureDataBufferSize

        +
        public static int getCustomAudioCaptureDataBufferSize(int sampleRate,
        +                                                      boolean useStereoInput)
        +
        Calculates the buffer size for custom audio capture data based on the given sample rate and whether stereo input + is used. If you want to use custom audio capture, you MUST call this method to get the size of the ByteBuffer you + input.
        +
        +
        Parameters:
        +
        sampleRate - The sample rate of the custom audio capture data (in Hz), e.g., 44100 or 48000.
        +
        useStereoInput - If true, stereo input is used; if false, mono input is used.
        +
        Returns:
        +
        The calculated buffer size in bytes.
        +
        See Also:
        +
        TcrSessionConfig.Builder#enableCustomAudioCapture(boolean, int, boolean)
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/utils/VideoCapabilityUtil.html b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/utils/VideoCapabilityUtil.html new file mode 100755 index 00000000..5a4002f7 --- /dev/null +++ b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/utils/VideoCapabilityUtil.html @@ -0,0 +1,286 @@ + + + + + +VideoCapabilityUtil (TcrSdkFull 3.22.0 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.tencent.tcr.sdk.api.utils
+

Class VideoCapabilityUtil

+
+
+ +
+
    +
  • +
    +
    +
    public class VideoCapabilityUtil
    +extends java.lang.Object
    +
    The util to query video capability.
    +
  • +
+
+
+
    +
  • + + + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + +
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethod and Description
      static <any>getRecommendedResolution(int originalWidth, + int originalHeight) +
      Returns the recommended resolution that take into account the capability of hardware decoders.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        VideoCapabilityUtil

        +
        public VideoCapabilityUtil()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getRecommendedResolution

        +
        public static <any> getRecommendedResolution(int originalWidth,
        +                                             int originalHeight)
        +
        Returns the recommended resolution that take into account the capability of hardware decoders. + The input originalWidth & originalHeight are clamp into the range of hardware decoder's supported width & + height.
        + See android.util.Range#clamp(Comparable). + The aspect ratio of the returning resolution will remain the same as that of the original resolution.
        +
        +
        Parameters:
        +
        originalWidth - The width of the original resolution.
        +
        originalHeight - The height of the original resolution.
        +
        Returns:
        +
        The recommended resolution, Pair#first as the recommended width and Pair#second as the + recommended height. Return null if there's no suitable resolution.
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/utils/package-frame.html b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/utils/package-frame.html new file mode 100755 index 00000000..67eca64c --- /dev/null +++ b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/utils/package-frame.html @@ -0,0 +1,20 @@ + + + + + +com.tencent.tcr.sdk.api.utils (TcrSdkFull 3.22.0 API) + + + + +

com.tencent.tcr.sdk.api.utils

+
+

Classes

+ +
+ + diff --git a/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/utils/package-summary.html b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/utils/package-summary.html new file mode 100755 index 00000000..e392085a --- /dev/null +++ b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/utils/package-summary.html @@ -0,0 +1,145 @@ + + + + + +com.tencent.tcr.sdk.api.utils (TcrSdkFull 3.22.0 API) + + + + + + + +
+ + + + + + + +
+ + +
+

Package com.tencent.tcr.sdk.api.utils

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/utils/package-tree.html b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/utils/package-tree.html new file mode 100755 index 00000000..398357cc --- /dev/null +++ b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/utils/package-tree.html @@ -0,0 +1,135 @@ + + + + + +com.tencent.tcr.sdk.api.utils Class Hierarchy (TcrSdkFull 3.22.0 API) + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For Package com.tencent.tcr.sdk.api.utils

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +
+ +
+ + + + + + + +
+ + + + diff --git a/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/view/MobileTouchListener.html b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/view/MobileTouchListener.html new file mode 100755 index 00000000..d6f434d8 --- /dev/null +++ b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/view/MobileTouchListener.html @@ -0,0 +1,274 @@ + + + + + +MobileTouchListener (TcrSdkFull 3.22.0 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.tencent.tcr.sdk.api.view
+

Class MobileTouchListener

+
+
+ +
+
    +
  • +
    +
    +
    public class MobileTouchListener
    +extends java.lang.Object
    +
    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.
    +
  • +
+
+
+
    +
  • + + + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      booleanonTouch(View view, + MotionEvent event) 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        MobileTouchListener

        +
        public MobileTouchListener(TcrSession session)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        onTouch

        +
        public boolean onTouch(View view,
        +                       MotionEvent event)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/view/PcClickListener.html b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/view/PcClickListener.html new file mode 100755 index 00000000..50354673 --- /dev/null +++ b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/view/PcClickListener.html @@ -0,0 +1,330 @@ + + + + + +PcClickListener (TcrSdkFull 3.22.0 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.tencent.tcr.sdk.api.view
+

Class PcClickListener

+
+
+ +
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      voidonClickDown() +
      Called when a view has been clicked and the finger is down.
      +
      voidonClickUp() +
      Called when a view has been clicked and the finger is up.
      +
      voidsetMouseKey(Mouse.KeyType mouseKeyType) +
      Set the mouse button type to be sent to the cloud when a click is triggered.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+ +
+
+ + +
+ + + + + + + +
+ + + + diff --git a/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/view/PcTouchListener.OnClickListener.html b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/view/PcTouchListener.OnClickListener.html new file mode 100755 index 00000000..8ddccd79 --- /dev/null +++ b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/view/PcTouchListener.OnClickListener.html @@ -0,0 +1,246 @@ + + + + + +PcTouchListener.OnClickListener (TcrSdkFull 3.22.0 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.tencent.tcr.sdk.api.view
+

Interface PcTouchListener.OnClickListener

+
+
+
+
    +
  • +
    +
    All Known Implementing Classes:
    +
    PcClickListener
    +
    +
    +
    Enclosing class:
    +
    PcTouchListener
    +
    +
    +
    +
    public static interface PcTouchListener.OnClickListener
    +
    Interface definition for callbacks to be invoked when a view is clicked.
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + +
      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethod and Description
      voidonClickDown() +
      Called when a view has been clicked and the finger is down.
      +
      voidonClickUp() +
      Called when a view has been clicked and the finger is up.
      +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        onClickDown

        +
        void onClickDown()
        +
        Called when a view has been clicked and the finger is down.
        +
      • +
      + + + +
        +
      • +

        onClickUp

        +
        void onClickUp()
        +
        Called when a view has been clicked and the finger is up.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/view/PcTouchListener.OnDoubleClickListener.html b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/view/PcTouchListener.OnDoubleClickListener.html new file mode 100755 index 00000000..43061e4a --- /dev/null +++ b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/view/PcTouchListener.OnDoubleClickListener.html @@ -0,0 +1,226 @@ + + + + + +PcTouchListener.OnDoubleClickListener (TcrSdkFull 3.22.0 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.tencent.tcr.sdk.api.view
+

Interface PcTouchListener.OnDoubleClickListener

+
+
+
+
    +
  • +
    +
    Enclosing class:
    +
    PcTouchListener
    +
    +
    +
    +
    public static interface PcTouchListener.OnDoubleClickListener
    +
    Interface definition for callbacks to be invoked when a view is double clicked.
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        onDoubleClick

        +
        void onDoubleClick()
        +
        Called when a view has been double clicked.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/view/PcTouchListener.html b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/view/PcTouchListener.html new file mode 100755 index 00000000..567be783 --- /dev/null +++ b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/view/PcTouchListener.html @@ -0,0 +1,563 @@ + + + + + +PcTouchListener (TcrSdkFull 3.22.0 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.tencent.tcr.sdk.api.view
+

Class PcTouchListener

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    java.util.Observer
    +
    +
    +
    +
    public class PcTouchListener
    +extends java.lang.Object
    +implements java.util.Observer
    +
    This class implements the touch logic for PC applications on the cloud machine.
    + It converts local screen touch events to mouse events and recognize the click, long press, and double-click events. + It can also handle the two-finger pinch zoom via setZoomHandler(PcZoomHandler).
    + NOTE: The implementation of PcTouchListener depends on TcrRenderView, so it only takes effect when it is set to + TcrRenderView.
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        LONG_PRESS

        +
        protected static final int LONG_PRESS
        +
        异步长按事件
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        SINGLE_CLICK

        +
        protected static final int SINGLE_CLICK
        +
        异步单击(包括按下和抬起)
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        mHandler

        +
        protected final Handler mHandler
        +
        触摸事件的处理器
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        PcTouchListener

        +
        public PcTouchListener(TcrSession session)
        +
        constructor
        +
        +
        Parameters:
        +
        session - the associated session
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        release

        +
        public void release()
        +
        Release the underlying resources.
        +
      • +
      + + + +
        +
      • +

        setZoomHandler

        +
        public void setZoomHandler(PcZoomHandler handler)
        +
        set the PcZoomHandler.
        + If not set, an instance of PcZoomHandler is used by default.
        +
        +
        Parameters:
        +
        handler - the handler to be set. If null, remove any exist zoom handler.
        +
        +
      • +
      + + + + + + + +
        +
      • +

        setShortClickListener

        +
        public void setShortClickListener(PcTouchListener.OnClickListener listener)
        +
        Set the short click listener.
        + If not set, an instance of PcClickListener is used by default.
        +
        +
        Parameters:
        +
        listener - The listener to be set. If null, remove any exist listener.
        +
        +
      • +
      + + + +
        +
      • +

        setLongClickListener

        +
        public void setLongClickListener(PcTouchListener.OnClickListener listener)
        +
        Set the long click listener.
        + If not set, an instance of PcClickListener is used by default.
        +
        +
        Parameters:
        +
        listener - The listener to be set. If null, remove any exist listener.
        +
        +
      • +
      + + + +
        +
      • +

        setDoubleClickListener

        +
        public void setDoubleClickListener(PcTouchListener.OnDoubleClickListener listener)
        +
        Set the double-click listener.
        +
        +
        Parameters:
        +
        listener - The listener to be set. If null, remove any exist listener.
        +
        +
      • +
      + + + +
        +
      • +

        setMouseConfig

        +
        public void setMouseConfig(boolean isRelativeMove,
        +                           float moveSensitivity,
        +                           boolean cursorVisibility)
        +
        Set the mouse parameters. This interface needs to be used after calling + TcrRenderView#setOnTouchListener(OnTouchListener)
        +
        +
        Parameters:
        +
        isRelativeMove - Set the mode for the cursor to move with the finger.
        + `false`: Move the cursor to the absolute coordinates. The cursor always moves to where the finger touches + the screen, which is the default value. + `true`: Move the cursor by relative coordinates.
        +
        moveSensitivity - The cursor sensitivity, which is a floating point number in the range of + [0.01,10.0].
        + This value only affects the cursor movement by relative coordinates.
        +
        cursorVisibility - The cursor visibility. 'true': cursor is visible. 'false': cursor is invisible.
        +
        +
      • +
      + + + +
        +
      • +

        onTouch

        +
        public boolean onTouch(View view,
        +                       MotionEvent event)
        +
      • +
      + + + +
        +
      • +

        update

        +
        public void update(java.util.Observable o,
        +                   java.lang.Object arg)
        +
        +
        Specified by:
        +
        update in interface java.util.Observer
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/view/PcZoomHandler.ZoomListener.html b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/view/PcZoomHandler.ZoomListener.html new file mode 100755 index 00000000..03909990 --- /dev/null +++ b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/view/PcZoomHandler.ZoomListener.html @@ -0,0 +1,253 @@ + + + + + +PcZoomHandler.ZoomListener (TcrSdkFull 3.22.0 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.tencent.tcr.sdk.api.view
+

Interface PcZoomHandler.ZoomListener

+
+
+
+
    +
  • +
    +
    Enclosing class:
    +
    PcZoomHandler
    +
    +
    +
    +
    public static interface PcZoomHandler.ZoomListener
    +
    Interface definition for callbacks to be invoked when the two-finger pinch zoom status has changed.
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + +
      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethod and Description
      voidonPivot(float x, + float y) +
      Called when the zoom center is changed.
      +
      voidonZoom(float ratio) +
      Called when the zoom radio is changed.
      +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        onPivot

        +
        void onPivot(float x,
        +             float y)
        +
        Called when the zoom center is changed.
        +
        +
        Parameters:
        +
        x - The horizontal coordinate of the zoom
        +
        y - The vertical coordinate of the zoom
        +
        +
      • +
      + + + +
        +
      • +

        onZoom

        +
        void onZoom(float ratio)
        +
        Called when the zoom radio is changed.
        +
        +
        Parameters:
        +
        ratio - The current zoom ratio.
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/view/PcZoomHandler.html b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/view/PcZoomHandler.html new file mode 100755 index 00000000..7805b994 --- /dev/null +++ b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/view/PcZoomHandler.html @@ -0,0 +1,384 @@ + + + + + +PcZoomHandler (TcrSdkFull 3.22.0 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.tencent.tcr.sdk.api.view
+

Class PcZoomHandler

+
+
+ +
+
    +
  • +
    +
    +
    public class PcZoomHandler
    +extends java.lang.Object
    +
    This class handles the two-finger pinch zoom logic.
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Nested Class Summary

      + + + + + + + + + + +
      Nested Classes 
      Modifier and TypeClass and Description
      static interface PcZoomHandler.ZoomListener +
      Interface definition for callbacks to be invoked when the two-finger pinch zoom status has changed.
      +
      +
    • +
    + + + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      booleanonTouch(View view, + MotionEvent event) +
      Perform two-finger pinch zoom and swipe based on the gesture.
      +
      voidresetZoom() +
      Reset the zoom of the render view.
      +
      voidsetZoomListener(PcZoomHandler.ZoomListener listener) +
      Set the two-finger pinch zoom listener.
      +
      voidsetZoomOffset(Rect rect) +
      Set the offsets of the video image frame during zoom.
      +
      voidsetZoomRatio(float min, + float max) +
      Set zoom ratio.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + + + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        setZoomRatio

        +
        public void setZoomRatio(float min,
        +                         float max)
        +
        Set zoom ratio.
        +
        +
        Parameters:
        +
        min - The minimum zoom ratio, which must be greater than 0.
        +
        max - The maximum zoom ratio, which must be greater than 1.
        +
        +
      • +
      + + + +
        +
      • +

        resetZoom

        +
        public void resetZoom()
        +
        Reset the zoom of the render view.
        +
      • +
      + + + +
        +
      • +

        setZoomOffset

        +
        public void setZoomOffset(Rect rect)
        +
        Set the offsets of the video image frame during zoom. + This allows the render view to be slid out of the phone screen borders.
        +
        +
        Parameters:
        +
        rect - The size of the area within which the video image can slide out of the four borders of the + phone screen. The coordinates are all `0` by default.
        +
        +
      • +
      + + + +
        +
      • +

        setZoomListener

        +
        public void setZoomListener(PcZoomHandler.ZoomListener listener)
        +
        Set the two-finger pinch zoom listener.
        +
        +
        Parameters:
        +
        listener - the listener to be set.
        +
        +
      • +
      + + + +
        +
      • +

        onTouch

        +
        public boolean onTouch(View view,
        +                       MotionEvent event)
        +
        Perform two-finger pinch zoom and swipe based on the gesture.
        +
        +
        Parameters:
        +
        view - The view to be zoomed
        +
        event - The current touch operation
        +
        Returns:
        +
        true: The zoom operation has been performed (currently, zoom can be supported by gestures involving at + least two fingers).
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/view/TcrRenderView.InputDeviceType.html b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/view/TcrRenderView.InputDeviceType.html new file mode 100755 index 00000000..e2f49649 --- /dev/null +++ b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/view/TcrRenderView.InputDeviceType.html @@ -0,0 +1,355 @@ + + + + + +TcrRenderView.InputDeviceType (TcrSdkFull 3.22.0 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.tencent.tcr.sdk.api.view
+

Enum TcrRenderView.InputDeviceType

+
+
+ +
+ +
+
+
    +
  • + +
      +
    • + + +

      Enum Constant Summary

      + + + + + + + + + + + + + + +
      Enum Constants 
      Enum Constant and Description
      GAMEPAD 
      KEYBOARD 
      MOUSE 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + +
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethod and Description
      static TcrRenderView.InputDeviceTypevalueOf(java.lang.String name) +
      Returns the enum constant of this type with the specified name.
      +
      static TcrRenderView.InputDeviceType[]values() +
      Returns an array containing the constants of this enum type, in +the order they are declared.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Enum

        +clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +getClass, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + + + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static TcrRenderView.InputDeviceType[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (TcrRenderView.InputDeviceType c : TcrRenderView.InputDeviceType.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static TcrRenderView.InputDeviceType valueOf(java.lang.String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        +
        java.lang.NullPointerException - if the argument is null
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/view/TcrRenderView.Observer.html b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/view/TcrRenderView.Observer.html new file mode 100755 index 00000000..2055213f --- /dev/null +++ b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/view/TcrRenderView.Observer.html @@ -0,0 +1,251 @@ + + + + + +TcrRenderView.Observer (TcrSdkFull 3.22.0 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.tencent.tcr.sdk.api.view
+

Interface TcrRenderView.Observer

+
+
+
+
    +
  • +
    +
    Enclosing class:
    +
    TcrRenderView
    +
    +
    +
    +
    public static interface TcrRenderView.Observer
    +
    This interface represents the observer of TcrRenderView.
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        onFirstFrameRendered

        +
        void onFirstFrameRendered()
        +
        This will be called when the TcrRenderView renders its first frame.
        +
      • +
      + + + +
        +
      • +

        onFrame

        +
        void onFrame(Bitmap bitmap)
        +
        This will be called when a new video frame has been rendered if TcrRenderView.setEnableFrameCallback(float) has + been called with scale greater or equal to 0.
        + + This callback will be invoked on the render thread. It should be lightweight. Do not perform time-consuming + tasks in this callback.
        +
        +
        Parameters:
        +
        bitmap - Bitmap of the rendered video frame
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/view/TcrRenderView.ScaleType.html b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/view/TcrRenderView.ScaleType.html new file mode 100755 index 00000000..1fb504ae --- /dev/null +++ b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/view/TcrRenderView.ScaleType.html @@ -0,0 +1,370 @@ + + + + + +TcrRenderView.ScaleType (TcrSdkFull 3.22.0 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.tencent.tcr.sdk.api.view
+

Enum TcrRenderView.ScaleType

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    java.io.Serializable, java.lang.Comparable<TcrRenderView.ScaleType>
    +
    +
    +
    Enclosing class:
    +
    TcrRenderView
    +
    +
    +
    +
    public static enum TcrRenderView.ScaleType
    +extends java.lang.Enum<TcrRenderView.ScaleType>
    +
    An enumeration that defines the video scaling type.
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Enum Constant Summary

      + + + + + + + + + + + + + + +
      Enum Constants 
      Enum Constant and Description
      SCALE_ASPECT_CROP +
      Crop mode: The video image is scaled proportionally to ensure that the entire view is filled, + and the parts that exceed the view will be cropped.
      +
      SCALE_ASPECT_FILL +
      Fill mode: The video image is scaled disproportionally to ensure that the entire video image is displayed and + fills the view.
      +
      SCALE_ASPECT_FIT +
      Fit mode: The video image is scaled proportionally to ensure that the entire video image is displayed.
      +
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + +
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethod and Description
      static TcrRenderView.ScaleTypevalueOf(java.lang.String name) +
      Returns the enum constant of this type with the specified name.
      +
      static TcrRenderView.ScaleType[]values() +
      Returns an array containing the constants of this enum type, in +the order they are declared.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Enum

        +clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +getClass, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Enum Constant Detail

      + + + +
        +
      • +

        SCALE_ASPECT_FIT

        +
        public static final TcrRenderView.ScaleType SCALE_ASPECT_FIT
        +
        Fit mode: The video image is scaled proportionally to ensure that the entire video image is displayed. If the + size of the scaled video does not match the view size, the excessive view parts will be filled with the + background color.
        +
      • +
      + + + +
        +
      • +

        SCALE_ASPECT_CROP

        +
        public static final TcrRenderView.ScaleType SCALE_ASPECT_CROP
        +
        Crop mode: The video image is scaled proportionally to ensure that the entire view is filled, + and the parts that exceed the view will be cropped.
        +
      • +
      + + + +
        +
      • +

        SCALE_ASPECT_FILL

        +
        public static final TcrRenderView.ScaleType SCALE_ASPECT_FILL
        +
        Fill mode: The video image is scaled disproportionally to ensure that the entire video image is displayed and + fills the view.
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static TcrRenderView.ScaleType[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (TcrRenderView.ScaleType c : TcrRenderView.ScaleType.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static TcrRenderView.ScaleType valueOf(java.lang.String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        +
        java.lang.NullPointerException - if the argument is null
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/view/TcrRenderView.TcrRenderViewType.html b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/view/TcrRenderView.TcrRenderViewType.html new file mode 100755 index 00000000..cd9401d6 --- /dev/null +++ b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/view/TcrRenderView.TcrRenderViewType.html @@ -0,0 +1,349 @@ + + + + + +TcrRenderView.TcrRenderViewType (TcrSdkFull 3.22.0 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.tencent.tcr.sdk.api.view
+

Enum TcrRenderView.TcrRenderViewType

+
+
+ +
+ +
+
+
    +
  • + +
      +
    • + + +

      Enum Constant Summary

      + + + + + + + + + + + +
      Enum Constants 
      Enum Constant and Description
      SURFACE +
      The underlying layer uses `android.view.SurfaceView` for rendering.
      +
      TEXTURE +
      The underlying layer uses `android.view.TextureView` for rendering.
      +
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + +
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethod and Description
      static TcrRenderView.TcrRenderViewTypevalueOf(java.lang.String name) +
      Returns the enum constant of this type with the specified name.
      +
      static TcrRenderView.TcrRenderViewType[]values() +
      Returns an array containing the constants of this enum type, in +the order they are declared.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Enum

        +clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +getClass, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + + + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static TcrRenderView.TcrRenderViewType[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (TcrRenderView.TcrRenderViewType c : TcrRenderView.TcrRenderViewType.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static TcrRenderView.TcrRenderViewType valueOf(java.lang.String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        +
        java.lang.NullPointerException - if the argument is null
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/view/TcrRenderView.VideoRotation.html b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/view/TcrRenderView.VideoRotation.html new file mode 100755 index 00000000..12b65f3d --- /dev/null +++ b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/view/TcrRenderView.VideoRotation.html @@ -0,0 +1,412 @@ + + + + + +TcrRenderView.VideoRotation (TcrSdkFull 3.22.0 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.tencent.tcr.sdk.api.view
+

Enum TcrRenderView.VideoRotation

+
+
+ +
+ +
+
+
    +
  • + +
      +
    • + + +

      Enum Constant Summary

      + + + + + + + + + + + + + + + + + +
      Enum Constants 
      Enum Constant and Description
      ROTATION_0 +
      A 0-degree rotation
      +
      ROTATION_180 +
      A 180-degree rotation
      +
      ROTATION_270 +
      A 270-degree rotation
      +
      ROTATION_90 +
      A 90-degree rotation
      +
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      intgetValue() +
      Return the angle value.
      +
      java.lang.StringtoString() 
      static TcrRenderView.VideoRotationvalueOf(java.lang.String name) +
      Returns the enum constant of this type with the specified name.
      +
      static TcrRenderView.VideoRotation[]values() +
      Returns an array containing the constants of this enum type, in +the order they are declared.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Enum

        +clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +getClass, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + + + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static TcrRenderView.VideoRotation[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (TcrRenderView.VideoRotation c : TcrRenderView.VideoRotation.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static TcrRenderView.VideoRotation valueOf(java.lang.String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        +
        java.lang.NullPointerException - if the argument is null
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Enum<TcrRenderView.VideoRotation>
        +
        +
      • +
      + + + +
        +
      • +

        getValue

        +
        public int getValue()
        +
        Return the angle value.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/view/TcrRenderView.html b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/view/TcrRenderView.html new file mode 100755 index 00000000..fc769b3c --- /dev/null +++ b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/view/TcrRenderView.html @@ -0,0 +1,733 @@ + + + + + +TcrRenderView (TcrSdkFull 3.22.0 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.tencent.tcr.sdk.api.view
+

Class TcrRenderView

+
+
+ +
+
    +
  • +
    +
    +
    public abstract class TcrRenderView
    +extends FrameLayout
    +
    This view is used to render and display the cloud streaming video.
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        TcrRenderView

        +
        protected TcrRenderView(Context context,
        +                        TcrRenderView.TcrRenderViewType type,
        +                        TcrSession session)
        +
        The constructor
        +
        +
        Parameters:
        +
        context - The context of this view.
        +
        type - The type of this view.
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        createRenderView

        +
        protected abstract View createRenderView(TcrRenderView.TcrRenderViewType type)
        +
        创建渲染视图
        +
        +
        Parameters:
        +
        type - 渲染视图的类型
        +
        Returns:
        +
        视图
        +
        +
      • +
      + + + +
        +
      • +

        onLayout

        +
        protected void onLayout(boolean changed,
        +                        int left,
        +                        int top,
        +                        int right,
        +                        int bottom)
        +
      • +
      + + + +
        +
      • +

        setOnTouchListener

        +
        public void setOnTouchListener(View.OnTouchListener listener)
        +
        Set the listener for the touch events of the view. Generally, two default implementations provided by the SDK are + used:
        + 1. PcTouchListener: Convert local screen touch events to mouse events on the cloud machine.
        + 2. MobileTouchListener: Map local screen touch events to touch events on the cloud machine.
        +
      • +
      + + + +
        +
      • +

        release

        +
        public abstract void release()
        +
        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.
        +
      • +
      + + + +
        +
      • +

        handleMotion

        +
        public void handleMotion(MotionEvent event)
        +
        Handle touch event. + +

        This method will be useful in scenarios like the following: a virtual keyboard view is placed on top of the + rendering view, and it is hoped that the buttons on the virtual keyboard view can be clicked while touching the + rendering view, such as controlling a character to attack while moving in a mobile game. You can achieve this + interactive effect like this:
        + 1. Place the virtual keyboard view above the level of the rendering view, with the same size.
        + 2. In the virtual keyboard view, at the same level as the button, create an empty view, named + delegateView for example, that fills the virtual keyboard view in the layout.
        + 3. Listen to the OnTouchListener of delegateView, call this in onTouch() callback, and return true. + For example:

        +
        
        +       delegateView.setOnTouchListener(new OnTouchListener() {
        +            public boolean onTouch(View v, MotionEvent event) {
        +                tcrRenderView.handleMotion(event);
        +                return true;
        +            }
        +        });
        + 
        +
        +
        Parameters:
        +
        event - The motion event.
        +
        +
      • +
      + + + +
        +
      • +

        setVideoRotation

        +
        public abstract void setVideoRotation(TcrRenderView.VideoRotation rotation)
        +
        Set the rotation angle of the rendered video.
        +
        +
        Parameters:
        +
        rotation - The rotation angle
        +
        +
      • +
      + + + + + + + +
        +
      • +

        setEnableSuperResolution

        +
        public abstract void setEnableSuperResolution(boolean enableSuperResolution)
        +
        Set whether the video super-resolution capability should be enabled. + +

        If enabled, the rendering quality will be improved, but the GPU and power consumption will increase, and the + frame rate may decrease.

        + +

        Note that this method only works in api level 21 or above.

        +
        +
        Parameters:
        +
        enableSuperResolution - true to enable SuperResolution, false otherwise.
        +
        +
      • +
      + + + +
        +
      • +

        setDisplayDebugView

        +
        public abstract void setDisplayDebugView(boolean displayDebugView)
        +
        Set whether to display the debug view. + +

        The debug view shows the information such as performance data, version information, encoding type, key and + touch information, etc.

        +
        +
        Parameters:
        +
        displayDebugView - true to display the debug view, false otherwise.
        +
        +
      • +
      + + + +
        +
      • +

        getKeyCodeMapping

        +
        public java.util.Map getKeyCodeMapping(TcrRenderView.InputDeviceType inputDeviceType)
        +
        Returns a mapping table, based on which TcrRenderView maps local peripheral input events to cloud input events. + +

        If the input device type is TcrRenderView.InputDeviceType.MOUSE, the returned map is of type HashMap<Integer, + KeyType>. The key of the returned map refers to the keycodes defined in KeyEvent, and the value of + the returned map refers to the enums defined in Mouse.KeyType.
        + + If the input device type is TcrRenderView.InputDeviceType.GAMEPAD or TcrRenderView.InputDeviceType.KEYBOARD, the returned + map is of type HashMap<Integer, Integer>. The key of the returned map refers to the keycodes defined in + KeyEvent, and the value of the returned map refers to the keycodes defined in + WindowsKeyEvent.

        + +

        You can modify the returned map to customize the mapping.

        +
        +
        Parameters:
        +
        inputDeviceType - The input device type.
        +
        Returns:
        +
        The returned Map.
        +
        +
      • +
      + + + +
        +
      • +

        setEnableInputDeviceHandle

        +
        public void setEnableInputDeviceHandle(boolean enableInputDeviceHandler)
        +
        Set whether to enable TcrRenderView to process the peripheral input events. + +

        Setting this to true tells the TcrRenderView to process input device events automatically. This is the default + behavior of TcrRenderView.

        +
        +
        Parameters:
        +
        enableInputDeviceHandler - true to enable, false to disable.
        +
        +
      • +
      + + + +
        +
      • +

        dispatchKeyEvent

        +
        public boolean dispatchKeyEvent(KeyEvent event)
        +
      • +
      + + + +
        +
      • +

        dispatchGenericMotionEvent

        +
        public boolean dispatchGenericMotionEvent(MotionEvent event)
        +
      • +
      + + + +
        +
      • +

        onCapturedPointerEvent

        +
        public boolean onCapturedPointerEvent(MotionEvent event)
        +
      • +
      + + + +
        +
      • +

        setObserver

        +
        public void setObserver(TcrRenderView.Observer observer)
        +
        Set the observer of this TcrRenderView instance.
        +
        +
        Parameters:
        +
        observer - The observer to be set.
        +
        +
      • +
      + + + +
        +
      • +

        setEnableFrameCallback

        +
        public abstract void setEnableFrameCallback(float scale)
        +
        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. Otherwise, the callback is disabled.
        +
        +
        Parameters:
        +
        scale - The scale of the Bitmap passed to the callback, or 0 if no Bitmap is required.
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/view/WindowsKeyEvent.html b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/view/WindowsKeyEvent.html new file mode 100755 index 00000000..1fd24306 --- /dev/null +++ b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/view/WindowsKeyEvent.html @@ -0,0 +1,2450 @@ + + + + + +WindowsKeyEvent (TcrSdkFull 3.22.0 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.tencent.tcr.sdk.api.view
+

Class WindowsKeyEvent

+
+
+ +
+
    +
  • +
    +
    +
    public class WindowsKeyEvent
    +extends java.lang.Object
    +
    This class defines key and button events in Windows platform.
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        XBOX_KEYCODE_SELECT

        +
        public static final int XBOX_KEYCODE_SELECT
        +
        XBOX key 'SELECT' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        XBOX_KEYCODE_START

        +
        public static final int XBOX_KEYCODE_START
        +
        XBOX key 'START' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        XBOX_KEYCODE_UP

        +
        public static final int XBOX_KEYCODE_UP
        +
        XBOX key 'DPad ⬆' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        XBOX_KEYCODE_DOWN

        +
        public static final int XBOX_KEYCODE_DOWN
        +
        XBOX key 'DPad ⬇' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        XBOX_KEYCODE_LEFT

        +
        public static final int XBOX_KEYCODE_LEFT
        +
        XBOX key 'DPad ⬅' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        XBOX_KEYCODE_RIGHT

        +
        public static final int XBOX_KEYCODE_RIGHT
        +
        XBOX key 'DPad ➡' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        XBOX_KEYCODE_X

        +
        public static final int XBOX_KEYCODE_X
        +
        XBOX key 'X' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        XBOX_KEYCODE_Y

        +
        public static final int XBOX_KEYCODE_Y
        +
        XBOX key 'Y' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        XBOX_KEYCODE_A

        +
        public static final int XBOX_KEYCODE_A
        +
        XBOX key 'A' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        XBOX_KEYCODE_B

        +
        public static final int XBOX_KEYCODE_B
        +
        XBOX key 'B' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        XBOX_KEYCODE_L1

        +
        public static final int XBOX_KEYCODE_L1
        +
        XBOX key 'L1' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        XBOX_KEYCODE_R1

        +
        public static final int XBOX_KEYCODE_R1
        +
        XBOX key 'R1' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        XBOX_KEYCODE_L3

        +
        public static final int XBOX_KEYCODE_L3
        +
        XBOX key 'L3' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        XBOX_KEYCODE_R3

        +
        public static final int XBOX_KEYCODE_R3
        +
        XBOX key 'R3' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_0

        +
        public static final int KEYBOARD_KEYCODE_0
        +
        Keyboard key '0' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_1

        +
        public static final int KEYBOARD_KEYCODE_1
        +
        Keyboard key '1' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_2

        +
        public static final int KEYBOARD_KEYCODE_2
        +
        Keyboard key '2' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_3

        +
        public static final int KEYBOARD_KEYCODE_3
        +
        Keyboard key '3' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_4

        +
        public static final int KEYBOARD_KEYCODE_4
        +
        Keyboard key '4' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_5

        +
        public static final int KEYBOARD_KEYCODE_5
        +
        Keyboard key '5' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_6

        +
        public static final int KEYBOARD_KEYCODE_6
        +
        Keyboard key '6' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_7

        +
        public static final int KEYBOARD_KEYCODE_7
        +
        Keyboard key '7' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_8

        +
        public static final int KEYBOARD_KEYCODE_8
        +
        Keyboard key '8' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_9

        +
        public static final int KEYBOARD_KEYCODE_9
        +
        Keyboard key '9' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_A

        +
        public static final int KEYBOARD_KEYCODE_A
        +
        Keyboard key 'A' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_B

        +
        public static final int KEYBOARD_KEYCODE_B
        +
        Keyboard key 'B' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_C

        +
        public static final int KEYBOARD_KEYCODE_C
        +
        Keyboard key 'C' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_D

        +
        public static final int KEYBOARD_KEYCODE_D
        +
        Keyboard key 'D' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_E

        +
        public static final int KEYBOARD_KEYCODE_E
        +
        Keyboard key 'E' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_F

        +
        public static final int KEYBOARD_KEYCODE_F
        +
        Keyboard key 'F' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_G

        +
        public static final int KEYBOARD_KEYCODE_G
        +
        Keyboard key 'G' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_H

        +
        public static final int KEYBOARD_KEYCODE_H
        +
        Keyboard key 'H' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_I

        +
        public static final int KEYBOARD_KEYCODE_I
        +
        Keyboard key 'I' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_J

        +
        public static final int KEYBOARD_KEYCODE_J
        +
        Keyboard key 'J' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_K

        +
        public static final int KEYBOARD_KEYCODE_K
        +
        Keyboard key 'K' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_L

        +
        public static final int KEYBOARD_KEYCODE_L
        +
        Keyboard key 'L' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_M

        +
        public static final int KEYBOARD_KEYCODE_M
        +
        Keyboard key 'M' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_N

        +
        public static final int KEYBOARD_KEYCODE_N
        +
        Keyboard key 'N' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_O

        +
        public static final int KEYBOARD_KEYCODE_O
        +
        Keyboard key 'O' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_P

        +
        public static final int KEYBOARD_KEYCODE_P
        +
        Keyboard key 'P' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_Q

        +
        public static final int KEYBOARD_KEYCODE_Q
        +
        Keyboard key 'Q' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_R

        +
        public static final int KEYBOARD_KEYCODE_R
        +
        Keyboard key 'R' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_S

        +
        public static final int KEYBOARD_KEYCODE_S
        +
        Keyboard key 'S' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_T

        +
        public static final int KEYBOARD_KEYCODE_T
        +
        Keyboard key 'T' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_U

        +
        public static final int KEYBOARD_KEYCODE_U
        +
        Keyboard key 'U' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_V

        +
        public static final int KEYBOARD_KEYCODE_V
        +
        Keyboard key 'V' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_W

        +
        public static final int KEYBOARD_KEYCODE_W
        +
        Keyboard key 'W' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_X

        +
        public static final int KEYBOARD_KEYCODE_X
        +
        Keyboard key 'X' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_Y

        +
        public static final int KEYBOARD_KEYCODE_Y
        +
        Keyboard key 'Y' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_Z

        +
        public static final int KEYBOARD_KEYCODE_Z
        +
        Keyboard key 'Z' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_SEMICOLON

        +
        public static final int KEYBOARD_KEYCODE_SEMICOLON
        +
        Keyboard key ';' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_EQUALS

        +
        public static final int KEYBOARD_KEYCODE_EQUALS
        +
        Keyboard key '=' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_COMMA

        +
        public static final int KEYBOARD_KEYCODE_COMMA
        +
        Keyboard key ',' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_MINUS

        +
        public static final int KEYBOARD_KEYCODE_MINUS
        +
        Keyboard key '-' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_DOT

        +
        public static final int KEYBOARD_KEYCODE_DOT
        +
        Keyboard key '.' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_SLASH

        +
        public static final int KEYBOARD_KEYCODE_SLASH
        +
        Keyboard key '/' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_GRAV

        +
        public static final int KEYBOARD_KEYCODE_GRAV
        +
        Keyboard key '`' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_LEFT_BRACKET

        +
        public static final int KEYBOARD_KEYCODE_LEFT_BRACKET
        +
        Keyboard key '[' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_BACKSLASH

        +
        public static final int KEYBOARD_KEYCODE_BACKSLASH
        +
        Keyboard key '\' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_RIGHT_BRACKET

        +
        public static final int KEYBOARD_KEYCODE_RIGHT_BRACKET
        +
        Keyboard key ']' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_APOSTROPHE

        +
        public static final int KEYBOARD_KEYCODE_APOSTROPHE
        +
        Keyboard key ''' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_F1

        +
        public static final int KEYBOARD_KEYCODE_F1
        +
        Keyboard key 'F1' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_F2

        +
        public static final int KEYBOARD_KEYCODE_F2
        +
        Keyboard key 'F2' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_F3

        +
        public static final int KEYBOARD_KEYCODE_F3
        +
        Keyboard key 'F3' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_F4

        +
        public static final int KEYBOARD_KEYCODE_F4
        +
        Keyboard key 'F4' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_F5

        +
        public static final int KEYBOARD_KEYCODE_F5
        +
        Keyboard key 'F5' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_F6

        +
        public static final int KEYBOARD_KEYCODE_F6
        +
        Keyboard key 'F6' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_F7

        +
        public static final int KEYBOARD_KEYCODE_F7
        +
        Keyboard key 'F7' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_F8

        +
        public static final int KEYBOARD_KEYCODE_F8
        +
        Keyboard key 'F8' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_F9

        +
        public static final int KEYBOARD_KEYCODE_F9
        +
        Keyboard key 'F9' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_F10

        +
        public static final int KEYBOARD_KEYCODE_F10
        +
        Keyboard key 'F10' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_F11

        +
        public static final int KEYBOARD_KEYCODE_F11
        +
        Keyboard key 'F11' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_F12

        +
        public static final int KEYBOARD_KEYCODE_F12
        +
        Keyboard key 'F12' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_NUM_PAD_0

        +
        public static final int KEYBOARD_KEYCODE_NUM_PAD_0
        +
        Keyboard NumPad key '0' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_NUM_PAD_1

        +
        public static final int KEYBOARD_KEYCODE_NUM_PAD_1
        +
        Keyboard NumPad key '1' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_NUM_PAD_2

        +
        public static final int KEYBOARD_KEYCODE_NUM_PAD_2
        +
        Keyboard NumPad key '2' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_NUM_PAD_3

        +
        public static final int KEYBOARD_KEYCODE_NUM_PAD_3
        +
        Keyboard NumPad key '3' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_NUM_PAD_4

        +
        public static final int KEYBOARD_KEYCODE_NUM_PAD_4
        +
        Keyboard NumPad key '4' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_NUM_PAD_5

        +
        public static final int KEYBOARD_KEYCODE_NUM_PAD_5
        +
        Keyboard NumPad key '5' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_NUM_PAD_6

        +
        public static final int KEYBOARD_KEYCODE_NUM_PAD_6
        +
        Keyboard NumPad key '6' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_NUM_PAD_7

        +
        public static final int KEYBOARD_KEYCODE_NUM_PAD_7
        +
        Keyboard NumPad key '7' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_NUM_PAD_8

        +
        public static final int KEYBOARD_KEYCODE_NUM_PAD_8
        +
        Keyboard NumPad key '8' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_NUM_PAD_9

        +
        public static final int KEYBOARD_KEYCODE_NUM_PAD_9
        +
        Keyboard NumPad key '9' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_NUM_PAD_DOT

        +
        public static final int KEYBOARD_KEYCODE_NUM_PAD_DOT
        +
        Keyboard NumPad key '.' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_NUM_PAD_ADD

        +
        public static final int KEYBOARD_KEYCODE_NUM_PAD_ADD
        +
        Keyboard NumPad key '+' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_NUM_PAD_DIVIDE

        +
        public static final int KEYBOARD_KEYCODE_NUM_PAD_DIVIDE
        +
        Keyboard NumPad key '/' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_NUM_PAD_MULTIPLY

        +
        public static final int KEYBOARD_KEYCODE_NUM_PAD_MULTIPLY
        +
        Keyboard NumPad key '*' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_NUM_PAD_ENTER

        +
        public static final int KEYBOARD_KEYCODE_NUM_PAD_ENTER
        +
        Keyboard NumPad key 'Enter' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_NUM_PAD_SUBTRACT

        +
        public static final int KEYBOARD_KEYCODE_NUM_PAD_SUBTRACT
        +
        Keyboard NumPad key '-' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_NUM_LOCK

        +
        public static final int KEYBOARD_KEYCODE_NUM_LOCK
        +
        Keyboard key 'NumLock' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_DEL

        +
        public static final int KEYBOARD_KEYCODE_DEL
        +
        Keyboard key 'Delete' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_BACKSPACE

        +
        public static final int KEYBOARD_KEYCODE_BACKSPACE
        +
        Keyboard key 'BackSpace' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_TAB

        +
        public static final int KEYBOARD_KEYCODE_TAB
        +
        Keyboard key 'Tab' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_CAPS_LOCK

        +
        public static final int KEYBOARD_KEYCODE_CAPS_LOCK
        +
        Keyboard key 'CapsLock' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + + + + + + + + + + + + + +
        +
      • +

        KEYBOARD_KEYCODE_ENTER

        +
        public static final int KEYBOARD_KEYCODE_ENTER
        +
        Keyboard key 'Enter' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_INSERT

        +
        public static final int KEYBOARD_KEYCODE_INSERT
        +
        Keyboard key 'Insert' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_PAGE_DOWN

        +
        public static final int KEYBOARD_KEYCODE_PAGE_DOWN
        +
        Keyboard key 'PageDown' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_PAGE_UP

        +
        public static final int KEYBOARD_KEYCODE_PAGE_UP
        +
        Keyboard key 'PageUp' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_END

        +
        public static final int KEYBOARD_KEYCODE_END
        +
        Keyboard key 'End' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_HOME

        +
        public static final int KEYBOARD_KEYCODE_HOME
        +
        Keyboard key 'Home' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_ESCAPE

        +
        public static final int KEYBOARD_KEYCODE_ESCAPE
        +
        Keyboard key 'ESC' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_SPACE

        +
        public static final int KEYBOARD_KEYCODE_SPACE
        +
        Keyboard key 'Space' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_DPAD_LEFT

        +
        public static final int KEYBOARD_KEYCODE_DPAD_LEFT
        +
        Keyboard key '⬅' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_DPAD_RIGHT

        +
        public static final int KEYBOARD_KEYCODE_DPAD_RIGHT
        +
        Keyboard key '➡' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_DPAD_UP

        +
        public static final int KEYBOARD_KEYCODE_DPAD_UP
        +
        Keyboard key '⬆' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEYBOARD_KEYCODE_DPAD_DOWN

        +
        public static final int KEYBOARD_KEYCODE_DPAD_DOWN
        +
        Keyboard key '⬇' keycode
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        WindowsKeyEvent

        +
        public WindowsKeyEvent()
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/view/package-frame.html b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/view/package-frame.html new file mode 100755 index 00000000..599d5825 --- /dev/null +++ b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/view/package-frame.html @@ -0,0 +1,38 @@ + + + + + +com.tencent.tcr.sdk.api.view (TcrSdkFull 3.22.0 API) + + + + +

com.tencent.tcr.sdk.api.view

+
+

Interfaces

+ +

Classes

+ +

Enums

+ +
+ + diff --git a/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/view/package-summary.html b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/view/package-summary.html new file mode 100755 index 00000000..fc876458 --- /dev/null +++ b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/view/package-summary.html @@ -0,0 +1,245 @@ + + + + + +com.tencent.tcr.sdk.api.view (TcrSdkFull 3.22.0 API) + + + + + + + +
+ + + + + + + +
+ + +
+

Package com.tencent.tcr.sdk.api.view

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/view/package-tree.html b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/view/package-tree.html new file mode 100755 index 00000000..ea00064d --- /dev/null +++ b/tcrsdk/3.22.0/com/tencent/tcr/sdk/api/view/package-tree.html @@ -0,0 +1,165 @@ + + + + + +com.tencent.tcr.sdk.api.view Class Hierarchy (TcrSdkFull 3.22.0 API) + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For Package com.tencent.tcr.sdk.api.view

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +

Interface Hierarchy

+ +

Enum Hierarchy

+ +
+ +
+ + + + + + + +
+ + + + diff --git a/tcrsdk/3.22.0/constant-values.html b/tcrsdk/3.22.0/constant-values.html new file mode 100755 index 00000000..5343f9ad --- /dev/null +++ b/tcrsdk/3.22.0/constant-values.html @@ -0,0 +1,1210 @@ + + + + + +Constant Field Values (TcrSdkFull 3.22.0 API) + + + + + + + +
+ + + + + + + +
+ + +
+

Constant Field Values

+

Contents

+ +
+
+ + +

com.tencent.*

+ + + +
+ +
+ + + + + + + +
+ + + + diff --git a/tcrsdk/3.22.0/deprecated-list.html b/tcrsdk/3.22.0/deprecated-list.html new file mode 100755 index 00000000..92de4b18 --- /dev/null +++ b/tcrsdk/3.22.0/deprecated-list.html @@ -0,0 +1,179 @@ + + + + + +Deprecated List (TcrSdkFull 3.22.0 API) + + + + + + + +
+ + + + + + + +
+ + +
+

Deprecated API

+

Contents

+ +
+
+ + + + + + + +
+ +
+ + + + + + + +
+ + + + diff --git a/tcrsdk/3.22.0/help-doc.html b/tcrsdk/3.22.0/help-doc.html new file mode 100755 index 00000000..2e40073d --- /dev/null +++ b/tcrsdk/3.22.0/help-doc.html @@ -0,0 +1,222 @@ + + + + + +API Help (TcrSdkFull 3.22.0 API) + + + + + + + +
+ + + + + + + +
+ + +
+

How This API Document Is Organized

+
This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.
+
+
+ +This help file applies to API documentation generated using the standard doclet.
+ +
+ + + + + + + +
+ + + + diff --git a/tcrsdk/3.22.0/index-all.html b/tcrsdk/3.22.0/index-all.html new file mode 100755 index 00000000..4d1239e3 --- /dev/null +++ b/tcrsdk/3.22.0/index-all.html @@ -0,0 +1,2097 @@ + + + + + +Index (TcrSdkFull 3.22.0 API) + + + + + + + +
+ + + + + + + +
+ + +
A B C D E F G H I K L M N O P R S T U V W X  + + +

A

+
+
AsyncCallback<T> - Interface in com.tencent.tcr.sdk.api
+
+
This interface defines a general async task callback schema.
+
+
audioRecvBitrate - Variable in class com.tencent.tcr.sdk.api.data.StatsInfo
+
+
The calculated bitrate of the audio bytes received over the network.
+
+
audioSentBitrate - Variable in class com.tencent.tcr.sdk.api.data.StatsInfo
+
+
The calculated bitrate of the audio bytes sent to the server over network.
+
+
AudioSink - Interface in com.tencent.tcr.sdk.api
+
+
Implement this interface if you want to get and play the audio data by yourself.
+
+
+ + + +

B

+
+
bitrate - Variable in class com.tencent.tcr.sdk.api.data.StatsInfo
+
+
The calculated bitrate of the audio and video bytes received over the network.
+
+
build() - Method in class com.tencent.tcr.sdk.api.TcrSessionConfig.Builder
+
+
Construct a TcrSessionConfig.
+
+
builder() - Static method in class com.tencent.tcr.sdk.api.TcrSessionConfig
+
+
return the builder for TcrSessionConfig
+
+
Builder() - Constructor for class com.tencent.tcr.sdk.api.TcrSessionConfig.Builder
+
 
+
+ + + +

C

+
+
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.
+
+
+ + + +

D

+
+
d(String, String) - Method in interface com.tencent.tcr.sdk.api.TcrLogger
+
 
+
describeContents() - Method in class com.tencent.tcr.sdk.api.data.MultiUser
+
 
+
disconnectGamepad() - Method in interface com.tencent.tcr.sdk.api.Gamepad
+
+
Trigger the cloud machine to pull out the virtual Gamepad.
+
+
dispatchGenericMotionEvent(MotionEvent) - Method in class com.tencent.tcr.sdk.api.view.TcrRenderView
+
 
+
dispatchKeyEvent(KeyEvent) - Method in class com.tencent.tcr.sdk.api.view.TcrRenderView
+
 
+
+ + + +

E

+
+
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.
+
+
+ + + +

F

+
+
fps - Variable in class com.tencent.tcr.sdk.api.data.StatsInfo
+
+
The frame rate of the decoded video
+
+
framesDecoded - Variable in class com.tencent.tcr.sdk.api.data.StatsInfo
+
+
The number of frames that have been successfully decoded
+
+
framesDropped - Variable in class com.tencent.tcr.sdk.api.data.StatsInfo
+
+
The number of frames that have been dropped
+
+
framesReceived - Variable in class com.tencent.tcr.sdk.api.data.StatsInfo
+
+
The number of frames received
+
+
+ + + +

G

+
+
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
+
+
When the sdk uses a hard decoder to decode, the returned Buffer type isVideoFrame.TextureBuffer
+ When the sdk uses a soft decoder to decode, the returned Buffer type isVideoFrame.I420Buffer
+
+
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
+
+
获取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
+
+
Deprecated. +
This interface is not recommended for use.
+
+
+
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
+
+
return the PcZoomHandler
+
+
gpu - Variable in class com.tencent.tcr.sdk.api.data.StatsInfo
+
+
GPU usage of the remote device
+
+
+ + + +

H

+
+
handleMotion(MotionEvent) - Method in class com.tencent.tcr.sdk.api.view.TcrRenderView
+
+
Handle touch event.
+
+
height - Variable in class com.tencent.tcr.sdk.api.data.VideoStreamConfig
+
+
The height of the streaming video
+
+
hotSpotX - Variable in class com.tencent.tcr.sdk.api.data.CursorImageInfo
+
+
hotSpotX mouse x coordinate offset, default value is 0 (The mouse pointer points to the upper left vertex)
+
+
hotSpotY - Variable in class com.tencent.tcr.sdk.api.data.CursorImageInfo
+
+
hotSpotY mouse y coordinate offset, default value is 0 (The mouse pointer points to the upper left vertex)
+
+
+ + + +

I

+
+
i(String, String) - Method in interface com.tencent.tcr.sdk.api.TcrLogger
+
 
+
idleThreshold(long) - Method in class com.tencent.tcr.sdk.api.TcrSessionConfig.Builder
+
+ +
+
idleThreshold - Variable in class com.tencent.tcr.sdk.api.TcrSessionConfig
+
+
The idle detection threshold, that is, the duration of user inactivity.
+
+
init(Context, String, AsyncCallback<Void>) - Method in class com.tencent.tcr.sdk.api.TcrSdk
+
+
Initialize this TcrSdk.
+
+
inputSampleRate - Variable in class com.tencent.tcr.sdk.api.TcrSessionConfig
+
+
The sample rate (in Hz) of the input audio, e.g., 44100 or 48000.
+
+
+ + + +

K

+
+
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 key 'alt' keycode + Note: Android can distinguish left and right keycode, use here + Keyboard.onKeyboard(int, boolean) to press/release key
+
+
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 key 'ctrl' keycode + Note: Android can distinguish left and right keycode, use here + Keyboard.onKeyboard(int, boolean) to press/release key
+
+
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 key 'shift' keycode + Note: Android can distinguish left and right keycode, use here + Keyboard.onKeyboard(int, boolean) to press/release key
+
+
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
+
+
+ + + +

L

+
+
lastDecodeMs - Variable in class com.tencent.tcr.sdk.api.data.StatsInfo
+
+
The time it took to decode the last received frame, in milliseconds
+
+
LoginHelper - Interface in com.tencent.tcr.sdk.api
+
+
This interface is used to implement automatic login.
+
+
LONG_PRESS - Static variable in class com.tencent.tcr.sdk.api.view.PcTouchListener
+
+
异步长按事件
+
+
lowFpsThreshold(int, int) - Method in class com.tencent.tcr.sdk.api.TcrSessionConfig.Builder
+
+ +
+
lowFpsThresholdCount - Variable in class com.tencent.tcr.sdk.api.TcrSessionConfig
+
+
The frame rate threshold.
+
+
lowFpsThresholdDuration - Variable in class com.tencent.tcr.sdk.api.TcrSessionConfig
+
+
The frame rate duration threshold.
+
+
+ + + +

M

+
+
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
+
 
+
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
+
 
+
+ + + +

N

+
+
nackCount - Variable in class com.tencent.tcr.sdk.api.data.StatsInfo
+
+
The number of times a negative acknowledgment (NACK) has been sent to request a missing packet
+
+
+ + + +

O

+
+
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
+
+
This will be called when a new video frame has been rendered if TcrRenderView.setEnableFrameCallback(float) has + been called with scale greater or equal to 0.
+
+
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
+
 
+
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.
+
+
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
+
+
The orientation of the activity's display on the device.
+
+
+ + + +

P

+
+
packetLost - Variable in class com.tencent.tcr.sdk.api.data.StatsInfo
+
+
The number of packets discarded.
+
+
packetReceived - Variable in class com.tencent.tcr.sdk.api.data.StatsInfo
+
+
The number of packets received.
+
+
pasteText(String) - Method in interface com.tencent.tcr.sdk.api.TcrSession
+
+
Send the text to the input box in the cloud application.
+ The input box of the cloud application must have obtained the focus and allow the user to paste text from the + clipboard.
+ + For Android cloud applications, sent text replaces the input box content.
+ For Windows cloud applications, sent text is added to the existing content in the input box.
+
+
pauseStreaming() - Method in interface com.tencent.tcr.sdk.api.TcrSession
+
+
Pause the media stream.
+
+
PcClickListener - Class in com.tencent.tcr.sdk.api.view
+
+
This class implements PcTouchListener.OnClickListener.
+
+
PcClickListener(TcrSession) - Constructor for class com.tencent.tcr.sdk.api.view.PcClickListener
+
 
+
PcTouchListener - Class in com.tencent.tcr.sdk.api.view
+
+
This class implements the touch logic for PC applications on the cloud machine.
+ It converts local screen touch events to mouse events and recognize the click, long press, and double-click events.
+
+
PcTouchListener(TcrSession) - Constructor for class com.tencent.tcr.sdk.api.view.PcTouchListener
+
+
constructor
+
+
PcTouchListener.OnClickListener - Interface in com.tencent.tcr.sdk.api.view
+
+
Interface definition for callbacks to be invoked when a view is clicked.
+
+
PcTouchListener.OnDoubleClickListener - Interface in com.tencent.tcr.sdk.api.view
+
+
Interface definition for callbacks to be invoked when a view is double clicked.
+
+
PcZoomHandler - Class in com.tencent.tcr.sdk.api.view
+
+
This class handles the two-finger pinch zoom logic.
+
+
PcZoomHandler(PcTouchListener) - Constructor for class com.tencent.tcr.sdk.api.view.PcZoomHandler
+
 
+
PcZoomHandler.ZoomListener - Interface in com.tencent.tcr.sdk.api.view
+
+
Interface definition for callbacks to be invoked when the two-finger pinch zoom status has changed.
+
+
players - Variable in class com.tencent.tcr.sdk.api.data.MultiUserSeatInfo
+
+
The player list
+
+
playerSeatLeft - Variable in class com.tencent.tcr.sdk.api.data.MultiUserSeatInfo
+
+
The current number of idle player seats
+
+
preferredCodec(TcrSessionConfig.VideoCodecType) - Method in class com.tencent.tcr.sdk.api.TcrSessionConfig.Builder
+
+
Deprecated.
+
+
preferredCodecList(ArrayList<TcrSessionConfig.VideoCodecType>) - Method in class com.tencent.tcr.sdk.api.TcrSessionConfig.Builder
+
+ +
+
preferredCodecList - Variable in class com.tencent.tcr.sdk.api.TcrSessionConfig
+
+
The preferred codec list.
+
+
+ + + +

R

+
+
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
+
+
+ + + +

S

+
+
ScreenConfig - Class in com.tencent.tcr.sdk.api.data
+
+
The cloud screen configuration
+
+
ScreenConfig(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
+
+
set the PcZoomHandler.
+
+
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
+
+
This value indicates that the App call TcrSession.release() to actively exit
+
+
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.
+
+
+ + + +

T

+
+
TcrCode - Interface in com.tencent.tcr.sdk.api
+
+
This interface defines common codes of TcrSdk.
+
+
TcrCode.SessionStop - Interface in com.tencent.tcr.sdk.api
+
+
The code returned when the state of TcrSession changes to + TcrSession.Event.STATE_CLOSED
+
+
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.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.
+
+
+ + + +

U

+
+
update(Observable, Object) - Method in class com.tencent.tcr.sdk.api.view.PcTouchListener
+
 
+
userID - Variable in class com.tencent.tcr.sdk.api.data.MultiUser
+
+
The user ID
+
+
userID - Variable in class com.tencent.tcr.sdk.api.data.MultiUserSeatInfo
+
+
The user ID
+
+
userID - Variable in class com.tencent.tcr.sdk.api.data.RoleApplyInfo
+
+
The user ID
+
+
useStereoInput - Variable in class com.tencent.tcr.sdk.api.TcrSessionConfig
+
+
Indicates whether stereo input (true) or mono input (false) is used.
+
+
+ + + +

V

+
+
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.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.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
+
+
+ + + +

W

+
+
w(String, String) - Method in interface com.tencent.tcr.sdk.api.TcrLogger
+
 
+
width - Variable in class com.tencent.tcr.sdk.api.data.VideoStreamConfig
+
+
The width of the streaming video
+
+
WindowsKeyEvent - Class in com.tencent.tcr.sdk.api.view
+
+
This class defines key and button events in Windows platform.
+
+
WindowsKeyEvent() - Constructor for class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
+
 
+
writeToParcel(Parcel, int) - Method in class com.tencent.tcr.sdk.api.data.MultiUser
+
 
+
+ + + +

X

+
+
XBOX_KEYCODE_A - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
+
+
XBOX key 'A' keycode
+
+
XBOX_KEYCODE_B - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
+
+
XBOX key 'B' keycode
+
+
XBOX_KEYCODE_DOWN - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
+
+
XBOX key 'DPad ⬇' keycode
+
+
XBOX_KEYCODE_L1 - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
+
+
XBOX key 'L1' keycode
+
+
XBOX_KEYCODE_L3 - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
+
+
XBOX key 'L3' keycode
+
+
XBOX_KEYCODE_LEFT - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
+
+
XBOX key 'DPad ⬅' keycode
+
+
XBOX_KEYCODE_R1 - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
+
+
XBOX key 'R1' keycode
+
+
XBOX_KEYCODE_R3 - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
+
+
XBOX key 'R3' keycode
+
+
XBOX_KEYCODE_RIGHT - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
+
+
XBOX key 'DPad ➡' keycode
+
+
XBOX_KEYCODE_SELECT - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
+
+
XBOX key 'SELECT' keycode
+
+
XBOX_KEYCODE_START - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
+
+
XBOX key 'START' keycode
+
+
XBOX_KEYCODE_UP - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
+
+
XBOX key 'DPad ⬆' keycode
+
+
XBOX_KEYCODE_X - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
+
+
XBOX key 'X' keycode
+
+
XBOX_KEYCODE_Y - Static variable in class com.tencent.tcr.sdk.api.view.WindowsKeyEvent
+
+
XBOX key 'Y' keycode
+
+
+A B C D E F G H I K L M N O P R S T U V W X 
+ +
+ + + + + + + +
+ + + + diff --git a/tcrsdk/3.22.0/index.html b/tcrsdk/3.22.0/index.html new file mode 100755 index 00000000..d0870839 --- /dev/null +++ b/tcrsdk/3.22.0/index.html @@ -0,0 +1,75 @@ + + + + + +TcrSdkFull 3.22.0 API + + + + + + + + + +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<h2>Frame Alert</h2> +<p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="overview-summary.html">Non-frame version</a>.</p> + + + diff --git a/tcrsdk/3.22.0/overview-frame.html b/tcrsdk/3.22.0/overview-frame.html new file mode 100755 index 00000000..8199d65c --- /dev/null +++ b/tcrsdk/3.22.0/overview-frame.html @@ -0,0 +1,23 @@ + + + + + +Overview List (TcrSdkFull 3.22.0 API) + + + + +
All Classes
+
+

Packages

+ +
+

 

+ + diff --git a/tcrsdk/3.22.0/overview-summary.html b/tcrsdk/3.22.0/overview-summary.html new file mode 100755 index 00000000..36fd0f87 --- /dev/null +++ b/tcrsdk/3.22.0/overview-summary.html @@ -0,0 +1,147 @@ + + + + + +Overview (TcrSdkFull 3.22.0 API) + + + + + + + +
+ + + + + + + +
+ + +
+

TcrSdkFull 3.22.0 API

+
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
Packages 
PackageDescription
com.tencent.tcr.sdk.api 
com.tencent.tcr.sdk.api.data 
com.tencent.tcr.sdk.api.utils 
com.tencent.tcr.sdk.api.view 
+
+ +
+ + + + + + + +
+ + + + diff --git a/tcrsdk/3.22.0/overview-tree.html b/tcrsdk/3.22.0/overview-tree.html new file mode 100755 index 00000000..127824c5 --- /dev/null +++ b/tcrsdk/3.22.0/overview-tree.html @@ -0,0 +1,214 @@ + + + + + +Class Hierarchy (TcrSdkFull 3.22.0 API) + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For All Packages

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +

Interface Hierarchy

+ +

Enum Hierarchy

+ +
+ +
+ + + + + + + +
+ + + + diff --git a/tcrsdk/3.22.0/package-list b/tcrsdk/3.22.0/package-list new file mode 100755 index 00000000..1370c04b --- /dev/null +++ b/tcrsdk/3.22.0/package-list @@ -0,0 +1,4 @@ +com.tencent.tcr.sdk.api +com.tencent.tcr.sdk.api.data +com.tencent.tcr.sdk.api.utils +com.tencent.tcr.sdk.api.view diff --git a/tcrsdk/3.22.0/script.js b/tcrsdk/3.22.0/script.js new file mode 100755 index 00000000..b3463569 --- /dev/null +++ b/tcrsdk/3.22.0/script.js @@ -0,0 +1,30 @@ +function show(type) +{ + count = 0; + for (var key in methods) { + var row = document.getElementById(key); + if ((methods[key] & type) != 0) { + row.style.display = ''; + row.className = (count++ % 2) ? rowColor : altColor; + } + else + row.style.display = 'none'; + } + updateTabs(type); +} + +function updateTabs(type) +{ + for (var value in tabs) { + var sNode = document.getElementById(tabs[value][0]); + var spanNode = sNode.firstChild; + if (value == type) { + sNode.className = activeTableTab; + spanNode.innerHTML = tabs[value][1]; + } + else { + sNode.className = tableTab; + spanNode.innerHTML = "" + tabs[value][1] + ""; + } + } +} diff --git a/tcrsdk/3.22.0/stylesheet.css b/tcrsdk/3.22.0/stylesheet.css new file mode 100755 index 00000000..98055b22 --- /dev/null +++ b/tcrsdk/3.22.0/stylesheet.css @@ -0,0 +1,574 @@ +/* Javadoc style sheet */ +/* +Overall document style +*/ + +@import url('resources/fonts/dejavu.css'); + +body { + background-color:#ffffff; + color:#353833; + font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; + font-size:14px; + margin:0; +} +a:link, a:visited { + text-decoration:none; + color:#4A6782; +} +a:hover, a:focus { + text-decoration:none; + color:#bb7a2a; +} +a:active { + text-decoration:none; + color:#4A6782; +} +a[name] { + color:#353833; +} +a[name]:hover { + text-decoration:none; + color:#353833; +} +pre { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; +} +h1 { + font-size:20px; +} +h2 { + font-size:18px; +} +h3 { + font-size:16px; + font-style:italic; +} +h4 { + font-size:13px; +} +h5 { + font-size:12px; +} +h6 { + font-size:11px; +} +ul { + list-style-type:disc; +} +code, tt { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; + margin-top:8px; + line-height:1.4em; +} +dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; +} +table tr td dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + vertical-align:top; + padding-top:4px; +} +sup { + font-size:8px; +} +/* +Document title and Copyright styles +*/ +.clear { + clear:both; + height:0px; + overflow:hidden; +} +.aboutLanguage { + float:right; + padding:0px 21px; + font-size:11px; + z-index:200; + margin-top:-9px; +} +.legalCopy { + margin-left:.5em; +} +.bar a, .bar a:link, .bar a:visited, .bar a:active { + color:#FFFFFF; + text-decoration:none; +} +.bar a:hover, .bar a:focus { + color:#bb7a2a; +} +.tab { + background-color:#0066FF; + color:#ffffff; + padding:8px; + width:5em; + font-weight:bold; +} +/* +Navigation bar styles +*/ +.bar { + background-color:#4D7A97; + color:#FFFFFF; + padding:.8em .5em .4em .8em; + height:auto;/*height:1.8em;*/ + font-size:11px; + margin:0; +} +.topNav { + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.bottomNav { + margin-top:10px; + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.subNav { + background-color:#dee3e9; + float:left; + width:100%; + overflow:hidden; + font-size:12px; +} +.subNav div { + clear:left; + float:left; + padding:0 0 5px 6px; + text-transform:uppercase; +} +ul.navList, ul.subNavList { + float:left; + margin:0 25px 0 0; + padding:0; +} +ul.navList li{ + list-style:none; + float:left; + padding: 5px 6px; + text-transform:uppercase; +} +ul.subNavList li{ + list-style:none; + float:left; +} +.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { + color:#FFFFFF; + text-decoration:none; + text-transform:uppercase; +} +.topNav a:hover, .bottomNav a:hover { + text-decoration:none; + color:#bb7a2a; + text-transform:uppercase; +} +.navBarCell1Rev { + background-color:#F8981D; + color:#253441; + margin: auto 5px; +} +.skipNav { + position:absolute; + top:auto; + left:-9999px; + overflow:hidden; +} +/* +Page header and footer styles +*/ +.header, .footer { + clear:both; + margin:0 20px; + padding:5px 0 0 0; +} +.indexHeader { + margin:10px; + position:relative; +} +.indexHeader span{ + margin-right:15px; +} +.indexHeader h1 { + font-size:13px; +} +.title { + color:#2c4557; + margin:10px 0; +} +.subTitle { + margin:5px 0 0 0; +} +.header ul { + margin:0 0 15px 0; + padding:0; +} +.footer ul { + margin:20px 0 5px 0; +} +.header ul li, .footer ul li { + list-style:none; + font-size:13px; +} +/* +Heading styles +*/ +div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList ul.blockList li.blockList h3 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList li.blockList h3 { + padding:0; + margin:15px 0; +} +ul.blockList li.blockList h2 { + padding:0px 0 20px 0; +} +/* +Page layout container styles +*/ +.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { + clear:both; + padding:10px 20px; + position:relative; +} +.indexContainer { + margin:10px; + position:relative; + font-size:12px; +} +.indexContainer h2 { + font-size:13px; + padding:0 0 3px 0; +} +.indexContainer ul { + margin:0; + padding:0; +} +.indexContainer ul li { + list-style:none; + padding-top:2px; +} +.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { + font-size:12px; + font-weight:bold; + margin:10px 0 0 0; + color:#4E4E4E; +} +.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { + margin:5px 0 10px 0px; + font-size:14px; + font-family:'DejaVu Sans Mono',monospace; +} +.serializedFormContainer dl.nameValue dt { + margin-left:1px; + font-size:1.1em; + display:inline; + font-weight:bold; +} +.serializedFormContainer dl.nameValue dd { + margin:0 0 0 1px; + font-size:1.1em; + display:inline; +} +/* +List styles +*/ +ul.horizontal li { + display:inline; + font-size:0.9em; +} +ul.inheritance { + margin:0; + padding:0; +} +ul.inheritance li { + display:inline; + list-style:none; +} +ul.inheritance li ul.inheritance { + margin-left:15px; + padding-left:15px; + padding-top:1px; +} +ul.blockList, ul.blockListLast { + margin:10px 0 10px 0; + padding:0; +} +ul.blockList li.blockList, ul.blockListLast li.blockList { + list-style:none; + margin-bottom:15px; + line-height:1.4; +} +ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { + padding:0px 20px 5px 10px; + border:1px solid #ededed; + background-color:#f8f8f8; +} +ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { + padding:0 0 5px 8px; + background-color:#ffffff; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { + margin-left:0; + padding-left:0; + padding-bottom:15px; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { + list-style:none; + border-bottom:none; + padding-bottom:0; +} +table tr td dl, table tr td dl dt, table tr td dl dd { + margin-top:0; + margin-bottom:1px; +} +/* +Table styles +*/ +.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { + width:100%; + border-left:1px solid #EEE; + border-right:1px solid #EEE; + border-bottom:1px solid #EEE; +} +.overviewSummary, .memberSummary { + padding:0px; +} +.overviewSummary caption, .memberSummary caption, .typeSummary caption, +.useSummary caption, .constantsSummary caption, .deprecatedSummary caption { + position:relative; + text-align:left; + background-repeat:no-repeat; + color:#253441; + font-weight:bold; + clear:none; + overflow:hidden; + padding:0px; + padding-top:10px; + padding-left:1px; + margin:0px; + white-space:pre; +} +.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, +.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link, +.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, +.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, +.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, +.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, +.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, +.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited { + color:#FFFFFF; +} +.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, +.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + padding-bottom:7px; + display:inline-block; + float:left; + background-color:#F8981D; + border: none; + height:16px; +} +.memberSummary caption span.activeTableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#F8981D; + height:16px; +} +.memberSummary caption span.tableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#4D7A97; + height:16px; +} +.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab { + padding-top:0px; + padding-left:0px; + padding-right:0px; + background-image:none; + float:none; + display:inline; +} +.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, +.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd { + display:none; + width:5px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .activeTableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .tableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + background-color:#4D7A97; + float:left; + +} +.overviewSummary td, .memberSummary td, .typeSummary td, +.useSummary td, .constantsSummary td, .deprecatedSummary td { + text-align:left; + padding:0px 0px 12px 10px; +} +th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th, +td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{ + vertical-align:top; + padding-right:0px; + padding-top:8px; + padding-bottom:3px; +} +th.colFirst, th.colLast, th.colOne, .constantsSummary th { + background:#dee3e9; + text-align:left; + padding:8px 3px 3px 7px; +} +td.colFirst, th.colFirst { + white-space:nowrap; + font-size:13px; +} +td.colLast, th.colLast { + font-size:13px; +} +td.colOne, th.colOne { + font-size:13px; +} +.overviewSummary td.colFirst, .overviewSummary th.colFirst, +.useSummary td.colFirst, .useSummary th.colFirst, +.overviewSummary td.colOne, .overviewSummary th.colOne, +.memberSummary td.colFirst, .memberSummary th.colFirst, +.memberSummary td.colOne, .memberSummary th.colOne, +.typeSummary td.colFirst{ + width:25%; + vertical-align:top; +} +td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { + font-weight:bold; +} +.tableSubHeadingColor { + background-color:#EEEEFF; +} +.altColor { + background-color:#FFFFFF; +} +.rowColor { + background-color:#EEEEEF; +} +/* +Content styles +*/ +.description pre { + margin-top:0; +} +.deprecatedContent { + margin:0; + padding:10px 0; +} +.docSummary { + padding:0; +} + +ul.blockList ul.blockList ul.blockList li.blockList h3 { + font-style:normal; +} + +div.block { + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; +} + +td.colLast div { + padding-top:0px; +} + + +td.colLast a { + padding-bottom:3px; +} +/* +Formatting effect styles +*/ +.sourceLineNo { + color:green; + padding:0 30px 0 0; +} +h1.hidden { + visibility:hidden; + overflow:hidden; + font-size:10px; +} +.block { + display:block; + margin:3px 10px 2px 0px; + color:#474747; +} +.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink, +.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel, +.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink { + font-weight:bold; +} +.deprecationComment, .emphasizedPhrase, .interfaceName { + font-style:italic; +} + +div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase, +div.block div.block span.interfaceName { + font-style:normal; +} + +div.contentContainer ul.blockList li.blockList h2{ + padding-bottom:0px; +} diff --git a/tcrsdk/index.html b/tcrsdk/index.html index 2ef9097b..295aa85a 100644 --- a/tcrsdk/index.html +++ b/tcrsdk/index.html @@ -1,5 +1,6 @@
  • 版本号