edgeThe edge of the screen to test. Valid values are:
top
bottom
left
right
Zurückgegebener Wert
bool
This method returns true is if an autohide appbar is associated with the given
edge of the screen. Valid values for the 'aEdge' parameter are:
top
bottom
left
right
function canDockWindow()
{
// Two autohidden toolbars cannot occupy same screen edge
var allowDock = !(appUtils.hasAutohideBar(scene, "bottom"));
return allowDock;
}