getDefaultNetId

open fun getDefaultNetId(): Long

Returns NetID of device's current default connected network used for communication. Only implemented on Lollipop and newer releases, returns INVALID_NET_ID when not implemented.