NamedUrl

class NamedUrl(var key: String? = null, var url: String? = null)

A single key/URL pair — a web address tagged with a stable identifier.

Used to associate a logical name with its destination so the host app can resolve an external link by key (for example terms of service or a privacy policy) instead of hard-coding the address. Entries of this type are grouped inside ActiveFitUrls.

Structurally identical to ActiveFitUrl; both model one named link.

Constructors

Link copied to clipboard
constructor(key: String? = null, url: String? = null)

Properties

Link copied to clipboard
var key: String?

The identifier this link is known by (for example "terms_and_conditions", "privacyPolicy", "support"). null if unset.

Link copied to clipboard
var url: String?

The absolute web address this key resolves to, or null if unset.

Functions

Link copied to clipboard
open override fun toString(): String