Method signature

Method is recommended to be used only for mobile Safari browser

FAPI.invokeUIMethod("showHideLocation");

Example usage

function prepareMidroll() {
    FAPI.invokeUIMethod("showHideLocation");
}

Callback example

Callback example in case of successful method launch

method: “showHideLocation”

result: “ok”

data: “shown”

Callback example in case of scroll is not required

method: “showHideLocation”

result: “error”

data: “no_scroll”