getCurrentPageUrl

fun getCurrentPageUrl(isEncodingNeeded: Boolean): String

Returns the current page URL with optional encoding

Return

Current page URL string, empty string if not set

Parameters

isEncodingNeeded

Whether to encode the URL using Uri.encode


Returns the encoded current page URL

Return

Encoded current page URL string, empty string if not set