com.philips.lighting.hue.sdk.PHHueSDK.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hue-local Show documentation
Show all versions of hue-local Show documentation
The Philips hue local SDK released via Syncleus for maven.
???? 2?
f
!"!#$
%
&'
% ()* "+,
+-
./
P0
R123
0
456
4
7
8
9
:
;<
=>?@ A B
C '
DEF-GHIJ
JK
FL
FM
FN
FOPQRS
STU
UTV
WT WX
RYZ[\
R]
R^
R_
R` abcd instance 'Lcom/philips/lighting/hue/sdk/PHHueSDK; selectedBridge %Lcom/philips/lighting/model/PHBridge;
bridgeObjects Ljava/util/List; Signature 7Ljava/util/List; heartbeatManager ;Lcom/philips/lighting/hue/sdk/heartbeat/PHHeartbeatManager; phBridgeInternal ?Lcom/philips/lighting/hue/sdk/connection/impl/PHBridgeInternal; SDK_VERSION Ljava/lang/String;
ConstantValue
SEARCH_BRIDGE B HB_INTERVAL I ' currentLightState )Lcom/philips/lighting/model/PHLightState; accessPointsFound >Ljava/util/List; notificationManager 4Lcom/philips/lighting/hue/sdk/PHNotificationManager; LOG disconnectedAccessPoint
lastHeartbeat Ljava/util/Map; 3Ljava/util/Map;
deviceName appName ()V Code LineNumberTable LocalVariableTable this getInstance )()Lcom/philips/lighting/hue/sdk/PHHueSDK;
StackMapTable create
getAllBridges ()Ljava/util/List; 9()Ljava/util/List; getStoredSDKObject getInternalObject A()Lcom/philips/lighting/hue/sdk/connection/impl/PHBridgeInternal; getHeartbeatManager =()Lcom/philips/lighting/hue/sdk/heartbeat/PHHeartbeatManager;
getSDKService (B)Ljava/lang/Object; msgType enableHeartbeat )(Lcom/philips/lighting/model/PHBridge;J)V bridge time J disableHeartbeat ((Lcom/philips/lighting/model/PHBridge;)V disableAllHeartbeat i$ Ljava/util/Iterator;e isHeartbeatEnabled ((Lcom/philips/lighting/model/PHBridge;)Z connect /(Lcom/philips/lighting/hue/sdk/PHAccessPoint;)V cacheImpl ELcom/philips/lighting/hue/sdk/bridge/impl/PHBridgeResourcesCacheImpl; bridgeConfig 2Lcom/philips/lighting/model/PHBridgeConfiguration; i accessPoint ,Lcom/philips/lighting/hue/sdk/PHAccessPoint;
Exceptions isAccessPointConnected /(Lcom/philips/lighting/hue/sdk/PHAccessPoint;)Z
disconnect startPushlinkAuthentication stopPushlinkAuthentication ()Z
destroySDK
getSDKVersion ()Ljava/lang/String; removeBridge addBridge getAccessPointsFound @()Ljava/util/List; getSelectedBridge '()Lcom/philips/lighting/model/PHBridge; setSelectedBridge getCurrentLightState +()Lcom/philips/lighting/model/PHLightState; setCurrentLightState ,(Lcom/philips/lighting/model/PHLightState;)V getNotificationManager 6()Lcom/philips/lighting/hue/sdk/PHNotificationManager; getBridgesForDisplay header 0Lcom/philips/lighting/hue/sdk/data/BridgeHeader; isFound Z cache 3Lcom/philips/lighting/model/PHBridgeResourcesCache; newHeader j connectedBridges
bridgeData LocalVariableTypeTable BLjava/util/List;f$gE D()Ljava/util/List; getDisconnectedAccessPoint setDisconnectedAccessPoint (Ljava/util/List;)V A(Ljava/util/List;)V getLastHeartbeat ()Ljava/util/Map; 5()Ljava/util/Map; setLastHeartbeat (Ljava/util/Map;)V 6(Ljava/util/Map;)V
getLightNames %(Ljava/util/List;)[Ljava/lang/String; lights size
lightArray [Ljava/lang/String; 6Ljava/util/List; ? K(Ljava/util/List;)[Ljava/lang/String;
getGroupNames groups
groupArray 6Ljava/util/List; K(Ljava/util/List;)[Ljava/lang/String; getScheduleNames schedules
timerArray 9Ljava/util/List; N(Ljava/util/List;)[Ljava/lang/String;
getDeviceNameR
setDeviceName (Ljava/lang/String;)V
getAppName
setAppName
SourceFile
PHHueSDK.java ? ? java/util/ArrayList ~ l ? l java/util/HashMap ? ? k lh ? ? o pij ? ? ? g h %com/philips/lighting/hue/sdk/PHHueSDK ? ? =com/philips/lighting/hue/sdk/connection/impl/PHBridgeInternal ;com/philips/lighting/hue/sdk/upnp/PHBridgeSearchManagerImpl 1com/philips/lighting/hue/sdk/utilities/impl/PHLog Dcom/philips/lighting/hue/sdk/exception/PHBridgeNotConnectedException Input parameter can't be null ? ? ? ? 5com/philips/lighting/hue/sdk/bridge/impl/PHBridgeImplk ?l ?fmneo ?pq #com/philips/lighting/model/PHBridger ?s ? "java/lang/IllegalArgumentException q r ?tuvwx Ccom/philips/lighting/hue/sdk/bridge/impl/PHBridgeResourcesCacheImplyz{| ?| ?}~ 5com/philips/lighting/hue/sdk/exception/PHHueException You are already connected. ? ;com/philips/lighting/hue/sdk/exception/PHHeartbeatException 6Heartbeat is not stopped before disconnecting a bridge ? ? ? ?? ?? ??? ?? ? 1.8.2?~?~ i j | } ? ? ? ? .com/philips/lighting/hue/sdk/data/BridgeHeaderg Connected?u? java/lang/Long?? ??? ?? ?? ? *com/philips/lighting/hue/sdk/PHAccessPoint Disconnected java/lang/String "com/philips/lighting/model/PHLight? ? "com/philips/lighting/model/PHGroup %com/philips/lighting/model/PHSchedule ? t MyDevice? ? KDevice Name must contain at least 1 character, maximum 19, cannot contain # # ?????t?? ? t
MyApplication PApplication Name must contain at least 1 character, maximum 20, cannot contain # java/lang/Object java/util/Iterator java/util/List 1com/philips/lighting/model/PHBridgeResourcesCache 9com/philips/lighting/hue/sdk/heartbeat/PHHeartbeatManager 2com/philips/lighting/hue/sdk/PHNotificationManager getDefaultManager enableFullConfigHeartbeat disableFullConfigHeartbeat iterator ()Ljava/util/Iterator; hasNext next ()Ljava/lang/Object; disableAllHeartbeats isHeartBeating ()I get (I)Ljava/lang/Object; getResourceCache 5()Lcom/philips/lighting/model/PHBridgeResourcesCache; getBridgeConfiguration 4()Lcom/philips/lighting/model/PHBridgeConfiguration; 0com/philips/lighting/model/PHBridgeConfiguration getIpAddress equals (Ljava/lang/Object;)Z connectToAccessPoint startPushlinkTimer stopPushLinkTimer Hcom/philips/lighting/hue/sdk/notification/impl/PHNotificationManagerImpl cleanNotificationManager removeTimer remove add
java/util/Map &(Ljava/lang/Object;)Ljava/lang/Object; longValue ()J ((Ljava/lang/String;Ljava/lang/String;J)V getIPAddress getStatus setStatus getName isEmpty
replaceAll 8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; getBytes ()[B length substring (II)Ljava/lang/String; ! f
g h i j k l m n o p q r s t u = v w u x y z u { | } ~ l m ? ? ? w u ? ? l m ? ? m ? ? t ? t ( ? ? ? ? ?*? *? Y? ? *? Y? ? *? Y? ? *? Y? ? *?
? *? ?
? ? " m [ c d % n 0 o 7 p > q ? ? ? h ? ? ? = ? ?
? Y? ? ? ? ? z { } ? ? ? ? ? ? ? ? ? ? ? / *? ? ? ? ? ? h m ? ? ? ? ? ? ? ? ? ? ? 2 ? Y? ? ? ? ? ? h ? ? ? / *? ? ? ? ? ? h ? ? ? y .? + #? Y? ?? Y? ?? ? ? ? $ ? , ? ? . ? h . ? w ? ? ? ? { #+?
? Y? ?*+? ? *? +? ? ? ? ? ? ? ? " ? ? # ? h # ? j # ? ? ? ? ? ? p "+?
? Y? ?*+? ? *? +? ? ? ? ? ? ? ? ! ? ? " ? h " ? j ? ? ? ? ? 4*? ? L+? ? #+? ! ? "M*,? ? *? ,? ? #??ڱ ? ? ? % ? 0 ? 3 ? ? ? j
) ? ? 4 ? h ? ?
?%? ? ? ? _ +?
? Y? ?*? +? ? $? ? ? ? h ? j ? ? ? ? ? q+?
? %Y? &?*? Y? ? '=*? ? ( ? C*? ? ) ? "? * ? +N-? ,:? ? -+? .? /?
? 0Y1? 2?????*? '+? 3? ? . ( > D X b h" p# ? 4 > $ ? ? D ? ? M ? z q ? h q ? ? ?
? ? F? ? 0 ? ? ? ? P*? ? J=*? ? ( ? ;*? ? ) ? "? * ? +N-? ,:? ? -+? .? /? ?????? ? " , - . ,/ 20 F1 H- N5 ? 4 , ? ? 2 ? ? E ? z P ? h P ? ? ?
? >? ? ? ? ] *+? ?
? 4Y5? 6?*+? 7? ? E F J ? ? h ? j ? ? 4 ? ? ? x '+?
? %Y? &?*? 8W*? Y? ? '*? '+? 9? ? W X [ \ ] &^ ? ' ? h ' ? ? ? ? ? ? L *? '? ?*? '? :? ? i j l ? ? h ? ? ? ? Z ? ;*? ? *? W? <? ? ? t u
v x y ? ? h ? ? ? ? - =? ? ? ? ? h ? ? ? Y *? ? *? +? > ?? ? ? ? ? ? ? h ? j ? ? ? ? \ *? ? +? *? +? ? W? ? ? ? ? ? ? h ? j ? ? ? ? / *? ? ? ? ? ? h m ? ? ? ? / *? @? ? ? ? ? h ? ? ? > *+? @? ?
? ? ? ? h i j ? ? ? / *? A? ? ? ? ? h ? ? ? > *+? A? ?
? ? ? ? h | } ? ? ? / *?
? ? ? ? ? h ! ? ? ?
v*? BL? Y? M+? ?+? N-? ? ?-? ! ? ":*? ? * C? E6? * :? FY? G ? -H*? ? G ? -? I ? J? K? L:6,? ( ? 6,? ) ? F: ? M? M? /? ? N? O6? ????? ,? ? W??Q>*? ? ( ? ?66,? ( ? C,? ) ? F? M*? ? ) ? P? .? /? ,? ) ? FQ? O6? ????? B,? FY*? ? ) ? P? .Q*? *? ? ) ? P? .? I ? J? K? L? ? W???[,? ? ~ ? ?
? ? ,? 5? >? A? J? x? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??!$?*/n?t
? ?
? ? ? { > ? z A ? ? ? J } ? ? x O ? ? , ? ? j ? ? ? ? K ? z ? ? ? ? ? ? ? z v ? h q ? l
i ? l ? q ? n
i ? ? ? a
? ? ? ?? % ?? <