Url

data class Url(val url: String, val openMethod: CustomerCenterConfiguration.OpenMethod = OpenMethod.IN_APP) : CustomerCenterConfiguration.PathType(source)

Opens a URL. Unlike the other types, a URL has no name the SDK can give it, so set the row's title on Path.title — the Path.url shorthand requires one. Without a title the row shows the URL's host, which is the same for every link to one site, so FAQ, terms and privacy would read identically.

Constructors

Link copied to clipboard
constructor(url: String, openMethod: CustomerCenterConfiguration.OpenMethod = OpenMethod.IN_APP)

Properties

Link copied to clipboard

The ID a path gets when none is given: the type's name for the built-in types, the URL's host and path for a URL path, and the identifier for a custom path.

Link copied to clipboard
Link copied to clipboard
val url: String