ComputeUserAgentUseCase

class ComputeUserAgentUseCase @Inject constructor(context: Context)

Constructors

Link copied to clipboard
@Inject
fun ComputeUserAgentUseCase(context: Context)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun execute(flavorDescription: String): String

Create an user agent with the application version. Ex: Element/1.5.0 (Xiaomi Mi 9T; Android 11; RKQ1.200826.002; Flavour GooglePlay; MatrixAndroidSdk2 1.5.0)