invoke

operator fun invoke(rawValue: Int): ConnectionState?

int to enum

Return

the enum or null on failure

Parameters

rawValue

to be converted to enum