method hasAutohideBar

bool hasAutohideBar(scene scene,string edge);

Argumente

Zurückgegebener Wert

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:
function canDockWindow()
{
    // Two autohidden toolbars cannot occupy same screen edge
    var allowDock = !(appUtils.hasAutohideBar(scene, "bottom"));
    return allowDock;
}