Skip to main content

from_socket

Function from_socket 

Source
pub fn from_socket(socket: JObject) -> Result<L2capChannel>
Expand description

Adopt a connected BluetoothSocket — L2CAP arrives here as a socket with ordinary Java streams.