C# 클래스 Q42.HueApi.LocalHueClient

Partial HueClient, contains requests to the /api/ url
파일 보기 프로젝트 열기: Q42/Q42.HueApi 1 사용 예제들

공개 메소드들

메소드 설명
CheckConnection ( ) : Task
LocalHueClient ( string ip ) : System

Initialize with Bridge IP

LocalHueClient ( string ip, string appKey ) : System

Initialize with Bridge IP and AppKey

RegisterAsync ( string applicationName, string deviceName ) : Task

Register your applicationName and deviceName at the Hue Bridge.

비공개 메소드들

메소드 설명
CheckValidIp ( string ip ) : void

Check if the provided IP is valid by using it in an URI to the Hue Bridge

메소드 상세

CheckConnection() 공개 메소드

public CheckConnection ( ) : Task
리턴 Task

LocalHueClient() 공개 메소드

Initialize with Bridge IP
public LocalHueClient ( string ip ) : System
ip string
리턴 System

LocalHueClient() 공개 메소드

Initialize with Bridge IP and AppKey
public LocalHueClient ( string ip, string appKey ) : System
ip string
appKey string
리턴 System

RegisterAsync() 공개 메소드

Register your applicationName and deviceName at the Hue Bridge.
or is null. or aren't long enough, are empty or contains spaces.
public RegisterAsync ( string applicationName, string deviceName ) : Task
applicationName string The name of your app.
deviceName string The name of the device.
리턴 Task