closeFloatingToolbar Method

The toolbar calls this optional method to programmatically close an additional toolbar.

The method parameters as listed in the following table. This 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.

The following table shows a list of member attributes of the response object. The object has no return value.

Member Attribute

Description

result

The server side running status. Result values are success or error.

error

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