getDeviceToken

suspend fun getDeviceToken(): Result<String?>

Get the current device token.

Return

A Result containing the current device token (or null if not set) or an Exception in case of failure.