unknown
fun NetworkConnectionType.unknown(reason: NetworkConnectionType.Unknown.Reason): NetworkConnectionType.Unknown
Converts a NetworkConnectionType into an NetworkConnectionType.Unknown given a NetworkConnectionType.Unknown.Reason
Return
the NetworkConnectionType.Unknown with reason. If the NetworkConnectionType this method had a NetworkConnectionType.Known, this will return NetworkConnectionType.Unknown.WithLastNetwork, otherwise NetworkConnectionType.Unknown.WithoutLastNetwork
Parameters
reason
the NetworkConnectionType.Unknown.Reason the NetworkConnectionType became unknown