目录

The BuoyClient class defines the APIs related to floating windows.

Public Method Summary

Return

Method

void

showFloatWindow()

Displays the floating window.

void

hideFloatWindow()

Hides the floating window.

Public Methods

public void showFloatWindow()

Displays the floating window. It is recommended that you call this API in the onResume method of the game screen.

public void hideFloatWindow()

Hides the floating window. You are advised to call this API in onPause to hide the game floating window.

This API can be called only after the showFloatWindow method has been called to display the game floating window.