C# Class BluetoothSocketWrapper

Exibir arquivo Open project: drakelinglabs/unityarmada Class Usage Examples

Public Methods

Method Description
BluetoothSocketWrapper ( ) : UnityEngine
BluetoothSocketWrapper ( AndroidJavaClass other ) : UnityEngine
Close ( ) : void
Connect ( string address, string uuid ) : void
GetInputStream ( ) : StreamWriter
GetOutputStream ( ) : StreamReader
GetRemoteDevice ( ) : BluetoothDeviceWrapper,
IsConnected ( ) : bool

Private Methods

Method Description
IsSocketNull ( ) : bool
SetBluetoothSocket ( ) : void

Method Details

BluetoothSocketWrapper() public method

public BluetoothSocketWrapper ( ) : UnityEngine
return UnityEngine

BluetoothSocketWrapper() public method

public BluetoothSocketWrapper ( AndroidJavaClass other ) : UnityEngine
other UnityEngine.AndroidJavaClass
return UnityEngine

Close() public static method

public static Close ( ) : void
return void

Connect() public static method

public static Connect ( string address, string uuid ) : void
address string
uuid string
return void

GetInputStream() public static method

public static GetInputStream ( ) : StreamWriter
return StreamWriter

GetOutputStream() public static method

public static GetOutputStream ( ) : StreamReader
return StreamReader

GetRemoteDevice() public static method

public static GetRemoteDevice ( ) : BluetoothDeviceWrapper,
return BluetoothDeviceWrapper,

IsConnected() public static method

public static IsConnected ( ) : bool
return bool