ResourceSecret

data class ResourceSecret(@StringRes val resId: Int) : Secret

A data class representing a secret that is stored as a string resource.

This class extends the abstract Secret class and provides a single property resId, which contains the ID of the string resource that contains the secret value.

Parameters

resId

the ID of the string resource that contains the secret value

See also

Constructors

Link copied to clipboard
constructor(@StringRes resId: Int)

Properties

Link copied to clipboard
val resId: Int