diff options
author | NicoleYarroch <nicole@livio.io> | 2018-07-24 08:32:00 -0400 |
---|---|---|
committer | NicoleYarroch <nicole@livio.io> | 2018-07-24 08:32:00 -0400 |
commit | f34e9faadf7642cee80dbd672aacfe57c47dd11a (patch) | |
tree | 6bcc16360e13262998045a311726f1b4d5b0944d | |
parent | c59b8a0d8283b21706a41ba576593b2d178d5a7a (diff) | |
download | sdl_ios-feature/issue_944_static_sdl_icon_name_enum.tar.gz |
Added the SDLStaticIconName enumfeature/issue_944_static_sdl_icon_name_enum
Signed-off-by: NicoleYarroch <nicole@livio.io>
-rw-r--r-- | SmartDeviceLink-iOS.podspec | 1 | ||||
-rw-r--r-- | SmartDeviceLink-iOS.xcodeproj/project.pbxproj | 18 | ||||
-rw-r--r-- | SmartDeviceLink.podspec | 1 | ||||
-rw-r--r-- | SmartDeviceLink/SDLImage.h | 9 | ||||
-rw-r--r-- | SmartDeviceLink/SDLImage.m | 4 | ||||
-rw-r--r-- | SmartDeviceLink/SDLStaticIconName.h | 900 | ||||
-rw-r--r-- | SmartDeviceLink/SDLStaticIconName.m | 188 | ||||
-rw-r--r-- | SmartDeviceLink/SmartDeviceLink.h | 1 | ||||
-rw-r--r-- | SmartDeviceLinkTests/RPCSpecs/EnumSpecs/SDLStaticIconNameSpec.m | 200 | ||||
-rw-r--r-- | SmartDeviceLinkTests/RPCSpecs/StructSpecs/SDLImageSpec.m | 10 |
10 files changed, 1329 insertions, 3 deletions
diff --git a/SmartDeviceLink-iOS.podspec b/SmartDeviceLink-iOS.podspec index b5c47b044..d950f4e74 100644 --- a/SmartDeviceLink-iOS.podspec +++ b/SmartDeviceLink-iOS.podspec @@ -275,6 +275,7 @@ ss.public_header_files = [ 'SmartDeviceLink/SDLSpeakResponse.h', 'SmartDeviceLink/SDLSpeechCapabilities.h', 'SmartDeviceLink/SDLStartTime.h', +'SmartDeviceLink/SDLStaticIconName.h', 'SmartDeviceLink/SDLStreamingMediaConfiguration.h', 'SmartDeviceLink/SDLStreamingMediaManager.h', 'SmartDeviceLink/SDLStreamingMediaManagerConstants.h', diff --git a/SmartDeviceLink-iOS.xcodeproj/project.pbxproj b/SmartDeviceLink-iOS.xcodeproj/project.pbxproj index 54083d2e2..69373300f 100644 --- a/SmartDeviceLink-iOS.xcodeproj/project.pbxproj +++ b/SmartDeviceLink-iOS.xcodeproj/project.pbxproj @@ -1139,6 +1139,9 @@ 88A0AA66207CFF980075132C /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 88A0AA62207CFF970075132C /* Main.storyboard */; }; 88A0AA67207CFF980075132C /* ConnectionIAPTableViewController.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 88A0AA63207CFF970075132C /* ConnectionIAPTableViewController.storyboard */; }; 88A0AA68207CFF980075132C /* ConnectionTCPTableViewController.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 88A0AA64207CFF980075132C /* ConnectionTCPTableViewController.storyboard */; }; + 88A795D22106787400056542 /* SDLStaticIconName.h in Headers */ = {isa = PBXBuildFile; fileRef = 88A795D02106787400056542 /* SDLStaticIconName.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 88A795D32106787400056542 /* SDLStaticIconName.m in Sources */ = {isa = PBXBuildFile; fileRef = 88A795D12106787400056542 /* SDLStaticIconName.m */; }; + 88A795D5210678E000056542 /* SDLStaticIconNameSpec.m in Sources */ = {isa = PBXBuildFile; fileRef = 88A795D4210678E000056542 /* SDLStaticIconNameSpec.m */; }; 88B3BF9820DA859800943565 /* SDLFuelType.h in Headers */ = {isa = PBXBuildFile; fileRef = 88B3BF9620DA859800943565 /* SDLFuelType.h */; settings = {ATTRIBUTES = (Public, ); }; }; 88B3BF9920DA859800943565 /* SDLFuelType.m in Sources */ = {isa = PBXBuildFile; fileRef = 88B3BF9720DA859800943565 /* SDLFuelType.m */; }; 88B3BF9C20DA8BBC00943565 /* SDLFuelRange.h in Headers */ = {isa = PBXBuildFile; fileRef = 88B3BF9A20DA8BBC00943565 /* SDLFuelRange.h */; settings = {ATTRIBUTES = (Public, ); }; }; @@ -2500,7 +2503,7 @@ 8818ADD62100FC18007D6F19 /* SDLTurnSignal.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SDLTurnSignal.h; sourceTree = "<group>"; }; 8818ADD72100FC18007D6F19 /* SDLTurnSignal.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = SDLTurnSignal.m; sourceTree = "<group>"; }; 8818ADDC2100FE0C007D6F19 /* SDLTurnSignalSpec.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = SDLTurnSignalSpec.m; sourceTree = "<group>"; }; - 88295697207CF68800EF056C /* SDL Example Swift.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "SDL Example.app"; sourceTree = BUILT_PRODUCTS_DIR; }; + 88295697207CF68800EF056C /* SDL Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; name = "SDL Example.app"; path = "SDL Example Swift.app"; sourceTree = BUILT_PRODUCTS_DIR; }; 88295698207CF68800EF056C /* SmartDeviceLink-Example-Swift-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = "SmartDeviceLink-Example-Swift-Info.plist"; path = "/Users/nicolelivioradio.com/sdl_ios/SmartDeviceLink-Example-Swift-Info.plist"; sourceTree = "<absolute>"; }; 8829569C207CFD0D00EF056C /* SmartDeviceLink-Example-Swift-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "SmartDeviceLink-Example-Swift-Bridging-Header.h"; sourceTree = "<group>"; }; 8829569D207CFD0E00EF056C /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; }; @@ -2527,6 +2530,9 @@ 88A0AA62207CFF970075132C /* Main.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; path = Main.storyboard; sourceTree = "<group>"; }; 88A0AA63207CFF970075132C /* ConnectionIAPTableViewController.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; path = ConnectionIAPTableViewController.storyboard; sourceTree = "<group>"; }; 88A0AA64207CFF980075132C /* ConnectionTCPTableViewController.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; path = ConnectionTCPTableViewController.storyboard; sourceTree = "<group>"; }; + 88A795D02106787400056542 /* SDLStaticIconName.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SDLStaticIconName.h; sourceTree = "<group>"; }; + 88A795D12106787400056542 /* SDLStaticIconName.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = SDLStaticIconName.m; sourceTree = "<group>"; }; + 88A795D4210678E000056542 /* SDLStaticIconNameSpec.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = SDLStaticIconNameSpec.m; sourceTree = "<group>"; }; 88B3BF9620DA859800943565 /* SDLFuelType.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SDLFuelType.h; sourceTree = "<group>"; }; 88B3BF9720DA859800943565 /* SDLFuelType.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = SDLFuelType.m; sourceTree = "<group>"; }; 88B3BF9A20DA8BBC00943565 /* SDLFuelRange.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SDLFuelRange.h; sourceTree = "<group>"; }; @@ -2783,6 +2789,7 @@ 162E82111A9BDE8A00906325 /* SDLSamplingRateSpec.m */, 162E82121A9BDE8A00906325 /* SDLSoftButtonTypeSpec.m */, 162E82131A9BDE8A00906325 /* SDLSpeechCapabilitiesSpec.m */, + 88A795D4210678E000056542 /* SDLStaticIconNameSpec.m */, 162E82141A9BDE8A00906325 /* SDLSystemAction.m */, 5D0A9F901F15550400CC80DD /* SDLSystemCapabilityTypeSpec.m */, 162E82151A9BDE8A00906325 /* SDLSystemContextSpec.m */, @@ -3327,7 +3334,7 @@ 5D4019AF1A76EC350006B0C2 /* SDL Example.app */, 5D61FA1C1A84237100846EE7 /* SmartDeviceLink.framework */, 5D61FA261A84237100846EE7 /* SmartDeviceLinkTests.xctest */, - 88295697207CF68800EF056C /* SDL Example Swift.app */, + 88295697207CF68800EF056C /* SDL Example.app */, 88802FEF20853AE600E9EBC6 /* SmartDeviceLinkSwift.framework */, ); name = Products; @@ -4005,6 +4012,8 @@ 5D61FBB71A84238B00846EE7 /* SDLSoftButtonType.m */, 5D61FBBC1A84238B00846EE7 /* SDLSpeechCapabilities.h */, 5D61FBBD1A84238B00846EE7 /* SDLSpeechCapabilities.m */, + 88A795D02106787400056542 /* SDLStaticIconName.h */, + 88A795D12106787400056542 /* SDLStaticIconName.m */, 5D61FBCE1A84238B00846EE7 /* SDLSystemAction.h */, 5D61FBCF1A84238B00846EE7 /* SDLSystemAction.m */, 5D00AC651F140F0A004000D9 /* SDLSystemCapabilityType.h */, @@ -5637,6 +5646,7 @@ 5D61FDC31A84238C00846EE7 /* SDLTBTState.h in Headers */, 5D61FD951A84238C00846EE7 /* SDLShowResponse.h in Headers */, 5D61FCA31A84238C00846EE7 /* SDLEndAudioPassThru.h in Headers */, + 88A795D22106787400056542 /* SDLStaticIconName.h in Headers */, 5D61FCB11A84238C00846EE7 /* SDLGetDTCs.h in Headers */, 5D61FDFF1A84238C00846EE7 /* SDLVehicleDataEventStatus.h in Headers */, 5D61FC5B1A84238C00846EE7 /* SDLChangeRegistration.h in Headers */, @@ -5796,7 +5806,7 @@ ); name = "SmartDeviceLink-Example-Swift"; productName = "SmartDeviceLink-iOS"; - productReference = 88295697207CF68800EF056C /* SDL Example Swift.app */; + productReference = 88295697207CF68800EF056C /* SDL Example.app */; productType = "com.apple.product-type.application"; }; 88802CD720853AE600E9EBC6 /* SmartDeviceLinkSwift */ = { @@ -6201,6 +6211,7 @@ 5D61FD121A84238C00846EE7 /* SDLOnKeyboardInput.m in Sources */, DA9F7E9A1DCC052C00ACAE48 /* SDLLocationCoordinate.m in Sources */, 5D61FCCA1A84238C00846EE7 /* SDLIgnitionStableStatus.m in Sources */, + 88A795D32106787400056542 /* SDLStaticIconName.m in Sources */, 5D61FCFB1A84238C00846EE7 /* SDLMyKey.m in Sources */, 5D61FCAA1A84238C00846EE7 /* SDLFileType.m in Sources */, 1E5AD0651F207DD50029B8AF /* SDLTemperature.m in Sources */, @@ -6671,6 +6682,7 @@ 162E82D41A9BDE8A00906325 /* SDLCharacterSetSpec.m in Sources */, 162E830F1A9BDE8B00906325 /* SDLOnAppInterfaceUnregisteredSpec.m in Sources */, 162E83971A9BDE8B00906325 /* SDLVehicleTypeSpec.m in Sources */, + 88A795D5210678E000056542 /* SDLStaticIconNameSpec.m in Sources */, 1680B1131A9CD7AD00DBD79E /* SDLProtocolHeaderSpec.m in Sources */, 162E82D01A9BDE8A00906325 /* SDLButtonEventModeSpec.m in Sources */, 5DF40B26208FA7DE00DD6FDA /* SDLMenuManagerSpec.m in Sources */, diff --git a/SmartDeviceLink.podspec b/SmartDeviceLink.podspec index 99742d20b..d81bfad38 100644 --- a/SmartDeviceLink.podspec +++ b/SmartDeviceLink.podspec @@ -275,6 +275,7 @@ ss.public_header_files = [ 'SmartDeviceLink/SDLSpeakResponse.h', 'SmartDeviceLink/SDLSpeechCapabilities.h', 'SmartDeviceLink/SDLStartTime.h', +'SmartDeviceLink/SDLStaticIconName.h', 'SmartDeviceLink/SDLStreamingMediaConfiguration.h', 'SmartDeviceLink/SDLStreamingMediaManager.h', 'SmartDeviceLink/SDLStreamingMediaManagerConstants.h', diff --git a/SmartDeviceLink/SDLImage.h b/SmartDeviceLink/SDLImage.h index 3f404f76d..83a05b664 100644 --- a/SmartDeviceLink/SDLImage.h +++ b/SmartDeviceLink/SDLImage.h @@ -4,6 +4,7 @@ #import "SDLRPCMessage.h" #import "SDLImageType.h" +#import "SDLStaticIconName.h" /** * Specifies which image shall be used e.g. in SDLAlerts or on SDLSoftbuttons provided the display supports it. @@ -60,6 +61,14 @@ NS_ASSUME_NONNULL_BEGIN - (instancetype)initWithStaticImageValue:(UInt16)staticImageValue; /** + * Convenience init for displaying a static image. Static images are already on-board SDL Core and can be used by providing the image's value. + * + * @param staticIconName A SDLStaticIconName value + * @return A SDLImage object + */ +- (instancetype)initWithStaticIconName:(SDLStaticIconName)staticIconName; + +/** * The static hex icon value or the binary image file name identifier (sent by SDLPutFile) * * Required, max length = 65535 diff --git a/SmartDeviceLink/SDLImage.m b/SmartDeviceLink/SDLImage.m index e04de1563..fcf05819a 100644 --- a/SmartDeviceLink/SDLImage.m +++ b/SmartDeviceLink/SDLImage.m @@ -50,6 +50,10 @@ NS_ASSUME_NONNULL_BEGIN return [self initWithName:value ofType:SDLImageTypeStatic isTemplate:YES]; } +- (instancetype)initWithStaticIconName:(SDLStaticIconName)staticIconName { + return [self initWithName:staticIconName ofType:SDLImageTypeStatic isTemplate:YES]; +} + #pragma mark - Getters / Setters - (void)setValue:(NSString *)value { diff --git a/SmartDeviceLink/SDLStaticIconName.h b/SmartDeviceLink/SDLStaticIconName.h new file mode 100644 index 000000000..fcda703f1 --- /dev/null +++ b/SmartDeviceLink/SDLStaticIconName.h @@ -0,0 +1,900 @@ +// +// SDLStaticIconName.h +// SmartDeviceLink +// +// Created by Nicole on 7/23/18. +// Copyright © 2018 smartdevicelink. All rights reserved. +// + +#import "SDLEnum.h" + +/* + * Static icon names + */ +typedef SDLEnum SDLStaticIconName SDL_SWIFT_ENUM; + +/* + * Static icon accept call / active phone call in progress / initiate a phone call + */ +extern SDLStaticIconName const SDLStaticIconNameAcceptCall; + +/* + * Static icon add waypoint + */ +extern SDLStaticIconName const SDLStaticIconNameAddWaypoint; + +/* + * Static icon album + */ +extern SDLStaticIconName const SDLStaticIconNameAlbum; + +/* + * Static icon ambient lighting + */ +extern SDLStaticIconName const SDLStaticIconNameAmbientLighting; + +/* + * Static icon arrow - north + */ +extern SDLStaticIconName const SDLStaticIconNameArrowNorth; + +/* + * Static icon audio mute + */ +extern SDLStaticIconName const SDLStaticIconNameAudioMute; + +/* + * Static icon audiobook episode + */ +extern SDLStaticIconName const SDLStaticIconNameAudiobookEpisode; + +/* + * Static icon audiobook narrator + */ +extern SDLStaticIconName const SDLStaticIconNameAudiobookNarrator; + +/* + * Static icon auxillary audio + */ +extern SDLStaticIconName const SDLStaticIconNameAuxillaryAudio; + +/* + * Static icon back / return + */ +extern SDLStaticIconName const SDLStaticIconNameBack; + +/* + * Static icon battery capacity 0 of 5 + */ +extern SDLStaticIconName const SDLStaticIconNameBatteryCapacity0Of5; + +/* + * Static icon battery capacity 1 of 5 + */ +extern SDLStaticIconName const SDLStaticIconNameBatteryCapacity1Of5; + +/* + * Static icon battery capacity 2 of 5 + */ +extern SDLStaticIconName const SDLStaticIconNameBatteryCapacity2Of5; + +/* + * Static icon battery capacity 3 of 5 + */ +extern SDLStaticIconName const SDLStaticIconNameBatteryCapacity3Of5; + +/* + * Static icon battery capacity 4 of 5 + */ +extern SDLStaticIconName const SDLStaticIconNameBatteryCapacity4Of5; + +/* + * Static icon battery capacity 5 of 5 + */ +extern SDLStaticIconName const SDLStaticIconNameBatteryCapacity5Of5; + +/* + * Static icon bluetooth audio source + */ +extern SDLStaticIconName const SDLStaticIconNameBluetoothAudioSource; + +/* + * Static icon bluetooth1 + */ +extern SDLStaticIconName const SDLStaticIconNameBluetooth1; + +/* + * Static icon bluetooth2 + */ +extern SDLStaticIconName const SDLStaticIconNameBluetooth2; + +/* + * Static icon browse + */ +extern SDLStaticIconName const SDLStaticIconNameBrowse; + +/* + * Static icon cell phone in roaming mode + */ +extern SDLStaticIconName const SDLStaticIconNameCellPhoneInRoamingMode; + +/* + * Static icon cell service signal strength 0 of 5 bars + */ +extern SDLStaticIconName const SDLStaticIconNameCellServiceSignalStrength0Of5Bars; + +/* + * Static icon cell service signal strength 1 of 5 bars + */ +extern SDLStaticIconName const SDLStaticIconNameCellServiceSignalStrength1Of5Bars; + +/* + * Static icon cell service signal strength 2 of 5 bars + */ +extern SDLStaticIconName const SDLStaticIconNameCellServiceSignalStrength2Of5Bars; + +/* + * Static icon cell service signal strength 3 of 5 bars + */ +extern SDLStaticIconName const SDLStaticIconNameCellServiceSignalStrength3Of5Bars; + +/* + * Static icon cell service signal strength 4 of 5 bars + */ +extern SDLStaticIconName const SDLStaticIconNameCellServiceSignalStrength4Of5Bars; + +/* + * Static icon cell service signal strength 5 of 5 bars + */ +extern SDLStaticIconName const SDLStaticIconNameCellServiceSignalStrength5Of5Bars; + +/* + * Static icon change lane left + */ +extern SDLStaticIconName const SDLStaticIconNameChangeLaneLeft; + +/* + * Static icon change lane right + */ +extern SDLStaticIconName const SDLStaticIconNameChangeLaneRight; + +/* + * Static icon check box checked + */ +extern SDLStaticIconName const SDLStaticIconNameCheckBoxChecked; + +/* + * Static icon check box unchecked + */ +extern SDLStaticIconName const SDLStaticIconNameCheckBoxUnchecked; + +/* + * Static icon climate + */ +extern SDLStaticIconName const SDLStaticIconNameClimate; + +/* + * Static icon clock + */ +extern SDLStaticIconName const SDLStaticIconNameClock; + +/* + * Static icon compose (e.g. message) + */ +extern SDLStaticIconName const SDLStaticIconNameCompose; + +/* + * Static icon contact / person + */ +extern SDLStaticIconName const SDLStaticIconNameContact; + +/* + * Static icon continue + */ +extern SDLStaticIconName const SDLStaticIconNameContinue; + +/* + * Static icon dash / bullet point + */ +extern SDLStaticIconName const SDLStaticIconNameDash; + +/* + * Static icon date / calendar + */ +extern SDLStaticIconName const SDLStaticIconNameDate; + +/* + * Static icon delete/remove - trash + */ +extern SDLStaticIconName const SDLStaticIconNameDelete; + +/* + * Static icon destination + */ +extern SDLStaticIconName const SDLStaticIconNameDestination; + +/* + * Static icon destination ferry ahead + */ +extern SDLStaticIconName const SDLStaticIconNameDestinationFerryAhead; + +/* + * Static icon ebookmark (e.g. message, feed) + */ +extern SDLStaticIconName const SDLStaticIconNameEbookmark; + +/* + * Static icon empty (i.e. no image) + */ +extern SDLStaticIconName const SDLStaticIconNameEmpty; + +/* + * Static icon end call / reject call + */ +extern SDLStaticIconName const SDLStaticIconNameEndCall; + +/* + * Static icon fail / X + */ +extern SDLStaticIconName const SDLStaticIconNameFail; + +/* + * Static icon fast forward 30 secs + */ +extern SDLStaticIconName const SDLStaticIconNameFastForward30Secs; + +/* + * Static icon favorite / heart + */ +extern SDLStaticIconName const SDLStaticIconNameFavoriteHeart; + +/* + * Static icon favorite / star + */ +extern SDLStaticIconName const SDLStaticIconNameFavoriteStar; + +/* + * Static icon fax number + */ +extern SDLStaticIconName const SDLStaticIconNameFaxNumber; + +/* + * Static icon filename + */ +extern SDLStaticIconName const SDLStaticIconNameFilename; + +/* + * Static icon filter / search + */ +extern SDLStaticIconName const SDLStaticIconNameFilter; + +/* + * Static icon folder + */ +extern SDLStaticIconName const SDLStaticIconNameFolder; + +/* + * Static icon fuel prices + */ +extern SDLStaticIconName const SDLStaticIconNameFuelPrices; + +/* + * Static icon full map + */ +extern SDLStaticIconName const SDLStaticIconNameFullMap; + +/* + * Static icon generic phone number + */ +extern SDLStaticIconName const SDLStaticIconNameGenericPhoneNumber; + +/* + * Static icon genre + */ +extern SDLStaticIconName const SDLStaticIconNameGenre; + +/* + * Static icon global keyboard + */ +extern SDLStaticIconName const SDLStaticIconNameGlobalKeyboard; + +/* + * Static icon highway exit information + */ +extern SDLStaticIconName const SDLStaticIconNameHighwayExitInformation; + +/* + * Static icon home phone number + */ +extern SDLStaticIconName const SDLStaticIconNameHomePhoneNumber; + +/* + * Static icon hyperlink + */ +extern SDLStaticIconName const SDLStaticIconNameHyperlink; + +/* + * Static icon ID3 tag unknown + */ +extern SDLStaticIconName const SDLStaticIconNameID3TagUnknown; + +/* + * Static icon incoming calls (in list of phone calls) + */ +extern SDLStaticIconName const SDLStaticIconNameIncomingCalls; + +/* + * Static icon information + */ +extern SDLStaticIconName const SDLStaticIconNameInformation; + +/* + * Static icon IPOD media source + */ +extern SDLStaticIconName const SDLStaticIconNameIPodMediaSource; + +/* + * Static icon join calls + */ +extern SDLStaticIconName const SDLStaticIconNameJoinCalls; + +/* + * Static icon keep left + */ +extern SDLStaticIconName const SDLStaticIconNameKeepLeft; + +/* + * Static icon keep right + */ +extern SDLStaticIconName const SDLStaticIconNameKeepRight; + +/* + * Static icon key / keycode + */ +extern SDLStaticIconName const SDLStaticIconNameKey; + +/* + * Static icon left + */ +extern SDLStaticIconName const SDLStaticIconNameLeft; + +/* + * Static icon left arrow / back + */ +extern SDLStaticIconName const SDLStaticIconNameLeftArrow; + +/* + * Static icon left exit + */ +extern SDLStaticIconName const SDLStaticIconNameLeftExit; + +/* + * Static icon LINE IN audio source + */ +extern SDLStaticIconName const SDLStaticIconNameLineInAudioSource; + +/* + * Static icon locked + */ +extern SDLStaticIconName const SDLStaticIconNameLocked; + +/* + * Static icon media control - left arrow + */ +extern SDLStaticIconName const SDLStaticIconNameMediaControlLeftArrow; + +/* + * Static icon media control - recording + */ +extern SDLStaticIconName const SDLStaticIconNameMediaControlRecording; + +/* + * Static icon media control - right arrow + */ +extern SDLStaticIconName const SDLStaticIconNameMediaControlRightArrow; + +/* + * Static icon media control - stop (e.g. streaming) + */ +extern SDLStaticIconName const SDLStaticIconNameMediaControlStop; + +/* + * Static icon microphone + */ +extern SDLStaticIconName const SDLStaticIconNameMicrophone; + +/* + * Static icon missed calls (in list of phone calls) + */ +extern SDLStaticIconName const SDLStaticIconNameMissedCalls; + +/* + * Static icon mobile phone number + */ +extern SDLStaticIconName const SDLStaticIconNameMobilePhoneNumber; + +/* + * Static icon move down / download + */ +extern SDLStaticIconName const SDLStaticIconNameMoveDown; + +/* + * Static icon move up + */ +extern SDLStaticIconName const SDLStaticIconNameMoveUp; + +/* + * Static icon MP3 tag artist + */ +extern SDLStaticIconName const SDLStaticIconNameMP3TagArtist; + +/* + * Static icon navigation / navigation settings + */ +extern SDLStaticIconName const SDLStaticIconNameNavigation; + +/* + * Static icon navigation current direction + */ +extern SDLStaticIconName const SDLStaticIconNameNavigationCurrentDirection; + +/* + * Static icon negative rating - thumbs down + */ +extern SDLStaticIconName const SDLStaticIconNameNegativeRatingThumbsDown; + +/* + * Static icon new/unread text message/email + */ +extern SDLStaticIconName const SDLStaticIconNameNew; + +/* + * Static icon office phone number / work phone number + */ +extern SDLStaticIconName const SDLStaticIconNameOfficePhoneNumber; + +/* + * Static icon opened/read text message/email + */ +extern SDLStaticIconName const SDLStaticIconNameOpened; + +/* + * Static icon origin / nearby locale / current position + */ +extern SDLStaticIconName const SDLStaticIconNameOrigin; + +/* + * Static icon outgoing calls (in list of phone calls) + */ +extern SDLStaticIconName const SDLStaticIconNameOutgoingCalls; + +/* + * Static icon play / pause - pause active + */ +extern SDLStaticIconName const SDLStaticIconNamePause; + +/* + * Static icon phone call 1 + */ +extern SDLStaticIconName const SDLStaticIconNamePhoneCall1; + +/* + * Static icon phone call 2 + */ +extern SDLStaticIconName const SDLStaticIconNamePhoneCall2; + +/* + * Static icon phone device + */ +extern SDLStaticIconName const SDLStaticIconNamePhoneDevice; + +/* + * Static icon phonebook + */ +extern SDLStaticIconName const SDLStaticIconNamePhonebook; + +/* + * Static icon photo / picture + */ +extern SDLStaticIconName const SDLStaticIconNamePhoto; + +/* + * Static icon play / pause - play active + */ +extern SDLStaticIconName const SDLStaticIconNamePlay; + +/* + * Static icon playlist + */ +extern SDLStaticIconName const SDLStaticIconNamePlaylist; + +/* + * Static icon pop-up + */ +extern SDLStaticIconName const SDLStaticIconNamePopUp; + +/* + * Static icon positive rating - thumbs up + */ +extern SDLStaticIconName const SDLStaticIconNamePositiveRatingThumbsUp; + +/* + * Static icon power + */ +extern SDLStaticIconName const SDLStaticIconNamePower; + +/* + * Static icon primary phone (favorite) + */ +extern SDLStaticIconName const SDLStaticIconNamePrimaryPhone; + +/* + * Static icon radio button checked + */ +extern SDLStaticIconName const SDLStaticIconNameRadioButtonChecked; + +/* + * Static icon radio button unchecked + */ +extern SDLStaticIconName const SDLStaticIconNameRadioButtonUnchecked; + +/* + * Static icon recent calls / history + */ +extern SDLStaticIconName const SDLStaticIconNameRecentCalls; + +/* + * Static icon recent destinations + */ +extern SDLStaticIconName const SDLStaticIconNameRecentDestinations; + +/* + * Static icon redo + */ +extern SDLStaticIconName const SDLStaticIconNameRedo; + +/* + * Static icon refresh + */ +extern SDLStaticIconName const SDLStaticIconNameRefresh; + +/* + * Static icon remote diagnostics - check engine + */ +extern SDLStaticIconName const SDLStaticIconNameRemoteDiagnosticsCheckEngine; + +/* + * Static icon rendered 911 assist / emergency assistance + */ +extern SDLStaticIconName const SDLStaticIconNameRendered911Assist; + +/* + * Static icon repeat + */ +extern SDLStaticIconName const SDLStaticIconNameRepeat; + +/* + * Static icon repeat play + */ +extern SDLStaticIconName const SDLStaticIconNameRepeatPlay; + +/* + * Static icon reply + */ +extern SDLStaticIconName const SDLStaticIconNameReply; + +/* + * Static icon rewind 30 secs + */ +extern SDLStaticIconName const SDLStaticIconNameRewind30Secs; + +/* + * Static icon right + */ +extern SDLStaticIconName const SDLStaticIconNameRight; + +/* + * Static icon right exit + */ +extern SDLStaticIconName const SDLStaticIconNameRightExit; + +/* + * Static icon ringtones + */ +extern SDLStaticIconName const SDLStaticIconNameRingtones; + +/* + * Static icon roundabout left hand 1 + */ +extern SDLStaticIconName const SDLStaticIconNameRoundaboutLeftHand1; + +/* + * Static icon roundabout left hand 2 + */ +extern SDLStaticIconName const SDLStaticIconNameRoundaboutLeftHand2; + +/* + * Static icon roundabout left hand 3 + */ +extern SDLStaticIconName const SDLStaticIconNameRoundaboutLeftHand3; + +/* + * Static icon roundabout left hand 4 + */ +extern SDLStaticIconName const SDLStaticIconNameRoundaboutLeftHand4; + +/* + * Static icon roundabout left hand 5 + */ +extern SDLStaticIconName const SDLStaticIconNameRoundaboutLeftHand5; + +/* + * Static icon roundabout left hand 6 + */ +extern SDLStaticIconName const SDLStaticIconNameRoundaboutLeftHand6; + +/* + * Static icon roundabout left hand 7 + */ +extern SDLStaticIconName const SDLStaticIconNameRoundaboutLeftHand7; + +/* + * Static icon roundabout right hand 1 + */ +extern SDLStaticIconName const SDLStaticIconNameRoundaboutRightHand1; + +/* + * Static icon roundabout right hand 2 + */ +extern SDLStaticIconName const SDLStaticIconNameRoundaboutRightHand2; + +/* + * Static icon roundabout right hand 3 + */ +extern SDLStaticIconName const SDLStaticIconNameRoundaboutRightHand3; + +/* + * Static icon roundabout right hand 4 + */ +extern SDLStaticIconName const SDLStaticIconNameRoundaboutRightHand4; + +/* + * Static icon roundabout right hand 5 + */ +extern SDLStaticIconName const SDLStaticIconNameRoundaboutRightHand5; + +/* + * Static icon roundabout right hand 6 + */ +extern SDLStaticIconName const SDLStaticIconNameRoundaboutRightHand6; + +/* + * Static icon roundabout right hand 7 + */ +extern SDLStaticIconName const SDLStaticIconNameRoundaboutRightHand7; + +/* + * Static icon RSS + */ +extern SDLStaticIconName const SDLStaticIconNameRSS; + +/* + * Static icon settings / menu + */ +extern SDLStaticIconName const SDLStaticIconNameSettings; + +/* + * Static icon sharp left + */ +extern SDLStaticIconName const SDLStaticIconNameSharpLeft; + +/* + * Static icon sharp right + */ +extern SDLStaticIconName const SDLStaticIconNameSharpRight; + +/* + * Static icon show + */ +extern SDLStaticIconName const SDLStaticIconNameShow; + +/* + * Static icon shuffle play + */ +extern SDLStaticIconName const SDLStaticIconNameShufflePlay; + +/* + * Static icon ski places / elevation / altitude + */ +extern SDLStaticIconName const SDLStaticIconNameSkiPlaces; + +/* + * Static icon slight left + */ +extern SDLStaticIconName const SDLStaticIconNameSlightLeft; + +/* + * Static icon slight right + */ +extern SDLStaticIconName const SDLStaticIconNameSlightRight; + +/* + * Static icon smartphone + */ +extern SDLStaticIconName const SDLStaticIconNameSmartphone; + +/* + * Static icon sort list + */ +extern SDLStaticIconName const SDLStaticIconNameSortList; + +/* + * Static icon speed dial numbers - number 0 + */ +extern SDLStaticIconName const SDLStaticIconNameSpeedDialNumbersNumber0; + +/* + * Static icon speed dial numbers - number 1 + */ +extern SDLStaticIconName const SDLStaticIconNameSpeedDialNumbersNumber1; + +/* + * Static icon speed dial numbers - number 2 + */ +extern SDLStaticIconName const SDLStaticIconNameSpeedDialNumbersNumber2; + +/* + * Static icon speed dial numbers - number 3 + */ +extern SDLStaticIconName const SDLStaticIconNameSpeedDialNumbersNumber3; + +/* + * Static icon speed dial numbers - number 4 + */ +extern SDLStaticIconName const SDLStaticIconNameSpeedDialNumbersNumber4; + +/* + * Static icon speed dial numbers - number 5 + */ +extern SDLStaticIconName const SDLStaticIconNameSpeedDialNumbersNumber5; + +/* + * Static icon speed dial numbers - number 6 + */ +extern SDLStaticIconName const SDLStaticIconNameSpeedDialNumbersNumber6; + +/* + * Static icon speed dial numbers - number 7 + */ +extern SDLStaticIconName const SDLStaticIconNameSpeedDialNumbersNumber7; + +/* + * Static icon speed dial numbers - number 8 + */ +extern SDLStaticIconName const SDLStaticIconNameSpeedDialNumbersNumber8; + +/* + * Static icon speed dial numbers - number 9 + */ +extern SDLStaticIconName const SDLStaticIconNameSpeedDialNumbersNumber9; + +/* + * Static icon success / check + */ +extern SDLStaticIconName const SDLStaticIconNameSuccess; + +/* + * Static icon track title / song title + */ +extern SDLStaticIconName const SDLStaticIconNameTrackTitle; + +/* + * Static icon traffic report + */ +extern SDLStaticIconName const SDLStaticIconNameTrafficReport; + +/* + * Static icon turn list + */ +extern SDLStaticIconName const SDLStaticIconNameTurnList; + +/* + * Static icon u-turn left traffic + */ +extern SDLStaticIconName const SDLStaticIconNameUTurnLeftTraffic; + +/* + * Static icon u-turn right traffic + */ +extern SDLStaticIconName const SDLStaticIconNameUTurnRightTraffic; + +/* + * Static icon undo + */ +extern SDLStaticIconName const SDLStaticIconNameUndo; + +/* + * Static icon unlocked + */ +extern SDLStaticIconName const SDLStaticIconNameUnlocked; + +/* + * Static icon USB media audio source + */ +extern SDLStaticIconName const SDLStaticIconNameUSBMediaAudioSource; + +/* + * Static icon voice control scrollbar - list item no. 1 + */ +extern SDLStaticIconName const SDLStaticIconNameVoiceControlScrollbarListItemNo1; + +/* + * Static icon voice control scrollbar - list item no. 2 + */ +extern SDLStaticIconName const SDLStaticIconNameVoiceControlScrollbarListItemNo2; + +/* + * Static icon voice control scrollbar - list item no. 3 + */ +extern SDLStaticIconName const SDLStaticIconNameVoiceControlScrollbarListItemNo3; + +/* + * Static icon voice control scrollbar - list item no. 4 + */ +extern SDLStaticIconName const SDLStaticIconNameVoiceControlScrollbarListItemNo4; + +/* + * Static icon voice recognition - failed + */ +extern SDLStaticIconName const SDLStaticIconNameVoiceRecognitionFailed; + +/* + * Static icon voice recognition - pause + */ +extern SDLStaticIconName const SDLStaticIconNameVoiceRecognitionPause; + +/* + * Static icon voice recognition - successful + */ +extern SDLStaticIconName const SDLStaticIconNameVoiceRecognitionSuccessful; + +/* + * Static icon voice recognition - system active + */ +extern SDLStaticIconName const SDLStaticIconNameVoiceRecognitionSystemActive; + +/* + * Static icon voice recognition - system listening + */ +extern SDLStaticIconName const SDLStaticIconNameVoiceRecognitionSystemListening; + +/* + * Static icon voice recognition - try again + */ +extern SDLStaticIconName const SDLStaticIconNameVoiceRecognitionTryAgain; + +/* + * Static icon warning / safety alert + */ +extern SDLStaticIconName const SDLStaticIconNameWarning; + +/* + * Static icon weather + */ +extern SDLStaticIconName const SDLStaticIconNameWeather; + +/* + * Static icon wifi full + */ +extern SDLStaticIconName const SDLStaticIconNameWifiFull; + +/* + * Static icon zoom in + */ +extern SDLStaticIconName const SDLStaticIconNameZoomIn; + +/* + * Static icon zoom out + */ +extern SDLStaticIconName const SDLStaticIconNameZoomOut; + diff --git a/SmartDeviceLink/SDLStaticIconName.m b/SmartDeviceLink/SDLStaticIconName.m new file mode 100644 index 000000000..c39ef14f2 --- /dev/null +++ b/SmartDeviceLink/SDLStaticIconName.m @@ -0,0 +1,188 @@ +// +// SDLStaticIconName.m +// SmartDeviceLink +// +// Created by Nicole on 7/23/18. +// Copyright © 2018 smartdevicelink. All rights reserved. +// + +#import "SDLStaticIconName.h" + +SDLStaticIconName const SDLStaticIconNameAcceptCall = @"0x29"; +SDLStaticIconName const SDLStaticIconNameAddWaypoint = @"0x1B"; +SDLStaticIconName const SDLStaticIconNameAlbum = @"0x21"; +SDLStaticIconName const SDLStaticIconNameAmbientLighting = @"0x3d"; +SDLStaticIconName const SDLStaticIconNameArrowNorth = @"0x40"; +SDLStaticIconName const SDLStaticIconNameAudioMute = @"0x12"; +SDLStaticIconName const SDLStaticIconNameAudiobookEpisode = @"0x83"; +SDLStaticIconName const SDLStaticIconNameAudiobookNarrator = @"0x82"; +SDLStaticIconName const SDLStaticIconNameAuxillaryAudio = @"0x45"; +SDLStaticIconName const SDLStaticIconNameBack = @"0x86"; +SDLStaticIconName const SDLStaticIconNameBatteryCapacity0Of5 = @"0xF7"; +SDLStaticIconName const SDLStaticIconNameBatteryCapacity1Of5 = @"0xF8"; +SDLStaticIconName const SDLStaticIconNameBatteryCapacity2Of5 = @"0xF9"; +SDLStaticIconName const SDLStaticIconNameBatteryCapacity3Of5 = @"0xFA"; +SDLStaticIconName const SDLStaticIconNameBatteryCapacity4Of5 = @"0xf6"; +SDLStaticIconName const SDLStaticIconNameBatteryCapacity5Of5 = @"0xFB"; +SDLStaticIconName const SDLStaticIconNameBluetoothAudioSource = @"0x09"; +SDLStaticIconName const SDLStaticIconNameBluetooth1 = @"0xcc"; +SDLStaticIconName const SDLStaticIconNameBluetooth2 = @"0xCD"; +SDLStaticIconName const SDLStaticIconNameBrowse = @"0x77"; +SDLStaticIconName const SDLStaticIconNameCellPhoneInRoamingMode = @"0x66"; +SDLStaticIconName const SDLStaticIconNameCellServiceSignalStrength0Of5Bars = @"0x67"; +SDLStaticIconName const SDLStaticIconNameCellServiceSignalStrength1Of5Bars = @"0x68"; +SDLStaticIconName const SDLStaticIconNameCellServiceSignalStrength2Of5Bars = @"0x69"; +SDLStaticIconName const SDLStaticIconNameCellServiceSignalStrength3Of5Bars = @"0x6A"; +SDLStaticIconName const SDLStaticIconNameCellServiceSignalStrength4Of5Bars = @"0x6B"; +SDLStaticIconName const SDLStaticIconNameCellServiceSignalStrength5Of5Bars = @"0xd3"; +SDLStaticIconName const SDLStaticIconNameChangeLaneLeft = @"0xc3"; +SDLStaticIconName const SDLStaticIconNameChangeLaneRight = @"0xc1"; +SDLStaticIconName const SDLStaticIconNameCheckBoxChecked = @"0x27"; +SDLStaticIconName const SDLStaticIconNameCheckBoxUnchecked = @"0x28"; +SDLStaticIconName const SDLStaticIconNameClimate = @"0xd1"; +SDLStaticIconName const SDLStaticIconNameClock = @"0xfc"; +SDLStaticIconName const SDLStaticIconNameCompose = @"0x1A"; +SDLStaticIconName const SDLStaticIconNameContact = @"0x5C"; +SDLStaticIconName const SDLStaticIconNameContinue = @"0x42"; +SDLStaticIconName const SDLStaticIconNameDash = @"0x7F"; +SDLStaticIconName const SDLStaticIconNameDate = @"0x87"; +SDLStaticIconName const SDLStaticIconNameDelete = @"0x0F"; +SDLStaticIconName const SDLStaticIconNameDestination = @"0x94"; +SDLStaticIconName const SDLStaticIconNameDestinationFerryAhead = @"0x4D"; +SDLStaticIconName const SDLStaticIconNameEbookmark = @"0x2B"; +SDLStaticIconName const SDLStaticIconNameEmpty = @"0x01"; +SDLStaticIconName const SDLStaticIconNameEndCall = @"0x2C"; +SDLStaticIconName const SDLStaticIconNameFail = @"0xD6"; +SDLStaticIconName const SDLStaticIconNameFastForward30Secs = @"0x08"; +SDLStaticIconName const SDLStaticIconNameFavoriteHeart = @"0x0E"; +SDLStaticIconName const SDLStaticIconNameFavoriteStar = @"0x95"; +SDLStaticIconName const SDLStaticIconNameFaxNumber = @"0x80"; +SDLStaticIconName const SDLStaticIconNameFilename = @"0x50"; +SDLStaticIconName const SDLStaticIconNameFilter = @"0x79"; +SDLStaticIconName const SDLStaticIconNameFolder = @"0x1C"; +SDLStaticIconName const SDLStaticIconNameFuelPrices = @"0xe9"; +SDLStaticIconName const SDLStaticIconNameFullMap = @"0x0c"; +SDLStaticIconName const SDLStaticIconNameGenericPhoneNumber = @"0x53"; +SDLStaticIconName const SDLStaticIconNameGenre = @"0x4E"; +SDLStaticIconName const SDLStaticIconNameGlobalKeyboard = @"0xea"; +SDLStaticIconName const SDLStaticIconNameHighwayExitInformation = @"0xf4"; +SDLStaticIconName const SDLStaticIconNameHomePhoneNumber = @"0x55"; +SDLStaticIconName const SDLStaticIconNameHyperlink = @"0x78"; +SDLStaticIconName const SDLStaticIconNameID3TagUnknown = @"0x51"; +SDLStaticIconName const SDLStaticIconNameIncomingCalls = @"0x57"; +SDLStaticIconName const SDLStaticIconNameInformation = @"0x5d"; +SDLStaticIconName const SDLStaticIconNameIPodMediaSource = @"0x0D"; +SDLStaticIconName const SDLStaticIconNameJoinCalls = @"0x02"; +SDLStaticIconName const SDLStaticIconNameKeepLeft = @"0x46"; +SDLStaticIconName const SDLStaticIconNameKeepRight = @"0x48"; +SDLStaticIconName const SDLStaticIconNameKey = @"0x7D"; +SDLStaticIconName const SDLStaticIconNameLeft = @"0x9f"; +SDLStaticIconName const SDLStaticIconNameLeftArrow = @"0x4B"; +SDLStaticIconName const SDLStaticIconNameLeftExit = @"0xaf"; +SDLStaticIconName const SDLStaticIconNameLineInAudioSource = @"0x06"; +SDLStaticIconName const SDLStaticIconNameLocked = @"0x22"; +SDLStaticIconName const SDLStaticIconNameMediaControlLeftArrow = @"0x17"; +SDLStaticIconName const SDLStaticIconNameMediaControlRecording = @"0x20"; +SDLStaticIconName const SDLStaticIconNameMediaControlRightArrow = @"0x15"; +SDLStaticIconName const SDLStaticIconNameMediaControlStop = @"0x16"; +SDLStaticIconName const SDLStaticIconNameMicrophone = @"0xe8"; +SDLStaticIconName const SDLStaticIconNameMissedCalls = @"0x58"; +SDLStaticIconName const SDLStaticIconNameMobilePhoneNumber = @"0x54"; +SDLStaticIconName const SDLStaticIconNameMoveDown = @"0xE5"; +SDLStaticIconName const SDLStaticIconNameMoveUp = @"0xe4"; +SDLStaticIconName const SDLStaticIconNameMP3TagArtist = @"0x24"; +SDLStaticIconName const SDLStaticIconNameNavigation = @"0x8e"; +SDLStaticIconName const SDLStaticIconNameNavigationCurrentDirection = @"0x0a"; +SDLStaticIconName const SDLStaticIconNameNegativeRatingThumbsDown = @"0x14"; +SDLStaticIconName const SDLStaticIconNameNew = @"0x5E"; +SDLStaticIconName const SDLStaticIconNameOfficePhoneNumber = @"0x56"; +SDLStaticIconName const SDLStaticIconNameOpened = @"0x5F"; +SDLStaticIconName const SDLStaticIconNameOrigin = @"0x96"; +SDLStaticIconName const SDLStaticIconNameOutgoingCalls = @"0x59"; +SDLStaticIconName const SDLStaticIconNamePause = @"0xCF"; +SDLStaticIconName const SDLStaticIconNamePhoneCall1 = @"0x1D"; +SDLStaticIconName const SDLStaticIconNamePhoneCall2 = @"0x1E"; +SDLStaticIconName const SDLStaticIconNamePhoneDevice = @"0x03"; +SDLStaticIconName const SDLStaticIconNamePhonebook = @"0x81"; +SDLStaticIconName const SDLStaticIconNamePhoto = @"0x88"; +SDLStaticIconName const SDLStaticIconNamePlay = @"0xD0"; +SDLStaticIconName const SDLStaticIconNamePlaylist = @"0x4F"; +SDLStaticIconName const SDLStaticIconNamePopUp = @"0x76"; +SDLStaticIconName const SDLStaticIconNamePositiveRatingThumbsUp = @"0x13"; +SDLStaticIconName const SDLStaticIconNamePower = @"0x5b"; +SDLStaticIconName const SDLStaticIconNamePrimaryPhone = @"0x1F"; +SDLStaticIconName const SDLStaticIconNameRadioButtonChecked = @"0x25"; +SDLStaticIconName const SDLStaticIconNameRadioButtonUnchecked = @"0x26"; +SDLStaticIconName const SDLStaticIconNameRecentCalls = @"0xe7"; +SDLStaticIconName const SDLStaticIconNameRecentDestinations = @"0xf2"; +SDLStaticIconName const SDLStaticIconNameRedo = @"0x19"; +SDLStaticIconName const SDLStaticIconNameRefresh = @"0x97"; +SDLStaticIconName const SDLStaticIconNameRemoteDiagnosticsCheckEngine = @"0x7E"; +SDLStaticIconName const SDLStaticIconNameRendered911Assist = @"0xac"; +SDLStaticIconName const SDLStaticIconNameRepeat = @"0xe6"; +SDLStaticIconName const SDLStaticIconNameRepeatPlay = @"0x73"; +SDLStaticIconName const SDLStaticIconNameReply = @"0x04"; +SDLStaticIconName const SDLStaticIconNameRewind30Secs = @"0x07"; +SDLStaticIconName const SDLStaticIconNameRight = @"0xa3"; +SDLStaticIconName const SDLStaticIconNameRightExit = @"0xb1"; +SDLStaticIconName const SDLStaticIconNameRingtones = @"0x5A"; +SDLStaticIconName const SDLStaticIconNameRoundaboutLeftHand1 = @"0xee"; +SDLStaticIconName const SDLStaticIconNameRoundaboutLeftHand2 = @"0x8c"; +SDLStaticIconName const SDLStaticIconNameRoundaboutLeftHand3 = @"0x84"; +SDLStaticIconName const SDLStaticIconNameRoundaboutLeftHand4 = @"0x72"; +SDLStaticIconName const SDLStaticIconNameRoundaboutLeftHand5 = @"0x6e"; +SDLStaticIconName const SDLStaticIconNameRoundaboutLeftHand6 = @"0x64"; +SDLStaticIconName const SDLStaticIconNameRoundaboutLeftHand7 = @"0x60"; +SDLStaticIconName const SDLStaticIconNameRoundaboutRightHand1 = @"0x62"; +SDLStaticIconName const SDLStaticIconNameRoundaboutRightHand2 = @"0x6c"; +SDLStaticIconName const SDLStaticIconNameRoundaboutRightHand3 = @"0x70"; +SDLStaticIconName const SDLStaticIconNameRoundaboutRightHand4 = @"0x7a"; +SDLStaticIconName const SDLStaticIconNameRoundaboutRightHand5 = @"0x8a"; +SDLStaticIconName const SDLStaticIconNameRoundaboutRightHand6 = @"0xec"; +SDLStaticIconName const SDLStaticIconNameRoundaboutRightHand7 = @"0xf0"; +SDLStaticIconName const SDLStaticIconNameRSS = @"0x89"; +SDLStaticIconName const SDLStaticIconNameSettings = @"0x49"; +SDLStaticIconName const SDLStaticIconNameSharpLeft = @"0xa5"; +SDLStaticIconName const SDLStaticIconNameSharpRight = @"0xa7"; +SDLStaticIconName const SDLStaticIconNameShow = @"0xe1"; +SDLStaticIconName const SDLStaticIconNameShufflePlay = @"0x74"; +SDLStaticIconName const SDLStaticIconNameSkiPlaces = @"0xab"; +SDLStaticIconName const SDLStaticIconNameSlightLeft = @"0x9d"; +SDLStaticIconName const SDLStaticIconNameSlightRight = @"0xa1"; +SDLStaticIconName const SDLStaticIconNameSmartphone = @"0x05"; +SDLStaticIconName const SDLStaticIconNameSortList = @"0x7B"; +SDLStaticIconName const SDLStaticIconNameSpeedDialNumbersNumber0 = @"0xE0"; +SDLStaticIconName const SDLStaticIconNameSpeedDialNumbersNumber1 = @"0xD7"; +SDLStaticIconName const SDLStaticIconNameSpeedDialNumbersNumber2 = @"0xD8"; +SDLStaticIconName const SDLStaticIconNameSpeedDialNumbersNumber3 = @"0xD9"; +SDLStaticIconName const SDLStaticIconNameSpeedDialNumbersNumber4 = @"0xDA"; +SDLStaticIconName const SDLStaticIconNameSpeedDialNumbersNumber5 = @"0xDB"; +SDLStaticIconName const SDLStaticIconNameSpeedDialNumbersNumber6 = @"0xDC"; +SDLStaticIconName const SDLStaticIconNameSpeedDialNumbersNumber7 = @"0xDD"; +SDLStaticIconName const SDLStaticIconNameSpeedDialNumbersNumber8 = @"0xDE"; +SDLStaticIconName const SDLStaticIconNameSpeedDialNumbersNumber9 = @"0xDF"; +SDLStaticIconName const SDLStaticIconNameSuccess = @"0xD5"; +SDLStaticIconName const SDLStaticIconNameTrackTitle = @"0x4C"; +SDLStaticIconName const SDLStaticIconNameTrafficReport = @"0x2A"; +SDLStaticIconName const SDLStaticIconNameTurnList = @"0x10"; +SDLStaticIconName const SDLStaticIconNameUTurnLeftTraffic = @"0xad"; +SDLStaticIconName const SDLStaticIconNameUTurnRightTraffic = @"0xa9"; +SDLStaticIconName const SDLStaticIconNameUndo = @"0x18"; +SDLStaticIconName const SDLStaticIconNameUnlocked = @"0x23"; +SDLStaticIconName const SDLStaticIconNameUSBMediaAudioSource = @"0x0B"; +SDLStaticIconName const SDLStaticIconNameVoiceControlScrollbarListItemNo1 = @"0xC7"; +SDLStaticIconName const SDLStaticIconNameVoiceControlScrollbarListItemNo2 = @"0xC8"; +SDLStaticIconName const SDLStaticIconNameVoiceControlScrollbarListItemNo3 = @"0xC9"; +SDLStaticIconName const SDLStaticIconNameVoiceControlScrollbarListItemNo4 = @"0xCA"; +SDLStaticIconName const SDLStaticIconNameVoiceRecognitionFailed = @"0x90"; +SDLStaticIconName const SDLStaticIconNameVoiceRecognitionPause = @"0x92"; +SDLStaticIconName const SDLStaticIconNameVoiceRecognitionSuccessful = @"0x8F"; +SDLStaticIconName const SDLStaticIconNameVoiceRecognitionSystemActive = @"0x11"; +SDLStaticIconName const SDLStaticIconNameVoiceRecognitionSystemListening = @"0x91"; +SDLStaticIconName const SDLStaticIconNameVoiceRecognitionTryAgain = @"0x93"; +SDLStaticIconName const SDLStaticIconNameWarning = @"0xfe"; +SDLStaticIconName const SDLStaticIconNameWeather = @"0xeb"; +SDLStaticIconName const SDLStaticIconNameWifiFull = @"0x43"; +SDLStaticIconName const SDLStaticIconNameZoomIn = @"0x98"; +SDLStaticIconName const SDLStaticIconNameZoomOut = @"0x9a"; + diff --git a/SmartDeviceLink/SmartDeviceLink.h b/SmartDeviceLink/SmartDeviceLink.h index 26848436e..3e86a0b5c 100644 --- a/SmartDeviceLink/SmartDeviceLink.h +++ b/SmartDeviceLink/SmartDeviceLink.h @@ -268,6 +268,7 @@ FOUNDATION_EXPORT const unsigned char SmartDeviceLinkVersionString[]; #import "SDLSamplingRate.h" #import "SDLSoftButtonType.h" #import "SDLSpeechCapabilities.h" +#import "SDLStaticIconName.h" #import "SDLSystemAction.h" #import "SDLSystemCapabilityType.h" #import "SDLSystemContext.h" diff --git a/SmartDeviceLinkTests/RPCSpecs/EnumSpecs/SDLStaticIconNameSpec.m b/SmartDeviceLinkTests/RPCSpecs/EnumSpecs/SDLStaticIconNameSpec.m new file mode 100644 index 000000000..786ecc7c6 --- /dev/null +++ b/SmartDeviceLinkTests/RPCSpecs/EnumSpecs/SDLStaticIconNameSpec.m @@ -0,0 +1,200 @@ +// +// SDLStaticIconNameSpec.m +// SmartDeviceLinkTests +// +// Created by Nicole on 7/23/18. +// Copyright © 2018 smartdevicelink. All rights reserved. +// + +#import <Foundation/Foundation.h> + +#import <Quick/Quick.h> +#import <Nimble/Nimble.h> + +#import "SDLStaticIconName.h" + +QuickSpecBegin(SDLStaticIconNameSpec) + +describe(@"Individual Enum Value Tests", ^{ + it(@"Should match internal values", ^{ + expect(SDLStaticIconNameAcceptCall).to(equal(@"0x29")); + expect(SDLStaticIconNameAddWaypoint).to(equal(@"0x1B")); + expect(SDLStaticIconNameAlbum).to(equal(@"0x21")); + expect(SDLStaticIconNameAmbientLighting).to(equal(@"0x3d")); + expect(SDLStaticIconNameArrowNorth).to(equal(@"0x40")); + expect(SDLStaticIconNameAudioMute).to(equal(@"0x12")); + expect(SDLStaticIconNameAudiobookEpisode).to(equal(@"0x83")); + expect(SDLStaticIconNameAudiobookNarrator).to(equal(@"0x82")); + expect(SDLStaticIconNameAuxillaryAudio).to(equal(@"0x45")); + expect(SDLStaticIconNameBack).to(equal(@"0x86")); + expect(SDLStaticIconNameBatteryCapacity0Of5).to(equal(@"0xF7")); + expect(SDLStaticIconNameBatteryCapacity1Of5).to(equal(@"0xF8")); + expect(SDLStaticIconNameBatteryCapacity2Of5).to(equal(@"0xF9")); + expect(SDLStaticIconNameBatteryCapacity3Of5).to(equal(@"0xFA")); + expect(SDLStaticIconNameBatteryCapacity4Of5).to(equal(@"0xf6")); + expect(SDLStaticIconNameBatteryCapacity5Of5).to(equal(@"0xFB")); + expect(SDLStaticIconNameBluetoothAudioSource).to(equal(@"0x09")); + expect(SDLStaticIconNameBluetooth1).to(equal(@"0xcc")); + expect(SDLStaticIconNameBluetooth2).to(equal(@"0xCD")); + expect(SDLStaticIconNameBrowse).to(equal(@"0x77")); + expect(SDLStaticIconNameCellPhoneInRoamingMode).to(equal(@"0x66")); + expect(SDLStaticIconNameCellServiceSignalStrength0Of5Bars).to(equal(@"0x67")); + expect(SDLStaticIconNameCellServiceSignalStrength1Of5Bars).to(equal(@"0x68")); + expect(SDLStaticIconNameCellServiceSignalStrength2Of5Bars).to(equal(@"0x69")); + expect(SDLStaticIconNameCellServiceSignalStrength3Of5Bars).to(equal(@"0x6A")); + expect(SDLStaticIconNameCellServiceSignalStrength4Of5Bars).to(equal(@"0x6B")); + expect(SDLStaticIconNameCellServiceSignalStrength5Of5Bars).to(equal(@"0xd3")); + expect(SDLStaticIconNameChangeLaneLeft).to(equal(@"0xc3")); + expect(SDLStaticIconNameChangeLaneRight).to(equal(@"0xc1")); + expect(SDLStaticIconNameCheckBoxChecked).to(equal(@"0x27")); + expect(SDLStaticIconNameCheckBoxUnchecked).to(equal(@"0x28")); + expect(SDLStaticIconNameClimate).to(equal(@"0xd1")); + expect(SDLStaticIconNameClock).to(equal(@"0xfc")); + expect(SDLStaticIconNameCompose).to(equal(@"0x1A")); + expect(SDLStaticIconNameContact).to(equal(@"0x5C")); + expect(SDLStaticIconNameContinue).to(equal(@"0x42")); + expect(SDLStaticIconNameDash).to(equal(@"0x7F")); + expect(SDLStaticIconNameDate).to(equal(@"0x87")); + expect(SDLStaticIconNameDelete).to(equal(@"0x0F")); + expect(SDLStaticIconNameDestination).to(equal(@"0x94")); + expect(SDLStaticIconNameDestinationFerryAhead).to(equal(@"0x4D")); + expect(SDLStaticIconNameEbookmark).to(equal(@"0x2B")); + expect(SDLStaticIconNameEmpty).to(equal(@"0x01")); + expect(SDLStaticIconNameEndCall).to(equal(@"0x2C")); + expect(SDLStaticIconNameFail).to(equal(@"0xD6")); + expect(SDLStaticIconNameFastForward30Secs).to(equal(@"0x08")); + expect(SDLStaticIconNameFavoriteHeart).to(equal(@"0x0E")); + expect(SDLStaticIconNameFavoriteStar).to(equal(@"0x95")); + expect(SDLStaticIconNameFaxNumber).to(equal(@"0x80")); + expect(SDLStaticIconNameFilename).to(equal(@"0x50")); + expect(SDLStaticIconNameFilter).to(equal(@"0x79")); + expect(SDLStaticIconNameFolder).to(equal(@"0x1C")); + expect(SDLStaticIconNameFuelPrices).to(equal(@"0xe9")); + expect(SDLStaticIconNameFullMap).to(equal(@"0x0c")); + expect(SDLStaticIconNameGenericPhoneNumber).to(equal(@"0x53")); + expect(SDLStaticIconNameGenre).to(equal(@"0x4E")); + expect(SDLStaticIconNameGlobalKeyboard).to(equal(@"0xea")); + expect(SDLStaticIconNameHighwayExitInformation).to(equal(@"0xf4")); + expect(SDLStaticIconNameHomePhoneNumber).to(equal(@"0x55")); + expect(SDLStaticIconNameHyperlink).to(equal(@"0x78")); + expect(SDLStaticIconNameID3TagUnknown).to(equal(@"0x51")); + expect(SDLStaticIconNameIncomingCalls).to(equal(@"0x57")); + expect(SDLStaticIconNameInformation).to(equal(@"0x5d")); + expect(SDLStaticIconNameIPodMediaSource).to(equal(@"0x0D")); + expect(SDLStaticIconNameJoinCalls).to(equal(@"0x02")); + expect(SDLStaticIconNameKeepLeft).to(equal(@"0x46")); + expect(SDLStaticIconNameKeepRight).to(equal(@"0x48")); + expect(SDLStaticIconNameKey).to(equal(@"0x7D")); + expect(SDLStaticIconNameLeft).to(equal(@"0x9f")); + expect(SDLStaticIconNameLeftArrow).to(equal(@"0x4B")); + expect(SDLStaticIconNameLeftExit).to(equal(@"0xaf")); + expect(SDLStaticIconNameLineInAudioSource).to(equal(@"0x06")); + expect(SDLStaticIconNameLocked).to(equal(@"0x22")); + expect(SDLStaticIconNameMediaControlLeftArrow).to(equal(@"0x17")); + expect(SDLStaticIconNameMediaControlRecording).to(equal(@"0x20")); + expect(SDLStaticIconNameMediaControlRightArrow).to(equal(@"0x15")); + expect(SDLStaticIconNameMediaControlStop).to(equal(@"0x16")); + expect(SDLStaticIconNameMicrophone).to(equal(@"0xe8")); + expect(SDLStaticIconNameMissedCalls).to(equal(@"0x58")); + expect(SDLStaticIconNameMobilePhoneNumber).to(equal(@"0x54")); + expect(SDLStaticIconNameMoveDown).to(equal(@"0xE5")); + expect(SDLStaticIconNameMoveUp).to(equal(@"0xe4")); + expect(SDLStaticIconNameMP3TagArtist).to(equal(@"0x24")); + expect(SDLStaticIconNameNavigation).to(equal(@"0x8e")); + expect(SDLStaticIconNameNavigationCurrentDirection).to(equal(@"0x0a")); + expect(SDLStaticIconNameNegativeRatingThumbsDown).to(equal(@"0x14")); + expect(SDLStaticIconNameNew).to(equal(@"0x5E")); + expect(SDLStaticIconNameOfficePhoneNumber).to(equal(@"0x56")); + expect(SDLStaticIconNameOpened).to(equal(@"0x5F")); + expect(SDLStaticIconNameOrigin).to(equal(@"0x96")); + expect(SDLStaticIconNameOutgoingCalls).to(equal(@"0x59")); + expect(SDLStaticIconNamePause).to(equal(@"0xCF")); + expect(SDLStaticIconNamePhoneCall1).to(equal(@"0x1D")); + expect(SDLStaticIconNamePhoneCall2).to(equal(@"0x1E")); + expect(SDLStaticIconNamePhoneDevice).to(equal(@"0x03")); + expect(SDLStaticIconNamePhonebook).to(equal(@"0x81")); + expect(SDLStaticIconNamePhoto).to(equal(@"0x88")); + expect(SDLStaticIconNamePlay).to(equal(@"0xD0")); + expect(SDLStaticIconNamePlaylist).to(equal(@"0x4F")); + expect(SDLStaticIconNamePopUp).to(equal(@"0x76")); + expect(SDLStaticIconNamePositiveRatingThumbsUp).to(equal(@"0x13")); + expect(SDLStaticIconNamePower).to(equal(@"0x5b")); + expect(SDLStaticIconNamePrimaryPhone).to(equal(@"0x1F")); + expect(SDLStaticIconNameRadioButtonChecked).to(equal(@"0x25")); + expect(SDLStaticIconNameRadioButtonUnchecked).to(equal(@"0x26")); + expect(SDLStaticIconNameRecentCalls).to(equal(@"0xe7")); + expect(SDLStaticIconNameRecentDestinations).to(equal(@"0xf2")); + expect(SDLStaticIconNameRedo).to(equal(@"0x19")); + expect(SDLStaticIconNameRefresh).to(equal(@"0x97")); + expect(SDLStaticIconNameRemoteDiagnosticsCheckEngine).to(equal(@"0x7E")); + expect(SDLStaticIconNameRendered911Assist).to(equal(@"0xac")); + expect(SDLStaticIconNameRepeat).to(equal(@"0xe6")); + expect(SDLStaticIconNameRepeatPlay).to(equal(@"0x73")); + expect(SDLStaticIconNameReply).to(equal(@"0x04")); + expect(SDLStaticIconNameRewind30Secs).to(equal(@"0x07")); + expect(SDLStaticIconNameRight).to(equal(@"0xa3")); + expect(SDLStaticIconNameRightExit).to(equal(@"0xb1")); + expect(SDLStaticIconNameRingtones).to(equal(@"0x5A")); + expect(SDLStaticIconNameRoundaboutLeftHand1).to(equal(@"0xee")); + expect(SDLStaticIconNameRoundaboutLeftHand2).to(equal(@"0x8c")); + expect(SDLStaticIconNameRoundaboutLeftHand3).to(equal(@"0x84")); + expect(SDLStaticIconNameRoundaboutLeftHand4).to(equal(@"0x72")); + expect(SDLStaticIconNameRoundaboutLeftHand5).to(equal(@"0x6e")); + expect(SDLStaticIconNameRoundaboutLeftHand6).to(equal(@"0x64")); + expect(SDLStaticIconNameRoundaboutLeftHand7).to(equal(@"0x60")); + expect(SDLStaticIconNameRoundaboutRightHand1).to(equal(@"0x62")); + expect(SDLStaticIconNameRoundaboutRightHand2).to(equal(@"0x6c")); + expect(SDLStaticIconNameRoundaboutRightHand3).to(equal(@"0x70")); + expect(SDLStaticIconNameRoundaboutRightHand4).to(equal(@"0x7a")); + expect(SDLStaticIconNameRoundaboutRightHand5).to(equal(@"0x8a")); + expect(SDLStaticIconNameRoundaboutRightHand6).to(equal(@"0xec")); + expect(SDLStaticIconNameRoundaboutRightHand7).to(equal(@"0xf0")); + expect(SDLStaticIconNameRSS).to(equal(@"0x89")); + expect(SDLStaticIconNameSettings).to(equal(@"0x49")); + expect(SDLStaticIconNameSharpLeft).to(equal(@"0xa5")); + expect(SDLStaticIconNameSharpRight).to(equal(@"0xa7")); + expect(SDLStaticIconNameShow).to(equal(@"0xe1")); + expect(SDLStaticIconNameShufflePlay).to(equal(@"0x74")); + expect(SDLStaticIconNameSkiPlaces).to(equal(@"0xab")); + expect(SDLStaticIconNameSlightLeft).to(equal(@"0x9d")); + expect(SDLStaticIconNameSlightRight).to(equal(@"0xa1")); + expect(SDLStaticIconNameSmartphone).to(equal(@"0x05")); + expect(SDLStaticIconNameSortList).to(equal(@"0x7B")); + expect(SDLStaticIconNameSpeedDialNumbersNumber0).to(equal(@"0xE0")); + expect(SDLStaticIconNameSpeedDialNumbersNumber1).to(equal(@"0xD7")); + expect(SDLStaticIconNameSpeedDialNumbersNumber2).to(equal(@"0xD8")); + expect(SDLStaticIconNameSpeedDialNumbersNumber3).to(equal(@"0xD9")); + expect(SDLStaticIconNameSpeedDialNumbersNumber4).to(equal(@"0xDA")); + expect(SDLStaticIconNameSpeedDialNumbersNumber5).to(equal(@"0xDB")); + expect(SDLStaticIconNameSpeedDialNumbersNumber6).to(equal(@"0xDC")); + expect(SDLStaticIconNameSpeedDialNumbersNumber7).to(equal(@"0xDD")); + expect(SDLStaticIconNameSpeedDialNumbersNumber8).to(equal(@"0xDE")); + expect(SDLStaticIconNameSpeedDialNumbersNumber9).to(equal(@"0xDF")); + expect(SDLStaticIconNameSuccess).to(equal(@"0xD5")); + expect(SDLStaticIconNameTrackTitle).to(equal(@"0x4C")); + expect(SDLStaticIconNameTrafficReport).to(equal(@"0x2A")); + expect(SDLStaticIconNameTurnList).to(equal(@"0x10")); + expect(SDLStaticIconNameUTurnLeftTraffic).to(equal(@"0xad")); + expect(SDLStaticIconNameUTurnRightTraffic).to(equal(@"0xa9")); + expect(SDLStaticIconNameUndo).to(equal(@"0x18")); + expect(SDLStaticIconNameUnlocked).to(equal(@"0x23")); + expect(SDLStaticIconNameUSBMediaAudioSource).to(equal(@"0x0B")); + expect(SDLStaticIconNameVoiceControlScrollbarListItemNo1).to(equal(@"0xC7")); + expect(SDLStaticIconNameVoiceControlScrollbarListItemNo2).to(equal(@"0xC8")); + expect(SDLStaticIconNameVoiceControlScrollbarListItemNo3).to(equal(@"0xC9")); + expect(SDLStaticIconNameVoiceControlScrollbarListItemNo4).to(equal(@"0xCA")); + expect(SDLStaticIconNameVoiceRecognitionFailed).to(equal(@"0x90")); + expect(SDLStaticIconNameVoiceRecognitionPause).to(equal(@"0x92")); + expect(SDLStaticIconNameVoiceRecognitionSuccessful).to(equal(@"0x8F")); + expect(SDLStaticIconNameVoiceRecognitionSystemActive).to(equal(@"0x11")); + expect(SDLStaticIconNameVoiceRecognitionSystemListening).to(equal(@"0x91")); + expect(SDLStaticIconNameVoiceRecognitionTryAgain).to(equal(@"0x93")); + expect(SDLStaticIconNameWarning).to(equal(@"0xfe")); + expect(SDLStaticIconNameWeather).to(equal(@"0xeb")); + expect(SDLStaticIconNameWifiFull).to(equal(@"0x43")); + expect(SDLStaticIconNameZoomIn).to(equal(@"0x98")); + expect(SDLStaticIconNameZoomOut).to(equal(@"0x9a")); + }); +}); + +QuickSpecEnd diff --git a/SmartDeviceLinkTests/RPCSpecs/StructSpecs/SDLImageSpec.m b/SmartDeviceLinkTests/RPCSpecs/StructSpecs/SDLImageSpec.m index b4a0b2be6..56939ee0e 100644 --- a/SmartDeviceLinkTests/RPCSpecs/StructSpecs/SDLImageSpec.m +++ b/SmartDeviceLinkTests/RPCSpecs/StructSpecs/SDLImageSpec.m @@ -137,6 +137,16 @@ describe(@"initializers", ^{ expect(testImage.imageType).to(equal(SDLImageTypeStatic)); expect(testImage.isTemplate).to(beTrue()); }); + + context(@"initWithStaticIconName:", ^{ + SDLStaticIconName staticIconName = SDLStaticIconNameFavoriteStar; + testImage = [[SDLImage alloc] initWithStaticIconName:staticIconName]; + + expect(testImage).toNot(beNil()); + expect(testImage.value).to(equal(staticIconName)); + expect(testImage.imageType).to(equal(SDLImageTypeStatic)); + expect(testImage.isTemplate).to(beTrue()); + }); }); QuickSpecEnd |