C# 클래스 BluetoothLE.Core.Extensions

Common Bluetooth extension methods.
파일 보기 프로젝트 열기: tbrushwyler/Xamarin.BluetoothLE

공개 메소드들

메소드 설명
ToGuid ( this uuid ) : System.Guid

Convert a UUID to a Guid by using it as the first part of the Guid {0}-0000-1000-8000-00805f9b34fb

Write ( this device, string serviceUuid, string characteristicUuid, byte data ) : void

Write the specified data to a device.

메소드 상세

ToGuid() 공개 정적인 메소드

Convert a UUID to a Guid by using it as the first part of the Guid {0}-0000-1000-8000-00805f9b34fb
public static ToGuid ( this uuid ) : System.Guid
uuid this The UUID to convert. /// If the string is 4 characters, "0000" will be appended before creating the Guid. /// If the string is 8 characters, nothing is appended before creating the Guid. /// If the string is not 4 characters or 8 characters, the exact Guid is parsed from the input. ///
리턴 System.Guid

Write() 공개 정적인 메소드

Write the specified data to a device.
public static Write ( this device, string serviceUuid, string characteristicUuid, byte data ) : void
device this The device to write the data to.
serviceUuid string The service to write the data to.
characteristicUuid string The characteristic to write the data to.
data byte The data to write to the device.
리턴 void