getCurrentPageUrl

fun getCurrentPageUrl(isEncodingNeeded: Boolean): String

Returns the current page URL, optionally encoded via Uri.encode.

Return

current page URL string, or empty string if not set

Parameters

isEncodingNeeded

if true, the URL is encoded; otherwise returned as-is


Returns the current page URL encoded via Uri.encode.

Return

encoded current page URL, or empty string if not set