本文档包含信息归杰发科技所有,未经许可,严禁转载或披露
16 CarPlay ...................................................................................................................................... 328
16.1 简介 ................................................................................................................................... 328
16.1.1 软硬件环境 ....................................................................................................... 328
16.1.2 功能 .................................................................................................................. 328
16.1.3 代码结构及文件描述 ......................................................................................... 329
16.2 软件设计 ........................................................................................................................... 332
16.2.1 架构图 ............................................................................................................... 332
16.2.2 流程图 ............................................................................................................... 333
16.2.3 USB Role Switch .............................................................................................. 338
16.3 接口描述 ........................................................................................................................... 339
16.3.1 CarplayManager ............................................................................................... 339
16.3.2 ICarplayCallback .............................................................................................. 355
16.3.3 CarplayDevice .................................................................................................. 361
16.3.4 CarplayAppState .............................................................................................. 363
16.3.5 CarplayResourceState ..................................................................................... 365
16.3.6 CarplayEnableState ......................................................................................... 365
16.3.7 CarplayConnectionState .................................................................................. 365
16.3.8 CarplayStreamState ......................................................................................... 365
16.3.9 CarplaySiriAction .............................................................................................. 366
16.3.10 CarplayStatus ................................................................................................... 366
16.3.11 CarplayStreamID .............................................................................................. 366
16.3.12 CarplayAudioType ............................................................................................ 366
16.3.13 CarplaySpeechMode ........................................................................................ 367
16.3.14 CarplyURLIdentifier .......................................................................................... 367
16.3.15 CarplayEntity .................................................................................................... 368
16.3.16 CarplayMediaButtonIndex ................................................................................ 368
16.3.17 CarplayTelephonyButtonIndex ......................................................................... 368
16.3.18 CarplayCall ....................................................................................................... 369
16.3.19 CallStateUpdateStatus ..................................................................................... 376
16.3.20 CallStateUpdateDirection ................................................................................. 377
16.3.21 CallStateUpdatesService ................................................................................. 377