Android Dev Summit, October 23-24: two days of technical content, directly from the Android team. Sign-up for livestream updates.

ProxyRule

class ProxyRule
kotlin.Any
   ↳ androidx.webkit.ProxyConfig.ProxyRule

Class that holds a scheme filter and a proxy URL.

Summary

Public methods

String

Returns the String that represents the scheme filter for this object.

String

Returns the String that represents the proxy URL for this object.

Public methods

getSchemeFilter

@NonNull fun getSchemeFilter(): String

Returns the String that represents the scheme filter for this object.

Return
String: Scheme filter

getUrl

@NonNull fun getUrl(): String

Returns the String that represents the proxy URL for this object.

Return
String: Proxy URL