diff --git a/API/DW.iOSapi.CarPlay.pas b/API/DW.iOSapi.CarPlay.pas index 1d30b79..b4fed83 100644 --- a/API/DW.iOSapi.CarPlay.pas +++ b/API/DW.iOSapi.CarPlay.pas @@ -34,11 +34,87 @@ interface CPTextButtonStyleConfirm = 2; CPInformationTemplateLayoutLeading = 0; CPInformationTemplateLayoutTwoColumn = 1; + CPInstrumentClusterSettingUnspecified = 0; + CPInstrumentClusterSettingEnabled = 1; + CPInstrumentClusterSettingDisabled = 2; + CPInstrumentClusterSettingUserPreference = 3; CPListItemAccessoryTypeNone = 0; CPListItemAccessoryTypeDisclosureIndicator = 1; CPListItemAccessoryTypeCloud = 2; CPListItemPlayingIndicatorLocationLeading = 0; CPListItemPlayingIndicatorLocationTrailing = 1; + CPAssistantCellActionTypePlayMedia = 0; + CPAssistantCellActionTypeStartCall = 1; + CPAssistantCellVisibilityOff = 0; + CPAssistantCellVisibilityWhileLimitedUIActive = 1; + CPAssistantCellVisibilityAlways = 2; + CPAssistantCellPositionTop = 0; + CPAssistantCellPositionBottom = 1; + CPLaneStatusNotGood = 0; + CPLaneStatusGood = 1; + CPLaneStatusPreferred = 2; + CPManeuverTypeNoTurn = 0; + CPManeuverTypeLeftTurn = 1; + CPManeuverTypeRightTurn = 2; + CPManeuverTypeStraightAhead = 3; + CPManeuverTypeUTurn = 4; + CPManeuverTypeFollowRoad = 5; + CPManeuverTypeEnterRoundabout = 6; + CPManeuverTypeExitRoundabout = 7; + CPManeuverTypeOffRamp = 8; + CPManeuverTypeOnRamp = 9; + CPManeuverTypeArriveEndOfNavigation = 10; + CPManeuverTypeStartRoute = 11; + CPManeuverTypeArriveAtDestination = 12; + CPManeuverTypeKeepLeft = 13; + CPManeuverTypeKeepRight = 14; + CPManeuverTypeEnter_Ferry = 15; + CPManeuverTypeExitFerry = 16; + CPManeuverTypeChangeFerry = 17; + CPManeuverTypeStartRouteWithUTurn = 18; + CPManeuverTypeUTurnAtRoundabout = 19; + CPManeuverTypeLeftTurnAtEnd = 20; + CPManeuverTypeRightTurnAtEnd = 21; + CPManeuverTypeHighwayOffRampLeft = 22; + CPManeuverTypeHighwayOffRampRight = 23; + CPManeuverTypeArriveAtDestinationLeft = 24; + CPManeuverTypeArriveAtDestinationRight = 25; + CPManeuverTypeUTurnWhenPossible = 26; + CPManeuverTypeArriveEndOfDirections = 27; + CPManeuverTypeRoundaboutExit1 = 28; + CPManeuverTypeRoundaboutExit2 = 29; + CPManeuverTypeRoundaboutExit3 = 30; + CPManeuverTypeRoundaboutExit4 = 31; + CPManeuverTypeRoundaboutExit5 = 32; + CPManeuverTypeRoundaboutExit6 = 33; + CPManeuverTypeRoundaboutExit7 = 34; + CPManeuverTypeRoundaboutExit8 = 35; + CPManeuverTypeRoundaboutExit9 = 36; + CPManeuverTypeRoundaboutExit10 = 37; + CPManeuverTypeRoundaboutExit11 = 38; + CPManeuverTypeRoundaboutExit12 = 39; + CPManeuverTypeRoundaboutExit13 = 40; + CPManeuverTypeRoundaboutExit14 = 41; + CPManeuverTypeRoundaboutExit15 = 42; + CPManeuverTypeRoundaboutExit16 = 43; + CPManeuverTypeRoundaboutExit17 = 44; + CPManeuverTypeRoundaboutExit18 = 45; + CPManeuverTypeRoundaboutExit19 = 46; + CPManeuverTypeSharpLeftTurn = 47; + CPManeuverTypeSharpRightTurn = 48; + CPManeuverTypeSlightLeftTurn = 49; + CPManeuverTypeSlightRightTurn = 50; + CPManeuverTypeChangeHighway = 51; + CPManeuverTypeChangeHighwayLeft = 52; + CPManeuverTypeChangeHighwayRight = 53; + CPJunctionTypeIntersection = 0; + CPJunctionTypeRoundabout = 1; + CPTrafficSideRight = 0; + CPTrafficSideLeft = 1; + CPManeuverStateContinue = 0; + CPManeuverStateInitial = 1; + CPManeuverStatePrepare = 2; + CPManeuverStateExecute = 3; CPNavigationAlertDismissalContextTimeout = 0; CPNavigationAlertDismissalContextUserDismissed = 1; CPNavigationAlertDismissalContextSystemDismissed = 2; @@ -99,17 +175,23 @@ interface CPInterfaceController = interface; CPInterfaceControllerDelegate = interface; CPApplicationDelegate = interface; + CPInstrumentClusterController = interface; + CPInstrumentClusterControllerDelegate = interface; CPListTemplateItem = interface; CPSelectableListItem = interface; CPListSection = interface; CPListImageRowItem = interface; CPListItem = interface; + CPAssistantCellConfiguration = interface; CPListTemplate = interface; CPListTemplateDelegate = interface; + CPLane = interface; + CPLaneGuidance = interface; CPTravelEstimates = interface; CPManeuver = interface; CPMapButton = interface; CPNavigationAlert = interface; + CPRouteInformation = interface; CPRouteChoice = interface; CPTrip = interface; CPNavigationSession = interface; @@ -140,6 +222,8 @@ interface CPTabBarTemplateDelegate = interface; CPTemplateApplicationDashboardSceneDelegate = interface; CPTemplateApplicationDashboardScene = interface; + CPTemplateApplicationInstrumentClusterSceneDelegate = interface; + CPTemplateApplicationInstrumentClusterScene = interface; CPTemplateApplicationSceneDelegate = interface; CPTemplateApplicationScene = interface; CPVoiceControlState = interface; @@ -154,8 +238,17 @@ interface CPBarButtonHandler = procedure(p1: CPBarButton) of object; CPTextButtonStyle = NSInteger; CPInformationTemplateLayout = NSInteger; + CPInstrumentClusterSetting = NSInteger; CPListItemAccessoryType = NSInteger; CPListItemPlayingIndicatorLocation = NSInteger; + CPAssistantCellActionType = NSInteger; + CPAssistantCellVisibility = NSInteger; + CPAssistantCellPosition = NSInteger; + CPLaneStatus = NSInteger; + CPManeuverType = NSInteger; + CPJunctionType = NSInteger; + CPTrafficSide = NSInteger; + CPManeuverState = NSInteger; CPNavigationAlertDismissalContext = NSInteger; CPTripPauseReason = NSInteger; CPPanDirection = NSInteger; @@ -172,14 +265,14 @@ interface TCPDashboardButtonBlockMethod1 = procedure(barButton: CPDashboardButton) of object; TCPGridButtonBlockMethod1 = procedure(barButton: CPGridButton) of object; TCPTextButtonBlockMethod1 = procedure(contactButton: CPTextButton) of object; - TCPInterfaceControllerBlockMethod1 = procedure(param1: Boolean; param2: NSError) of object; + TCPInterfaceControllerBlockMethod1 = procedure(success: Boolean; error: NSError) of object; TCPSelectableListItemBlockMethod1 = procedure(param1: Pointer; param2: dispatch_block_t) of object; - TCPSelectableListItemBlockMethod2 = procedure() of object; + TCPSelectableListItemBlockMethod2 = procedure of object; TCPListImageRowItemBlockMethod1 = procedure(param1: Pointer; param2: dispatch_block_t) of object; - TCPListImageRowItemBlockMethod2 = procedure() of object; + TCPListImageRowItemBlockMethod2 = procedure of object; TCPListImageRowItemBlockMethod3 = procedure(param1: CPListImageRowItem; param2: NSInteger; param3: dispatch_block_t) of object; TCPListItemBlockMethod1 = procedure(param1: Pointer; param2: dispatch_block_t) of object; - TCPListItemBlockMethod2 = procedure() of object; + TCPListItemBlockMethod2 = procedure of object; TCPListTemplateDelegateBlockMethod1 = procedure of object; TCPMapButtonBlockMethod1 = procedure(mapButton: CPMapButton) of object; TCPMapTemplateBlockMethod1 = procedure(dismissed: Boolean) of object; @@ -189,25 +282,27 @@ interface TCPSearchTemplateDelegateBlockMethod2 = procedure of object; CPAlertActionClass = interface(NSObjectClass) - ['{AB4C4A8A-4CD7-4E81-9FC8-F45B5264F786}'] + ['{310CC77B-781D-4114-BC5B-72116AD0A94F}'] {class} function new: Pointer; cdecl; end; CPAlertAction = interface(NSObject) - ['{F90F6CF7-B3A7-4404-8183-1DFB7D04BF24}'] + ['{5FBC7830-EC72-421A-807D-56576DFC3FD3}'] + function color: UIColor; cdecl; function handler: CPAlertActionHandler; cdecl; - function initWithTitle(title: NSString; style: CPAlertActionStyle; handler: CPAlertActionHandler): Pointer; cdecl; + function initWithTitle(title: NSString; style: CPAlertActionStyle; handler: CPAlertActionHandler): Pointer; overload; cdecl; + function initWithTitle(title: NSString; color: UIColor; handler: CPAlertActionHandler): Pointer; overload; cdecl; function style: CPAlertActionStyle; cdecl; function title: NSString; cdecl; end; TCPAlertAction = class(TOCGenericImport) end; CPTemplateClass = interface(NSObjectClass) - ['{5DB1594A-1267-4C9A-83C1-E0BABD6BD311}'] + ['{579A9E38-D209-4DE3-AF93-8372ACC9C163}'] end; CPTemplate = interface(NSObject) - ['{312E0436-72E3-468C-9FB6-25EAA8762FEC}'] + ['{A256FEF4-2C8E-4712-B1F8-75C92711571B}'] procedure setShowsTabBadge(showsTabBadge: Boolean); cdecl; procedure setTabImage(tabImage: UIImage); cdecl; procedure setTabSystemItem(tabSystemItem: UITabBarSystemItem); cdecl; @@ -222,12 +317,12 @@ TCPAlertAction = class(TOCGenericImport) en TCPTemplate = class(TOCGenericImport) end; CPActionSheetTemplateClass = interface(CPTemplateClass) - ['{CFF6E8E2-661A-43FB-A1B1-5FEE07B34AB9}'] + ['{6C2F5D91-63AB-4BF5-94E5-39FE74DD781C}'] {class} function new: Pointer; cdecl; end; CPActionSheetTemplate = interface(CPTemplate) - ['{48C3D13B-EBA9-41F7-87E3-25786C64A085}'] + ['{2E5AF3BB-A6D6-4AAB-86BE-CAAE64174835}'] function actions: NSArray; cdecl; function initWithTitle(title: NSString; message: NSString; actions: NSArray): Pointer; cdecl; function message: NSString; cdecl; @@ -236,13 +331,13 @@ TCPTemplate = class(TOCGenericImport) end; TCPActionSheetTemplate = class(TOCGenericImport) end; CPAlertTemplateClass = interface(CPTemplateClass) - ['{B8E42683-1EBB-4FBD-88D2-38720776C6F0}'] + ['{64295082-384E-46C8-BFCF-BF0815D4D8AC}'] {class} function maximumActionCount: NSUInteger; cdecl; {class} function new: Pointer; cdecl; end; CPAlertTemplate = interface(CPTemplate) - ['{02547DCD-4E86-4041-9370-63A7B9210946}'] + ['{F00A4B40-0DC6-46FF-8A6A-7B487DE28D27}'] function actions: NSArray; cdecl; function initWithTitleVariants(titleVariants: NSArray; actions: NSArray): Pointer; cdecl; function titleVariants: NSArray; cdecl; @@ -250,12 +345,12 @@ TCPActionSheetTemplate = class(TOCGenericImport) end; CPBarButtonClass = interface(NSObjectClass) - ['{B048AB12-C1B8-48AD-8778-F0AEA60F6C3E}'] + ['{ACFEC784-B14B-4D13-B06E-27FE0361FED6}'] {class} function new: Pointer; cdecl; end; CPBarButton = interface(NSObject) - ['{B657F12B-F00A-4A5D-8661-BDC1FE60C5FA}'] + ['{8929193F-1E91-4589-ACB0-3587792E8F3E}'] function buttonStyle: CPBarButtonStyle; cdecl; function buttonType: CPBarButtonType; cdecl; // API_DEPRECATED_WITH_REPLACEMENT("-[CPBarButton initWithImage:handler:] or -[CPBarButton initWithTitle:handler:]", ios(12.0, 14.0)) function image: UIImage; cdecl; @@ -272,7 +367,7 @@ TCPAlertTemplate = class(TOCGenericImport) end; CPBarButtonProviding = interface(IObjectiveC) - ['{8356EB6F-F1B8-47E7-AA88-C7F399B3467F}'] + ['{F048B8BF-B606-4DAA-8276-E4EDAB1AA55A}'] function backButton: CPBarButton; cdecl; function leadingNavigationBarButtons: NSArray; cdecl; procedure setBackButton(backButton: CPBarButton); cdecl; @@ -282,12 +377,12 @@ TCPBarButton = class(TOCGenericImport) end; end; CPButtonClass = interface(NSObjectClass) - ['{E22ECC53-762D-43C4-A31B-5AD2AEF231F7}'] + ['{88045C7D-D5BC-4D56-AB06-3D7E5738903E}'] {class} function new: Pointer; cdecl; end; CPButton = interface(NSObject) - ['{5C0A5058-165A-48D8-860C-9E67B5AF6F85}'] + ['{A406EEE8-B238-4155-8D82-83B2B112BEA8}'] function image: UIImage; cdecl; function initWithImage(image: UIImage; handler: TCPButtonBlockMethod1): Pointer; cdecl; function isEnabled: Boolean; cdecl; @@ -298,11 +393,11 @@ TCPBarButton = class(TOCGenericImport) end; TCPButton = class(TOCGenericImport) end; CPContactClass = interface(NSObjectClass) - ['{6089BCDE-3AB3-4A47-8CE9-186E090F5909}'] + ['{EB7AC95F-220D-4CC5-9063-EDED2133B9E6}'] end; CPContact = interface(NSObject) - ['{535E42D0-B07F-4F46-88D9-F42B1866898E}'] + ['{225879B3-1397-45B2-BBEB-53C6883AEB0D}'] function actions: NSArray; cdecl; function image: UIImage; cdecl; function informativeText: NSString; cdecl; @@ -318,45 +413,45 @@ TCPButton = class(TOCGenericImport) end; TCPContact = class(TOCGenericImport) end; CPContactCallButtonClass = interface(CPButtonClass) - ['{5AEF346A-92E0-467C-B38F-8A79042EEC73}'] + ['{C6B1152C-5DEA-41A2-B724-2FA6457EE3A7}'] end; CPContactCallButton = interface(CPButton) - ['{C7562427-9B0C-4592-B74F-A7944E5651EF}'] + ['{B6805DE6-3C1B-405B-AC4B-8A96DF54C31E}'] function initWithHandler(handler: TCPContactCallButtonBlockMethod1): Pointer; cdecl; function initWithImage(image: UIImage; handler: TCPContactCallButtonBlockMethod1): Pointer; cdecl; end; TCPContactCallButton = class(TOCGenericImport) end; CPContactMessageButtonClass = interface(CPButtonClass) - ['{A159D152-A8C2-4D3C-891A-2DA972C06194}'] + ['{E9F16125-268F-45A9-BDFE-832B6591B0FB}'] end; CPContactMessageButton = interface(CPButton) - ['{7C3F9716-11FE-4064-8295-CF865F326FFA}'] + ['{619CABB5-A057-4102-BF22-3A96707F4F46}'] function initWithPhoneOrEmail(phoneOrEmail: NSString): Pointer; cdecl; function phoneOrEmail: NSString; cdecl; end; TCPContactMessageButton = class(TOCGenericImport) end; CPContactDirectionsButtonClass = interface(CPButtonClass) - ['{B2F90EF2-EEE1-4463-AB85-2A2EB4171514}'] + ['{EB67DA5F-A4F1-42CE-BA7C-6078027E1151}'] end; CPContactDirectionsButton = interface(CPButton) - ['{8CB0782A-6E06-42C9-89DA-8ECA33DEBCC8}'] + ['{DB13A280-9EF8-4DE2-ACEF-BB71B42AA4B0}'] function initWithHandler(handler: TCPContactDirectionsButtonBlockMethod1): Pointer; cdecl; function initWithImage(image: UIImage; handler: TCPContactDirectionsButtonBlockMethod1): Pointer; cdecl; end; TCPContactDirectionsButton = class(TOCGenericImport) end; CPContactTemplateClass = interface(CPTemplateClass) - ['{1AF77947-607B-4E4A-A1AD-9BF4C5AB5758}'] + ['{E3D153C1-4792-422B-A25C-427618361344}'] {class} function new: Pointer; cdecl; end; CPContactTemplate = interface(CPTemplate) - ['{E8B621C0-33EB-4E2A-A0DF-C9A8255F7092}'] + ['{A02A02E2-B140-405B-A9C3-708841AFCFF0}'] function contact: CPContact; cdecl; function initWithContact(contact: CPContact): Pointer; cdecl; procedure setContact(contact: CPContact); cdecl; @@ -364,12 +459,12 @@ TCPContactDirectionsButton = class(TOCGenericImport) end; CPDashboardButtonClass = interface(NSObjectClass) - ['{2F48762C-76EF-431E-8942-1EE18F652FC3}'] + ['{A490DE81-8353-403D-B6B2-7BB2E78590D1}'] {class} function new: Pointer; cdecl; end; CPDashboardButton = interface(NSObject) - ['{621F1A2A-F5DB-4057-9166-A020F2D87A06}'] + ['{5321DEC3-DEBE-41F7-9045-C9A0A6F5F489}'] function image: UIImage; cdecl; function initWithTitleVariants(titleVariants: NSArray; subtitleVariants: NSArray; image: UIImage; handler: TCPDashboardButtonBlockMethod1): Pointer; cdecl; @@ -379,24 +474,24 @@ TCPContactTemplate = class(TOCGenericImport) end; CPDashboardControllerClass = interface(NSObjectClass) - ['{10EFE16F-3954-48A1-9122-99E3D1452AF2}'] + ['{1885AD3E-687A-411A-8FD1-E981DAA02615}'] {class} function new: Pointer; cdecl; end; CPDashboardController = interface(NSObject) - ['{70CC1DA2-7763-4AB3-8ACE-9F1C5A310818}'] + ['{B6D50584-501A-4535-AE9A-4B77174D94DC}'] procedure setShortcutButtons(shortcutButtons: NSArray); cdecl; function shortcutButtons: NSArray; cdecl; end; TCPDashboardController = class(TOCGenericImport) end; CPGridButtonClass = interface(NSObjectClass) - ['{32083650-7BCB-4A0A-8359-96BD7AC2C7E9}'] + ['{C5556BFF-2563-4154-8E67-8920B496C2E5}'] {class} function new: Pointer; cdecl; end; CPGridButton = interface(NSObject) - ['{2C4696AD-3DFE-49A0-A87E-7F3450674099}'] + ['{B128213C-77A8-4BAE-9EB1-55C4DD4DF181}'] function image: UIImage; cdecl; function initWithTitleVariants(titleVariants: NSArray; image: UIImage; handler: TCPGridButtonBlockMethod1): Pointer; cdecl; function isEnabled: Boolean; cdecl; @@ -406,25 +501,27 @@ TCPDashboardController = class(TOCGenericImport) end; CPGridTemplateClass = interface(CPTemplateClass) - ['{69CB3F1F-B8AC-474C-854A-7D8FBA60A5FC}'] + ['{640053D0-67C9-487D-B610-C69D8E305992}'] {class} function new: Pointer; cdecl; end; CPGridTemplate = interface(CPTemplate) - ['{8EDF8733-A57C-4922-BC04-BD7246F93A82}'] + ['{01C6541E-59F8-4D9F-94C7-6589C8ADC284}'] function gridButtons: NSArray; cdecl; function initWithTitle(title: NSString; gridButtons: NSArray): Pointer; cdecl; function title: NSString; cdecl; + procedure updateGridButtons(gridButtons: NSArray); cdecl; + procedure updateTitle(title: NSString); cdecl; end; TCPGridTemplate = class(TOCGenericImport) end; CPImageSetClass = interface(NSObjectClass) - ['{22DEBB3A-0A6D-4FE7-87FD-75553BC34C90}'] + ['{238BC1F8-1673-4091-A57F-F5FEBB70A693}'] {class} function new: Pointer; cdecl; end; CPImageSet = interface(NSObject) - ['{1E176632-0644-4B9C-ACFC-8A97AA50C102}'] + ['{23CA19EE-A17E-437A-BE1D-E567185DAAC4}'] function darkContentImage: UIImage; cdecl; function initWithLightContentImage(lightImage: UIImage; darkContentImage: UIImage): Pointer; cdecl; function lightContentImage: UIImage; cdecl; @@ -432,12 +529,12 @@ TCPGridTemplate = class(TOCGenericImport) TCPImageSet = class(TOCGenericImport) end; CPTextButtonClass = interface(NSObjectClass) - ['{DD8CF0E3-8294-413D-AAE5-C327D54DAFA1}'] + ['{0BDF21D4-32AF-4724-A173-BA8EE9525DC3}'] {class} function new: Pointer; cdecl; end; CPTextButton = interface(NSObject) - ['{F88800FF-09D2-4F51-86E4-3D951C9B3973}'] + ['{89CC4DAF-1B54-404E-B613-CB956C527A65}'] function initWithTitle(title: NSString; textStyle: CPTextButtonStyle; handler: TCPTextButtonBlockMethod1): Pointer; cdecl; procedure setTextStyle(textStyle: CPTextButtonStyle); cdecl; procedure setTitle(title: NSString); cdecl; @@ -447,12 +544,12 @@ TCPImageSet = class(TOCGenericImport) end; TCPTextButton = class(TOCGenericImport) end; CPInformationItemClass = interface(NSObjectClass) - ['{E4506CCB-8D8C-4E17-88FC-209F8C574E03}'] + ['{2787323A-F1F3-4B24-AA13-7381046FD068}'] {class} function new: Pointer; cdecl; end; CPInformationItem = interface(NSObject) - ['{D182D796-C2B4-49F4-A682-1477DA405AF6}'] + ['{AEADC61C-F337-4821-8B01-7C232C04DB09}'] function detail: NSString; cdecl; function initWithTitle(title: NSString; detail: NSString): Pointer; cdecl; function title: NSString; cdecl; @@ -460,12 +557,12 @@ TCPTextButton = class(TOCGenericImport) end; TCPInformationItem = class(TOCGenericImport) end; CPInformationRatingItemClass = interface(CPInformationItemClass) - ['{29DC4463-69D3-461E-9C70-B0AB6144730C}'] + ['{C72EBA20-FCC8-4CBC-857D-ED6BA37F1B0C}'] {class} function new: Pointer; cdecl; end; CPInformationRatingItem = interface(CPInformationItem) - ['{7300472F-98EA-4673-9A15-2303A34C9414}'] + ['{38AD0A66-3135-4932-935B-971B24D6F2D2}'] function initWithRating(rating: NSNumber; maximumRating: NSNumber; title: NSString; detail: NSString): Pointer; cdecl; function maximumRating: NSNumber; cdecl; function rating: NSNumber; cdecl; @@ -473,12 +570,12 @@ TCPInformationItem = class(TOCGenericImport) end; CPInformationTemplateClass = interface(CPTemplateClass) - ['{AE2F0CDB-08C4-4EF8-8CC9-C00AD40AC193}'] + ['{B734D7D8-0F5F-4591-B304-2BDA00ED3171}'] {class} function new: Pointer; cdecl; end; CPInformationTemplate = interface(CPTemplate) - ['{34375725-CE82-4D3C-8A7B-289EAC32A50A}'] + ['{B4FE33EE-8127-48B5-AA3A-6AEB427CA032}'] function actions: NSArray; cdecl; function initWithTitle(title: NSString; layout: CPInformationTemplateLayout; items: NSArray; actions: NSArray): Pointer; cdecl; function items: NSArray; cdecl; @@ -491,11 +588,11 @@ TCPInformationRatingItem = class(TOCGenericImport) end; CPWindowClass = interface(UIWindowClass) - ['{E4BF6334-8DBF-4971-9C08-0F58DAEF3030}'] + ['{0313F6C8-7A0C-4445-B22A-137B2E43E3D8}'] end; CPWindow = interface(UIWindow) - ['{1BAD1CC7-F404-4B0F-9ACA-F5190F29A050}'] + ['{5930757F-FE95-49B8-96F2-C1C3F50868A1}'] function mapButtonSafeAreaLayoutGuide: UILayoutGuide; cdecl; procedure setTemplateApplicationScene(templateApplicationScene: CPTemplateApplicationScene); cdecl; procedure setWindowScene(windowScene: UIWindowScene); cdecl; @@ -505,12 +602,12 @@ TCPInformationTemplate = class(TOCGenericImport) end; CPInterfaceControllerClass = interface(NSObjectClass) - ['{6EA3A79C-1634-4C2A-BFEE-E7E290F1F9E8}'] + ['{8D28EE46-21BE-4445-A7F0-931E05E291AB}'] {class} function new: Pointer; cdecl; end; CPInterfaceController = interface(NSObject) - ['{2FE3F6CA-F614-4702-8395-CD264CE7E7E6}'] + ['{6FC136B5-FF0C-4CA6-A763-69AFD7CD9A5C}'] function carTraitCollection: UITraitCollection; cdecl; function delegate: Pointer; cdecl; procedure dismissTemplateAnimated(animated: Boolean; completion: TCPInterfaceControllerBlockMethod1); overload; cdecl; @@ -538,7 +635,7 @@ TCPWindow = class(TOCGenericImport) end; TCPInterfaceController = class(TOCGenericImport) end; CPInterfaceControllerDelegate = interface(IObjectiveC) - ['{8D58FB0A-CC91-4721-B66D-352BB22F5CDD}'] + ['{0D4A0B7C-7BAD-4F6F-A28F-B6957DAF28C0}'] procedure templateDidAppear(aTemplate: CPTemplate; animated: Boolean); cdecl; procedure templateDidDisappear(aTemplate: CPTemplate; animated: Boolean); cdecl; procedure templateWillAppear(aTemplate: CPTemplate; animated: Boolean); cdecl; @@ -546,61 +643,102 @@ TCPInterfaceController = class(TOCGenericImport) end; + + CPInstrumentClusterControllerDelegate = interface(IObjectiveC) + ['{889BF2E7-77F5-401C-8795-2381A90179EE}'] + procedure instrumentClusterController(instrumentClusterController: CPInstrumentClusterController; + didChangeCompassSetting: CPInstrumentClusterSetting); cdecl; + [MethodName('instrumentClusterController:didChangeSpeedLimitSetting:')] + procedure instrumentClusterControllerDidChangeSpeedLimitSetting(instrumentClusterController: CPInstrumentClusterController; + didChangeSpeedLimitSetting: CPInstrumentClusterSetting); cdecl; + procedure instrumentClusterControllerDidConnectWindow(instrumentClusterWindow: UIWindow); cdecl; + procedure instrumentClusterControllerDidDisconnectWindow(instrumentClusterWindow: UIWindow); cdecl; + procedure instrumentClusterControllerDidZoomIn(instrumentClusterController: CPInstrumentClusterController); cdecl; + procedure instrumentClusterControllerDidZoomOut(instrumentClusterController: CPInstrumentClusterController); cdecl; end; CPListTemplateItem = interface(IObjectiveC) - ['{A2F2C48F-8D0F-4E8F-A8D3-BFD8ACEF0824}'] + ['{C44DDF14-28CE-4D63-880F-DC5DB95D770B}'] + function isEnabled: Boolean; cdecl; + procedure setEnabled(enabled: Boolean); cdecl; procedure setUserInfo(userInfo: Pointer); cdecl; function text: NSString; cdecl; function userInfo: Pointer; cdecl; end; CPSelectableListItem = interface(IObjectiveC) - ['{84329398-A87A-44AE-82C9-00914AC2552A}'] + ['{2A89BA60-7650-44B6-8766-DA057EE47DA7}'] function handler: TCPSelectableListItemBlockMethod1; cdecl; - procedure setHandler(handler: TCPSelectableListItemBlockMethod2); cdecl; + procedure setHandler(handler: Pointer); cdecl; end; CPListSectionClass = interface(NSObjectClass) - ['{4A7BD5D4-436D-46DF-8BA9-7CB7CA242A58}'] + ['{03895BA9-7CC0-441B-988F-EFD1A929AAA5}'] {class} function new: Pointer; cdecl; end; CPListSection = interface(NSObject) - ['{C5855042-A06D-433F-A61A-08EC6171EC60}'] + ['{6CCB6075-7EBD-47B6-91C0-E78B8F7D24F0}'] function header: NSString; cdecl; + function headerButton: CPButton; cdecl; + function headerImage: UIImage; cdecl; + function headerSubtitle: NSString; cdecl; function indexOfItem(item: Pointer): NSUInteger; cdecl; function initWithItems(items: NSArray): Pointer; overload; cdecl; + function initWithItems(items: NSArray; header: NSString; headerSubtitle: NSString; headerImage: UIImage; headerButton: CPButton; + sectionIndexTitle: NSString): Pointer; overload; cdecl; function initWithItems(items: NSArray; header: NSString; sectionIndexTitle: NSString): Pointer; overload; cdecl; function itemAtIndex(index: NSUInteger): Pointer; cdecl; function items: NSArray; cdecl; function sectionIndexTitle: NSString; cdecl; + procedure setHeaderImage(headerImage: UIImage); cdecl; end; TCPListSection = class(TOCGenericImport) end; CPListImageRowItemClass = interface(NSObjectClass) - ['{C4F98C3A-308B-4C7E-8230-E03E55B6D0A2}'] + ['{208F34E3-A569-46E9-863C-A627743769FD}'] {class} function maximumImageSize: CGSize; cdecl; end; CPListImageRowItem = interface(NSObject) - ['{88432BC9-C1C8-466D-985B-E42D0AC868F4}'] + ['{911CC54C-BE99-4015-A764-B72E42CF978C}'] function gridImages: NSArray; cdecl; function handler: TCPListImageRowItemBlockMethod1; cdecl; - function initWithText(text: NSString; images: NSArray): Pointer; cdecl; + function imageTitles: NSArray; cdecl; + function initWithText(text: NSString; images: NSArray; imageTitles: NSArray): Pointer; overload; cdecl; + function initWithText(text: NSString; images: NSArray): Pointer; overload; cdecl; + function isEnabled: Boolean; cdecl; function listImageRowHandler: TCPListImageRowItemBlockMethod3; cdecl; + procedure setEnabled(enabled: Boolean); cdecl; procedure setHandler(handler: TCPListImageRowItemBlockMethod2); cdecl; + procedure setImageTitles(imageTitles: NSArray); cdecl; procedure setListImageRowHandler(listImageRowHandler: TCPListImageRowItemBlockMethod2); cdecl; procedure setText(text: NSString); cdecl; procedure setUserInfo(userInfo: Pointer); cdecl; @@ -611,12 +749,12 @@ TCPListSection = class(TOCGenericImport) en TCPListImageRowItem = class(TOCGenericImport) end; CPListItemClass = interface(NSObjectClass) - ['{55092702-CCA3-49F1-8500-7538392F2F74}'] + ['{C2114DDE-B190-4668-B2A7-E4F122AEC029}'] {class} function maximumImageSize: CGSize; cdecl; end; CPListItem = interface(NSObject) - ['{5F390FE4-0C35-4D0C-87B8-0595CFF60E79}'] + ['{F1BBE32A-2CEA-4AFB-BAA2-1D1F53C8753D}'] function accessoryImage: UIImage; cdecl; function accessoryType: CPListItemAccessoryType; cdecl; function detailText: NSString; cdecl; @@ -627,6 +765,7 @@ TCPListImageRowItem = class(TOCGenericImport) end; + CPAssistantCellConfigurationClass = interface(NSObjectClass) + ['{0260B5EC-7737-4855-BB3E-8981BFE0E31B}'] + end; + + CPAssistantCellConfiguration = interface(NSObject) + ['{FCC8B5FB-EEE8-4909-98F8-F87D865CAF26}'] + function assistantAction: CPAssistantCellActionType; cdecl; + function initWithPosition(position: CPAssistantCellPosition; visibility: CPAssistantCellVisibility; + assistantAction: CPAssistantCellActionType): Pointer; cdecl; + function position: CPAssistantCellPosition; cdecl; + function visibility: CPAssistantCellVisibility; cdecl; + end; + TCPAssistantCellConfiguration = class(TOCGenericImport) end; + CPListTemplateClass = interface(CPTemplateClass) - ['{5C465C3D-3926-4FAE-A8C6-A4231CB82398}'] + ['{818948F6-C60B-4605-8B4A-F7DA1DF36D0B}'] {class} function maximumItemCount: NSUInteger; cdecl; {class} function maximumSectionCount: NSUInteger; cdecl; {class} function new: Pointer; cdecl; end; CPListTemplate = interface(CPTemplate) - ['{0CCCC5E3-2425-44A3-8E7E-A81D1B3B48CA}'] + ['{9AA66967-312E-4FEE-A4D7-04131F6FE413}'] + function assistantCellConfiguration: CPAssistantCellConfiguration; cdecl; function delegate: Pointer; cdecl; // API_DEPRECATED_WITH_REPLACEMENT("-[CPListItem handler]", ios(12.0, 14.0)) function emptyViewSubtitleVariants: NSArray; cdecl; function emptyViewTitleVariants: NSArray; cdecl; function indexPathForItem(item: Pointer): NSIndexPath; cdecl; - function initWithTitle(title: NSString; sections: NSArray): Pointer; cdecl; + function initWithTitle(title: NSString; sections: NSArray; assistantCellConfiguration: CPAssistantCellConfiguration): Pointer; overload; cdecl; + function initWithTitle(title: NSString; sections: NSArray): Pointer; overload; cdecl; function itemCount: NSUInteger; cdecl; function sectionCount: NSUInteger; cdecl; function sections: NSArray; cdecl; + procedure setAssistantCellConfiguration(assistantCellConfiguration: CPAssistantCellConfiguration); cdecl; procedure setDelegate(delegate: Pointer); cdecl; // API_DEPRECATED_WITH_REPLACEMENT("-[CPListItem handler]", ios(12.0, 14.0)) procedure setEmptyViewSubtitleVariants(emptyViewSubtitleVariants: NSArray); cdecl; procedure setEmptyViewTitleVariants(emptyViewTitleVariants: NSArray); cdecl; @@ -676,67 +833,119 @@ TCPListItem = class(TOCGenericImport) end; TCPListTemplate = class(TOCGenericImport) end; CPListTemplateDelegate = interface(IObjectiveC) - ['{7B97E2E5-6C06-48AD-89EF-383551CBB942}'] - procedure listTemplate(listTemplate: CPListTemplate; didSelectListItem: CPListItem; - completionHandler: TCPListTemplateDelegateBlockMethod1); cdecl; // API_DEPRECATED_WITH_REPLACEMENT("-[CPListItem handler]", ios(12.0, 14.0)) + ['{BAB1C5D8-8257-4A88-ACCB-65D26ED931E1}'] + procedure listTemplate(listTemplate: CPListTemplate; didSelectListItem: CPListItem; completionHandler: Pointer); cdecl; // API_DEPRECATED_WITH_REPLACEMENT("-[CPListItem handler]", ios(12.0, 14.0)) + end; + + CPLaneClass = interface(NSObjectClass) + ['{BBBED441-35C1-4E0E-8C45-5EA5F60095ED}'] + end; + + CPLane = interface(NSObject) + ['{0C3FA948-8424-4F78-91C2-564F15C7C244}'] + function angles: NSArray; cdecl; + function highlightedAngle: NSMeasurement; cdecl; + function initWithAngles(angles: NSArray; highlightedAngle: NSMeasurement; isPreferred: Boolean): Pointer; overload; cdecl; + function initWithAngles(angles: NSArray): Pointer; overload; cdecl; + function primaryAngle: NSMeasurement; cdecl; // API_DEPRECATED("Use highlightedAngle to get value, use -[CPLane initAngles:highlightedAngle:isPreferred:] to create a CPLane with highlightedAngle set", ios(17.4, 18.0)) + function secondaryAngles: NSArray; cdecl; // API_DEPRECATED("Use angles to get value, Use -[CPLane initWithAngles:] or -[CPLane initAngles:highlightedAngle:isPreferred:] to create a CPLane with angles", ios(17.4, 18.0)) + procedure setPrimaryAngle(primaryAngle: NSMeasurement); cdecl; // API_DEPRECATED("Use highlightedAngle to get value, use -[CPLane initAngles:highlightedAngle:isPreferred:] to create a CPLane with highlightedAngle set", ios(17.4, 18.0)) + procedure setSecondaryAngles(secondaryAngles: NSArray); cdecl; // API_DEPRECATED("Use angles to get value, Use -[CPLane initWithAngles:] or -[CPLane initAngles:highlightedAngle:isPreferred:] to create a CPLane with angles", ios(17.4, 18.0)) + procedure setStatus(status: CPLaneStatus); cdecl; // API_DEPRECATED("Use -[CPLane initWithAngles:] to create a CPLane with CPLaneStatusNotGood, use -[CPLane initAngles:highlightedAngle:isPreferred:] to create a CPLane with status CPLaneStatusGood or CPLaneStatusPreferred", ios(17.4, 18.0)) + function status: CPLaneStatus; cdecl; + end; + TCPLane = class(TOCGenericImport) end; + + CPLaneGuidanceClass = interface(NSObjectClass) + ['{F06802CE-B40F-4F73-A5F1-9C00376F08DA}'] end; + CPLaneGuidance = interface(NSObject) + ['{5FCD8D2F-B45F-4157-8387-D710AD6CAD18}'] + function instructionVariants: NSArray; cdecl; + function lanes: NSArray; cdecl; + procedure setInstructionVariants(instructionVariants: NSArray); cdecl; + procedure setLanes(lanes: NSArray); cdecl; + end; + TCPLaneGuidance = class(TOCGenericImport) end; + CPTravelEstimatesClass = interface(NSObjectClass) - ['{CB669A22-75A7-447D-B1AA-DEFF9D7B53C2}'] + ['{1C0384D1-E760-4077-B569-0765A2751829}'] {class} function new: Pointer; cdecl; end; CPTravelEstimates = interface(NSObject) - ['{672CB504-A457-4349-A7B6-B819BA0C5DA2}'] + ['{A63D12CF-78F5-4662-B613-4FE735EC6C11}'] function distanceRemaining: NSMeasurement; cdecl; - function initWithDistanceRemaining(distance: NSMeasurement; timeRemaining: NSTimeInterval): Pointer; cdecl; + function distanceRemainingToDisplay: NSMeasurement; cdecl; + function initWithDistanceRemaining(distance: NSMeasurement; timeRemaining: NSTimeInterval): Pointer; overload; cdecl; + function initWithDistanceRemaining(distanceRemaining: NSMeasurement; distanceRemainingToDisplay: NSMeasurement; + timeRemaining: NSTimeInterval): Pointer; overload; cdecl; function timeRemaining: NSTimeInterval; cdecl; end; TCPTravelEstimates = class(TOCGenericImport) end; CPManeuverClass = interface(NSObjectClass) - ['{6F326093-EDE6-47D3-A33C-508C0DAC3996}'] + ['{EDBA3800-2206-44ED-A0C6-B09CFB6D06E0}'] end; CPManeuver = interface(NSObject) - ['{E97ED9B8-0001-4593-BA94-9D49EC970A61}'] + ['{BCE0180D-646E-4EA9-AF7A-4FA316E68223}'] function attributedInstructionVariants: NSArray; cdecl; + function cardBackgroundColor: UIColor; cdecl; function dashboardAttributedInstructionVariants: NSArray; cdecl; function dashboardInstructionVariants: NSArray; cdecl; function dashboardJunctionImage: UIImage; cdecl; function dashboardSymbolImage: UIImage; cdecl; + function highwayExitLabel: NSString; cdecl; function initialTravelEstimates: CPTravelEstimates; cdecl; function instructionVariants: NSArray; cdecl; + function junctionElementAngles: NSSet; cdecl; + function junctionExitAngle: NSMeasurement; cdecl; function junctionImage: UIImage; cdecl; + function junctionType: CPJunctionType; cdecl; + function linkedLaneGuidance: CPLaneGuidance; cdecl; + function maneuverType: CPManeuverType; cdecl; function notificationAttributedInstructionVariants: NSArray; cdecl; function notificationInstructionVariants: NSArray; cdecl; function notificationSymbolImage: UIImage; cdecl; + function roadFollowingManeuverVariants: NSArray; cdecl; procedure setAttributedInstructionVariants(attributedInstructionVariants: NSArray); cdecl; + procedure setCardBackgroundColor(cardBackgroundColor: UIColor); cdecl; procedure setDashboardAttributedInstructionVariants(dashboardAttributedInstructionVariants: NSArray); cdecl; procedure setDashboardInstructionVariants(dashboardInstructionVariants: NSArray); cdecl; procedure setDashboardJunctionImage(dashboardJunctionImage: UIImage); cdecl; procedure setDashboardSymbolImage(dashboardSymbolImage: UIImage); cdecl; + procedure setHighwayExitLabel(highwayExitLabel: NSString); cdecl; procedure setInitialTravelEstimates(initialTravelEstimates: CPTravelEstimates); cdecl; procedure setInstructionVariants(instructionVariants: NSArray); cdecl; + procedure setJunctionElementAngles(junctionElementAngles: NSSet); cdecl; + procedure setJunctionExitAngle(junctionExitAngle: NSMeasurement); cdecl; procedure setJunctionImage(junctionImage: UIImage); cdecl; + procedure setJunctionType(junctionType: CPJunctionType); cdecl; + procedure setLinkedLaneGuidance(linkedLaneGuidance: CPLaneGuidance); cdecl; + procedure setManeuverType(maneuverType: CPManeuverType); cdecl; procedure setNotificationAttributedInstructionVariants(notificationAttributedInstructionVariants: NSArray); cdecl; procedure setNotificationInstructionVariants(notificationInstructionVariants: NSArray); cdecl; procedure setNotificationSymbolImage(notificationSymbolImage: UIImage); cdecl; + procedure setRoadFollowingManeuverVariants(roadFollowingManeuverVariants: NSArray); cdecl; procedure setSymbolImage(symbolImage: UIImage); cdecl; procedure setSymbolSet(symbolSet: CPImageSet); cdecl; // API_DEPRECATED_WITH_REPLACEMENT("symbolImage", ios(12.0, 13.0)) + procedure setTrafficSide(trafficSide: CPTrafficSide); cdecl; procedure setUserInfo(userInfo: Pointer); cdecl; function symbolImage: UIImage; cdecl; function symbolSet: CPImageSet; cdecl; // API_DEPRECATED_WITH_REPLACEMENT("symbolImage", ios(12.0, 13.0)) + function trafficSide: CPTrafficSide; cdecl; function userInfo: Pointer; cdecl; end; TCPManeuver = class(TOCGenericImport) end; CPMapButtonClass = interface(NSObjectClass) - ['{CB97DE06-54B3-415F-86C7-1A7AFE08B190}'] + ['{73594D8C-ABE2-4F8B-BBA8-2595941612DA}'] end; CPMapButton = interface(NSObject) - ['{79BFAA84-65F4-40BA-819C-6A7D4E503D17}'] + ['{51AA4C50-73CC-4F9D-9E7B-622300D15E61}'] function focusedImage: UIImage; cdecl; function image: UIImage; cdecl; function initWithHandler(handler: TCPMapButtonBlockMethod1): Pointer; cdecl; @@ -750,11 +959,11 @@ TCPManeuver = class(TOCGenericImport) end; TCPMapButton = class(TOCGenericImport) end; CPNavigationAlertClass = interface(NSObjectClass) - ['{A819FD99-C08E-457E-A83E-4EFEC521726E}'] + ['{8988036C-E9AD-47A6-951B-D724ECD5170F}'] end; CPNavigationAlert = interface(NSObject) - ['{724A239E-E907-4F73-B076-6D620C12930D}'] + ['{CAD842CB-9EE1-4E64-BC08-D759AC53A44D}'] function duration: NSTimeInterval; cdecl; function image: UIImage; cdecl; function imageSet: CPImageSet; cdecl; @@ -770,13 +979,30 @@ TCPMapButton = class(TOCGenericImport) end; end; TCPNavigationAlert = class(TOCGenericImport) end; + CPRouteInformationClass = interface(NSObjectClass) + ['{9CE8C723-D81C-439A-A873-0B492546DAE3}'] + end; + + CPRouteInformation = interface(NSObject) + ['{8C941AEF-7753-4C5D-B27D-4055F0F45110}'] + function currentLaneGuidance: CPLaneGuidance; cdecl; + function currentManeuvers: NSArray; cdecl; + function initWithManeuvers(maneuvers: NSArray; laneGuidances: NSArray; currentManeuvers: NSArray; currentLaneGuidance: CPLaneGuidance; + tripTravelEstimates: CPTravelEstimates; maneuverTravelEstimates: CPTravelEstimates): Pointer; cdecl; + function laneGuidances: NSArray; cdecl; + function maneuvers: NSArray; cdecl; + function maneuverTravelEstimates: CPTravelEstimates; cdecl; + function tripTravelEstimates: CPTravelEstimates; cdecl; + end; + TCPRouteInformation = class(TOCGenericImport) end; + CPRouteChoiceClass = interface(NSObjectClass) - ['{99042C15-88D4-4645-BFD5-850B8D14C33F}'] + ['{506534F1-3BF1-4C4E-9FFE-F80749E354F1}'] {class} function new: Pointer; cdecl; end; CPRouteChoice = interface(NSObject) - ['{8D2F0BE0-B046-4D35-906C-AA7C72A51964}'] + ['{D6A8F176-1E55-4AEF-991C-853249B22BD8}'] function additionalInformationVariants: NSArray; cdecl; function initWithSummaryVariants(summaryVariants: NSArray; additionalInformationVariants: NSArray; selectionSummaryVariants: NSArray): Pointer; cdecl; @@ -788,31 +1014,43 @@ TCPNavigationAlert = class(TOCGenericImport) end; CPTripClass = interface(NSObjectClass) - ['{499A18E9-A27D-4D8B-91B7-8796CC7C0201}'] + ['{E2377887-F1AA-457D-A6AC-E6E284DBB55B}'] {class} function new: Pointer; cdecl; end; CPTrip = interface(NSObject) - ['{AEEAB149-C56A-4CB1-A234-A5C3B85084C9}'] + ['{D167FAAA-1F09-4050-B5CF-F62E59CE9D6F}'] function destination: MKMapItem; cdecl; + function destinationNameVariants: NSArray; cdecl; function initWithOrigin(origin: MKMapItem; destination: MKMapItem; routeChoices: NSArray): Pointer; cdecl; function origin: MKMapItem; cdecl; function routeChoices: NSArray; cdecl; + procedure setDestinationNameVariants(destinationNameVariants: NSArray); cdecl; procedure setUserInfo(userInfo: Pointer); cdecl; function userInfo: Pointer; cdecl; end; TCPTrip = class(TOCGenericImport) end; CPNavigationSessionClass = interface(NSObjectClass) - ['{96272CCD-C79E-4CEF-9FBD-C91217A09474}'] + ['{F153CD74-8DBA-4160-8013-C1FE5738B6FE}'] {class} function new: Pointer; cdecl; end; CPNavigationSession = interface(NSObject) - ['{17601BD6-40DA-4F2F-B274-7FC1E396A572}'] + ['{37101D7F-6012-46AF-A7AC-F168EAD4B5F9}'] + procedure addLaneGuidances(laneGuidances: NSArray); cdecl; + procedure addManeuvers(maneuvers: NSArray); cdecl; procedure cancelTrip; cdecl; + function currentLaneGuidance: CPLaneGuidance; cdecl; + function currentRoadNameVariants: NSArray; cdecl; procedure finishTrip; cdecl; - procedure pauseTripForReason(reason: CPTripPauseReason; description: NSString); cdecl; + function maneuverState: CPManeuverState; cdecl; + procedure pauseTripForReason(reason: CPTripPauseReason; description: NSString; turnCardColor: UIColor); overload; cdecl; + procedure pauseTripForReason(reason: CPTripPauseReason; description: NSString); overload; cdecl; + procedure resumeTripWithUpdatedRouteInformation(routeInformation: CPRouteInformation); cdecl; + procedure setCurrentLaneGuidance(currentLaneGuidance: CPLaneGuidance); cdecl; + procedure setCurrentRoadNameVariants(currentRoadNameVariants: NSArray); cdecl; + procedure setManeuverState(maneuverState: CPManeuverState); cdecl; procedure setUpcomingManeuvers(upcomingManeuvers: NSArray); cdecl; function trip: CPTrip; cdecl; function upcomingManeuvers: NSArray; cdecl; @@ -821,11 +1059,11 @@ TCPTrip = class(TOCGenericImport) end; TCPNavigationSession = class(TOCGenericImport) end; CPTripPreviewTextConfigurationClass = interface(NSObjectClass) - ['{52B1FD01-1310-4709-AE20-60D01E202AAB}'] + ['{B92D7327-31E5-4750-ADA9-CF97E486C395}'] end; CPTripPreviewTextConfiguration = interface(NSObject) - ['{82AA0C31-12E4-4CB9-B5B7-08D7752B820D}'] + ['{0DE93A89-236B-4852-B3CC-184379561BD9}'] function additionalRoutesButtonTitle: NSString; cdecl; function initWithStartButtonTitle(startButtonTitle: NSString; additionalRoutesButtonTitle: NSString; overviewButtonTitle: NSString): Pointer; cdecl; @@ -835,11 +1073,11 @@ TCPNavigationSession = class(TOCGenericImport) end; CPMapTemplateClass = interface(CPTemplateClass) - ['{4CCA1A76-4B63-4DF5-97B5-D908F98C2D9E}'] + ['{C092BA11-B6C2-4522-B52C-3F2CE99B1277}'] end; CPMapTemplate = interface(CPTemplate) - ['{4EED798F-4298-436A-99CB-F5F53F037B88}'] + ['{4B28F0C9-90AF-4E58-97EE-A931278B8170}'] function automaticallyHidesNavigationBar: Boolean; cdecl; function currentNavigationAlert: CPNavigationAlert; cdecl; procedure dismissNavigationAlertAnimated(animated: Boolean; completion: TCPMapTemplateBlockMethod1); cdecl; @@ -869,56 +1107,47 @@ TCPTripPreviewTextConfiguration = class(TOCGenericImport) end; CPMapTemplateDelegate = interface(IObjectiveC) - ['{2811F7B5-3212-467C-B6E4-77662A23F38F}'] + ['{542A7BBB-A0D0-4717-8930-0F873AA3F857}'] + procedure mapTemplate(mapTemplate: CPMapTemplate; willDismissNavigationAlert: CPNavigationAlert; + dismissalContext: CPNavigationAlertDismissalContext); overload; cdecl; + procedure mapTemplate(mapTemplate: CPMapTemplate; didEndPanGestureWithVelocity: CGPoint); overload; cdecl; + procedure mapTemplate(mapTemplate: CPMapTemplate; didUpdatePanGestureWithTranslation: CGPoint; velocity: CGPoint); overload; cdecl; + procedure mapTemplate(mapTemplate: CPMapTemplate; panBeganWithDirection: CPPanDirection); overload; cdecl; + procedure mapTemplate(mapTemplate: CPMapTemplate; selectedPreviewForTrip: CPTrip; usingRouteChoice: CPRouteChoice); overload; cdecl; + function mapTemplate(mapTemplate: CPMapTemplate; shouldShowNotificationForManeuver: CPManeuver): Boolean; overload; cdecl; + function mapTemplate(mapTemplate: CPMapTemplate; shouldShowNotificationForNavigationAlert: CPNavigationAlert): Boolean; overload; cdecl; + function mapTemplate(mapTemplate: CPMapTemplate; shouldUpdateNotificationForManeuver: CPManeuver; + withTravelEstimates: CPTravelEstimates): Boolean; overload; cdecl; procedure mapTemplateDidBeginPanGesture(mapTemplate: CPMapTemplate); cdecl; procedure mapTemplateDidCancelNavigation(mapTemplate: CPMapTemplate); cdecl; [MethodName('mapTemplate:didDismissNavigationAlert:dismissalContext:')] procedure mapTemplateDidDismissNavigationAlert(mapTemplate: CPMapTemplate; didDismissNavigationAlert: CPNavigationAlert; dismissalContext: CPNavigationAlertDismissalContext); cdecl; procedure mapTemplateDidDismissPanningInterface(mapTemplate: CPMapTemplate); cdecl; - [MethodName('mapTemplate:didEndPanGestureWithVelocity:')] - procedure mapTemplateDidEndPanGestureWithVelocity(mapTemplate: CPMapTemplate; didEndPanGestureWithVelocity: CGPoint); cdecl; [MethodName('mapTemplate:didShowNavigationAlert:')] procedure mapTemplateDidShowNavigationAlert(mapTemplate: CPMapTemplate; didShowNavigationAlert: CPNavigationAlert); cdecl; procedure mapTemplateDidShowPanningInterface(mapTemplate: CPMapTemplate); cdecl; - [MethodName('mapTemplate:didUpdatePanGestureWithTranslation:velocity:')] - procedure mapTemplateDidUpdatePanGestureWithTranslation(mapTemplate: CPMapTemplate; didUpdatePanGestureWithTranslation: CGPoint; - velocity: CGPoint); cdecl; [MethodName('mapTemplate:displayStyleForManeuver:')] function mapTemplateDisplayStyleForManeuver(mapTemplate: CPMapTemplate; displayStyleForManeuver: CPManeuver): CPManeuverDisplayStyle; cdecl; - [MethodName('mapTemplate:panBeganWithDirection:')] - procedure mapTemplatePanBeganWithDirection(mapTemplate: CPMapTemplate; panBeganWithDirection: CPPanDirection); cdecl; [MethodName('mapTemplate:panEndedWithDirection:')] procedure mapTemplatePanEndedWithDirection(mapTemplate: CPMapTemplate; panEndedWithDirection: CPPanDirection); cdecl; [MethodName('mapTemplate:panWithDirection:')] procedure mapTemplatePanWithDirection(mapTemplate: CPMapTemplate; panWithDirection: CPPanDirection); cdecl; - [MethodName('mapTemplate:selectedPreviewForTrip:usingRouteChoice:')] - procedure mapTemplateSelectedPreviewForTrip(mapTemplate: CPMapTemplate; selectedPreviewForTrip: CPTrip; usingRouteChoice: CPRouteChoice); cdecl; - [MethodName('mapTemplate:shouldShowNotificationForManeuver:')] - function mapTemplateShouldShowNotificationForManeuver(mapTemplate: CPMapTemplate; shouldShowNotificationForManeuver: CPManeuver): Boolean; cdecl; - [MethodName('mapTemplate:shouldShowNotificationForNavigationAlert:')] - function mapTemplateShouldShowNotificationForNavigationAlert(mapTemplate: CPMapTemplate; - shouldShowNotificationForNavigationAlert: CPNavigationAlert): Boolean; cdecl; - [MethodName('mapTemplate:shouldUpdateNotificationForManeuver:withTravelEstimates:')] - function mapTemplateShouldUpdateNotificationForManeuver(mapTemplate: CPMapTemplate; shouldUpdateNotificationForManeuver: CPManeuver; - withTravelEstimates: CPTravelEstimates): Boolean; cdecl; + function mapTemplateShouldProvideNavigationMetadata(mapTemplate: CPMapTemplate): Boolean; cdecl; [MethodName('mapTemplate:startedTrip:usingRouteChoice:')] procedure mapTemplateStartedTrip(mapTemplate: CPMapTemplate; startedTrip: CPTrip; usingRouteChoice: CPRouteChoice); cdecl; - [MethodName('mapTemplate:willDismissNavigationAlert:dismissalContext:')] - procedure mapTemplateWillDismissNavigationAlert(mapTemplate: CPMapTemplate; willDismissNavigationAlert: CPNavigationAlert; - dismissalContext: CPNavigationAlertDismissalContext); cdecl; procedure mapTemplateWillDismissPanningInterface(mapTemplate: CPMapTemplate); cdecl; [MethodName('mapTemplate:willShowNavigationAlert:')] procedure mapTemplateWillShowNavigationAlert(mapTemplate: CPMapTemplate; willShowNavigationAlert: CPNavigationAlert); cdecl; end; CPMessageComposeBarButtonClass = interface(CPBarButtonClass) - ['{85CD919A-4850-42B4-987C-C9E164C2B011}'] + ['{8B99538B-B92B-4F5A-A170-23E0F0DDBAD1}'] {class} function new: Pointer; cdecl; end; CPMessageComposeBarButton = interface(CPBarButton) - ['{D479D8C8-3AE7-4E65-A52C-C3C18EE9AB83}'] + ['{EB8B0609-9941-458A-87D3-FA128F7EAFA9}'] function initWithImage(image: UIImage): Pointer; overload; cdecl; function initWithImage(image: UIImage; handler: CPBarButtonHandler): Pointer; overload; cdecl; function initWithTitle(title: NSString; handler: CPBarButtonHandler): Pointer; cdecl; @@ -928,38 +1157,36 @@ TCPMapTemplate = class(TOCGenericImport) en TCPMessageComposeBarButton = class(TOCGenericImport) end; CPMessageListItemLeadingConfigurationClass = interface(NSObjectClass) - ['{988E3337-3D6C-4310-B112-F368381046A2}'] + ['{D5289252-88DF-4CB9-9DD2-35A155DD5A8C}'] end; CPMessageListItemLeadingConfiguration = interface(NSObject) - ['{27C2EF22-46BF-4B96-9693-14A73A8A7E53}'] + ['{9EDB432E-C92A-461F-AABC-C03B2191BA8C}'] function initWithLeadingItem(leadingItem: CPMessageLeadingItem; leadingImage: UIImage; unread: Boolean): Pointer; cdecl; function isUnread: Boolean; cdecl; function leadingImage: UIImage; cdecl; function leadingItem: CPMessageLeadingItem; cdecl; end; - TCPMessageListItemLeadingConfiguration = class(TOCGenericImport) end; + TCPMessageListItemLeadingConfiguration = class(TOCGenericImport) end; CPMessageListItemTrailingConfigurationClass = interface(NSObjectClass) - ['{C07BFBB0-EEE3-4DE0-B0C6-F80F39E1F902}'] + ['{43B23CA3-E4D8-4552-B2D1-E20F6D10A11A}'] end; CPMessageListItemTrailingConfiguration = interface(NSObject) - ['{EC795DC0-B04C-43A8-AEEB-07B1A3922AE2}'] + ['{06BF347D-4DAA-4E5B-8C77-BAB820229030}'] function initWithTrailingItem(trailingItem: CPMessageTrailingItem; trailingImage: UIImage): Pointer; cdecl; function trailingImage: UIImage; cdecl; function trailingItem: CPMessageTrailingItem; cdecl; end; - TCPMessageListItemTrailingConfiguration = class(TOCGenericImport) end; + TCPMessageListItemTrailingConfiguration = class(TOCGenericImport) end; CPMessageListItemClass = interface(NSObjectClass) - ['{78EC7FD7-936E-4BE4-808D-BC6E5125B628}'] + ['{2BE069E8-0F8A-4440-A214-344049AB6F83}'] end; CPMessageListItem = interface(NSObject) - ['{CB1319F1-522C-4D37-88B9-783CCDBFBF65}'] + ['{A9D9812A-8441-49FF-A451-9B81FB355BF5}'] function conversationIdentifier: NSString; cdecl; function detailText: NSString; cdecl; function initWithConversationIdentifier(conversationIdentifier: NSString; text: NSString; @@ -967,10 +1194,12 @@ TCPMessageListItemTrailingConfiguration = class(TOCGenericImport) end; CPNowPlayingButtonClass = interface(NSObjectClass) - ['{B1B31715-D8EF-457B-83EB-CFB5817A984C}'] + ['{E93B7F47-093A-493E-89CA-251FA6BFE949}'] {class} function new: Pointer; cdecl; end; CPNowPlayingButton = interface(NSObject) - ['{A4B6E29E-00CF-4368-B7A9-D1F38AA60F96}'] + ['{09DA9D3F-77AE-4471-9DE7-FFA07144F742}'] function initWithHandler(handler: TCPNowPlayingButtonBlockMethod1): Pointer; cdecl; function isEnabled: Boolean; cdecl; function isSelected: Boolean; cdecl; @@ -1000,75 +1229,75 @@ TCPMessageListItem = class(TOCGenericImport) end; CPNowPlayingShuffleButtonClass = interface(CPNowPlayingButtonClass) - ['{0AFB3923-C8DA-46BC-9C53-DBD165F1BDF7}'] + ['{79090E8F-0CDC-4B7E-BA55-80108217AD31}'] end; CPNowPlayingShuffleButton = interface(CPNowPlayingButton) - ['{1C480FD4-BF93-4B5D-89C2-89975451D2B1}'] + ['{FE8A550E-F68B-41FD-8912-7643EB0BC1BB}'] end; TCPNowPlayingShuffleButton = class(TOCGenericImport) end; CPNowPlayingAddToLibraryButtonClass = interface(CPNowPlayingButtonClass) - ['{B8A0EC2D-6917-4914-A325-AF5FDC133EF9}'] + ['{1A619020-F210-4C6B-9723-CFE929436A7A}'] end; CPNowPlayingAddToLibraryButton = interface(CPNowPlayingButton) - ['{504990FA-570B-4D62-8A47-49CC7E5B9FF7}'] + ['{9CE00512-5456-4C6C-949F-C88A45ADFDD1}'] end; TCPNowPlayingAddToLibraryButton = class(TOCGenericImport) end; CPNowPlayingMoreButtonClass = interface(CPNowPlayingButtonClass) - ['{AC837269-8D72-4B68-9B82-4EFDB4E34B0F}'] + ['{0594AE41-2B13-417C-985E-03334822D533}'] end; CPNowPlayingMoreButton = interface(CPNowPlayingButton) - ['{47AC44AD-3291-42A9-BE03-2FC091321FE7}'] + ['{D69302B1-F02C-42DE-86F7-614A54059E31}'] end; TCPNowPlayingMoreButton = class(TOCGenericImport) end; CPNowPlayingPlaybackRateButtonClass = interface(CPNowPlayingButtonClass) - ['{3BF3EE93-DD93-401B-B4AE-66073305E452}'] + ['{9A2C0DFA-A937-4A3F-BA62-9D7976AAD626}'] end; CPNowPlayingPlaybackRateButton = interface(CPNowPlayingButton) - ['{E2AB42CE-68CB-4518-930F-4D956F1944C4}'] + ['{4A149B03-FCC3-47F0-BCD2-23149E4EAA7C}'] end; TCPNowPlayingPlaybackRateButton = class(TOCGenericImport) end; CPNowPlayingRepeatButtonClass = interface(CPNowPlayingButtonClass) - ['{13F3C5ED-205A-4D63-9999-E0057B292E95}'] + ['{E8741759-2915-4ABF-B1AF-2445FF21588F}'] end; CPNowPlayingRepeatButton = interface(CPNowPlayingButton) - ['{BF11F0AF-8C1A-4664-98DF-A92B7E3C0009}'] + ['{CB705F92-C3BB-4302-9A57-69AD1DF89C76}'] end; TCPNowPlayingRepeatButton = class(TOCGenericImport) end; CPNowPlayingImageButtonClass = interface(CPNowPlayingButtonClass) - ['{55A7806B-C085-4121-A06D-AA029C344385}'] + ['{E9E258AF-A1C9-4521-81C8-BADC2EAEA7F8}'] end; CPNowPlayingImageButton = interface(CPNowPlayingButton) - ['{5CC9E2F5-FB7D-4CBD-8560-C53DBDAC65E0}'] + ['{27FDE279-3C9B-45FB-963B-9A15F4A8BBFE}'] function image: UIImage; cdecl; function initWithImage(image: UIImage; handler: TCPNowPlayingImageButtonBlockMethod1): Pointer; cdecl; end; TCPNowPlayingImageButton = class(TOCGenericImport) end; CPNowPlayingTemplateObserver = interface(IObjectiveC) - ['{D039B3EF-CA1E-4320-B6FE-AD897B2F11F6}'] + ['{07047E0F-D77B-4A65-AE9B-A3ED646368BD}'] procedure nowPlayingTemplateAlbumArtistButtonTapped(nowPlayingTemplate: CPNowPlayingTemplate); cdecl; procedure nowPlayingTemplateUpNextButtonTapped(nowPlayingTemplate: CPNowPlayingTemplate); cdecl; end; CPNowPlayingTemplateClass = interface(CPTemplateClass) - ['{10C757E0-81AD-4ABE-B491-C0F5EC6556F7}'] + ['{49B85FA3-3682-4BE9-8318-5B6BEC03C1F5}'] {class} function new: Pointer; cdecl; {class} function sharedTemplate: CPNowPlayingTemplate; cdecl; end; CPNowPlayingTemplate = interface(CPTemplate) - ['{FFF5F725-D0B5-40F1-9B44-CDD301F5DFEF}'] + ['{BAD3E2DE-3A3A-4034-BF74-847B9B83225D}'] procedure addObserver(observer: Pointer); cdecl; function isAlbumArtistButtonEnabled: Boolean; cdecl; function isUpNextButtonEnabled: Boolean; cdecl; @@ -1083,21 +1312,26 @@ TCPNowPlayingImageButton = class(TOCGenericImport) end; CPPointOfInterestClass = interface(NSObjectClass) - ['{639C18F9-574F-4175-8FB2-7DC8A325A330}'] + ['{075A03F5-C783-468F-B19D-DCFB2729D2E4}'] {class} function new: Pointer; cdecl; + {class} function pinImageSize: CGSize; cdecl; + {class} function selectedPinImageSize: CGSize; cdecl; end; CPPointOfInterest = interface(NSObject) - ['{48625484-BB26-48BF-9209-6BB861B783B3}'] + ['{B6948796-4864-46FD-985C-82DDAABC2AAC}'] function detailSubtitle: NSString; cdecl; function detailSummary: NSString; cdecl; function detailTitle: NSString; cdecl; function initWithLocation(location: MKMapItem; title: NSString; subtitle: NSString; summary: NSString; detailTitle: NSString; - detailSubtitle: NSString; detailSummary: NSString; pinImage: UIImage): Pointer; cdecl; + detailSubtitle: NSString; detailSummary: NSString; pinImage: UIImage; selectedPinImage: UIImage): Pointer; overload; cdecl; + function initWithLocation(location: MKMapItem; title: NSString; subtitle: NSString; summary: NSString; detailTitle: NSString; + detailSubtitle: NSString; detailSummary: NSString; pinImage: UIImage): Pointer; overload; cdecl; function location: MKMapItem; cdecl; function pinImage: UIImage; cdecl; function primaryButton: CPTextButton; cdecl; function secondaryButton: CPTextButton; cdecl; + function selectedPinImage: UIImage; cdecl; procedure setDetailSubtitle(detailSubtitle: NSString); cdecl; procedure setDetailSummary(detailSummary: NSString); cdecl; procedure setDetailTitle(detailTitle: NSString); cdecl; @@ -1105,6 +1339,7 @@ TCPNowPlayingTemplate = class(TOCGenericImport) end; CPPointOfInterestTemplateDelegate = interface(IObjectiveC) - ['{DD134B2C-F978-4EAA-AC02-327E63FFB0C0}'] - procedure pointOfInterestTemplate(pointOfInterestTemplate: CPPointOfInterestTemplate; - didChangeMapRegion: MKCoordinateRegion); overload; cdecl; - procedure pointOfInterestTemplate(pointOfInterestTemplate: CPPointOfInterestTemplate; - didSelectPointOfInterest: CPPointOfInterest); overload; cdecl; + ['{D395CE54-AE89-48C2-AB1E-B075139FDCC2}'] + procedure pointOfInterestTemplate(pointOfInterestTemplate: CPPointOfInterestTemplate; didChangeMapRegion: MKCoordinateRegion); overload; cdecl; + procedure pointOfInterestTemplate(pointOfInterestTemplate: CPPointOfInterestTemplate; didSelectPointOfInterest: CPPointOfInterest); overload; cdecl; end; CPPointOfInterestTemplateClass = interface(CPTemplateClass) - ['{B43BDC98-AF7E-43B7-9375-145B381CB59D}'] + ['{C3E91923-F3B7-4FAB-86F5-43A696152D58}'] {class} function new: Pointer; cdecl; end; CPPointOfInterestTemplate = interface(CPTemplate) - ['{798FA4FC-05E0-4580-8901-E4461CFD56E2}'] + ['{FF8CA55D-9A0D-4A9B-9274-B27F00D24C09}'] function initWithTitle(title: NSString; pointsOfInterest: NSArray; selectedIndex: NSUInteger): Pointer; cdecl; function pointOfInterestDelegate: Pointer; cdecl; function pointsOfInterest: NSArray; cdecl; @@ -1144,32 +1377,30 @@ TCPPointOfInterest = class(TOCGenericImport) end; CPSearchTemplateClass = interface(CPTemplateClass) - ['{B76AC7BB-FA63-49E1-86F6-5E9D0BAD03D0}'] + ['{CE0253DA-3DD0-4112-8ABA-36E4E1177557}'] end; CPSearchTemplate = interface(CPTemplate) - ['{BC4DE66C-01E1-4D8C-9D05-EC3D7F88EC3F}'] + ['{1FDA6F3A-3F7D-4A72-8AC1-D4FC48549570}'] function delegate: Pointer; cdecl; procedure setDelegate(delegate: Pointer); cdecl; end; TCPSearchTemplate = class(TOCGenericImport) end; CPSearchTemplateDelegate = interface(IObjectiveC) - ['{5FD6EAD8-E803-4B9A-AD10-A991CED4F152}'] - procedure searchTemplate(searchTemplate: CPSearchTemplate; selectedResult: CPListItem; - completionHandler: TCPSearchTemplateDelegateBlockMethod2); overload; cdecl; - procedure searchTemplate(searchTemplate: CPSearchTemplate; updatedSearchText: NSString; - completionHandler: TCPSearchTemplateDelegateBlockMethod1); overload; cdecl; + ['{EFB4CB3F-BE84-46A8-8257-71C4A8911702}'] + procedure searchTemplate(searchTemplate: CPSearchTemplate; selectedResult: CPListItem; completionHandler: Pointer); overload; cdecl; + procedure searchTemplate(searchTemplate: CPSearchTemplate; updatedSearchText: NSString; completionHandler: Pointer); overload; cdecl; procedure searchTemplateSearchButtonPressed(searchTemplate: CPSearchTemplate); cdecl; end; CPSessionConfigurationClass = interface(NSObjectClass) - ['{E7ED4E47-93B9-40E9-B691-928DC71F722C}'] + ['{5A01BEB0-D92C-4D62-B17E-4276730CD02E}'] {class} function new: Pointer; cdecl; end; CPSessionConfiguration = interface(NSObject) - ['{5A3F1A7B-FEDA-4D88-953F-32DA59ED359D}'] + ['{B4C00C8B-EC4B-42FA-9BFE-946DA39CC3FE}'] function contentStyle: CPContentStyle; cdecl; function delegate: Pointer; cdecl; function initWithDelegate(delegate: Pointer): Pointer; cdecl; @@ -1179,23 +1410,25 @@ TCPSearchTemplate = class(TOCGenericImport) end; CPSessionConfigurationDelegate = interface(IObjectiveC) - ['{88D2EC3F-C60C-4D19-B5DC-F586F22BC300}'] - procedure sessionConfiguration(sessionConfiguration: CPSessionConfiguration; limitedUserInterfacesChanged: CPLimitableUserInterface); cdecl; + ['{4E72EB23-F27C-4E63-9DE4-DFD6B505E73D}'] + procedure sessionConfiguration(sessionConfiguration: CPSessionConfiguration); cdecl; [MethodName('sessionConfiguration:contentStyleChanged:')] procedure sessionConfigurationContentStyleChanged(sessionConfiguration: CPSessionConfiguration; contentStyleChanged: CPContentStyle); cdecl; end; CPTabBarTemplateClass = interface(CPTemplateClass) - ['{C0731C0A-7263-40AE-AA21-4CE29A698C2C}'] - {class} function maximumTabCount: NSUInteger; cdecl; + ['{629A615D-AD91-42C0-93BA-7DEDAA47215E}'] + {class} function maximumTabCount: NSInteger; cdecl; {class} function new: Pointer; cdecl; end; CPTabBarTemplate = interface(CPTemplate) - ['{B4B8B842-8BF3-45B9-BA99-9DBBACE387BE}'] + ['{E6ACF417-D95D-42C3-A072-5059ECB91429}'] function delegate: Pointer; cdecl; function initWithTemplates(templates: NSArray): Pointer; cdecl; function selectedTemplate: CPTemplate; cdecl; + procedure selectTemplate(newTemplate: CPTemplate); cdecl; + procedure selectTemplateAtIndex(index: NSInteger); cdecl; procedure setDelegate(delegate: Pointer); cdecl; function templates: NSArray; cdecl; procedure updateTemplates(newTemplates: NSArray); cdecl; @@ -1203,14 +1436,13 @@ TCPSessionConfiguration = class(TOCGenericImport) end; CPTabBarTemplateDelegate = interface(IObjectiveC) - ['{6CFA512D-D9FF-400E-BB48-9F1811948304}'] + ['{4431CC4C-D3CB-4621-9BEC-D5ECB7097552}'] procedure tabBarTemplate(tabBarTemplate: CPTabBarTemplate; didSelectTemplate: CPTemplate); cdecl; end; CPTemplateApplicationDashboardSceneDelegate = interface(IObjectiveC) - ['{33E689EC-385F-4CF9-8B7E-53D66759A648}'] - [MethodName('templateApplicationDashboardScene:didConnectDashboardController:toWindow:')] - procedure templateApplicationDashboardSceneDidConnectDashboardController(templateApplicationDashboardScene: CPTemplateApplicationDashboardScene; + ['{579CE61B-3A75-483E-9E2B-3FB1CB141411}'] + procedure templateApplicationDashboardScene(templateApplicationDashboardScene: CPTemplateApplicationDashboardScene; didConnectDashboardController: CPDashboardController; toWindow: UIWindow); cdecl; [MethodName('templateApplicationDashboardScene:didDisconnectDashboardController:fromWindow:')] procedure templateApplicationDashboardSceneDidDisconnectDashboardController(templateApplicationDashboardScene: CPTemplateApplicationDashboardScene; @@ -1218,11 +1450,11 @@ TCPTabBarTemplate = class(TOCGenericImport) end; + CPTemplateApplicationInstrumentClusterSceneDelegate = interface(IObjectiveC) + ['{5B690200-4592-4836-821B-F973CA719AFB}'] + procedure contentStyleDidChange(contentStyle: UIUserInterfaceStyle); cdecl; + procedure templateApplicationInstrumentClusterScene(templateApplicationInstrumentClusterScene: CPTemplateApplicationInstrumentClusterScene; + didConnectInstrumentClusterController: CPInstrumentClusterController); cdecl; + [MethodName('templateApplicationInstrumentClusterScene:didDisconnectInstrumentClusterController:')] + procedure templateApplicationInstrumentClusterSceneDidDisconnectInstrumentClusterController(templateApplicationInstrumentClusterScene: CPTemplateApplicationInstrumentClusterScene; + didDisconnectInstrumentClusterController: CPInstrumentClusterController); cdecl; + end; + + CPTemplateApplicationInstrumentClusterSceneClass = interface(UISceneClass) + ['{2E2828E8-F43D-4346-AA44-FBFDFAD9DD5D}'] + end; + + CPTemplateApplicationInstrumentClusterScene = interface(UIScene) + ['{FD872B1F-54F4-41F5-AA38-B862E38D5EF1}'] + function contentStyle: UIUserInterfaceStyle; cdecl; + function delegate: Pointer; cdecl; + function instrumentClusterController: CPInstrumentClusterController; cdecl; + procedure setDelegate(delegate: Pointer); cdecl; + end; + TCPTemplateApplicationInstrumentClusterScene = class(TOCGenericImport) end; + CPTemplateApplicationSceneDelegate = interface(IObjectiveC) - ['{20720B5A-1DE3-487F-8E9F-285FDF4CE592}'] - [MethodName('templateApplicationScene:didConnectInterfaceController:')] - procedure templateApplicationSceneDidConnectInterfaceController(templateApplicationScene: CPTemplateApplicationScene; - didConnectInterfaceController: CPInterfaceController); overload; cdecl; - [MethodName('templateApplicationScene:didConnectInterfaceController:toWindow:')] - procedure templateApplicationSceneDidConnectInterfaceController(templateApplicationScene: CPTemplateApplicationScene; + ['{3B7AE956-8070-4EFA-ACAD-61DE32D2894C}'] + procedure contentStyleDidChange(contentStyle: UIUserInterfaceStyle); cdecl; + procedure templateApplicationScene(templateApplicationScene: CPTemplateApplicationScene; + didSelectNavigationAlert: CPNavigationAlert); overload; cdecl; + procedure templateApplicationScene(templateApplicationScene: CPTemplateApplicationScene; didSelectManeuver: CPManeuver); overload; cdecl; + procedure templateApplicationScene(templateApplicationScene: CPTemplateApplicationScene; didConnectInterfaceController: CPInterfaceController; toWindow: CPWindow); overload; cdecl; + procedure templateApplicationScene(templateApplicationScene: CPTemplateApplicationScene; + didConnectInterfaceController: CPInterfaceController); overload; cdecl; [MethodName('templateApplicationScene:didDisconnectInterfaceController:')] procedure templateApplicationSceneDidDisconnectInterfaceController(templateApplicationScene: CPTemplateApplicationScene; didDisconnectInterfaceController: CPInterfaceController); overload; cdecl; [MethodName('templateApplicationScene:didDisconnectInterfaceController:fromWindow:')] procedure templateApplicationSceneDidDisconnectInterfaceController(templateApplicationScene: CPTemplateApplicationScene; didDisconnectInterfaceController: CPInterfaceController; fromWindow: CPWindow); overload; cdecl; - [MethodName('templateApplicationScene:didSelectManeuver:')] - procedure templateApplicationSceneDidSelectManeuver(templateApplicationScene: CPTemplateApplicationScene; didSelectManeuver: CPManeuver); cdecl; - [MethodName('templateApplicationScene:didSelectNavigationAlert:')] - procedure templateApplicationSceneDidSelectNavigationAlert(templateApplicationScene: CPTemplateApplicationScene; - didSelectNavigationAlert: CPNavigationAlert); cdecl; end; CPTemplateApplicationSceneClass = interface(UISceneClass) - ['{5432A3EB-A16F-4F9F-8FC2-966C7F403E93}'] + ['{867A1FCF-FE54-41C7-A476-E275BC2E4868}'] end; CPTemplateApplicationScene = interface(UIScene) - ['{D77B4382-B8CD-476F-99A5-847881600618}'] + ['{9B2DBFB3-4795-4DCB-85D6-CAAB45A7B765}'] function carWindow: CPWindow; cdecl; + function contentStyle: UIUserInterfaceStyle; cdecl; function delegate: Pointer; cdecl; function interfaceController: CPInterfaceController; cdecl; procedure setDelegate(delegate: Pointer); cdecl; @@ -1265,11 +1518,11 @@ TCPTemplateApplicationDashboardScene = class(TOCGenericImport) end; CPVoiceControlStateClass = interface(NSObjectClass) - ['{4D04FB0F-D106-41CF-9862-651BDF34F8C3}'] + ['{0D247AFB-A9C5-4583-A997-6F3E87E2C360}'] end; CPVoiceControlState = interface(NSObject) - ['{7C4E78F9-5C20-4509-8D88-44C2D9DB1EF2}'] + ['{B10F2188-EDD9-400F-BF1C-FA366717BC40}'] function identifier: NSString; cdecl; function image: UIImage; cdecl; function initWithIdentifier(identifier: NSString; titleVariants: NSArray; image: UIImage; repeats: Boolean): Pointer; cdecl; @@ -1279,11 +1532,11 @@ TCPTemplateApplicationScene = class(TOCGenericImport) end; CPVoiceControlTemplateClass = interface(CPTemplateClass) - ['{7DA05ED4-4184-4AC0-9879-1A061CA48D2E}'] + ['{C62CF5F8-2187-4792-B5FD-0EDBDFC4AB75}'] end; CPVoiceControlTemplate = interface(CPTemplate) - ['{E44195C8-CD5D-423F-B509-ED492F4493B9}'] + ['{285756FB-1ACF-43BE-9509-D9BA848C2514}'] procedure activateVoiceControlStateWithIdentifier(identifier: NSString); cdecl; function activeStateIdentifier: NSString; cdecl; function initWithVoiceControlStates(voiceControlStates: NSArray): Pointer; cdecl; @@ -1293,6 +1546,7 @@ TCPVoiceControlTemplate = class(TOCGenericImport