UserVisibleStringProvider
public protocol UserVisibleStringProvider
UserVisibleStringProvider
allows Richie SDK host app to override the default
representations of UserVisibleStringIdentifier
and UserVisibleOptionalStringIdentifier
.
-
The SDK uses the default representation for the identifier if
customizedString
returnsnil
.Declaration
Swift
@MainActor func customizedString(_ identifier: UserVisibleStringIdentifier) -> String?
-
customizedOptionalString(_:
Default implementation) The SDK uses the default representation for the identifier if
customizedOptionalString
returns.default
.Default Implementation
Default implementation that uses default values provided by the SDK.
Declaration
Swift
@MainActor func customizedOptionalString(_ identifier: UserVisibleOptionalStringIdentifier) -> UserVisibleOptionalStringIdentifier.OptionalString