setLanguage

suspend fun setLanguage(language: String): Resource<SyHttpResponse>

Send the current language of the user's mobile device to the backend. Used to send localized notifications to the mobile device.

Return

a SyHttpResponse

Parameters

language

in the format en_EN, it_IT for example