C# Class Pebble.WP.Bluetooth.PebbleScanner.PebbleBluetoothConnection

Inheritance: IBluetoothConnection
显示文件 Open project: barometz/flint

Public Methods

Method Description
Close ( ) : void
Dispose ( ) : void
OpenAsync ( ) : System.Threading.Tasks.Task
PebbleBluetoothConnection ( PeerInformation peerInformation ) : Flint.Core
Write ( byte data ) : void

Private Methods

Method Description
StreamWatcherOnDataAvailible ( object sender, DataAvailibleEventArgs e ) : void

Method Details

Close() public method

public Close ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

OpenAsync() public method

public OpenAsync ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

PebbleBluetoothConnection() public method

public PebbleBluetoothConnection ( PeerInformation peerInformation ) : Flint.Core
peerInformation Windows.Networking.Proximity.PeerInformation
return Flint.Core

Write() public method

public Write ( byte data ) : void
data byte
return void