isFloatingToolbarOpen Method
The toolbar calls this optional method to determine whether the floating toolbar is currently open.
The parameters for this method as listed in the following table. The method has no return value.
Parameter |
Description |
---|---|
barType |
Indicates the type of toolbar. Possible values are: MAIN_HORIZONTAL, FLOAT_VERTICAL, or NOTIFICATION. For the floating toolbar, set this value to FLOAT_VERTICAL. |
callback |
Method callback to inform the caller toolbar of the results. |
Here's the member attributes of the response object.
Member Attribute |
Description |
---|---|
result |
The server side status of the running method. This attribute has values of success or error. |
toolbarOpen |
True or false based on the state of the toolbar. |
error |
Contains the error message if the result value is an error. If not, then the value is undefined. For more information about error message codes, see Error Messages. |