This repository has been archived by the owner on Aug 11, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial commit of the hue SDK 1.21.0
- Loading branch information
0 parents
commit 9035aa0
Showing
530 changed files
with
22,082 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
© PHILIPS LIGHTING HOLDING B.V. 2012-2017 All rights reserved. | ||
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: | ||
• Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. | ||
• Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. | ||
• Neither the name of PHILIPS, PHILIPS LIGHTING, PHILIPS LIGHTING HOLDING B.V., nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. | ||
|
||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOTLIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FORA PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER ORCONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, ORPROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OFLIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDINGNEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THISSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
© PHILIPS LIGHTING HOLDING B.V. 2012-2017 All rights reserved. | ||
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: | ||
• Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. | ||
• Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. | ||
• Neither the name of PHILIPS, PHILIPS LIGHTING, PHILIPS LIGHTING HOLDING B.V., nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. | ||
|
||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOTLIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FORA PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER ORCONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, ORPROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OFLIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDINGNEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THISSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
175 changes: 175 additions & 0 deletions
175
...s/HueQuickStartApp-iOS/Dependencies/HueSDK/phone/device/HueSDK.framework/Headers/HueSDK.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,175 @@ | ||
/******************************************************************************* | ||
Copyright (C) 2017 Philips Lighting Holding B.V. | ||
All Rights Reserved. | ||
********************************************************************************/ | ||
|
||
#import "PHSBridgeConnection.h" | ||
#import "PHSBridgeConnectionOptions.h" | ||
#import "PHSBridgeConnectionProvider.h" | ||
#import "PHSBridgeConnectionType.h" | ||
#import "PHSBridgeBuilder.h" | ||
#import "PHSBridgeDiscovery.h" | ||
#import "PHSBridgeDiscoveryResult.h" | ||
#import "PHSBridgeProvider.h" | ||
#import "PHSBridgeResponseCompletionHandler.h" | ||
#import "PHSClipError.h" | ||
#import "PHSClipResponse.h" | ||
#import "PHSColor.h" | ||
#import "PHSDeviceInfo.h" | ||
#import "PHSDeviceSearchStatus.h" | ||
#import "PHSDomainObject.h" | ||
#import "PHSError.h" | ||
#import "PHSGamut.h" | ||
#import "PHSGamutColor.h" | ||
#import "PHSHeartbeatManager.h" | ||
#import "PHSHttpError.h" | ||
#import "PHSHttpRequest.h" | ||
#import "PHSHttpRequestError.h" | ||
#import "PHSHttpResponse.h" | ||
#import "PHSKnownBridge.h" | ||
#import "PHSKnownBridges.h" | ||
#import "PHSImage.h" | ||
#import "PHSImagesKnowledgeBase.h" | ||
#import "PHSKnowledgeBaseLibrary.h" | ||
#import "PHSKnowledgeBaseType.h" | ||
#import "PHSLightInfo.h" | ||
#import "PHSLightsKnowledgeBase.h" | ||
#import "PHSLocalBridgeConnection.h" | ||
#import "PHSLocalBridgeConnectionOptions.h" | ||
#import "PHSLog.h" | ||
#import "PHSManufacturer.h" | ||
#import "PHSManufacturersKnowledgeBase.h" | ||
#import "PHSParameterRange.h" | ||
#import "PHSPersistence.h" | ||
#import "PHSPortalConnectionError.h" | ||
#import "PHSPortalConnectionErrorCode.h" | ||
#import "PHSQueueOptions.h" | ||
#import "PHSRemoteBridgeConnection.h" | ||
#import "PHSRemoteBridgeConnectionOptions.h" | ||
#import "PHSReturnCode.h" | ||
#import "PHSSDK.h" | ||
|
||
// Types | ||
#import "PHSAlertMode.h" | ||
#import "PHSButtonEvent.h" | ||
#import "PHSClipErrorType.h" | ||
#import "PHSColor.h" | ||
#import "PHSColorHSL.h" | ||
#import "PHSColorHSV.h" | ||
#import "PHSColorRGB.h" | ||
#import "PHSColorXY.h" | ||
#import "PHSDomainType.h" | ||
#import "PHSGroupType.h" | ||
#import "PHSLightMode.h" | ||
#import "PHSProxyMode.h" | ||
#import "PHSLightColorMode.h" | ||
#import "PHSLightEffectMode.h" | ||
#import "PHSNumberPair.h" | ||
#import "PHSClipAttribute.h" | ||
|
||
|
||
// Devices | ||
#import "PHSBridge.h" | ||
#import "PHSBridgeConfiguration.h" | ||
#import "PHSBridgeNetworkConfiguration.h" | ||
#import "PHSBridgePortalConfiguration.h" | ||
#import "PHSBridgePortalState.h" | ||
#import "PHSBridgeState.h" | ||
#import "PHSBridgeStateCacheType.h" | ||
#import "PHSBridgeTimeConfiguration.h" | ||
#import "PHSBridgeVersion.h" | ||
#import "PHSBridgeBackup.h" | ||
#import "PHSBridgeBackupErrorCode.h" | ||
#import "PHSBridgeBackupStatus.h" | ||
#import "PHSCompoundDevice.h" | ||
#import "PHSCompoundSensor.h" | ||
#import "PHSDaylightSensor.h" | ||
#import "PHSDaylightSensorConfiguration.h" | ||
#import "PHSDaylightSensorState.h" | ||
#import "PHSDevice.h" | ||
#import "PHSDeviceConfiguration.h" | ||
#import "PHSDeviceState.h" | ||
#import "PHSDigestFunction.h" | ||
#import "PHSFindNewDevicesCallback.h" | ||
#import "PHSGenericFlagSensor.h" | ||
#import "PHSGenericFlagSensorConfiguration.h" | ||
#import "PHSGenericFlagSensorState.h" | ||
#import "PHSGenericStatusSensor.h" | ||
#import "PHSGenericStatusSensorConfiguration.h" | ||
#import "PHSGenericStatusSensorState.h" | ||
#import "PHSGeofenceSensor.h" | ||
#import "PHSGeofenceSensorConfiguration.h" | ||
#import "PHSGeofenceSensorState.h" | ||
#import "PHSHumiditySensor.h" | ||
#import "PHSHumiditySensorConfiguration.h" | ||
#import "PHSHumiditySensorState.h" | ||
#import "PHSLightConfiguration.h" | ||
#import "PHSLightLevelSensor.h" | ||
#import "PHSLightLevelSensorConfiguration.h" | ||
#import "PHSLightLevelSensorState.h" | ||
#import "PHSLightPoint.h" | ||
#import "PHSLightSource.h" | ||
#import "PHSLightState.h" | ||
#import "PHSMultiSourceLuminaire.h" | ||
#import "PHSOpenCloseSensor.h" | ||
#import "PHSOpenCloseSensorConfiguration.h" | ||
#import "PHSOpenCloseSensorState.h" | ||
#import "PHSPortalConnectionState.h" | ||
#import "PHSPresenceSensor.h" | ||
#import "PHSPresenceSensorConfiguration.h" | ||
#import "PHSPresenceSensorState.h" | ||
#import "PHSSwitch.h" | ||
#import "PHSSwitchConfiguration.h" | ||
#import "PHSSwitchState.h" | ||
#import "PHSTemperatureSensor.h" | ||
#import "PHSTemperatureSensorConfiguration.h" | ||
#import "PHSTemperatureSensorState.h" | ||
|
||
// Resources | ||
#import "PHSAbsoluteTimePattern.h" | ||
#import "PHSBridgeResource.h" | ||
#import "PHSBridgeCapabilities.h" | ||
#import "PHSClipAction.h" | ||
#import "PHSClipCondition.h" | ||
#import "PHSClipConditionAttribute.h" | ||
#import "PHSDayIntervalPattern.h" | ||
#import "PHSGroup.h" | ||
#import "PHSOAuthTokenPair.h" | ||
#import "PHSRandomizedTimePattern.h" | ||
#import "PHSRandomizedTimerPattern.h" | ||
#import "PHSRecurringDays.h" | ||
#import "PHSRecurringRandomizedTimePattern.h" | ||
#import "PHSRecurringRandomizedTimerPattern.h" | ||
#import "PHSRecurringTimeIntervalPattern.h" | ||
#import "PHSRecurringTimePattern.h" | ||
#import "PHSRecurringTimerPattern.h" | ||
#import "PHSResourceLink.h" | ||
#import "PHSRule.h" | ||
#import "PHSScene.h" | ||
#import "PHSSchedule.h" | ||
#import "PHSTimeIntervalPattern.h" | ||
#import "PHSTimePattern.h" | ||
#import "PHSTimePatternFactory.h" | ||
#import "PHSTimer.h" | ||
#import "PHSTimerPattern.h" | ||
#import "PHSTimeZones.h" | ||
#import "PHSTruncatedTimePattern.h" | ||
#import "PHSWhitelistEntry.h" | ||
#import "PHSResourceLinkBuilder.h" | ||
#import "PHSBridgeRuleCapabilities.h" | ||
#import "PHSBridgeSceneCapabilities.h" | ||
#import "PHSBridgeSensorCapabilities.h" | ||
#import "PHSSDKError.h" | ||
#import "PHSSupportedFeature.h" | ||
|
||
// Builder | ||
#import "PHSBridge+Builder.h" | ||
#import "PHSResourceLink+Builder.h" | ||
|
||
// Sw update | ||
#import "PHSDeviceSoftwareUpdate.h" | ||
#import "PHSDeviceSoftwareUpdateState.h" | ||
#import "PHSSystemSoftwareUpdate.h" | ||
#import "PHSSystemSoftwareUpdateAutoInstall.h" | ||
#import "PHSSystemSoftwareUpdateState.h" | ||
#import "PHSSystemSoftwareUpdateVersion.h" |
33 changes: 33 additions & 0 deletions
33
...pp-iOS/Dependencies/HueSDK/phone/device/HueSDK.framework/Headers/PHSAbsoluteTimePattern.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
/******************************************************************************* | ||
Copyright (C) 2017 Philips Lighting Holding B.V. | ||
All Rights Reserved. | ||
********************************************************************************/ | ||
|
||
#import "PHSTimePattern.h" | ||
|
||
@interface PHSAbsoluteTimePattern : PHSTimePattern | ||
|
||
- (instancetype) init __attribute__((unavailable("init not available"))); | ||
|
||
/** | ||
The start date | ||
Only day, month, year, hour, minute and second components will be used | ||
*/ | ||
@property (strong, nonatomic) NSDateComponents *startDateTime; | ||
|
||
/** | ||
Initializer of this class | ||
@param startDateTime the start date (only day, month, year, hour, minute and second components will be used) | ||
@return an instance of PHSAbsoluteTimePattern with the given start date set | ||
*/ | ||
- (instancetype)initWithStartDateTime:(NSDateComponents *)startDateTime; | ||
|
||
/** | ||
Shorthand factory method to create an instance of this class | ||
@param startDateTime the start date (only day, month, year, hour, minute and second components will be used) | ||
@return an instance of PHSAbsoluteTimePattern with the given start date set | ||
*/ | ||
+ (instancetype)patternWithStartDateTime:(NSDateComponents *)startDateTime; | ||
|
||
@end | ||
|
13 changes: 13 additions & 0 deletions
13
...uickStartApp-iOS/Dependencies/HueSDK/phone/device/HueSDK.framework/Headers/PHSAlertMode.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/******************************************************************************* | ||
Copyright (C) 2017 Philips Lighting Holding B.V. | ||
All Rights Reserved. | ||
********************************************************************************/ | ||
|
||
#import <Foundation/Foundation.h> | ||
|
||
typedef NS_ENUM(NSInteger, PHSAlertMode) { | ||
PHSAlertModeUnknown, // It is unkown what the current alert value is | ||
PHSAlertModeNone, // No alert active | ||
PHSAlertModeSelect, // Select alert (1 breath cycle) is active | ||
PHSAlertModeLSelect // Select alert (30 seconds of breath cycles) is active | ||
}; |
34 changes: 34 additions & 0 deletions
34
...QuickStartApp-iOS/Dependencies/HueSDK/phone/device/HueSDK.framework/Headers/PHSBreakpad.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
/******************************************************************************* | ||
Copyright (C) 2017 Philips Lighting Holding B.V. | ||
All Rights Reserved. | ||
********************************************************************************/ | ||
|
||
#import <Foundation/Foundation.h> | ||
#import "PHSObject.h" | ||
#import "PHSReturnCode.h" | ||
|
||
@protocol PHSBreakpadCallback <NSObject> | ||
|
||
/** | ||
Function that is called by Breakpad, notifying that a crash dump file was created. | ||
@param dumpFilePath path to the dump file | ||
*/ | ||
- (void)dumpNotifcation:(NSString*)dumpFilePath; | ||
|
||
@end | ||
|
||
@interface PHSBreakpad : PHSObject | ||
|
||
/** | ||
@return The SDK version string | ||
*/ | ||
+ (PHSReturnCode)setupWithDumpPath:(NSString*)dumpFolderPath callback:(id<PHSBreakpadCallback>)callback; | ||
|
||
/** | ||
@return path to latest crash dump file | ||
*/ | ||
+ (NSString*)getLatestDumpFilePath; | ||
|
||
+ (BOOL)isDebuggerActive; | ||
|
||
@end; |
15 changes: 15 additions & 0 deletions
15
...tartApp-iOS/Dependencies/HueSDK/phone/device/HueSDK.framework/Headers/PHSBridge+Builder.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/******************************************************************************* | ||
Copyright (C) 2017 Philips Lighting Holding B.V. | ||
All Rights Reserved. | ||
********************************************************************************/ | ||
|
||
#import <Foundation/Foundation.h> | ||
|
||
#import "PHSBridge.h" | ||
#import "PHSBridgeBuilder.h" | ||
|
||
@interface PHSBridge (Builder) | ||
|
||
+ (instancetype) bridgeWithBlock:(void(^)(PHSBridgeBuilder *builder))builderBlock withAppName:(NSString*)appName withDeviceName:(NSString*)deviceName; | ||
|
||
@end |
Oops, something went wrong.