Guest User

iOS PokemonGo 0.39 CLass Dump

a guest
Oct 10th, 2016
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 285.25 KB | None | 0 0
  1. /**
  2. * This header is generated by class-dump-z 0.2-0.
  3. * class-dump-z is Copyright (C) 2009 by KennyTM~, licensed under GPLv3.
  4. *
  5. * Source: (null)
  6. */
  7.  
  8. typedef struct _NSZone NSZone;
  9.  
  10. typedef struct _NSRange {
  11. unsigned _field1;
  12. unsigned _field2;
  13. } NSRange;
  14.  
  15. typedef struct CGPoint {
  16. float x;
  17. float y;
  18. } CGPoint;
  19.  
  20. typedef struct CGSize {
  21. float width;
  22. float height;
  23. } CGSize;
  24.  
  25. typedef struct CGRect {
  26. CGPoint origin;
  27. CGSize size;
  28. } CGRect;
  29.  
  30. typedef struct opaqueCMSampleBuffer opaqueCMSampleBuffer;
  31.  
  32. typedef struct RenderSurfaceBase RenderSurfaceBase;
  33.  
  34. typedef struct UnityDisplaySurfaceBase {
  35. RenderSurfaceBase* _field1;
  36. RenderSurfaceBase* _field2;
  37. RenderSurfaceBase* _field3;
  38. RenderSurfaceBase* _field4;
  39. void* _field5;
  40. void* _field6;
  41. void* _field7;
  42. unsigned _field8;
  43. unsigned _field9;
  44. unsigned _field10;
  45. unsigned _field11;
  46. int _field12;
  47. int _field13;
  48. int _field14;
  49. int _field15;
  50. int _field16;
  51. int _field17;
  52. } UnityDisplaySurfaceBase;
  53.  
  54. typedef struct RenderingSurfaceParams {
  55. int _field1;
  56. int _field2;
  57. int _field3;
  58. int _field4;
  59. int _field5;
  60. int _field6;
  61. } RenderingSurfaceParams;
  62.  
  63. typedef struct {
  64. unsigned long _field1;
  65. id* _field2;
  66. unsigned long* _field3;
  67. unsigned long _field4[5];
  68. } XXStruct_kFm5bA;
  69.  
  70. typedef struct CreateToolbarResult {
  71. id _field1;
  72. id _field2;
  73. } CreateToolbarResult;
  74.  
  75. typedef struct {
  76. char* _field1;
  77. char* _field2;
  78. int _field3;
  79. int _field4;
  80. int _field5;
  81. BOOL _field6;
  82. BOOL _field7;
  83. } XXStruct_cGzekA;
  84.  
  85. typedef struct UnityDisplaySurfaceGLES {
  86. RenderSurfaceBase* _field1;
  87. RenderSurfaceBase* _field2;
  88. RenderSurfaceBase* _field3;
  89. RenderSurfaceBase* _field4;
  90. void* _field5;
  91. void* _field6;
  92. void* _field7;
  93. unsigned _field8;
  94. unsigned _field9;
  95. unsigned _field10;
  96. unsigned _field11;
  97. int _field12;
  98. int _field13;
  99. int _field14;
  100. int _field15;
  101. int _field16;
  102. int _field17;
  103. id _field18;
  104. id _field19;
  105. unsigned _field20;
  106. unsigned _field21;
  107. unsigned _field22;
  108. unsigned _field23;
  109. unsigned _field24;
  110. unsigned _field25;
  111. RenderSurfaceBase* _field26;
  112. unsigned _field27;
  113. unsigned _field28;
  114. unsigned _field29;
  115. } UnityDisplaySurfaceGLES;
  116.  
  117. typedef struct UnityDisplaySurfaceMTL {
  118. RenderSurfaceBase* _field1;
  119. RenderSurfaceBase* _field2;
  120. RenderSurfaceBase* _field3;
  121. RenderSurfaceBase* _field4;
  122. void* _field5;
  123. void* _field6;
  124. void* _field7;
  125. unsigned _field8;
  126. unsigned _field9;
  127. unsigned _field10;
  128. unsigned _field11;
  129. int _field12;
  130. int _field13;
  131. int _field14;
  132. int _field15;
  133. int _field16;
  134. int _field17;
  135. id _field18;
  136. id _field19;
  137. id _field20;
  138. id _field21;
  139. id _field22;
  140. id _field23;
  141. id _field24;
  142. id _field25;
  143. id _field26;
  144. unsigned _field27;
  145. unsigned _field28;
  146. } UnityDisplaySurfaceMTL;
  147.  
  148. typedef struct CMVideoSampling {
  149. void* cvTextureCache;
  150. void* cvTextureCacheTexture;
  151. void* cvImageBuffer;
  152. } CMVideoSampling;
  153.  
  154. typedef struct {
  155. long long value;
  156. int timescale;
  157. unsigned flags;
  158. long long epoch;
  159. } XXStruct_pwHToB;
  160.  
  161. typedef struct UnityFrameStats {
  162. unsigned long long _field1;
  163. unsigned long long _field2;
  164. unsigned long long _field3;
  165. unsigned long long _field4;
  166. unsigned long long _field5;
  167. unsigned long long _field6;
  168. unsigned long long _field7;
  169. unsigned long long _field8;
  170. unsigned long long _field9;
  171. int _field10;
  172. int _field11;
  173. unsigned long long _field12;
  174. int _field13;
  175. int _field14;
  176. int _field15;
  177. unsigned long long _field16;
  178. int _field17;
  179. int _field18;
  180. int _field19;
  181. int _field20;
  182. int _field21;
  183. int _field22;
  184. int _field23;
  185. int _field24;
  186. } UnityFrameStats;
  187.  
  188. typedef struct __darwin_sigaltstack {
  189. void* ss_sp;
  190. unsigned ss_size;
  191. int ss_flags;
  192. } darwin_sigaltstack;
  193.  
  194. typedef struct PLCrashReporterCallbacks {
  195. unsigned short _field1;
  196. void* _field2;
  197. /*function-pointer*/ void* _field3;
  198. } PLCrashReporterCallbacks;
  199.  
  200. typedef struct _Plcrash__CrashReport {
  201. ProtobufCMessage _field1;
  202. Plcrash__CrashReport__SystemInfo* _field2;
  203. Plcrash__CrashReport__ApplicationInfo* _field3;
  204. unsigned _field4;
  205. Plcrash__CrashReport__Thread** _field5;
  206. unsigned _field6;
  207. Plcrash__CrashReport__BinaryImage** _field7;
  208. Plcrash__CrashReport__Exception* _field8;
  209. Plcrash__CrashReport__Signal* _field9;
  210. Plcrash__CrashReport__ProcessInfo* _field10;
  211. Plcrash__CrashReport__MachineInfo* _field11;
  212. Plcrash__CrashReport__ReportInfo* _field12;
  213. } Plcrash__CrashReport;
  214.  
  215. typedef struct _PLCrashReportDecoder {
  216. Plcrash__CrashReport* _field1;
  217. } PLCrashReportDecoder;
  218.  
  219. typedef struct __CFUUID* CFUUIDRef;
  220.  
  221. typedef struct _ProtobufCMessageDescriptor ProtobufCMessageDescriptor;
  222.  
  223. typedef struct _ProtobufCMessageUnknownField ProtobufCMessageUnknownField;
  224.  
  225. typedef struct _ProtobufCMessage {
  226. ProtobufCMessageDescriptor* _field1;
  227. unsigned _field2;
  228. ProtobufCMessageUnknownField* _field3;
  229. } ProtobufCMessage;
  230.  
  231. typedef struct _Plcrash__CrashReport__SystemInfo {
  232. ProtobufCMessage _field1;
  233. int _field2;
  234. int _field3;
  235. char* _field4;
  236. int _field5;
  237. long long _field6;
  238. char* _field7;
  239. } Plcrash__CrashReport__SystemInfo;
  240.  
  241. typedef struct _Plcrash__CrashReport__ApplicationInfo {
  242. ProtobufCMessage _field1;
  243. char* _field2;
  244. char* _field3;
  245. } Plcrash__CrashReport__ApplicationInfo;
  246.  
  247. typedef struct _Plcrash__CrashReport__Thread Plcrash__CrashReport__Thread;
  248.  
  249. typedef struct _Plcrash__CrashReport__BinaryImage Plcrash__CrashReport__BinaryImage;
  250.  
  251. typedef struct _Plcrash__CrashReport__Exception {
  252. ProtobufCMessage _field1;
  253. char* _field2;
  254. char* _field3;
  255. unsigned _field4;
  256. Plcrash__CrashReport__Thread__StackFrame** _field5;
  257. } Plcrash__CrashReport__Exception;
  258.  
  259. typedef struct _Plcrash__CrashReport__Signal {
  260. ProtobufCMessage _field1;
  261. char* _field2;
  262. char* _field3;
  263. unsigned long long _field4;
  264. Plcrash__CrashReport__Signal__MachException* _field5;
  265. } Plcrash__CrashReport__Signal;
  266.  
  267. typedef struct _Plcrash__CrashReport__ProcessInfo {
  268. ProtobufCMessage _field1;
  269. char* _field2;
  270. unsigned _field3;
  271. char* _field4;
  272. char* _field5;
  273. unsigned _field6;
  274. int _field7;
  275. int _field8;
  276. unsigned long long _field9;
  277. } Plcrash__CrashReport__ProcessInfo;
  278.  
  279. typedef struct _Plcrash__CrashReport__MachineInfo {
  280. ProtobufCMessage _field1;
  281. char* _field2;
  282. Plcrash__CrashReport__Processor* _field3;
  283. unsigned _field4;
  284. unsigned _field5;
  285. } Plcrash__CrashReport__MachineInfo;
  286.  
  287. typedef struct _Plcrash__CrashReport__ReportInfo Plcrash__CrashReport__ReportInfo;
  288.  
  289. typedef struct _Plcrash__CrashReport__Processor {
  290. ProtobufCMessage _field1;
  291. int _field2;
  292. int _field3;
  293. unsigned long long _field4;
  294. unsigned long long _field5;
  295. } Plcrash__CrashReport__Processor;
  296.  
  297. typedef struct _Plcrash__CrashReport__Symbol {
  298. ProtobufCMessage _field1;
  299. char* _field2;
  300. unsigned long long _field3;
  301. int _field4;
  302. unsigned long long _field5;
  303. } Plcrash__CrashReport__Symbol;
  304.  
  305. typedef struct _Plcrash__CrashReport__Thread__StackFrame {
  306. ProtobufCMessage _field1;
  307. unsigned long long _field2;
  308. Plcrash__CrashReport__Symbol* _field3;
  309. } Plcrash__CrashReport__Thread__StackFrame;
  310.  
  311. typedef struct _Plcrash__CrashReport__Signal__MachException {
  312. ProtobufCMessage _field1;
  313. unsigned long long _field2;
  314. unsigned _field3;
  315. unsigned long long* _field4;
  316. } Plcrash__CrashReport__Signal__MachException;
  317.  
  318. typedef struct _opaque_pthread_mutex_t {
  319. long _field1;
  320. BOOL _field2[40];
  321. } opaque_pthread_mutex_t;
  322.  
  323. typedef struct _opaque_pthread_cond_t {
  324. long _field1;
  325. BOOL _field2[24];
  326. } opaque_pthread_cond_t;
  327.  
  328. typedef struct plcrash_exception_server_context {
  329. unsigned _field1;
  330. unsigned _field2;
  331. unsigned _field3;
  332. unsigned _field4;
  333. /*function-pointer*/ void* _field5;
  334. void* _field6;
  335. opaque_pthread_mutex_t _field7;
  336. opaque_pthread_cond_t _field8;
  337. unsigned _field9;
  338. bool _field10;
  339. } plcrash_exception_server_context;
  340.  
  341. typedef struct timeval {
  342. int tv_sec;
  343. int tv_usec;
  344. } timeval;
  345.  
  346. typedef struct PLCrashHostInfoVersion {
  347. unsigned major;
  348. unsigned minor;
  349. unsigned revision;
  350. } PLCrashHostInfoVersion;
  351.  
  352. typedef struct plcrash_mach_exception_port_set {
  353. unsigned count;
  354. unsigned masks[14];
  355. unsigned ports[14];
  356. int behaviors[14];
  357. int flavors[14];
  358. } plcrash_mach_exception_port_set;
  359.  
  360. typedef struct LinkedListNode LinkedListNode;
  361.  
  362. typedef struct SystemI SystemI;
  363.  
  364. typedef struct Global Global;
  365.  
  366. typedef struct ChannelPool ChannelPool;
  367.  
  368. typedef struct ChannelGroupI ChannelGroupI;
  369.  
  370. typedef struct FMOD_OS_CRITICALSECTION* FMOD_OS_CRITICALSECTIONRef;
  371.  
  372. typedef struct SoundI SoundI;
  373.  
  374. typedef struct DSPResampler* DSPResamplerRef;
  375.  
  376. typedef struct FMOD_RECORDING_INFO {
  377. LinkedListNode* _field1;
  378. LinkedListNode* _field2;
  379. void* _field3;
  380. int _field4;
  381. int _field5;
  382. struct {
  383. unsigned _field1;
  384. unsigned short _field2;
  385. unsigned short _field3;
  386. unsigned char _field4[8];
  387. } _field6;
  388. bool _field7;
  389. int _field8;
  390. bool _field9;
  391. int _field10;
  392. unsigned _field11;
  393. unsigned _field12;
  394. SoundI* _field13;
  395. int _field14;
  396. int _field15;
  397. DSPResamplerRef _field16;
  398. float* _field17;
  399. unsigned _field18;
  400. void* _field19;
  401. } FMOD_RECORDING_INFO;
  402.  
  403. typedef struct FMOD_OS_LIBRARY* FMOD_OS_LIBRARYRef;
  404.  
  405. typedef struct FMOD_OUTPUT_DESCRIPTION_EX {
  406. char* _field1;
  407. unsigned _field2;
  408. int _field3;
  409. /*function-pointer*/ void* _field4;
  410. /*function-pointer*/ void* _field5;
  411. /*function-pointer*/ void* _field6;
  412. /*function-pointer*/ void* _field7;
  413. /*function-pointer*/ void* _field8;
  414. /*function-pointer*/ void* _field9;
  415. /*function-pointer*/ void* _field10;
  416. /*function-pointer*/ void* _field11;
  417. /*function-pointer*/ void* _field12;
  418. /*function-pointer*/ void* _field13;
  419. LinkedListNode* _field14;
  420. LinkedListNode* _field15;
  421. void* _field16;
  422. int _field17;
  423. int _field18;
  424. FMOD_OS_LIBRARYRef _field19;
  425. unsigned _field20;
  426. /*function-pointer*/ void* _field21;
  427. /*function-pointer*/ void* _field22;
  428. /*function-pointer*/ void* _field23;
  429. /*function-pointer*/ void* _field24;
  430. /*function-pointer*/ void* _field25;
  431. /*function-pointer*/ void* _field26;
  432. /*function-pointer*/ void* _field27;
  433. /*function-pointer*/ void* _field28;
  434. /*function-pointer*/ void* _field29;
  435. /*function-pointer*/ void* _field30;
  436. /*function-pointer*/ void* _field31;
  437. /*function-pointer*/ void* _field32;
  438. /*function-pointer*/ void* _field33;
  439. /*function-pointer*/ void* _field34;
  440. /*function-pointer*/ void* _field35;
  441. /*function-pointer*/ void* _field36;
  442. /*function-pointer*/ void* _field37;
  443. /*function-pointer*/ void* _field38;
  444. /*function-pointer*/ void* _field39;
  445. /*function-pointer*/ void* _field40;
  446. /*function-pointer*/ void* _field41;
  447. } FMOD_OUTPUT_DESCRIPTION_EX;
  448.  
  449. typedef struct OpaqueAudioComponentInstance OpaqueAudioComponentInstance;
  450.  
  451. typedef struct FMOD_OS_SEMAPHORE* FMOD_OS_SEMAPHORERef;
  452.  
  453. typedef struct Thread {
  454. /*function-pointer*/ void** _field1;
  455. bool _field2;
  456. BOOL _field3[256];
  457. void* _field4;
  458. bool _field5;
  459. void* _field6;
  460. void* _field7;
  461. FMOD_OS_SEMAPHORERef _field8;
  462. FMOD_OS_SEMAPHORERef _field9;
  463. /*function-pointer*/ void* _field10;
  464. int _field11;
  465. } Thread;
  466.  
  467. typedef struct AudioBuffer {
  468. unsigned _field1;
  469. unsigned _field2;
  470. void* _field3;
  471. } AudioBuffer;
  472.  
  473. typedef struct AudioBufferList {
  474. unsigned _field1;
  475. AudioBuffer _field2[1];
  476. } AudioBufferList;
  477.  
  478. typedef struct OutputCoreAudio {
  479. /*function-pointer*/ void** _field1;
  480. LinkedListNode* _field2;
  481. LinkedListNode* _field3;
  482. void* _field4;
  483. unsigned _field5;
  484. SystemI* _field6;
  485. Global* _field7;
  486. void* _field8;
  487. /*function-pointer*/ void* _field9;
  488. bool _field10;
  489. ChannelPool* _field11;
  490. bool _field12;
  491. bool _field13;
  492. SystemI* _field14;
  493. int _field15;
  494. ChannelGroupI* _field16;
  495. int _field17;
  496. bool _field18;
  497. int _field19;
  498. int _field20;
  499. FMOD_OS_CRITICALSECTIONRef _field21;
  500. FMOD_RECORDING_INFO _field22;
  501. FMOD_RECORDING_INFO* _field23;
  502. FMOD_OUTPUT_DESCRIPTION_EX _field24;
  503. unsigned _field25;
  504. unsigned _field26;
  505. unsigned _field27;
  506. unsigned _field28;
  507. unsigned _field29;
  508. OpaqueAudioComponentInstance* _field30;
  509. bool _field31;
  510. Thread _field32;
  511. char* _field33;
  512. unsigned _field34;
  513. unsigned _field35;
  514. unsigned _field36;
  515. unsigned _field37;
  516. unsigned _field38;
  517. bool _field39;
  518. OpaqueAudioComponentInstance* _field40;
  519. char* _field41;
  520. char* _field42;
  521. AudioBufferList _field43;
  522. int _field44;
  523. int _field45;
  524. int _field46;
  525. unsigned _field47;
  526. bool _field48;
  527. } OutputCoreAudio;
  528.  
  529. typedef struct IosBillingDelegate IosBillingDelegate;
  530.  
  531. typedef struct __shared_weak_count shared_weak_count;
  532.  
  533. template<>
  534. struct shared_ptr<nia::game::iap::ios::IosBillingDelegate> {
  535. IosBillingDelegate* __ptr_;
  536. shared_weak_count* __cntrl_;
  537. };
  538.  
  539. typedef struct InternalMetadataWithArena {
  540. void* ptr_;
  541. } InternalMetadataWithArena;
  542.  
  543. typedef struct Activity {
  544. /*function-pointer*/ void** _vptr$MessageLite;
  545. InternalMetadataWithArena _internal_metadata_;
  546. bool _is_default_instance_;
  547. long long start_time_ms_;
  548. int unknown_;
  549. int walking_;
  550. int running_;
  551. int stationary_;
  552. int automotive_;
  553. int tilting_;
  554. int cycling_;
  555. int status_;
  556. int _cached_size_;
  557. } Activity;
  558.  
  559. typedef struct mutex {
  560. opaque_pthread_mutex_t _field1;
  561. } mutex;
  562.  
  563. typedef struct _opaque_pthread_t opaque_pthread_t;
  564.  
  565. typedef struct __thread_id {
  566. opaque_pthread_t* _field1;
  567. } thread_id;
  568.  
  569. typedef struct condition_variable {
  570. opaque_pthread_cond_t _field1;
  571. } condition_variable;
  572.  
  573. template<>
  574. struct __list_node_base<std::__1::function<void (const nia::hardware::Activity &)>, void *> {
  575. __list_node_base<std::__1::function<void (const nia::hardware::Activity &)>, void* >* _field1;
  576. __list_node_base<std::__1::function<void (const nia::hardware::Activity &)>, void* >* _field2;
  577. };
  578.  
  579. template<>
  580. struct __compressed_pair<unsigned long, std::__1::allocator<std::__1::__list_node<std::__1::function<void (const nia::hardware::Activity &)>, void *> > > {
  581. unsigned long _field1;
  582. };
  583.  
  584. template<>
  585. struct list<std::__1::function<void (const nia::hardware::Activity &)>, std::__1::allocator<std::__1::function<void (const nia::hardware::Activity &)> > > {
  586. __list_node_base<std::__1::function<void (const nia::hardware::Activity &)>, void *> _field1;
  587. __compressed_pair<unsigned long, std::__1::allocator<std::__1::__list_node<std::__1::function<void (const nia::hardware::Activity &)>, void *> > > _field2;
  588. };
  589.  
  590. template<>
  591. struct __list_const_iterator<std::__1::function<void (const nia::hardware::Activity &)>, void *> {
  592. __list_node_base<std::__1::function<void (const nia::hardware::Activity &)>, void* >* _field1;
  593. };
  594.  
  595. template<>
  596. struct Event<const nia::hardware::Activity &> {
  597. mutex _field1;
  598. bool _field2;
  599. thread_id _field3;
  600. condition_variable _field4;
  601. list<std::__1::function<void (const nia::hardware::Activity &)>, std::__1::allocator<std::__1::function<void (const nia::hardware::Activity &)> > > _field5;
  602. __list_const_iterator<std::__1::function<void (const nia::hardware::Activity &)>, void *> _field6;
  603. };
  604.  
  605. typedef struct IosActivityProvider {
  606. /*function-pointer*/ void** _field1;
  607. Event<const nia::hardware::Activity &> _field2;
  608. id _field3;
  609. } IosActivityProvider;
  610.  
  611. template<>
  612. struct basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >;
  613.  
  614. typedef struct ArenaStringPtr {
  615. basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >* ptr_;
  616. } ArenaStringPtr;
  617.  
  618. typedef struct LocationUpdate {
  619. /*function-pointer*/ void** _vptr$MessageLite;
  620. InternalMetadataWithArena _internal_metadata_;
  621. bool _is_default_instance_;
  622. ArenaStringPtr name_;
  623. long long timestamp_ms_;
  624. float altitude_;
  625. float latitude_;
  626. float longitude_;
  627. float device_speed_;
  628. float device_course_;
  629. float horizontal_accuracy_;
  630. float vertical_accuracy_;
  631. int provider_status_;
  632. long long floor_;
  633. int location_type_;
  634. int _cached_size_;
  635. } LocationUpdate;
  636.  
  637. typedef struct recursive_mutex {
  638. opaque_pthread_mutex_t _field1;
  639. } recursive_mutex;
  640.  
  641. typedef struct LocationData {
  642. double _field1;
  643. double _field2;
  644. double _field3;
  645. double _field4;
  646. double _field5;
  647. int _field6;
  648. int _field7;
  649. } LocationData;
  650.  
  651. typedef struct Location {
  652. LocationData _field1;
  653. } Location;
  654.  
  655. typedef struct CompassHeadingData {
  656. double _field1;
  657. double _field2;
  658. } CompassHeadingData;
  659.  
  660. typedef struct CompassHeading {
  661. CompassHeadingData _field1;
  662. } CompassHeading;
  663.  
  664. template<>
  665. struct __list_node_base<std::__1::function<void (const nia::hardware::LocationUpdate &)>, void *> {
  666. __list_node_base<std::__1::function<void (const nia::hardware::LocationUpdate &)>, void* >* _field1;
  667. __list_node_base<std::__1::function<void (const nia::hardware::LocationUpdate &)>, void* >* _field2;
  668. };
  669.  
  670. template<>
  671. struct __compressed_pair<unsigned long, std::__1::allocator<std::__1::__list_node<std::__1::function<void (const nia::hardware::LocationUpdate &)>, void *> > > {
  672. unsigned long _field1;
  673. };
  674.  
  675. template<>
  676. struct list<std::__1::function<void (const nia::hardware::LocationUpdate &)>, std::__1::allocator<std::__1::function<void (const nia::hardware::LocationUpdate &)> > > {
  677. __list_node_base<std::__1::function<void (const nia::hardware::LocationUpdate &)>, void *> _field1;
  678. __compressed_pair<unsigned long, std::__1::allocator<std::__1::__list_node<std::__1::function<void (const nia::hardware::LocationUpdate &)>, void *> > > _field2;
  679. };
  680.  
  681. template<>
  682. struct __list_const_iterator<std::__1::function<void (const nia::hardware::LocationUpdate &)>, void *> {
  683. __list_node_base<std::__1::function<void (const nia::hardware::LocationUpdate &)>, void* >* _field1;
  684. };
  685.  
  686. template<>
  687. struct Event<const nia::hardware::LocationUpdate &> {
  688. mutex _field1;
  689. bool _field2;
  690. thread_id _field3;
  691. condition_variable _field4;
  692. list<std::__1::function<void (const nia::hardware::LocationUpdate &)>, std::__1::allocator<std::__1::function<void (const nia::hardware::LocationUpdate &)> > > _field5;
  693. __list_const_iterator<std::__1::function<void (const nia::hardware::LocationUpdate &)>, void *> _field6;
  694. };
  695.  
  696. template<>
  697. struct __list_node_base<std::__1::function<void (const nia::hardware::GpsSatellite &)>, void *> {
  698. __list_node_base<std::__1::function<void (const nia::hardware::GpsSatellite &)>, void* >* _field1;
  699. __list_node_base<std::__1::function<void (const nia::hardware::GpsSatellite &)>, void* >* _field2;
  700. };
  701.  
  702. template<>
  703. struct __compressed_pair<unsigned long, std::__1::allocator<std::__1::__list_node<std::__1::function<void (const nia::hardware::GpsSatellite &)>, void *> > > {
  704. unsigned long _field1;
  705. };
  706.  
  707. template<>
  708. struct list<std::__1::function<void (const nia::hardware::GpsSatellite &)>, std::__1::allocator<std::__1::function<void (const nia::hardware::GpsSatellite &)> > > {
  709. __list_node_base<std::__1::function<void (const nia::hardware::GpsSatellite &)>, void *> _field1;
  710. __compressed_pair<unsigned long, std::__1::allocator<std::__1::__list_node<std::__1::function<void (const nia::hardware::GpsSatellite &)>, void *> > > _field2;
  711. };
  712.  
  713. template<>
  714. struct __list_const_iterator<std::__1::function<void (const nia::hardware::GpsSatellite &)>, void *> {
  715. __list_node_base<std::__1::function<void (const nia::hardware::GpsSatellite &)>, void* >* _field1;
  716. };
  717.  
  718. template<>
  719. struct Event<const nia::hardware::GpsSatellite &> {
  720. mutex _field1;
  721. bool _field2;
  722. thread_id _field3;
  723. condition_variable _field4;
  724. list<std::__1::function<void (const nia::hardware::GpsSatellite &)>, std::__1::allocator<std::__1::function<void (const nia::hardware::GpsSatellite &)> > > _field5;
  725. __list_const_iterator<std::__1::function<void (const nia::hardware::GpsSatellite &)>, void *> _field6;
  726. };
  727.  
  728. typedef struct LocationProvider {
  729. /*function-pointer*/ void** _field1;
  730. recursive_mutex _field2;
  731. mutex _field3;
  732. mutex _field4;
  733. Location _field5;
  734. CompassHeading _field6;
  735. Event<const nia::hardware::LocationUpdate &> _field7;
  736. Event<const nia::hardware::GpsSatellite &> _field8;
  737. Event<const nia::hardware::LocationUpdate &> _field9;
  738. } LocationProvider;
  739.  
  740. typedef struct LocationParameters {
  741. bool run_in_background;
  742. double desired_location_accuracy_m;
  743. int gps_update_time_ms;
  744. int net_update_time_ms;
  745. double min_update_distance_m;
  746. } LocationParameters;
  747.  
  748. typedef struct SensorUpdate {
  749. /*function-pointer*/ void** _vptr$MessageLite;
  750. InternalMetadataWithArena _internal_metadata_;
  751. bool _is_default_instance_;
  752. long long timestamp_;
  753. double acceleration_x_;
  754. double acceleration_y_;
  755. double acceleration_z_;
  756. double magnetic_field_x_;
  757. double magnetic_field_y_;
  758. double magnetic_field_z_;
  759. double attitude_pitch_;
  760. double attitude_yaw_;
  761. double attitude_roll_;
  762. double rotation_rate_x_;
  763. double rotation_rate_y_;
  764. int magnetic_field_accuracy_;
  765. int status_;
  766. double rotation_rate_z_;
  767. double gravity_x_;
  768. double gravity_y_;
  769. double gravity_z_;
  770. int _cached_size_;
  771. } SensorUpdate;
  772.  
  773. template<>
  774. struct shared_ptr<nia::hardware::location::LocationProvider> {
  775. LocationProvider* _field1;
  776. shared_weak_count* _field2;
  777. };
  778.  
  779. template<>
  780. struct __list_node_base<std::__1::function<void (const nia::hardware::SensorUpdate &)>, void *> {
  781. __list_node_base<std::__1::function<void (const nia::hardware::SensorUpdate &)>, void* >* _field1;
  782. __list_node_base<std::__1::function<void (const nia::hardware::SensorUpdate &)>, void* >* _field2;
  783. };
  784.  
  785. template<>
  786. struct __compressed_pair<unsigned long, std::__1::allocator<std::__1::__list_node<std::__1::function<void (const nia::hardware::SensorUpdate &)>, void *> > > {
  787. unsigned long _field1;
  788. };
  789.  
  790. template<>
  791. struct list<std::__1::function<void (const nia::hardware::SensorUpdate &)>, std::__1::allocator<std::__1::function<void (const nia::hardware::SensorUpdate &)> > > {
  792. __list_node_base<std::__1::function<void (const nia::hardware::SensorUpdate &)>, void *> _field1;
  793. __compressed_pair<unsigned long, std::__1::allocator<std::__1::__list_node<std::__1::function<void (const nia::hardware::SensorUpdate &)>, void *> > > _field2;
  794. };
  795.  
  796. template<>
  797. struct __list_const_iterator<std::__1::function<void (const nia::hardware::SensorUpdate &)>, void *> {
  798. __list_node_base<std::__1::function<void (const nia::hardware::SensorUpdate &)>, void* >* _field1;
  799. };
  800.  
  801. template<>
  802. struct Event<const nia::hardware::SensorUpdate &> {
  803. mutex _field1;
  804. bool _field2;
  805. thread_id _field3;
  806. condition_variable _field4;
  807. list<std::__1::function<void (const nia::hardware::SensorUpdate &)>, std::__1::allocator<std::__1::function<void (const nia::hardware::SensorUpdate &)> > > _field5;
  808. __list_const_iterator<std::__1::function<void (const nia::hardware::SensorUpdate &)>, void *> _field6;
  809. };
  810.  
  811. typedef struct IosSensorProvider {
  812. /*function-pointer*/ void** _field1;
  813. shared_ptr<nia::hardware::location::LocationProvider> _field2;
  814. Event<const nia::hardware::SensorUpdate &> _field3;
  815. id _field4;
  816. } IosSensorProvider;
  817.  
  818. typedef struct __SCNetworkReachability* SCNetworkReachabilityRef;
  819.  
  820. typedef struct __SecKey SecKey;
  821.  
  822. typedef struct UIImage {
  823. Class _field1;
  824. } UIImage;
  825.  
  826. typedef struct __CFString* CFStringRef;
  827.  
  828. typedef struct re_guts re_guts;
  829.  
  830. typedef struct {
  831. long long _field1;
  832. long long _field2;
  833. } XXStruct_bTBt8C;
  834.  
  835. typedef struct CGContext* CGContextRef;
  836.  
  837. typedef struct {
  838. id _field1;
  839. unsigned short _field2;
  840. } XXStruct_c19r_A;
  841.  
  842. @protocol NSObject
  843. @optional
  844. @property(readonly, copy) NSString* debugDescription;
  845. @required
  846. @property(readonly, copy) NSString* description;
  847. @property(readonly, assign) Class superclass;
  848. @property(readonly, assign) unsigned hash;
  849. -(NSZone*)zone;
  850. -(unsigned)retainCount;
  851. -(id)autorelease;
  852. -(oneway void)release;
  853. -(id)retain;
  854. -(BOOL)respondsToSelector:(SEL)selector;
  855. -(BOOL)conformsToProtocol:(id)protocol;
  856. -(BOOL)isMemberOfClass:(Class)aClass;
  857. -(BOOL)isKindOfClass:(Class)aClass;
  858. -(BOOL)isProxy;
  859. -(id)performSelector:(SEL)selector withObject:(id)object withObject:(id)object3;
  860. -(id)performSelector:(SEL)selector withObject:(id)object;
  861. -(id)performSelector:(SEL)selector;
  862. -(id)self;
  863. -(Class)class;
  864. -(BOOL)isEqual:(id)equal;
  865. @end
  866.  
  867. @protocol UnityWWWRequestProvider <NSObject>
  868. +(id)allocRequestForHTTPMethod:(id)httpmethod url:(id)url headers:(id)headers;
  869. @end
  870.  
  871. @protocol NSURLConnectionDelegate <NSObject>
  872. @optional
  873. -(void)connection:(id)connection didCancelAuthenticationChallenge:(id)challenge;
  874. -(void)connection:(id)connection didReceiveAuthenticationChallenge:(id)challenge;
  875. -(BOOL)connection:(id)connection canAuthenticateAgainstProtectionSpace:(id)space;
  876. -(void)connection:(id)connection willSendRequestForAuthenticationChallenge:(id)authenticationChallenge;
  877. -(BOOL)connectionShouldUseCredentialStorage:(id)connection;
  878. -(void)connection:(id)connection didFailWithError:(id)error;
  879. @end
  880.  
  881. @protocol NSURLConnectionDataDelegate <NSURLConnectionDelegate>
  882. @optional
  883. -(void)connectionDidFinishLoading:(id)connection;
  884. -(id)connection:(id)connection willCacheResponse:(id)response;
  885. -(void)connection:(id)connection didSendBodyData:(int)data totalBytesWritten:(int)written totalBytesExpectedToWrite:(int)write;
  886. -(id)connection:(id)connection needNewBodyStream:(id)stream;
  887. -(void)connection:(id)connection didReceiveData:(id)data;
  888. -(void)connection:(id)connection didReceiveResponse:(id)response;
  889. -(id)connection:(id)connection willSendRequest:(id)request redirectResponse:(id)response;
  890. @end
  891.  
  892. @protocol CLLocationManagerDelegate <NSObject>
  893. @optional
  894. -(void)locationManager:(id)manager didVisit:(id)visit;
  895. -(void)locationManager:(id)manager didFinishDeferredUpdatesWithError:(id)error;
  896. -(void)locationManagerDidResumeLocationUpdates:(id)locationManager;
  897. -(void)locationManagerDidPauseLocationUpdates:(id)locationManager;
  898. -(void)locationManager:(id)manager didStartMonitoringForRegion:(id)region;
  899. -(void)locationManager:(id)manager didChangeAuthorizationStatus:(int)status;
  900. -(void)locationManager:(id)manager monitoringDidFailForRegion:(id)monitoring withError:(id)error;
  901. -(void)locationManager:(id)manager didFailWithError:(id)error;
  902. -(void)locationManager:(id)manager didExitRegion:(id)region;
  903. -(void)locationManager:(id)manager didEnterRegion:(id)region;
  904. -(void)locationManager:(id)manager rangingBeaconsDidFailForRegion:(id)rangingBeacons withError:(id)error;
  905. -(void)locationManager:(id)manager didRangeBeacons:(id)beacons inRegion:(id)region;
  906. -(void)locationManager:(id)manager didDetermineState:(int)state forRegion:(id)region;
  907. -(BOOL)locationManagerShouldDisplayHeadingCalibration:(id)locationManager;
  908. -(void)locationManager:(id)manager didUpdateHeading:(id)heading;
  909. -(void)locationManager:(id)manager didUpdateLocations:(id)locations;
  910. -(void)locationManager:(id)manager didUpdateToLocation:(id)location fromLocation:(id)location3;
  911. @end
  912.  
  913. @protocol UITextFieldDelegate <NSObject>
  914. @optional
  915. -(BOOL)textFieldShouldReturn:(id)textField;
  916. -(BOOL)textFieldShouldClear:(id)textField;
  917. -(BOOL)textField:(id)field shouldChangeCharactersInRange:(NSRange)range replacementString:(id)string;
  918. -(void)textFieldDidEndEditing:(id)textField;
  919. -(BOOL)textFieldShouldEndEditing:(id)textField;
  920. -(void)textFieldDidBeginEditing:(id)textField;
  921. -(BOOL)textFieldShouldBeginEditing:(id)textField;
  922. @end
  923.  
  924. @protocol UIScrollViewDelegate <NSObject>
  925. @optional
  926. -(void)scrollViewDidScrollToTop:(id)scrollView;
  927. -(BOOL)scrollViewShouldScrollToTop:(id)scrollView;
  928. -(void)scrollViewDidEndZooming:(id)scrollView withView:(id)view atScale:(float)scale;
  929. -(void)scrollViewWillBeginZooming:(id)scrollView withView:(id)view;
  930. -(id)viewForZoomingInScrollView:(id)scrollView;
  931. -(void)scrollViewDidEndScrollingAnimation:(id)scrollView;
  932. -(void)scrollViewDidEndDecelerating:(id)scrollView;
  933. -(void)scrollViewWillBeginDecelerating:(id)scrollView;
  934. -(void)scrollViewDidEndDragging:(id)scrollView willDecelerate:(BOOL)decelerate;
  935. -(void)scrollViewWillEndDragging:(id)scrollView withVelocity:(CGPoint)velocity targetContentOffset:(inout CGPoint*)offset;
  936. -(void)scrollViewWillBeginDragging:(id)scrollView;
  937. -(void)scrollViewDidZoom:(id)scrollView;
  938. -(void)scrollViewDidScroll:(id)scrollView;
  939. @end
  940.  
  941. @protocol UITextViewDelegate <NSObject, UIScrollViewDelegate>
  942. @optional
  943. -(BOOL)textView:(id)view shouldInteractWithTextAttachment:(id)textAttachment inRange:(NSRange)range;
  944. -(BOOL)textView:(id)view shouldInteractWithURL:(id)url inRange:(NSRange)range;
  945. -(void)textViewDidChangeSelection:(id)textView;
  946. -(void)textViewDidChange:(id)textView;
  947. -(BOOL)textView:(id)view shouldChangeTextInRange:(NSRange)range replacementText:(id)text;
  948. -(void)textViewDidEndEditing:(id)textView;
  949. -(void)textViewDidBeginEditing:(id)textView;
  950. -(BOOL)textViewShouldEndEditing:(id)textView;
  951. -(BOOL)textViewShouldBeginEditing:(id)textView;
  952. @end
  953.  
  954. @protocol UnityViewControllerListener <NSObject>
  955. @optional
  956. -(void)interfaceDidChangeOrientation:(id)interface;
  957. -(void)interfaceWillChangeOrientation:(id)interface;
  958. -(void)viewWillAppear:(id)view;
  959. -(void)viewDidAppear:(id)view;
  960. -(void)viewWillDisappear:(id)view;
  961. -(void)viewDidDisappear:(id)view;
  962. -(void)viewDidLayoutSubviews:(id)view;
  963. @end
  964.  
  965. @protocol VideoPlayerDelegate <NSObject>
  966. -(void)onPlayerError:(id)error;
  967. -(void)onPlayerDidFinishPlayingVideo;
  968. -(void)onPlayerReady;
  969. @end
  970.  
  971. @protocol UIViewControllerTransitioningDelegate <NSObject>
  972. @optional
  973. -(id)presentationControllerForPresentedViewController:(id)presentedViewController presentingViewController:(id)controller sourceViewController:(id)controller3;
  974. -(id)interactionControllerForDismissal:(id)dismissal;
  975. -(id)interactionControllerForPresentation:(id)presentation;
  976. -(id)animationControllerForDismissedController:(id)dismissedController;
  977. -(id)animationControllerForPresentedController:(id)presentedController presentingController:(id)controller sourceController:(id)controller3;
  978. @end
  979.  
  980. @protocol UIApplicationDelegate <NSObject>
  981. @optional
  982. @property(retain, nonatomic) UIWindow* window;
  983. -(void)application:(id)application didUpdateUserActivity:(id)activity;
  984. -(void)application:(id)application didFailToContinueUserActivityWithType:(id)type error:(id)error;
  985. -(BOOL)application:(id)application continueUserActivity:(id)activity restorationHandler:(id)handler;
  986. -(BOOL)application:(id)application willContinueUserActivityWithType:(id)type;
  987. -(void)application:(id)application didDecodeRestorableStateWithCoder:(id)coder;
  988. -(void)application:(id)application willEncodeRestorableStateWithCoder:(id)coder;
  989. -(BOOL)application:(id)application shouldRestoreApplicationState:(id)state;
  990. -(BOOL)application:(id)application shouldSaveApplicationState:(id)state;
  991. -(id)application:(id)application viewControllerWithRestorationIdentifierPath:(id)restorationIdentifierPath coder:(id)coder;
  992. -(BOOL)application:(id)application shouldAllowExtensionPointIdentifier:(id)identifier;
  993. -(unsigned)application:(id)application supportedInterfaceOrientationsForWindow:(id)window;
  994. -(void)applicationProtectedDataDidBecomeAvailable:(id)applicationProtectedData;
  995. -(void)applicationProtectedDataWillBecomeUnavailable:(id)applicationProtectedData;
  996. -(void)applicationWillEnterForeground:(id)application;
  997. -(void)applicationDidEnterBackground:(id)application;
  998. -(void)applicationShouldRequestHealthAuthorization:(id)application;
  999. -(void)application:(id)application handleWatchKitExtensionRequest:(id)request reply:(id)reply;
  1000. -(void)application:(id)application handleEventsForBackgroundURLSession:(id)backgroundURLSession completionHandler:(id)handler;
  1001. -(void)application:(id)application performActionForShortcutItem:(id)shortcutItem completionHandler:(id)handler;
  1002. -(void)application:(id)application performFetchWithCompletionHandler:(id)completionHandler;
  1003. -(void)application:(id)application didReceiveRemoteNotification:(id)notification fetchCompletionHandler:(id)handler;
  1004. -(void)application:(id)application handleActionWithIdentifier:(id)identifier forLocalNotification:(id)localNotification withResponseInfo:(id)responseInfo completionHandler:(id)handler;
  1005. -(void)application:(id)application handleActionWithIdentifier:(id)identifier forRemoteNotification:(id)remoteNotification completionHandler:(id)handler;
  1006. -(void)application:(id)application handleActionWithIdentifier:(id)identifier forRemoteNotification:(id)remoteNotification withResponseInfo:(id)responseInfo completionHandler:(id)handler;
  1007. -(void)application:(id)application handleActionWithIdentifier:(id)identifier forLocalNotification:(id)localNotification completionHandler:(id)handler;
  1008. -(void)application:(id)application didReceiveLocalNotification:(id)notification;
  1009. -(void)application:(id)application didReceiveRemoteNotification:(id)notification;
  1010. -(void)application:(id)application didFailToRegisterForRemoteNotificationsWithError:(id)error;
  1011. -(void)application:(id)application didRegisterForRemoteNotificationsWithDeviceToken:(id)deviceToken;
  1012. -(void)application:(id)application didRegisterUserNotificationSettings:(id)settings;
  1013. -(void)application:(id)application didChangeStatusBarFrame:(CGRect)frame;
  1014. -(void)application:(id)application willChangeStatusBarFrame:(CGRect)frame;
  1015. -(void)application:(id)application didChangeStatusBarOrientation:(int)orientation;
  1016. -(void)application:(id)application willChangeStatusBarOrientation:(int)orientation duration:(double)duration;
  1017. -(void)applicationSignificantTimeChange:(id)change;
  1018. -(void)applicationWillTerminate:(id)application;
  1019. -(void)applicationDidReceiveMemoryWarning:(id)application;
  1020. -(BOOL)application:(id)application openURL:(id)url options:(id)options;
  1021. -(BOOL)application:(id)application openURL:(id)url sourceApplication:(id)application3 annotation:(id)annotation;
  1022. -(BOOL)application:(id)application handleOpenURL:(id)url;
  1023. -(void)applicationWillResignActive:(id)application;
  1024. -(void)applicationDidBecomeActive:(id)application;
  1025. -(BOOL)application:(id)application didFinishLaunchingWithOptions:(id)options;
  1026. -(BOOL)application:(id)application willFinishLaunchingWithOptions:(id)options;
  1027. -(void)applicationDidFinishLaunching:(id)application;
  1028. @end
  1029.  
  1030. @protocol AVCaptureVideoDataOutputSampleBufferDelegate <NSObject>
  1031. @optional
  1032. -(void)captureOutput:(id)output didDropSampleBuffer:(opaqueCMSampleBuffer*)buffer fromConnection:(id)connection;
  1033. -(void)captureOutput:(id)output didOutputSampleBuffer:(opaqueCMSampleBuffer*)buffer fromConnection:(id)connection;
  1034. @end
  1035.  
  1036. @protocol ADBannerViewDelegate <NSObject>
  1037. @optional
  1038. -(void)bannerViewActionDidFinish:(id)bannerViewAction;
  1039. -(BOOL)bannerViewActionShouldBegin:(id)bannerViewAction willLeaveApplication:(BOOL)application;
  1040. -(void)bannerView:(id)view didFailToReceiveAdWithError:(id)error;
  1041. -(void)bannerViewDidLoadAd:(id)bannerView;
  1042. -(void)bannerViewWillLoadAd:(id)bannerView;
  1043. @end
  1044.  
  1045. @protocol ADInterstitialAdDelegate <NSObject>
  1046. -(void)interstitialAd:(id)ad didFailWithError:(id)error;
  1047. -(void)interstitialAdDidUnload:(id)interstitialAd;
  1048. @optional
  1049. -(void)interstitialAdActionDidFinish:(id)interstitialAdAction;
  1050. -(BOOL)interstitialAdActionShouldBegin:(id)interstitialAdAction willLeaveApplication:(BOOL)application;
  1051. -(void)interstitialAdDidLoad:(id)interstitialAd;
  1052. -(void)interstitialAdWillLoad:(id)interstitialAd;
  1053. @end
  1054.  
  1055. @protocol LifeCycleListener <NSObject>
  1056. @optional
  1057. -(void)willTerminate:(id)terminate;
  1058. -(void)willEnterForeground:(id)foreground;
  1059. -(void)didEnterBackground:(id)background;
  1060. -(void)willResignActive:(id)active;
  1061. -(void)didBecomeActive:(id)active;
  1062. -(void)didFinishLaunching:(id)launching;
  1063. @end
  1064.  
  1065. @protocol RenderPluginDelegate <LifeCycleListener, NSObject>
  1066. -(void)mainDisplayInited:(UnityDisplaySurfaceBase*)inited;
  1067. @optional
  1068. -(void)onFrameResolved;
  1069. -(void)onAfterMainDisplaySurfaceRecreate;
  1070. -(void)onBeforeMainDisplaySurfaceRecreate:(RenderingSurfaceParams*)recreate;
  1071. @end
  1072.  
  1073. @protocol CBCentralManagerDelegate <NSObject>
  1074. -(void)centralManagerDidUpdateState:(id)centralManager;
  1075. @optional
  1076. -(void)centralManager:(id)manager didDisconnectPeripheral:(id)peripheral error:(id)error;
  1077. -(void)centralManager:(id)manager didFailToConnectPeripheral:(id)connectPeripheral error:(id)error;
  1078. -(void)centralManager:(id)manager didConnectPeripheral:(id)peripheral;
  1079. -(void)centralManager:(id)manager didDiscoverPeripheral:(id)peripheral advertisementData:(id)data RSSI:(id)rssi;
  1080. -(void)centralManager:(id)manager willRestoreState:(id)state;
  1081. @end
  1082.  
  1083. @protocol USManagedVariableObserverDelegate <NSObject>
  1084. @optional
  1085. -(void)observer:(id)observer didSynchronizeManagedVariables:(id)variables;
  1086. -(BOOL)observerShouldSynchronizeManagedVariables:(id)observer;
  1087. @end
  1088.  
  1089. @protocol USBillboardDelegate <NSObject>
  1090. -(id)presentingViewControllerForBillboard:(id)billboard;
  1091. @optional
  1092. -(void)billboard:(id)billboard didReceivePurchase:(id)purchase;
  1093. -(void)billboard:(id)billboard didReceiveReward:(id)reward;
  1094. -(void)billboardDidDismiss:(id)billboard;
  1095. -(void)billboardWillDismiss:(id)billboard;
  1096. -(void)billboardDidAppear:(id)billboard;
  1097. -(void)billboardWillAppear:(id)billboard;
  1098. @end
  1099.  
  1100. @protocol UpsightSessionDelegate <NSObject>
  1101. @optional
  1102. -(void)upsightSessionDidResume;
  1103. -(void)upsightSessionWillResume:(id)upsightSession;
  1104. -(void)upsightSessionDidStart;
  1105. -(void)upsightSessionWillStart:(id)upsightSession;
  1106. @end
  1107.  
  1108. @protocol WebViewProtocol <NSObject>
  1109. @property(readonly, assign, nonatomic) BOOL canGoForward;
  1110. @property(readonly, assign, nonatomic) BOOL canGoBack;
  1111. @property(readonly, copy, nonatomic) NSURL* URL;
  1112. @property(assign, nonatomic) __weak id<WKUIDelegate> UIDelegate;
  1113. @property(assign, nonatomic) __weak id<WKNavigationDelegate> navigationDelegate;
  1114. @property(assign, nonatomic) id<UIWebViewDelegate> delegate;
  1115. @property(assign, nonatomic) CGRect frame;
  1116. @property(assign, nonatomic, getter=isHidden) BOOL hidden;
  1117. @property(copy, nonatomic) UIColor* backgroundColor;
  1118. @property(assign, nonatomic, getter=isOpaque) BOOL opaque;
  1119. -(void)goForward;
  1120. -(void)goBack;
  1121. -(void)evaluateJavaScript:(id)script completionHandler:(id)handler;
  1122. -(void)load:(id)load;
  1123. @end
  1124.  
  1125. @protocol UIWebViewDelegate <NSObject>
  1126. @optional
  1127. -(void)webView:(id)view didFailLoadWithError:(id)error;
  1128. -(void)webViewDidFinishLoad:(id)webView;
  1129. -(void)webViewDidStartLoad:(id)webView;
  1130. -(BOOL)webView:(id)view shouldStartLoadWithRequest:(id)request navigationType:(int)type;
  1131. @end
  1132.  
  1133. @protocol WKUIDelegate <NSObject>
  1134. @optional
  1135. -(void)webView:(id)view runJavaScriptTextInputPanelWithPrompt:(id)prompt defaultText:(id)text initiatedByFrame:(id)frame completionHandler:(id)handler;
  1136. -(void)webView:(id)view runJavaScriptConfirmPanelWithMessage:(id)message initiatedByFrame:(id)frame completionHandler:(id)handler;
  1137. -(void)webView:(id)view runJavaScriptAlertPanelWithMessage:(id)message initiatedByFrame:(id)frame completionHandler:(id)handler;
  1138. -(void)webViewDidClose:(id)webView;
  1139. -(id)webView:(id)view createWebViewWithConfiguration:(id)configuration forNavigationAction:(id)navigationAction windowFeatures:(id)features;
  1140. @end
  1141.  
  1142. @protocol WKNavigationDelegate <NSObject>
  1143. @optional
  1144. -(void)webViewWebContentProcessDidTerminate:(id)webViewWebContentProcess;
  1145. -(void)webView:(id)view didReceiveAuthenticationChallenge:(id)challenge completionHandler:(id)handler;
  1146. -(void)webView:(id)view didFailNavigation:(id)navigation withError:(id)error;
  1147. -(void)webView:(id)view didFinishNavigation:(id)navigation;
  1148. -(void)webView:(id)view didCommitNavigation:(id)navigation;
  1149. -(void)webView:(id)view didFailProvisionalNavigation:(id)navigation withError:(id)error;
  1150. -(void)webView:(id)view didReceiveServerRedirectForProvisionalNavigation:(id)provisionalNavigation;
  1151. -(void)webView:(id)view didStartProvisionalNavigation:(id)navigation;
  1152. -(void)webView:(id)view decidePolicyForNavigationResponse:(id)navigationResponse decisionHandler:(id)handler;
  1153. -(void)webView:(id)view decidePolicyForNavigationAction:(id)navigationAction decisionHandler:(id)handler;
  1154. @end
  1155.  
  1156. @protocol GKGameCenterControllerDelegate <NSObject>
  1157. -(void)gameCenterViewControllerDidFinish:(id)gameCenterViewController;
  1158. @end
  1159.  
  1160. @protocol PLCrashReportFormatter
  1161. -(id)formatReport:(id)report error:(id*)error;
  1162. @end
  1163.  
  1164. @protocol NSFastEnumeration
  1165. -(unsigned)countByEnumeratingWithState:(XXStruct_kFm5bA*)state objects:(id*)objects count:(unsigned)count;
  1166. @end
  1167.  
  1168. @protocol NSURLSessionDelegate <NSObject>
  1169. @optional
  1170. -(void)URLSessionDidFinishEventsForBackgroundURLSession:(id)urlsession;
  1171. -(void)URLSession:(id)session didReceiveChallenge:(id)challenge completionHandler:(id)handler;
  1172. -(void)URLSession:(id)session didBecomeInvalidWithError:(id)error;
  1173. @end
  1174.  
  1175. @protocol SKPaymentTransactionObserver <NSObject>
  1176. -(void)paymentQueue:(id)queue updatedTransactions:(id)transactions;
  1177. @optional
  1178. -(void)paymentQueue:(id)queue updatedDownloads:(id)downloads;
  1179. -(void)paymentQueueRestoreCompletedTransactionsFinished:(id)finished;
  1180. -(void)paymentQueue:(id)queue restoreCompletedTransactionsFailedWithError:(id)error;
  1181. -(void)paymentQueue:(id)queue removedTransactions:(id)transactions;
  1182. @end
  1183.  
  1184. @protocol SKRequestDelegate <NSObject>
  1185. @optional
  1186. -(void)request:(id)request didFailWithError:(id)error;
  1187. -(void)requestDidFinish:(id)request;
  1188. @end
  1189.  
  1190. @protocol SKProductsRequestDelegate <SKRequestDelegate>
  1191. -(void)productsRequest:(id)request didReceiveResponse:(id)response;
  1192. @end
  1193.  
  1194. @protocol GIDSignInDelegate <NSObject>
  1195. -(void)signIn:(id)anIn didSignInForUser:(id)user withError:(id)error;
  1196. @optional
  1197. -(void)signIn:(id)anIn didDisconnectWithUser:(id)user withError:(id)error;
  1198. @end
  1199.  
  1200. @protocol GIDSignInUIDelegate <NSObject>
  1201. @optional
  1202. -(void)signIn:(id)anIn dismissViewController:(id)controller;
  1203. -(void)signIn:(id)anIn presentViewController:(id)controller;
  1204. -(void)signInWillDispatch:(id)signIn error:(id)error;
  1205. @end
  1206.  
  1207. @protocol SFSafariViewControllerDelegate <NSObject>
  1208. @optional
  1209. -(void)safariViewController:(id)controller didCompleteInitialLoad:(BOOL)load;
  1210. -(void)safariViewControllerDidFinish:(id)safariViewController;
  1211. -(id)safariViewController:(id)controller activityItemsForURL:(id)url title:(id)title;
  1212. @end
  1213.  
  1214. @protocol GTMFetcherAuthorizationProtocol <NSObject>
  1215. @optional
  1216. @property(assign) __weak id<GTMSessionFetcherServiceProtocol> fetcherService;
  1217. @property(assign) BOOL shouldAuthorizeAllRequests;
  1218. @property(readonly, assign) BOOL canAuthorize;
  1219. @required
  1220. @property(readonly, assign) NSString* userEmail;
  1221. -(BOOL)isAuthorizedRequest:(id)request;
  1222. -(BOOL)isAuthorizingRequest:(id)request;
  1223. -(void)stopAuthorizationForRequest:(id)request;
  1224. -(void)stopAuthorization;
  1225. -(void)authorizeRequest:(id)request delegate:(id)delegate didFinishSelector:(SEL)selector;
  1226. @optional
  1227. -(BOOL)primeForRefresh;
  1228. -(void)authorizeRequest:(id)request completionHandler:(id)handler;
  1229. @end
  1230.  
  1231. @protocol UINavigationControllerDelegate <NSObject>
  1232. @optional
  1233. -(id)navigationController:(id)controller animationControllerForOperation:(int)operation fromViewController:(id)viewController toViewController:(id)viewController4;
  1234. -(id)navigationController:(id)controller interactionControllerForAnimationController:(id)animationController;
  1235. -(int)navigationControllerPreferredInterfaceOrientationForPresentation:(id)presentation;
  1236. -(unsigned)navigationControllerSupportedInterfaceOrientations:(id)orientations;
  1237. -(void)navigationController:(id)controller didShowViewController:(id)controller2 animated:(BOOL)animated;
  1238. -(void)navigationController:(id)controller willShowViewController:(id)controller2 animated:(BOOL)animated;
  1239. @end
  1240.  
  1241. @protocol USContentUnit <NSObject>
  1242. @property(readonly, assign, nonatomic) NSString* contentProvider;
  1243. -(id)initWithDictionary:(id)dictionary;
  1244. @end
  1245.  
  1246. @protocol USPartnerInfoProvider <NSObject>
  1247. -(id)partnerInfo;
  1248. @end
  1249.  
  1250. @protocol USPartner <NSObject, USPartnerInfoProvider>
  1251. @property(readonly, assign, nonatomic) NSString* version;
  1252. @property(readonly, assign, nonatomic) BOOL isInitialized;
  1253. @property(readonly, assign, nonatomic) BOOL isPresent;
  1254. +(id)partnerName;
  1255. -(void)startWithPartnerID:(id)partnerID configuration:(id)configuration completion:(id)completion;
  1256. @end
  1257.  
  1258. @protocol USMediator <NSObject>
  1259. -(id)mediatedContentUnitWithContentModel:(id)contentModel;
  1260. -(id)mediatedViewController;
  1261. @end
  1262.  
  1263. @protocol USActionMapDelegate <NSObject>
  1264. @optional
  1265. -(void)actionMapDidFinishExecution:(id)actionMap;
  1266. @end
  1267.  
  1268. @protocol USActionMapManagerInterface <NSObject>
  1269. @property(readonly, assign) id<USActionHandlerRegistry> handlerRegistry;
  1270. -(void)removeObserver:(id)observer;
  1271. -(void)addObserver:(id)observer;
  1272. @end
  1273.  
  1274. @protocol UpsightDefaultsImpl <NSObject>
  1275. -(void)removeAllDefaults;
  1276. -(void)removeDefaultForKey:(id)key;
  1277. -(void)setDefault:(id)aDefault forKey:(id)key;
  1278. -(id)defaultForKey:(id)key;
  1279. @end
  1280.  
  1281. @protocol USAction <NSObject>
  1282. @property(readonly, copy, nonatomic) id handler;
  1283. @property(readonly, assign, nonatomic) __weak USActionMap* map;
  1284. @property(readonly, assign, nonatomic) NSDictionary* parameters;
  1285. +(id)type;
  1286. -(void)executeWithCompletionBlock:(id)completionBlock;
  1287. @end
  1288.  
  1289. @protocol USReward <NSObject>
  1290. @property(readonly, assign, nonatomic) NSData* signatureData;
  1291. @property(readonly, assign, nonatomic) unsigned quantity;
  1292. @property(readonly, assign, nonatomic) NSString* productIdentifier;
  1293. @end
  1294.  
  1295. @protocol USViewControllerCacheDelegate <NSObject>
  1296. @optional
  1297. -(void)cache:(id)cache didRemoveController:(id)controller;
  1298. -(void)cache:(id)cache didAddController:(id)controller;
  1299. @end
  1300.  
  1301. @protocol USActionMapManagerObserver <NSObject>
  1302. @optional
  1303. -(void)actionMapManager:(id)manager didDestroyActionMap:(id)map;
  1304. -(void)actionMapManager:(id)manager didCreateActionMap:(id)map;
  1305. @end
  1306.  
  1307. @protocol USContentUnitBillboardDataSource <NSObject>
  1308. -(BOOL)isContentAvailableForBillboard:(id)billboard;
  1309. @end
  1310.  
  1311. @protocol USBillboardManager <NSObject>
  1312. -(id)billboardForScope:(id)scope;
  1313. @end
  1314.  
  1315. @protocol USActionFactoryInterface <NSObject>
  1316. -(id)actionWithDictionary:(id)dictionary map:(id)map;
  1317. @end
  1318.  
  1319. @protocol USActionHandlerRegistry <NSObject>
  1320. -(void)registerHandler:(id)handler forActionType:(id)actionType;
  1321. @end
  1322.  
  1323. @protocol USViewControllerDelegate <NSObject>
  1324. @optional
  1325. -(void)contentUnitViewControllerDidDismiss:(id)contentUnitViewController;
  1326. -(void)contentUnitViewControllerWillDismiss:(id)contentUnitViewController;
  1327. @end
  1328.  
  1329. @protocol SKStoreProductViewControllerDelegate <NSObject>
  1330. @optional
  1331. -(void)productViewControllerDidFinish:(id)productViewController;
  1332. @end
  1333.  
  1334. @protocol USBillboard <NSObject>
  1335. @property(readonly, assign, getter=isContentReady) BOOL contentReady;
  1336. @property(assign) __weak id<USBillboardDelegate> delegate;
  1337. @property(readonly, assign, getter=isPresenting) BOOL presenting;
  1338. @property(readonly, copy) NSString* scope;
  1339. @end
  1340.  
  1341. @protocol USActionHandlerDelegate <NSObject>
  1342. -(BOOL)shouldExecuteActionOfType:(id)type fromMap:(id)map;
  1343. @end
  1344.  
  1345. @protocol USManagedVariableObserver <NSObject>
  1346. @property(assign, nonatomic) __weak id<USManagedVariableObserverDelegate> delegate;
  1347. @end
  1348.  
  1349. @protocol USViewController <NSObject>
  1350. @property(retain, nonatomic) NSString* postPresentationTrigger;
  1351. @property(readonly, assign, nonatomic) __weak UIViewController* presentingViewController;
  1352. @property(assign) __weak id<USViewControllerDelegate> delegate;
  1353. @property(copy, nonatomic) NSArray* scopes;
  1354. @property(readonly, assign, nonatomic) USActionMap* actionMap;
  1355. @property(readonly, assign, nonatomic) double timestamp;
  1356. @property(readonly, assign, nonatomic) double loadingTimeout;
  1357. -(void)presentCloseButtonWithDelay:(double)delay;
  1358. -(id)viewDataForKey:(id)key;
  1359. -(void)dismissControllerAnimated:(BOOL)animated completion:(id)completion;
  1360. -(void)presentViewControllerWithRoot:(id)root animated:(BOOL)animated completion:(id)completion;
  1361. -(void)buildContent:(id)content actionMap:(id)map completionBlock:(id)block;
  1362. @end
  1363.  
  1364. @protocol UIViewControllerAnimatedTransitioning <NSObject>
  1365. -(void)animateTransition:(id)transition;
  1366. -(double)transitionDuration:(id)duration;
  1367. @optional
  1368. -(void)animationEnded:(BOOL)ended;
  1369. @end
  1370.  
  1371. @protocol USPurchase <NSObject>
  1372. @property(readonly, assign, nonatomic) unsigned quantity;
  1373. @property(readonly, assign, nonatomic) NSString* productIdentifier;
  1374. @end
  1375.  
  1376. @protocol UpsightDataStoreInterface <NSObject>
  1377. -(id)queryObjects:(id)objects predicate:(id)predicate;
  1378. -(void)removeObjects:(id)objects completion:(id)completion;
  1379. -(void)remove:(id)remove completion:(id)completion;
  1380. -(void)store:(id)store completion:(id)completion;
  1381. -(void)removeDefaultObserver:(id)observer;
  1382. -(void)removeObserver:(id)observer type:(id)type predicate:(id)predicate;
  1383. -(void)removeObserver:(id)observer type:(id)type;
  1384. -(void)addDefaultObserver:(id)observer selector:(SEL)selector;
  1385. -(void)addObserver:(id)observer selector:(SEL)selector type:(id)type queue:(id)queue predicate:(id)predicate;
  1386. -(void)addObserver:(id)observer selector:(SEL)selector type:(id)type queue:(id)queue;
  1387. -(void)addObserver:(id)observer selector:(SEL)selector type:(id)type;
  1388. @end
  1389.  
  1390. @protocol NSCoding
  1391. -(id)initWithCoder:(id)coder;
  1392. -(void)encodeWithCoder:(id)coder;
  1393. @end
  1394.  
  1395. @protocol USDataBundle <NSCoding>
  1396. @property(readonly, assign, nonatomic) NSString* dataString;
  1397. @property(readonly, assign, nonatomic) NSString* formatString;
  1398. @end
  1399.  
  1400. @protocol USAnalyticsInterface <NSObject>
  1401. -(void)record:(id)record;
  1402. -(id)initWithDataStore:(id)dataStore;
  1403. @end
  1404.  
  1405. @protocol USDeliveryQueueInterface
  1406. @property(assign, nonatomic) __weak id<USDeliveryQueueDelegate> delegate;
  1407. @property(readonly, assign, nonatomic) NSString* name;
  1408. @property(readonly, assign, nonatomic) USQueueConfiguration* queueConfiguration;
  1409. -(void)drain;
  1410. -(void)enqueuePacket:(id)packet;
  1411. @end
  1412.  
  1413. @protocol USBatcherDelegate <NSObject>
  1414. -(void)batcher:(id)batcher didFailEventsDelivery:(id)delivery error:(id)error;
  1415. -(void)batcher:(id)batcher didDeliverEvents:(id)events response:(id)response;
  1416. @end
  1417.  
  1418. @protocol USDeliveryQueueDelegate <NSObject>
  1419. -(void)deliveryQueue:(id)queue didFailPacketsDelivery:(id)delivery error:(id)error;
  1420. -(void)deliveryQueue:(id)queue didDeliverPackets:(id)packets response:(id)response;
  1421. @end
  1422.  
  1423. @protocol NSCopying
  1424. -(id)copyWithZone:(NSZone*)zone;
  1425. @end
  1426.  
  1427. @protocol USDataSenderInterface <NSObject>
  1428. -(void)sendData:(id)data toURL:(id)url completionHandler:(id)handler queue:(id)queue;
  1429. @end
  1430.  
  1431. @protocol USConfigurationInterface <NSObject>
  1432. @property(readonly, assign, nonatomic) NSDictionary* configurationDictionary;
  1433. +(id)requiredKeys;
  1434. +(BOOL)isValidConfigurationDictionary:(id)dictionary;
  1435. -(id)initWithConfigurationDictionary:(id)configurationDictionary;
  1436. -(BOOL)isEqualToConfiguration:(id)configuration;
  1437. @end
  1438.  
  1439. @protocol USEventRouterDelegate <NSObject>
  1440. -(void)eventRouterDidDrain:(id)eventRouter;
  1441. -(void)eventRouter:(id)router didFailWithError:(id)error items:(id)items;
  1442. -(void)eventRouter:(id)router didDeliverItems:(id)items response:(id)response;
  1443. @end
  1444.  
  1445. @protocol CBPeripheralDelegate <NSObject>
  1446. @optional
  1447. -(void)peripheral:(id)peripheral didWriteValueForDescriptor:(id)descriptor error:(id)error;
  1448. -(void)peripheral:(id)peripheral didUpdateValueForDescriptor:(id)descriptor error:(id)error;
  1449. -(void)peripheral:(id)peripheral didDiscoverDescriptorsForCharacteristic:(id)characteristic error:(id)error;
  1450. -(void)peripheral:(id)peripheral didUpdateNotificationStateForCharacteristic:(id)characteristic error:(id)error;
  1451. -(void)peripheral:(id)peripheral didWriteValueForCharacteristic:(id)characteristic error:(id)error;
  1452. -(void)peripheral:(id)peripheral didUpdateValueForCharacteristic:(id)characteristic error:(id)error;
  1453. -(void)peripheral:(id)peripheral didDiscoverCharacteristicsForService:(id)service error:(id)error;
  1454. -(void)peripheral:(id)peripheral didDiscoverIncludedServicesForService:(id)service error:(id)error;
  1455. -(void)peripheral:(id)peripheral didDiscoverServices:(id)services;
  1456. -(void)peripheral:(id)peripheral didReadRSSI:(id)rssi error:(id)error;
  1457. -(void)peripheralDidUpdateRSSI:(id)peripheral error:(id)error;
  1458. -(void)peripheral:(id)peripheral didModifyServices:(id)services;
  1459. -(void)peripheralDidUpdateName:(id)peripheral;
  1460. @end
  1461.  
  1462. @protocol NSMutableCopying
  1463. -(id)mutableCopyWithZone:(NSZone*)zone;
  1464. @end
  1465.  
  1466. @protocol GTMLogWriter <NSObject>
  1467. -(void)logMessage:(id)message level:(int)level;
  1468. @end
  1469.  
  1470. @protocol GTMLogFormatter <NSObject>
  1471. -(id)stringForFunc:(id)func withFormat:(id)format valist:(void*)valist level:(int)level;
  1472. @end
  1473.  
  1474. @protocol GTMLogFilter <NSObject>
  1475. -(BOOL)filterAllowsMessage:(id)message level:(int)level;
  1476. @end
  1477.  
  1478. @protocol GTMSessionFetcherServiceProtocol <NSObject>
  1479. @property(readonly, assign) NSOperationQueue* delegateQueue;
  1480. @property(assign) BOOL reuseSession;
  1481. @property(retain) NSObject<OS_dispatch_queue>* callbackQueue;
  1482. -(id)stoppedAllFetchersDate;
  1483. -(id)sessionDelegate;
  1484. -(id)sessionForFetcherCreation;
  1485. -(id)session;
  1486. -(BOOL)isDelayingFetcher:(id)fetcher;
  1487. -(id)fetcherWithRequest:(id)request;
  1488. -(void)fetcherDidStop:(id)fetcher;
  1489. -(void)fetcherDidBeginFetching:(id)fetcher;
  1490. -(void)fetcherDidCreateSession:(id)fetcher;
  1491. -(BOOL)fetcherShouldBeginFetching:(id)fetcher;
  1492. @end
  1493.  
  1494. @protocol NSStreamDelegate <NSObject>
  1495. @optional
  1496. -(void)stream:(id)stream handleEvent:(unsigned)event;
  1497. @end
  1498.  
  1499. @protocol OS_dispatch_object <NSObject>
  1500. @end
  1501.  
  1502. @protocol OS_dispatch_data <OS_dispatch_object>
  1503. @end
  1504.  
  1505. @protocol GIDSignInWebViewControllerDelegate <NSObject>
  1506. -(void)signInWebViewControllerDidComplete:(id)signInWebViewController withURL:(id)url error:(id)error;
  1507. -(void)signInWebViewControllerNeedsDismissing:(id)webViewControllerNeedsDismissing;
  1508. -(BOOL)signInWebViewController:(id)webViewController shouldKeepLSOCookiesForAuthResponseURL:(id)authResponseURL;
  1509. -(BOOL)signInWebViewController:(id)webViewController shouldTreatURLAsAuthResponse:(id)response;
  1510. @end
  1511.  
  1512. @protocol GIDSignInWebViewDelegate <NSObject>
  1513. -(void)signInWebView:(id)webView didFailLoadWithError:(id)error;
  1514. -(BOOL)signInWebView:(id)webView shouldStartLoadWithRequest:(id)request navigationType:(int)type;
  1515. @end
  1516.  
  1517. @protocol __ARCLiteIndexedSubscripting__
  1518. -(void)setObject:(id)object atIndexedSubscript:(unsigned)indexedSubscript;
  1519. -(id)objectAtIndexedSubscript:(unsigned)indexedSubscript;
  1520. @end
  1521.  
  1522. @protocol __ARCLiteKeyedSubscripting__
  1523. -(void)setObject:(id)object forKeyedSubscript:(id)keyedSubscript;
  1524. -(id)objectForKeyedSubscript:(id)keyedSubscript;
  1525. @end
  1526.  
  1527. __attribute__((visibility("hidden")))
  1528. @interface UnityWWWConnectionDelegate : NSObject <NSURLConnectionDataDelegate> {
  1529. void* _udata;
  1530. NSMutableURLRequest* _request;
  1531. NSURLConnection* _connection;
  1532. NSURL* _url;
  1533. NSString* _user;
  1534. NSString* _password;
  1535. NSString* _responseHeader;
  1536. int _status;
  1537. unsigned long _estimatedLength;
  1538. unsigned long _dataRecievd;
  1539. int _retryCount;
  1540. BOOL shouldAbort;
  1541. BOOL _manuallyHandleRedirect;
  1542. NSData* _data;
  1543. NSCondition* _condition;
  1544. }
  1545. @property(readonly, copy) NSString* debugDescription;
  1546. @property(readonly, copy) NSString* description;
  1547. @property(readonly, assign) Class superclass;
  1548. @property(readonly, assign) unsigned hash;
  1549. @property(assign, nonatomic) BOOL shouldAbort;
  1550. @property(readonly, retain, nonatomic) NSData* data;
  1551. @property(assign, nonatomic) BOOL manuallyHandleRedirect;
  1552. @property(retain, nonatomic) NSCondition* condition;
  1553. @property(retain, nonatomic) NSURLConnection* connection;
  1554. @property(retain, nonatomic) NSMutableURLRequest* request;
  1555. @property(retain, nonatomic) NSString* password;
  1556. @property(retain, nonatomic) NSString* user;
  1557. @property(retain, nonatomic) NSURL* url;
  1558. @property(assign, nonatomic) void* udata;
  1559. +(id)newRequestForHTTPMethod:(id)httpmethod url:(id)url headers:(id)headers;
  1560. +(id)newDelegateWithCStringURL:(const char*)cstringURL udata:(void*)udata;
  1561. +(id)newDelegateWithURL:(id)url udata:(void*)udata;
  1562. -(void).cxx_destruct;
  1563. -(void)connection:(id)connection willSendRequestForAuthenticationChallenge:(id)authenticationChallenge;
  1564. -(BOOL)connection:(id)connection handleAuthenticationChallenge:(id)challenge;
  1565. -(void)connection:(id)connection didSendBodyData:(int)data totalBytesWritten:(int)written totalBytesExpectedToWrite:(int)write;
  1566. -(void)connectionDidFinishLoading:(id)connection;
  1567. -(void)connection:(id)connection didFailWithError:(id)error;
  1568. -(void)connection:(id)connection didReceiveData:(id)data;
  1569. -(void)handleResponse:(id)response;
  1570. -(void)connection:(id)connection didReceiveResponse:(id)response;
  1571. -(id)connection:(id)connection willSendRequest:(id)request redirectResponse:(id)response;
  1572. -(void)cleanup;
  1573. -(id)initWithURL:(id)url udata:(void*)udata;
  1574. -(id)extractUserPassFromUrl:(id)url;
  1575. @end
  1576.  
  1577. __attribute__((visibility("hidden")))
  1578. @interface UnityWWWConnectionSelfSignedCertDelegate : UnityWWWConnectionDelegate {
  1579. }
  1580. -(BOOL)connection:(id)connection handleAuthenticationChallenge:(id)challenge;
  1581. @end
  1582.  
  1583. __attribute__((visibility("hidden")))
  1584. @interface UnityWWWRequestDefaultProvider : NSObject <UnityWWWRequestProvider> {
  1585. }
  1586. @property(readonly, copy) NSString* debugDescription;
  1587. @property(readonly, copy) NSString* description;
  1588. @property(readonly, assign) Class superclass;
  1589. @property(readonly, assign) unsigned hash;
  1590. +(id)allocRequestForHTTPMethod:(id)httpmethod url:(id)url headers:(id)headers;
  1591. @end
  1592.  
  1593. __attribute__((visibility("hidden")))
  1594. @interface LocationServiceDelegate : NSObject <CLLocationManagerDelegate> {
  1595. }
  1596. @property(readonly, copy) NSString* debugDescription;
  1597. @property(readonly, copy) NSString* description;
  1598. @property(readonly, assign) Class superclass;
  1599. @property(readonly, assign) unsigned hash;
  1600. -(void)locationManager:(id)manager didFailWithError:(id)error;
  1601. -(BOOL)locationManagerShouldDisplayHeadingCalibration:(id)locationManager;
  1602. -(void)locationManager:(id)manager didUpdateHeading:(id)heading;
  1603. -(void)locationManager:(id)manager didUpdateLocations:(id)locations;
  1604. @end
  1605.  
  1606. __attribute__((visibility("hidden")))
  1607. @interface SplashScreen : UIImageView {
  1608. UIImageView* m_ImageView;
  1609. UIView* m_XibView;
  1610. }
  1611. +(id)Instance;
  1612. -(void).cxx_destruct;
  1613. -(void)FreeSubviews;
  1614. -(void)layoutSubviews;
  1615. -(void)updateOrientation:(int)orientation;
  1616. -(id)initWithFrame:(CGRect)frame;
  1617. @end
  1618.  
  1619. __attribute__((visibility("hidden")))
  1620. @interface SplashScreenController : UnityViewControllerBase {
  1621. }
  1622. +(id)Instance;
  1623. -(unsigned)supportedInterfaceOrientations;
  1624. -(BOOL)shouldAutorotate;
  1625. -(void)create:(id)create;
  1626. -(id)init;
  1627. @end
  1628.  
  1629. __attribute__((visibility("hidden")))
  1630. @interface ActivityIndicator : UIActivityIndicatorView {
  1631. UIView* _parent;
  1632. }
  1633. -(void).cxx_destruct;
  1634. -(void)layoutSubviews;
  1635. -(void)show:(id)show;
  1636. @end
  1637.  
  1638. __attribute__((visibility("hidden")))
  1639. @interface KeyboardDelegate : NSObject <UITextFieldDelegate, UITextViewDelegate> {
  1640. UITextView* textView;
  1641. UIToolbar* viewToolbar;
  1642. NSArray* viewToolbarItems;
  1643. UITextField* textField;
  1644. UIToolbar* fieldToolbar;
  1645. NSArray* fieldToolbarItems;
  1646. UIView* inputView;
  1647. UIView* editView;
  1648. CGRect _area;
  1649. NSString* initialText;
  1650. int keyboardType;
  1651. BOOL _multiline;
  1652. BOOL _inputHidden;
  1653. BOOL _active;
  1654. BOOL _done;
  1655. BOOL _canceled;
  1656. BOOL _rotating;
  1657. NSString* text;
  1658. CGRect area;
  1659. }
  1660. @property(readonly, copy) NSString* debugDescription;
  1661. @property(readonly, copy) NSString* description;
  1662. @property(readonly, assign) Class superclass;
  1663. @property(readonly, assign) unsigned hash;
  1664. @property(retain, nonatomic, getter=getText, setter=setText:) NSString* text;
  1665. @property(readonly, assign, nonatomic) BOOL canceled;
  1666. @property(readonly, assign, nonatomic) BOOL done;
  1667. @property(readonly, assign, nonatomic) BOOL active;
  1668. @property(readonly, assign, nonatomic, getter=queryArea) CGRect area;
  1669. +(void)FinishReorientation;
  1670. +(void)StartReorientation;
  1671. +(id)Instance;
  1672. +(void)Initialize;
  1673. -(void).cxx_destruct;
  1674. -(void)shouldHideInput:(BOOL)input;
  1675. -(void)setTextWorkaround:(id)workaround text:(id)text;
  1676. -(void)positionInput:(CGRect)input x:(float)x y:(float)y;
  1677. -(void)updateInputHidden;
  1678. -(void)hide;
  1679. -(void)show;
  1680. -(void)systemHideKeyboard;
  1681. -(void)hideUI;
  1682. -(void)showUI;
  1683. -(void)setKeyboardParams:(XXStruct_cGzekA)params;
  1684. -(void)setTextInputTraits:(id)traits withParam:(XXStruct_cGzekA)param withCap:(int)cap;
  1685. -(id)init;
  1686. -(CreateToolbarResult)createToolbarWithView:(id)view;
  1687. -(void)keyboardDidChangeFrame:(id)keyboard;
  1688. -(void)keyboardWillHide:(id)keyboard;
  1689. -(void)keyboardDidShow:(id)keyboard;
  1690. -(BOOL)textViewShouldBeginEditing:(id)textView;
  1691. -(void)textInputCancel:(id)cancel;
  1692. -(void)textInputDone:(id)done;
  1693. -(BOOL)textFieldShouldReturn:(id)textField;
  1694. -(BOOL)textField:(id)field shouldChangeCharactersInRange:(NSRange)range replacementString:(id)string;
  1695. @end
  1696.  
  1697. __attribute__((visibility("hidden")))
  1698. @interface DisplayConnection : NSObject {
  1699. BOOL _needRecreateSurface;
  1700. CGSize _requestedRenderingSize;
  1701. UIScreen* _screen;
  1702. UIWindow* _window;
  1703. UIView* _view;
  1704. CGSize _screenSize;
  1705. UnityDisplaySurfaceBase* _surface;
  1706. UnityDisplaySurfaceGLES* surfaceGLES;
  1707. UnityDisplaySurfaceMTL* surfaceMTL;
  1708. }
  1709. @property(readonly, assign, nonatomic) UnityDisplaySurfaceBase* surface;
  1710. @property(readonly, assign, nonatomic) CGSize screenSize;
  1711. @property(readonly, copy, nonatomic) UIView* view;
  1712. @property(readonly, copy, nonatomic) UIWindow* window;
  1713. @property(readonly, copy, nonatomic) UIScreen* screen;
  1714. @property(readonly, assign, nonatomic) UnityDisplaySurfaceMTL* surfaceMTL;
  1715. @property(readonly, assign, nonatomic) UnityDisplaySurfaceGLES* surfaceGLES;
  1716. -(void).cxx_destruct;
  1717. -(void)requestRenderingResolution:(CGSize)resolution;
  1718. -(void)present;
  1719. -(void)dealloc;
  1720. -(void)recreateSurface:(RenderingSurfaceParams)surface;
  1721. -(void)initRendering;
  1722. -(void)shouldShowWindow:(BOOL)window;
  1723. -(void)createView:(BOOL)view showRightAway:(BOOL)away;
  1724. -(void)createView:(BOOL)view;
  1725. -(void)createWithWindow:(id)window andView:(id)view;
  1726. -(id)init:(id)init;
  1727. @end
  1728.  
  1729. __attribute__((visibility("hidden")))
  1730. @interface DisplayManager : NSObject {
  1731. NSMapTable* _displayConnection;
  1732. DisplayConnection* _mainDisplay;
  1733. unsigned displayCount;
  1734. }
  1735. @property(readonly, assign, nonatomic) unsigned displayCount;
  1736. @property(readonly, assign, nonatomic) DisplayConnection* mainDisplay;
  1737. +(id)Instance;
  1738. +(void)Initialize;
  1739. -(void).cxx_destruct;
  1740. -(void)screenDidDisconnect:(id)screen;
  1741. -(void)screenDidConnect:(id)screen;
  1742. -(void)present;
  1743. -(void)endFrameRendering;
  1744. -(void)startFrameRendering;
  1745. -(void)enumerateDisplaysWithBlock:(id)block;
  1746. -(void)updateDisplayListInUnity;
  1747. -(id)objectForKeyedSubscript:(id)keyedSubscript;
  1748. -(id)display:(id)display;
  1749. -(BOOL)displayAvailable:(id)available;
  1750. -(id)init;
  1751. -(void)registerScreen:(id)screen;
  1752. @end
  1753.  
  1754. __attribute__((visibility("hidden")))
  1755. @interface MPVideoPlayback : NSObject <UnityViewControllerListener> {
  1756. MPMoviePlayerController* moviePlayer;
  1757. CancelOnTouchView* cancelOnTouchView;
  1758. UIColor* bgColor;
  1759. int controlMode;
  1760. int scalingMode;
  1761. BOOL cancelOnTouch;
  1762. }
  1763. @property(readonly, copy) NSString* debugDescription;
  1764. @property(readonly, copy) NSString* description;
  1765. @property(readonly, assign) Class superclass;
  1766. @property(readonly, assign) unsigned hash;
  1767. -(void).cxx_destruct;
  1768. -(void)finish;
  1769. -(void)viewDidLayoutSubviews:(id)view;
  1770. -(void)audioRouteChanged:(id)changed;
  1771. -(void)moviePlayBackNaturalSizeAvailable:(id)available;
  1772. -(void)moviePlayBackMediaTypesAvailable:(id)available;
  1773. -(void)moviePlayBackSourceTypeAvailable:(id)available;
  1774. -(void)moviePlayBackDidFinish:(id)moviePlayBack;
  1775. -(void)actuallyStartTheMovie:(id)movie;
  1776. -(void)dealloc;
  1777. -(id)initAndPlay:(id)play bgColor:(id)color controls:(int)controls scaling:(int)scaling cancelOnTouch:(BOOL)touch;
  1778. @end
  1779.  
  1780. __attribute__((visibility("hidden")))
  1781. @interface AVKitVideoPlayback : NSObject <VideoPlayerDelegate, UIViewControllerTransitioningDelegate> {
  1782. AVPlayerViewController* videoViewController;
  1783. VideoPlayer* videoPlayer;
  1784. CancelOnTouchView* cancelOnTouchView;
  1785. UIColor* bgColor;
  1786. NSString* videoGravity;
  1787. BOOL showControls;
  1788. BOOL cancelOnTouch;
  1789. }
  1790. @property(readonly, copy) NSString* debugDescription;
  1791. @property(readonly, copy) NSString* description;
  1792. @property(readonly, assign) Class superclass;
  1793. @property(readonly, assign) unsigned hash;
  1794. +(BOOL)IsSupported;
  1795. +(void)InitClass;
  1796. -(void).cxx_destruct;
  1797. -(void)finish;
  1798. -(id)animationControllerForDismissedController:(id)dismissedController;
  1799. -(void)onPlayerError:(id)error;
  1800. -(void)onPlayerDidFinishPlayingVideo;
  1801. -(void)onPlayerReady;
  1802. -(void)handleTap:(id)tap;
  1803. -(void)actuallyStartTheMovie:(id)movie;
  1804. -(void)dealloc;
  1805. -(id)initAndPlay:(id)play bgColor:(id)color showControls:(BOOL)controls videoGravity:(id)gravity cancelOnTouch:(BOOL)touch;
  1806. @end
  1807.  
  1808. __attribute__((visibility("hidden")))
  1809. @interface CancelOnTouchView : UIView {
  1810. id onTouch;
  1811. }
  1812. -(void).cxx_destruct;
  1813. -(void)onUnityUpdateViewLayout;
  1814. -(void)touchesMoved:(id)moved withEvent:(id)event;
  1815. -(void)touchesCancelled:(id)cancelled withEvent:(id)event;
  1816. -(void)touchesEnded:(id)ended withEvent:(id)event;
  1817. -(void)touchesBegan:(id)began withEvent:(id)event;
  1818. -(id)initWithOnTouchBlock:(id)onTouchBlock;
  1819. @end
  1820.  
  1821. __attribute__((visibility("hidden")))
  1822. @interface VideoPlayerView : UIView {
  1823. }
  1824. @property(retain, nonatomic) AVPlayer* player;
  1825. +(Class)layerClass;
  1826. -(void)dealloc;
  1827. @end
  1828.  
  1829. __attribute__((visibility("hidden")))
  1830. @interface VideoPlayer : NSObject {
  1831. id<VideoPlayerDelegate> delegate;
  1832. AVPlayerItem* _playerItem;
  1833. AVPlayer* _player;
  1834. AVAssetReader* _reader;
  1835. AVAssetReaderTrackOutput* _videoOut;
  1836. opaqueCMSampleBuffer* _cmSampleBuffer;
  1837. CMVideoSampling _videoSampling;
  1838. XXStruct_pwHToB _duration;
  1839. XXStruct_pwHToB _curTime;
  1840. XXStruct_pwHToB _curFrameTimestamp;
  1841. XXStruct_pwHToB _lastFrameTimestamp;
  1842. CGSize _videoSize;
  1843. BOOL _playerReady;
  1844. BOOL _assetReady;
  1845. BOOL _itemReady;
  1846. }
  1847. @property(readonly, assign, nonatomic) AVPlayer* player;
  1848. @property(retain, nonatomic) id delegate;
  1849. +(BOOL)CheckScalingModeAspectFill:(CGSize)fill screenSize:(CGSize)size;
  1850. +(BOOL)CanPlayToTexture:(id)texture;
  1851. -(void).cxx_destruct;
  1852. -(BOOL)prepareReader;
  1853. -(void)prepareAsset:(id)asset withKeys:(id)keys;
  1854. -(void)observeValueForKeyPath:(id)keyPath ofObject:(id)object change:(id)change context:(void*)context;
  1855. -(void)audioRouteChanged:(id)changed;
  1856. -(void)playerItemDidReachEnd:(id)playerItem;
  1857. -(BOOL)setAudioVolume:(float)volume;
  1858. -(long)curFrameTexture;
  1859. -(void)seekToTimestamp:(XXStruct_pwHToB)timestamp;
  1860. -(void)seekTo:(float)to;
  1861. -(void)rewind;
  1862. -(void)resume;
  1863. -(void)pause;
  1864. -(BOOL)isPlaying;
  1865. -(BOOL)playVideoPlayer;
  1866. -(BOOL)playToTexture;
  1867. -(BOOL)playToView:(id)view;
  1868. -(BOOL)_playWithPrepareBlock:(id)prepareBlock;
  1869. -(BOOL)loadVideo:(id)video;
  1870. -(void)unloadPlayer;
  1871. -(void)cleanupPlayer;
  1872. -(void)cleanupAssetReader;
  1873. -(void)cleanupCVTextureCache;
  1874. -(id)init;
  1875. -(void)reportErrorWithString:(const char*)string category:(const char*)category;
  1876. -(void)reportError:(id)error category:(const char*)category;
  1877. -(float)durationSeconds;
  1878. -(XXStruct_pwHToB)duration;
  1879. -(CGSize)videoSize;
  1880. -(BOOL)readyToPlay;
  1881. @end
  1882.  
  1883. __attribute__((visibility("hidden")))
  1884. @interface UnityView : UnityRenderingView {
  1885. CGSize _surfaceSize;
  1886. int _curOrientation;
  1887. BOOL _recreateView;
  1888. }
  1889. @property(readonly, assign, nonatomic) int contentOrientation;
  1890. -(void)touchesMoved:(id)moved withEvent:(id)event;
  1891. -(void)touchesCancelled:(id)cancelled withEvent:(id)event;
  1892. -(void)touchesEnded:(id)ended withEvent:(id)event;
  1893. -(void)touchesBegan:(id)began withEvent:(id)event;
  1894. -(void)recreateGLESSurface;
  1895. -(void)recreateGLESSurfaceIfNeeded;
  1896. -(void)didRotate;
  1897. -(void)willRotateToOrientation:(int)orientation fromOrientation:(int)orientation2;
  1898. -(void)layoutSubviews;
  1899. -(id)initFromMainScreen;
  1900. -(id)initWithFrame:(CGRect)frame;
  1901. -(id)initWithFrame:(CGRect)frame scaleFactor:(float)factor;
  1902. -(void)initImpl:(CGRect)impl scaleFactor:(float)factor;
  1903. -(void)onUpdateSurfaceSize:(CGSize)size;
  1904. @end
  1905.  
  1906. __attribute__((visibility("hidden")))
  1907. @interface UnityRenderingView : UIView {
  1908. }
  1909. +(void)InitializeForAPI:(int)api;
  1910. +(Class)layerClass;
  1911. @end
  1912.  
  1913. __attribute__((visibility("hidden")))
  1914. @interface UnityAppController : NSObject <UIApplicationDelegate> {
  1915. UnityView* _unityView;
  1916. CADisplayLink* _displayLink;
  1917. UIWindow* _window;
  1918. UIView* _rootView;
  1919. UIViewController* _rootController;
  1920. UIView* _snapshotView;
  1921. DisplayConnection* _mainDisplay;
  1922. UnityViewControllerBase* _viewControllerForOrientation[5];
  1923. int _curOrientation;
  1924. id<RenderPluginDelegate> _renderDelegate;
  1925. CADisplayLink* _unityDisplayLink;
  1926. id _quitHandler;
  1927. }
  1928. @property(readonly, copy) NSString* debugDescription;
  1929. @property(readonly, copy) NSString* description;
  1930. @property(readonly, assign) Class superclass;
  1931. @property(readonly, assign) unsigned hash;
  1932. @property(copy, nonatomic) id quitHandler;
  1933. @property(retain, nonatomic) id renderDelegate;
  1934. @property(readonly, assign, nonatomic) int interfaceOrientation;
  1935. @property(readonly, copy, nonatomic) DisplayConnection* mainDisplay;
  1936. @property(readonly, copy, nonatomic) UIViewController* rootViewController;
  1937. @property(readonly, copy, nonatomic) UIView* rootView;
  1938. @property(readonly, copy, nonatomic) CADisplayLink* unityDisplayLink;
  1939. @property(readonly, copy, nonatomic) UnityView* unityView;
  1940. @property(retain, nonatomic) UIWindow* window;
  1941. @property(readonly, assign, nonatomic) int renderingAPI;
  1942. @property(assign, nonatomic) BOOL paused;
  1943. -(void).cxx_destruct;
  1944. -(void)applicationWillTerminate:(id)application;
  1945. -(void)applicationDidReceiveMemoryWarning:(id)application;
  1946. -(void)applicationWillResignActive:(id)application;
  1947. -(void)applicationDidBecomeActive:(id)application;
  1948. -(void)applicationWillEnterForeground:(id)application;
  1949. -(void)applicationDidEnterBackground:(id)application;
  1950. -(BOOL)application:(id)application didFinishLaunchingWithOptions:(id)options;
  1951. -(BOOL)application:(id)application willFinishLaunchingWithOptions:(id)options;
  1952. -(BOOL)application:(id)application openURL:(id)url sourceApplication:(id)application3 annotation:(id)annotation;
  1953. -(void)application:(id)application didFailToRegisterForRemoteNotificationsWithError:(id)error;
  1954. -(void)application:(id)application didReceiveRemoteNotification:(id)notification fetchCompletionHandler:(id)handler;
  1955. -(void)application:(id)application didRegisterForRemoteNotificationsWithDeviceToken:(id)deviceToken;
  1956. -(void)application:(id)application didReceiveRemoteNotification:(id)notification;
  1957. -(void)application:(id)application didReceiveLocalNotification:(id)notification;
  1958. -(unsigned)application:(id)application supportedInterfaceOrientationsForWindow:(id)window;
  1959. -(void)startUnity:(id)unity;
  1960. -(void)preStartUnity;
  1961. -(void)shouldAttachRenderDelegate;
  1962. -(id)init;
  1963. -(void)selectRenderingAPI;
  1964. -(void)callbackFramerateChange:(int)change;
  1965. -(void)callbackPresent:(const UnityFrameStats*)present;
  1966. -(void)callbackGfxInited;
  1967. -(void)repaint;
  1968. -(void)repaintDisplayLink;
  1969. -(void)createDisplayLink;
  1970. -(void)checkOrientationRequest;
  1971. -(void)orientUnity:(int)unity;
  1972. -(void)orientInterface:(int)interface;
  1973. -(void)transitionToViewController:(id)viewController;
  1974. -(void)showGameUI;
  1975. -(void)createUI;
  1976. -(id)createSnapshotView;
  1977. -(void)interfaceDidChangeOrientationFrom:(int)interface;
  1978. -(void)interfaceWillChangeOrientationTo:(int)interface;
  1979. -(void)willTransitionToViewController:(id)viewController fromViewController:(id)viewController2;
  1980. -(void)willStartWithViewController:(id)viewController;
  1981. -(id)createRootViewController;
  1982. -(id)topMostController;
  1983. -(id)createRootViewControllerForOrientation:(int)orientation;
  1984. -(id)createUnityViewControllerForOrientation:(int)orientation;
  1985. -(id)createAutorotatingUnityViewController;
  1986. -(id)createUnityView;
  1987. -(void)updateAppOrientation:(int)orientation;
  1988. -(void)application:(id)application didRegisterUserNotificationSettings:(id)settings;
  1989. @end
  1990.  
  1991. __attribute__((visibility("hidden")))
  1992. @interface CameraCaptureController : NSObject <AVCaptureVideoDataOutputSampleBufferDelegate> {
  1993. AVCaptureDevice* _captureDevice;
  1994. AVCaptureSession* _captureSession;
  1995. AVCaptureDeviceInput* _captureInput;
  1996. AVCaptureVideoDataOutput* _captureOutput;
  1997. CMVideoSampling _cmVideoSampling;
  1998. void* _userData;
  1999. unsigned long _width;
  2000. unsigned long _height;
  2001. }
  2002. @property(readonly, copy) NSString* debugDescription;
  2003. @property(readonly, copy) NSString* description;
  2004. @property(readonly, assign) Class superclass;
  2005. @property(readonly, assign) unsigned hash;
  2006. @property(retain, nonatomic) AVCaptureVideoDataOutput* captureOutput;
  2007. @property(retain, nonatomic) AVCaptureDeviceInput* captureInput;
  2008. @property(retain, nonatomic) AVCaptureSession* captureSession;
  2009. @property(retain, nonatomic) AVCaptureDevice* captureDevice;
  2010. -(void).cxx_destruct;
  2011. -(id)pickFrameRateRange:(float)range;
  2012. -(id)pickPresetFromWidth:(int)width height:(int)height;
  2013. -(void)stop;
  2014. -(void)pause;
  2015. -(void)start;
  2016. -(void)captureOutput:(id)output didOutputSampleBuffer:(opaqueCMSampleBuffer*)buffer fromConnection:(id)connection;
  2017. -(bool)initCapture:(id)capture width:(int)width height:(int)height fps:(float)fps;
  2018. @end
  2019.  
  2020. __attribute__((visibility("hidden")))
  2021. @interface UnityADBanner : NSObject <ADBannerViewDelegate, UnityViewControllerListener> {
  2022. ADBannerView* _view;
  2023. CGPoint _userLayoutCenter;
  2024. int _bannerLayout;
  2025. BOOL _showingBanner;
  2026. }
  2027. @property(readonly, copy) NSString* debugDescription;
  2028. @property(readonly, copy) NSString* description;
  2029. @property(readonly, assign) Class superclass;
  2030. @property(readonly, assign) unsigned hash;
  2031. @property(readonly, assign, nonatomic) BOOL adVisible;
  2032. @property(readonly, copy, nonatomic) ADBannerView* view;
  2033. -(void).cxx_destruct;
  2034. -(void)bannerView:(id)view didFailToReceiveAdWithError:(id)error;
  2035. -(void)bannerViewDidLoadAd:(id)bannerView;
  2036. -(void)bannerViewActionDidFinish:(id)bannerViewAction;
  2037. -(BOOL)bannerViewActionShouldBegin:(id)bannerViewAction willLeaveApplication:(BOOL)application;
  2038. -(void)showBanner:(BOOL)banner;
  2039. -(void)positionForUserLayout:(CGPoint)userLayout;
  2040. -(void)layoutBanner:(int)banner;
  2041. -(void)interfaceDidChangeOrientation:(id)interface;
  2042. -(void)interfaceWillChangeOrientation:(id)interface;
  2043. -(void)dealloc;
  2044. -(id)initWithParent:(id)parent layout:(int)layout;
  2045. -(id)initWithParent:(id)parent layout:(int)layout type:(int)type;
  2046. -(void)layoutBannerImpl;
  2047. -(float)layoutYImpl:(id)impl;
  2048. -(float)layoutXImpl:(id)impl;
  2049. -(void)initImpl:(id)impl layout:(int)layout type:(int)type;
  2050. @end
  2051.  
  2052. __attribute__((visibility("hidden")))
  2053. @interface UnityInterstitialAd : NSObject <ADInterstitialAdDelegate, UnityViewControllerListener> {
  2054. ADInterstitialAd* _interstitial;
  2055. UIViewController* _presentController;
  2056. BOOL _autoReload;
  2057. BOOL _didShowAd;
  2058. }
  2059. @property(readonly, copy) NSString* debugDescription;
  2060. @property(readonly, copy) NSString* description;
  2061. @property(readonly, assign) Class superclass;
  2062. @property(readonly, assign) unsigned hash;
  2063. @property(readonly, copy, nonatomic) ADInterstitialAd* interstitial;
  2064. -(void).cxx_destruct;
  2065. -(void)viewWillAppear:(id)view;
  2066. -(void)viewDidDisappear:(id)view;
  2067. -(void)interstitialAdActionDidFinish:(id)interstitialAdAction;
  2068. -(void)interstitialAdDidUnload:(id)interstitialAd;
  2069. -(void)interstitialAdDidLoad:(id)interstitialAd;
  2070. -(void)interstitialAd:(id)ad didFailWithError:(id)error;
  2071. -(BOOL)interstitialAdActionShouldBegin:(id)interstitialAdAction willLeaveApplication:(BOOL)application;
  2072. -(void)reloadAD;
  2073. -(void)show;
  2074. -(void)dealloc;
  2075. -(id)initWithController:(id)controller autoReload:(BOOL)reload;
  2076. -(void)_handleReloadAD;
  2077. -(void)_loadAD;
  2078. -(void)_unloadAD;
  2079. @end
  2080.  
  2081. __attribute__((visibility("hidden")))
  2082. @interface UnityViewControllerBase : UIViewController {
  2083. }
  2084. -(void)viewWillAppear:(BOOL)view;
  2085. -(void)viewDidAppear:(BOOL)view;
  2086. -(void)viewWillDisappear:(BOOL)view;
  2087. -(void)viewDidDisappear:(BOOL)view;
  2088. -(void)viewDidLayoutSubviews;
  2089. -(int)preferredStatusBarStyle;
  2090. -(BOOL)prefersStatusBarHidden;
  2091. -(BOOL)shouldAutorotate;
  2092. -(id)init;
  2093. @end
  2094.  
  2095. __attribute__((visibility("hidden")))
  2096. @interface UnityDefaultViewController : UnityViewControllerBase {
  2097. }
  2098. -(unsigned)supportedInterfaceOrientations;
  2099. @end
  2100.  
  2101. __attribute__((visibility("hidden")))
  2102. @interface UnityPortraitOnlyViewController : UnityViewControllerBase {
  2103. }
  2104. -(void)viewWillAppear:(BOOL)view;
  2105. -(unsigned)supportedInterfaceOrientations;
  2106. @end
  2107.  
  2108. __attribute__((visibility("hidden")))
  2109. @interface UnityPortraitUpsideDownOnlyViewController : UnityViewControllerBase {
  2110. }
  2111. -(void)viewWillAppear:(BOOL)view;
  2112. -(unsigned)supportedInterfaceOrientations;
  2113. @end
  2114.  
  2115. __attribute__((visibility("hidden")))
  2116. @interface UnityLandscapeLeftOnlyViewController : UnityViewControllerBase {
  2117. }
  2118. -(void)viewWillAppear:(BOOL)view;
  2119. -(unsigned)supportedInterfaceOrientations;
  2120. @end
  2121.  
  2122. __attribute__((visibility("hidden")))
  2123. @interface UnityLandscapeRightOnlyViewController : UnityViewControllerBase {
  2124. }
  2125. -(void)viewWillAppear:(BOOL)view;
  2126. -(unsigned)supportedInterfaceOrientations;
  2127. @end
  2128.  
  2129. __attribute__((visibility("hidden")))
  2130. @interface RenderPluginDelegate : NSObject <RenderPluginDelegate> {
  2131. UnityDisplaySurfaceBase* mainDisplaySurface;
  2132. }
  2133. @property(readonly, copy) NSString* debugDescription;
  2134. @property(readonly, copy) NSString* description;
  2135. @property(readonly, assign) Class superclass;
  2136. @property(readonly, assign) unsigned hash;
  2137. -(void)mainDisplayInited:(UnityDisplaySurfaceBase*)inited;
  2138. @end
  2139.  
  2140. __attribute__((visibility("hidden")))
  2141. @interface RenderPluginArrayDelegate : RenderPluginDelegate {
  2142. NSArray* delegateArray;
  2143. }
  2144. @property(retain, nonatomic) NSArray* delegateArray;
  2145. -(void).cxx_destruct;
  2146. -(void)willTerminate:(id)terminate;
  2147. -(void)willEnterForeground:(id)foreground;
  2148. -(void)didEnterBackground:(id)background;
  2149. -(void)willResignActive:(id)active;
  2150. -(void)didBecomeActive:(id)active;
  2151. -(void)onFrameResolved;
  2152. -(void)onAfterMainDisplaySurfaceRecreate;
  2153. -(void)onBeforeMainDisplaySurfaceRecreate:(RenderingSurfaceParams*)recreate;
  2154. -(void)mainDisplayInited:(UnityDisplaySurfaceBase*)inited;
  2155. @end
  2156.  
  2157. __attribute__((visibility("hidden")))
  2158. @interface HoloGeocoder : NSObject {
  2159. CLGeocoder* _geocoder;
  2160. }
  2161. +(id)instance;
  2162. -(void).cxx_destruct;
  2163. -(void)requestAddressFromLatitude:(double)latitude longitude:(double)longitude requestId:(int)anId callback:(/*function-pointer*/ void*)callback;
  2164. -(id)init;
  2165. @end
  2166.  
  2167. __attribute__((visibility("hidden")))
  2168. @interface HoloBluetoothUtil : NSObject <CBCentralManagerDelegate> {
  2169. CBCentralManager* _centralManager;
  2170. int _currentState;
  2171. }
  2172. @property(readonly, copy) NSString* debugDescription;
  2173. @property(readonly, copy) NSString* description;
  2174. @property(readonly, assign) Class superclass;
  2175. @property(readonly, assign) unsigned hash;
  2176. +(id)instance;
  2177. -(void).cxx_destruct;
  2178. -(bool)isEnabled;
  2179. -(void)centralManagerDidUpdateState:(id)centralManager;
  2180. -(id)init;
  2181. @end
  2182.  
  2183. __attribute__((visibility("hidden")))
  2184. @interface HoloScreenShot : NSObject {
  2185. NSMutableArray* _paths;
  2186. NSOperationQueue* _serial_background;
  2187. }
  2188. +(id)instance;
  2189. -(void).cxx_destruct;
  2190. -(void)image:(id)image didFinishSavingWithError:(id)error contextInfo:(void*)info;
  2191. -(void)saveScreenShot:(const char*)shot;
  2192. -(id)init;
  2193. @end
  2194.  
  2195. __attribute__((visibility("hidden")))
  2196. @interface UpsightManager : NSObject <USManagedVariableObserverDelegate, USBillboardDelegate, UpsightSessionDelegate> {
  2197. BOOL _shouldSynchronizeManagedVariables;
  2198. NSDictionary* _remoteNotificationDictionary;
  2199. NSMutableDictionary* _billboardDict;
  2200. }
  2201. @property(readonly, copy) NSString* debugDescription;
  2202. @property(readonly, copy) NSString* description;
  2203. @property(readonly, assign) Class superclass;
  2204. @property(readonly, assign) unsigned hash;
  2205. @property(assign, nonatomic) BOOL shouldSynchronizeManagedVariables;
  2206. @property(retain, nonatomic) NSMutableDictionary* billboardDict;
  2207. @property(retain, nonatomic) NSDictionary* remoteNotificationDictionary;
  2208. +(void)applicationDidBecomeActiveNotification:(id)application;
  2209. +(void)applicationDidFinishLaunchingNotification:(id)application;
  2210. +(id)objectFromJsonString:(id)jsonString;
  2211. +(id)jsonStringFromObject:(id)object;
  2212. +(BOOL)isValidJsonObject:(id)object;
  2213. +(id)sharedManger;
  2214. +(void)load;
  2215. -(void).cxx_destruct;
  2216. -(void)observer:(id)observer didSynchronizeManagedVariables:(id)variables;
  2217. -(BOOL)observerShouldSynchronizeManagedVariables:(id)observer;
  2218. -(void)upsightSessionDidResume;
  2219. -(void)upsightSessionDidStart;
  2220. -(void)billboard:(id)billboard didReceivePurchase:(id)purchase;
  2221. -(void)billboard:(id)billboard didReceiveReward:(id)reward;
  2222. -(void)billboardDidDismiss:(id)billboard;
  2223. -(void)billboardWillAppear:(id)billboard;
  2224. -(id)presentingViewControllerForBillboard:(id)billboard;
  2225. -(BOOL)isContentReadyForBillboardWithScope:(id)scope;
  2226. -(void)destroyBillboardForScope:(id)scope;
  2227. -(void)prepareBillboardForScope:(id)scope;
  2228. -(void)onOpenURL:(id)url;
  2229. -(void)didReceiveRemoteNotification:(id)notification;
  2230. -(void)didFailToRegisterForRemoteNotificationsWithError:(id)error;
  2231. -(void)didRegisterForRemoteNotificationsWithDeviceToken:(id)deviceToken;
  2232. -(id)init;
  2233. @end
  2234.  
  2235. __attribute__((visibility("hidden")))
  2236. @interface NIANavigationController : UINavigationController {
  2237. }
  2238. -(BOOL)prefersStatusBarHidden;
  2239. -(unsigned)supportedInterfaceOrientations;
  2240. -(BOOL)shouldAutorotate;
  2241. @end
  2242.  
  2243. __attribute__((visibility("hidden")))
  2244. @interface NIAMyAppController : UnityAppController {
  2245. }
  2246. -(void)application:(id)application handleActionWithIdentifier:(id)identifier forLocalNotification:(id)localNotification withResponseInfo:(id)responseInfo completionHandler:(id)handler;
  2247. -(BOOL)application:(id)application openURL:(id)url sourceApplication:(id)application3 annotation:(id)annotation;
  2248. -(BOOL)application:(id)application openURL:(id)url options:(id)options;
  2249. -(void)openUrl:(id)url;
  2250. -(void)shouldAttachRenderDelegate;
  2251. -(void)applicationWillResignActive:(id)application;
  2252. -(BOOL)application:(id)application didFinishLaunchingWithOptions:(id)options;
  2253. -(void)startUnity:(id)unity;
  2254. @end
  2255.  
  2256. __attribute__((visibility("hidden")))
  2257. @interface CWebViewPlugin : NSObject <UIWebViewDelegate, WKUIDelegate, WKNavigationDelegate> {
  2258. UIView<WebViewProtocol>* webView;
  2259. NSString* gameObjectName;
  2260. }
  2261. @property(readonly, copy) NSString* debugDescription;
  2262. @property(readonly, copy) NSString* description;
  2263. @property(readonly, assign) Class superclass;
  2264. @property(readonly, assign) unsigned hash;
  2265. -(void).cxx_destruct;
  2266. -(void)goForward;
  2267. -(void)goBack;
  2268. -(BOOL)canGoForward;
  2269. -(BOOL)canGoBack;
  2270. -(void)evaluateJS:(const char*)js;
  2271. -(void)loadURL:(const char*)url;
  2272. -(void)setVisibility:(BOOL)visibility;
  2273. -(float)getScale:(id)scale;
  2274. -(void)setMargins:(int)margins top:(int)top right:(int)right bottom:(int)bottom;
  2275. -(void)setFrame:(int)frame positionY:(int)y width:(int)width height:(int)height;
  2276. -(void)webView:(id)view decidePolicyForNavigationAction:(id)navigationAction decisionHandler:(id)handler;
  2277. -(BOOL)webView:(id)view shouldStartLoadWithRequest:(id)request navigationType:(int)type;
  2278. -(void)webView:(id)view didFinishNavigation:(id)navigation;
  2279. -(void)webViewDidFinishLoad:(id)webView;
  2280. -(void)webView:(id)view didFailLoadWithError:(id)error;
  2281. -(void)dealloc;
  2282. -(id)initWithGameObjectName:(const char*)gameObjectName transparent:(BOOL)transparent enableWKWebView:(BOOL)view;
  2283. @end
  2284.  
  2285. __attribute__((visibility("hidden")))
  2286. @interface WebViewController : UIViewController <UIWebViewDelegate> {
  2287. UIWebView* m_webView;
  2288. UIButton* m_closeButton;
  2289. }
  2290. @property(readonly, copy) NSString* debugDescription;
  2291. @property(readonly, copy) NSString* description;
  2292. @property(readonly, assign) Class superclass;
  2293. @property(readonly, assign) unsigned hash;
  2294. -(void).cxx_destruct;
  2295. -(void)webView:(id)view didFailLoadWithError:(id)error;
  2296. -(void)webViewDidFinishLoad:(id)webView;
  2297. -(void)webViewDidStartLoad:(id)webView;
  2298. -(void)action:(id)action;
  2299. -(void)load:(id)load;
  2300. -(void)dealloc;
  2301. -(id)init;
  2302. @end
  2303.  
  2304. __attribute__((visibility("hidden")))
  2305. @interface PlayerWrapper : NSObject {
  2306. }
  2307. +(void)loadUserIds:(id)ids withCondition:(bool)condition;
  2308. +(void)loadFriends;
  2309. +(void)processNonFriendUsersUsingNewAPI:(id)api withFriends:(id)friends;
  2310. +(void)processUsers:(id)users withCondition:(bool)condition friendCallback:(id)callback;
  2311. +(void)loadUserPhotoAsyncAndTriggerCallbackWhenNeeded:(id)needed withCondition:(bool)condition index:(int)index totalSize:(int)size;
  2312. @end
  2313.  
  2314. __attribute__((visibility("hidden")))
  2315. @interface AchievementWrapper : UIViewController <GKGameCenterControllerDelegate> {
  2316. GKGameCenterViewController* m_AchievementsView;
  2317. }
  2318. @property(readonly, copy) NSString* debugDescription;
  2319. @property(readonly, copy) NSString* description;
  2320. @property(readonly, assign) Class superclass;
  2321. @property(readonly, assign) unsigned hash;
  2322. +(void)reportProgressWithCache:(double)cache withIdentifier:(id)identifier;
  2323. +(void)reportSingleAchievement:(id)achievement completion:(id)completion;
  2324. +(void)reportProgress:(double)progress withIdentifier:(id)identifier;
  2325. +(void)loadAchievements;
  2326. +(void)loadAchievementDescriptions;
  2327. -(void).cxx_destruct;
  2328. -(void)gameCenterViewControllerDidFinish:(id)gameCenterViewController;
  2329. -(void)showAchievementsUI;
  2330. @end
  2331.  
  2332. __attribute__((visibility("hidden")))
  2333. @interface LeaderboardWrapper : UIViewController <GKGameCenterControllerDelegate> {
  2334. GKGameCenterViewController* m_LeaderboardController;
  2335. }
  2336. @property(readonly, copy) NSString* debugDescription;
  2337. @property(readonly, copy) NSString* description;
  2338. @property(readonly, assign) Class superclass;
  2339. @property(readonly, assign) unsigned hash;
  2340. -(void).cxx_destruct;
  2341. -(void)gameCenterViewControllerDidFinish:(id)gameCenterViewController;
  2342. -(void)showLeaderboardUI:(id)ui withTimeScope:(int)timeScope;
  2343. @end
  2344.  
  2345. @interface UnityPLCrashSignalHandler : NSObject {
  2346. darwin_sigaltstack _sigstk;
  2347. }
  2348. +(void)resetHandlers;
  2349. +(id)sharedHandler;
  2350. +(void)initialize;
  2351. -(BOOL)registerHandlerForSignal:(int)signal callback:(/*function-pointer*/ void*)callback context:(void*)context error:(id*)error;
  2352. -(BOOL)registerHandlerWithSignal:(int)signal error:(id*)error;
  2353. -(id)init;
  2354. @end
  2355.  
  2356. @interface UnityPLCrashReporter : NSObject {
  2357. UnityPLCrashReporterConfig* _config;
  2358. BOOL _enabled;
  2359. UnityPLCrashMachExceptionServer* _machServer;
  2360. UnityPLCrashMachExceptionPortSet* _previousMachPorts;
  2361. NSString* _applicationIdentifier;
  2362. NSString* _applicationVersion;
  2363. NSString* _crashReportDirectory;
  2364. }
  2365. +(id)sharedReporter;
  2366. +(void)initialize;
  2367. -(void)setCrashCallbacks:(PLCrashReporterCallbacks*)callbacks;
  2368. -(id)generateLiveReportAndReturnError:(id*)error;
  2369. -(id)generateLiveReport;
  2370. -(id)generateLiveReportWithThread:(unsigned)thread error:(id*)error;
  2371. -(id)generateLiveReportWithThread:(unsigned)thread;
  2372. -(BOOL)enableCrashReporterAndReturnError:(id*)error;
  2373. -(BOOL)enableCrashReporter;
  2374. -(BOOL)purgePendingCrashReportAndReturnError:(id*)error;
  2375. -(BOOL)purgePendingCrashReport;
  2376. -(id)loadPendingCrashReportDataAndReturnError:(id*)error;
  2377. -(id)loadPendingCrashReportData;
  2378. -(BOOL)hasPendingCrashReport;
  2379. -(id)initWithConfiguration:(id)configuration;
  2380. -(id)init;
  2381. -(id)crashReportPath;
  2382. -(id)queuedCrashReportDirectory;
  2383. -(id)crashReportDirectory;
  2384. -(BOOL)populateCrashReportDirectoryAndReturnError:(id*)error;
  2385. -(int)mapToAsyncSymbolicationStrategy:(unsigned)asyncSymbolicationStrategy;
  2386. -(void)dealloc;
  2387. -(id)enableMachExceptionServerWithPreviousPortSet:(id*)previousPortSet callback:(/*function-pointer*/ void*)callback context:(void*)context error:(id*)error;
  2388. -(id)initWithBundle:(id)bundle configuration:(id)configuration;
  2389. -(id)initWithApplicationIdentifier:(id)applicationIdentifier appVersion:(id)version configuration:(id)configuration;
  2390. @end
  2391.  
  2392. @interface UnityPLCrashReport : NSObject {
  2393. PLCrashReportDecoder* _decoder;
  2394. UnityPLCrashReportSystemInfo* _systemInfo;
  2395. UnityPLCrashReportMachineInfo* _machineInfo;
  2396. UnityPLCrashReportApplicationInfo* _applicationInfo;
  2397. UnityPLCrashReportProcessInfo* _processInfo;
  2398. UnityPLCrashReportSignalInfo* _signalInfo;
  2399. UnityPLCrashReportMachExceptionInfo* _machExceptionInfo;
  2400. NSArray* _threads;
  2401. NSArray* _images;
  2402. UnityPLCrashReportExceptionInfo* _exceptionInfo;
  2403. CFUUIDRef _uuid;
  2404. }
  2405. @property(readonly, assign, nonatomic) CFUUIDRef uuidRef;
  2406. @property(readonly, assign, nonatomic) UnityPLCrashReportExceptionInfo* exceptionInfo;
  2407. @property(readonly, assign, nonatomic) BOOL hasExceptionInfo;
  2408. @property(readonly, assign, nonatomic) NSArray* images;
  2409. @property(readonly, assign, nonatomic) NSArray* threads;
  2410. @property(readonly, assign, nonatomic) UnityPLCrashReportMachExceptionInfo* machExceptionInfo;
  2411. @property(readonly, assign, nonatomic) UnityPLCrashReportSignalInfo* signalInfo;
  2412. @property(readonly, assign, nonatomic) UnityPLCrashReportProcessInfo* processInfo;
  2413. @property(readonly, assign, nonatomic) BOOL hasProcessInfo;
  2414. @property(readonly, assign, nonatomic) UnityPLCrashReportApplicationInfo* applicationInfo;
  2415. @property(readonly, assign, nonatomic) UnityPLCrashReportMachineInfo* machineInfo;
  2416. @property(readonly, assign, nonatomic) BOOL hasMachineInfo;
  2417. @property(readonly, assign, nonatomic) UnityPLCrashReportSystemInfo* systemInfo;
  2418. -(id)imageForAddress:(unsigned long long)address;
  2419. -(void)dealloc;
  2420. -(id)initWithData:(id)data error:(id*)error;
  2421. -(id)extractMachExceptionInfo:(Plcrash__CrashReport__Signal__MachException*)info error:(id*)error;
  2422. -(id)extractSignalInfo:(Plcrash__CrashReport__Signal*)info error:(id*)error;
  2423. -(id)extractExceptionInfo:(Plcrash__CrashReport__Exception*)info error:(id*)error;
  2424. -(id)extractImageInfo:(Plcrash__CrashReport*)info error:(id*)error;
  2425. -(id)extractThreadInfo:(Plcrash__CrashReport*)info error:(id*)error;
  2426. -(id)extractStackFrameInfo:(Plcrash__CrashReport__Thread__StackFrame*)info error:(id*)error;
  2427. -(id)extractSymbolInfo:(Plcrash__CrashReport__Symbol*)info error:(id*)error;
  2428. -(id)extractProcessInfo:(Plcrash__CrashReport__ProcessInfo*)info error:(id*)error;
  2429. -(id)extractApplicationInfo:(Plcrash__CrashReport__ApplicationInfo*)info error:(id*)error;
  2430. -(id)extractMachineInfo:(Plcrash__CrashReport__MachineInfo*)info error:(id*)error;
  2431. -(id)extractProcessorInfo:(Plcrash__CrashReport__Processor*)info error:(id*)error;
  2432. -(id)extractSystemInfo:(Plcrash__CrashReport__SystemInfo*)info error:(id*)error;
  2433. -(Plcrash__CrashReport*)decodeCrashData:(id)data error:(id*)error;
  2434. @end
  2435.  
  2436. @interface UnityPLCrashReportSystemInfo : NSObject {
  2437. int _operatingSystem;
  2438. NSString* _osVersion;
  2439. NSString* _osBuild;
  2440. int _architecture;
  2441. NSDate* _timestamp;
  2442. }
  2443. @property(readonly, assign, nonatomic) NSDate* timestamp;
  2444. @property(readonly, assign, nonatomic) int architecture;
  2445. @property(readonly, assign, nonatomic) NSString* operatingSystemBuild;
  2446. @property(readonly, assign, nonatomic) NSString* operatingSystemVersion;
  2447. @property(readonly, assign, nonatomic) int operatingSystem;
  2448. -(void)dealloc;
  2449. -(id)initWithOperatingSystem:(int)operatingSystem operatingSystemVersion:(id)version operatingSystemBuild:(id)build architecture:(int)architecture timestamp:(id)timestamp;
  2450. -(id)initWithOperatingSystem:(int)operatingSystem operatingSystemVersion:(id)version architecture:(int)architecture timestamp:(id)timestamp;
  2451. @end
  2452.  
  2453. @interface UnityPLCrashReportApplicationInfo : NSObject {
  2454. NSString* _applicationIdentifier;
  2455. NSString* _applicationVersion;
  2456. }
  2457. @property(readonly, assign, nonatomic) NSString* applicationVersion;
  2458. @property(readonly, assign, nonatomic) NSString* applicationIdentifier;
  2459. -(void)dealloc;
  2460. -(id)initWithApplicationIdentifier:(id)applicationIdentifier applicationVersion:(id)version;
  2461. @end
  2462.  
  2463. @interface UnityPLCrashReportThreadInfo : NSObject {
  2464. int _threadNumber;
  2465. NSArray* _stackFrames;
  2466. BOOL _crashed;
  2467. NSArray* _registers;
  2468. }
  2469. @property(readonly, assign, nonatomic) NSArray* registers;
  2470. @property(readonly, assign, nonatomic) BOOL crashed;
  2471. @property(readonly, assign, nonatomic) NSArray* stackFrames;
  2472. @property(readonly, assign, nonatomic) int threadNumber;
  2473. -(void)dealloc;
  2474. -(id)initWithThreadNumber:(int)threadNumber stackFrames:(id)frames crashed:(BOOL)crashed registers:(id)registers;
  2475. @end
  2476.  
  2477. @interface UnityPLCrashReportBinaryImageInfo : NSObject {
  2478. UnityPLCrashReportProcessorInfo* _processorInfo;
  2479. unsigned long long _baseAddress;
  2480. unsigned long long _imageSize;
  2481. NSString* _imageName;
  2482. BOOL _hasImageUUID;
  2483. NSString* _imageUUID;
  2484. }
  2485. @property(readonly, assign, nonatomic) NSString* imageUUID;
  2486. @property(readonly, assign, nonatomic) BOOL hasImageUUID;
  2487. @property(readonly, assign, nonatomic) NSString* imageName;
  2488. @property(readonly, assign, nonatomic) unsigned long long imageSize;
  2489. @property(readonly, assign, nonatomic) unsigned long long imageBaseAddress;
  2490. @property(readonly, assign, nonatomic) UnityPLCrashReportProcessorInfo* codeType;
  2491. -(void)dealloc;
  2492. -(id)initWithCodeType:(id)codeType baseAddress:(unsigned long long)address size:(unsigned long long)size name:(id)name uuid:(id)uuid;
  2493. @end
  2494.  
  2495. @interface UnityPLCrashReportExceptionInfo : NSObject {
  2496. NSString* _name;
  2497. NSString* _reason;
  2498. NSArray* _stackFrames;
  2499. }
  2500. @property(readonly, assign, nonatomic) NSArray* stackFrames;
  2501. @property(readonly, assign, nonatomic) NSString* exceptionReason;
  2502. @property(readonly, assign, nonatomic) NSString* exceptionName;
  2503. -(void)dealloc;
  2504. -(id)initWithExceptionName:(id)exceptionName reason:(id)reason stackFrames:(id)frames;
  2505. -(id)initWithExceptionName:(id)exceptionName reason:(id)reason;
  2506. @end
  2507.  
  2508. @interface UnityPLCrashReportSignalInfo : NSObject {
  2509. NSString* _name;
  2510. NSString* _code;
  2511. unsigned long long _address;
  2512. }
  2513. @property(readonly, assign, nonatomic) unsigned long long address;
  2514. @property(readonly, assign, nonatomic) NSString* code;
  2515. @property(readonly, assign, nonatomic) NSString* name;
  2516. -(void)dealloc;
  2517. -(id)initWithSignalName:(id)signalName code:(id)code address:(unsigned long long)address;
  2518. @end
  2519.  
  2520. @interface UnityPLCrashReportProcessInfo : NSObject {
  2521. NSString* _processName;
  2522. unsigned _processID;
  2523. NSString* _processPath;
  2524. NSDate* _processStartTime;
  2525. NSString* _parentProcessName;
  2526. unsigned _parentProcessID;
  2527. BOOL _native;
  2528. }
  2529. @property(readonly, assign, nonatomic) BOOL native;
  2530. @property(readonly, assign, nonatomic) unsigned parentProcessID;
  2531. @property(readonly, assign, nonatomic) NSString* parentProcessName;
  2532. @property(readonly, assign, nonatomic) NSDate* processStartTime;
  2533. @property(readonly, assign, nonatomic) NSString* processPath;
  2534. @property(readonly, assign, nonatomic) unsigned processID;
  2535. @property(readonly, assign, nonatomic) NSString* processName;
  2536. -(void)dealloc;
  2537. -(id)initWithProcessName:(id)processName processID:(unsigned)anId processPath:(id)path processStartTime:(id)time parentProcessName:(id)name parentProcessID:(unsigned)anId6 native:(BOOL)native;
  2538. @end
  2539.  
  2540. @interface UnityPLCrashReportTextFormatter : NSObject <PLCrashReportFormatter> {
  2541. int _textFormat;
  2542. unsigned _stringEncoding;
  2543. }
  2544. +(id)stringValueForCrashReport:(id)crashReport withTextFormat:(int)textFormat;
  2545. +(id)formatStackFrame:(id)frame frameIndex:(unsigned)index report:(id)report lp64:(BOOL)a64;
  2546. -(id)formatReport:(id)report error:(id*)error;
  2547. -(id)initWithTextFormat:(int)textFormat stringEncoding:(unsigned)encoding;
  2548. @end
  2549.  
  2550. @interface UnityPLCrashReportProcessorInfo : NSObject {
  2551. int _typeEncoding;
  2552. unsigned long long _type;
  2553. unsigned long long _subtype;
  2554. }
  2555. @property(readonly, assign, nonatomic) unsigned long long subtype;
  2556. @property(readonly, assign, nonatomic) unsigned long long type;
  2557. @property(readonly, assign, nonatomic) int typeEncoding;
  2558. -(id)initWithTypeEncoding:(int)typeEncoding type:(unsigned long long)type subtype:(unsigned long long)subtype;
  2559. @end
  2560.  
  2561. @interface UnityPLCrashReportMachineInfo : NSObject {
  2562. NSString* _modelName;
  2563. UnityPLCrashReportProcessorInfo* _processorInfo;
  2564. unsigned _processorCount;
  2565. unsigned _logicalProcessorCount;
  2566. }
  2567. @property(readonly, assign, nonatomic) unsigned logicalProcessorCount;
  2568. @property(readonly, assign, nonatomic) unsigned processorCount;
  2569. @property(readonly, assign, nonatomic) UnityPLCrashReportProcessorInfo* processorInfo;
  2570. @property(readonly, assign, nonatomic) NSString* modelName;
  2571. -(void)dealloc;
  2572. -(id)initWithModelName:(id)modelName processorInfo:(id)info processorCount:(unsigned)count logicalProcessorCount:(unsigned)count4;
  2573. @end
  2574.  
  2575. @interface UnityPLCrashReportStackFrameInfo : NSObject {
  2576. unsigned long long _instructionPointer;
  2577. UnityPLCrashReportSymbolInfo* _symbolInfo;
  2578. }
  2579. @property(readonly, assign, nonatomic) UnityPLCrashReportSymbolInfo* symbolInfo;
  2580. @property(readonly, assign, nonatomic) unsigned long long instructionPointer;
  2581. -(void)dealloc;
  2582. -(id)initWithInstructionPointer:(unsigned long long)instructionPointer symbolInfo:(id)info;
  2583. @end
  2584.  
  2585. @interface UnityPLCrashReportRegisterInfo : NSObject {
  2586. NSString* _registerName;
  2587. unsigned long long _registerValue;
  2588. }
  2589. @property(readonly, assign, nonatomic) unsigned long long registerValue;
  2590. @property(readonly, assign, nonatomic) NSString* registerName;
  2591. -(void)dealloc;
  2592. -(id)initWithRegisterName:(id)registerName registerValue:(unsigned long long)value;
  2593. @end
  2594.  
  2595. @interface UnityPLCrashReportSymbolInfo : NSObject {
  2596. NSString* _symbolName;
  2597. unsigned long long _startAddress;
  2598. unsigned long long _endAddress;
  2599. }
  2600. @property(readonly, assign, nonatomic) unsigned long long endAddress;
  2601. @property(readonly, assign, nonatomic) unsigned long long startAddress;
  2602. @property(readonly, assign, nonatomic) NSString* symbolName;
  2603. -(void)dealloc;
  2604. -(id)initWithSymbolName:(id)symbolName startAddress:(unsigned long long)address endAddress:(unsigned long long)address3;
  2605. @end
  2606.  
  2607. @interface UnityPLCrashMachExceptionServer : NSObject {
  2608. plcrash_exception_server_context* _serverContext;
  2609. }
  2610. @property(readonly, assign, nonatomic) unsigned serverThread;
  2611. -(void)dealloc;
  2612. -(id)exceptionPortWithMask:(unsigned)mask error:(id*)error;
  2613. -(unsigned)copySendRightForServerAndReturningError:(id*)serverAndReturningError;
  2614. -(id)initWithCallBack:(/*function-pointer*/ void*)callBack context:(void*)context error:(id*)error;
  2615. @end
  2616.  
  2617. @interface UnityPLCrashProcessInfo : NSObject {
  2618. int _processID;
  2619. NSString* _processName;
  2620. int _parentProcessID;
  2621. timeval _startTime;
  2622. BOOL _traced;
  2623. }
  2624. @property(readonly, assign, nonatomic, getter=isTraced) BOOL traced;
  2625. @property(readonly, assign, nonatomic) timeval startTime;
  2626. @property(readonly, assign, nonatomic) int parentProcessID;
  2627. @property(readonly, assign, nonatomic) NSString* processName;
  2628. @property(readonly, assign, nonatomic) int processID;
  2629. +(id)currentProcessInfo;
  2630. -(void)dealloc;
  2631. -(id)initWithProcessID:(int)processID;
  2632. @end
  2633.  
  2634. @interface UnityPLCrashHostInfo : NSObject {
  2635. PLCrashHostInfoVersion _darwinVersion;
  2636. }
  2637. @property(readonly, assign, nonatomic) PLCrashHostInfoVersion darwinVersion;
  2638. +(id)currentHostInfo;
  2639. -(id)init;
  2640. @end
  2641.  
  2642. @interface UnityPLCrashMachExceptionPort : NSObject {
  2643. unsigned _mask;
  2644. unsigned _port;
  2645. int _behavior;
  2646. int _flavor;
  2647. }
  2648. @property(readonly, assign, nonatomic) int flavor;
  2649. @property(readonly, assign, nonatomic) int behavior;
  2650. @property(readonly, assign, nonatomic) unsigned mask;
  2651. @property(readonly, assign, nonatomic) unsigned server_port;
  2652. +(id)exceptionPortsForThread:(unsigned)thread mask:(unsigned)mask error:(id*)error;
  2653. +(id)exceptionPortsForTask:(unsigned)task mask:(unsigned)mask error:(id*)error;
  2654. -(BOOL)registerForThread:(unsigned)thread previousPortSet:(id*)set error:(id*)error;
  2655. -(BOOL)registerForTask:(unsigned)task previousPortSet:(id*)set error:(id*)error;
  2656. -(void)dealloc;
  2657. -(id)initWithServerPort:(unsigned)serverPort mask:(unsigned)mask behavior:(int)behavior flavor:(int)flavor;
  2658. @end
  2659.  
  2660. @interface UnityPLCrashMachExceptionPortSet : NSObject <NSFastEnumeration> {
  2661. NSSet* _state_set;
  2662. plcrash_mach_exception_port_set _asyncSafeRepresentation;
  2663. }
  2664. @property(readonly, assign, nonatomic) plcrash_mach_exception_port_set asyncSafeRepresentation;
  2665. @property(readonly, assign, nonatomic) NSSet* set;
  2666. -(unsigned)countByEnumeratingWithState:(XXStruct_kFm5bA*)state objects:(id*)objects count:(unsigned)count;
  2667. -(void)dealloc;
  2668. -(id)initWithAsyncSafeRepresentation:(plcrash_mach_exception_port_set)asyncSafeRepresentation;
  2669. -(id)initWithSet:(id)set;
  2670. @end
  2671.  
  2672. @interface UnityPLCrashReporterConfig : NSObject {
  2673. unsigned _signalHandlerType;
  2674. unsigned _symbolicationStrategy;
  2675. }
  2676. @property(readonly, assign, nonatomic) unsigned symbolicationStrategy;
  2677. @property(readonly, assign, nonatomic) unsigned signalHandlerType;
  2678. +(id)defaultConfiguration;
  2679. -(id)initWithSignalHandlerType:(unsigned)signalHandlerType symbolicationStrategy:(unsigned)strategy;
  2680. -(id)init;
  2681. @end
  2682.  
  2683. @interface UnityPLCrashUncaughtExceptionHandler : NSObject {
  2684. }
  2685. @end
  2686.  
  2687. @interface UnityPLCrashReportMachExceptionInfo : NSObject {
  2688. unsigned long long _type;
  2689. NSArray* _codes;
  2690. }
  2691. @property(readonly, assign, nonatomic) NSArray* codes;
  2692. @property(readonly, assign, nonatomic) unsigned long long type;
  2693. -(void)dealloc;
  2694. -(id)initWithType:(unsigned long long)type codes:(id)codes;
  2695. @end
  2696.  
  2697. __attribute__((visibility("hidden")))
  2698. @interface OutputCoreAudioObjC : NSObject {
  2699. OutputCoreAudio* mOutput;
  2700. }
  2701. -(void)dealloc;
  2702. -(void)deactivate;
  2703. -(void)activate:(OutputCoreAudio*)activate;
  2704. -(void)becomeActive:(id)active;
  2705. -(void)screenConnect:(id)connect;
  2706. -(void)enterForeground:(id)foreground;
  2707. @end
  2708.  
  2709. __attribute__((visibility("hidden")))
  2710. @interface NIATrustedCertificatesAuthenticator : NSObject <NSURLSessionDelegate> {
  2711. }
  2712. @property(readonly, copy) NSString* debugDescription;
  2713. @property(readonly, copy) NSString* description;
  2714. @property(readonly, assign) Class superclass;
  2715. @property(readonly, assign) unsigned hash;
  2716. -(void)URLSession:(id)session didReceiveChallenge:(id)challenge completionHandler:(id)handler;
  2717. @end
  2718.  
  2719. __attribute__((visibility("hidden")))
  2720. @interface NIAInAppBillingProvider : NSObject <SKPaymentTransactionObserver, SKProductsRequestDelegate> {
  2721. SKProductsRequest* _productsRequest;
  2722. NSObject<OS_dispatch_queue>* _workQueue;
  2723. BOOL _addedObserver;
  2724. shared_ptr<nia::game::iap::ios::IosBillingDelegate> _delegate;
  2725. NSMutableDictionary* _itemToProduct;
  2726. }
  2727. @property(readonly, copy) NSString* debugDescription;
  2728. @property(readonly, copy) NSString* description;
  2729. @property(readonly, assign) Class superclass;
  2730. @property(readonly, assign) unsigned hash;
  2731. @property(readonly, assign) BOOL isTransactionInProgress;
  2732. @property(readonly, assign) BOOL isBillingAvailable;
  2733. @property(retain) NSMutableDictionary* itemToProduct;
  2734. +(id)formatPrice:(id)price;
  2735. -(id).cxx_construct;
  2736. -(void).cxx_destruct;
  2737. -(void)productsRequest:(id)request didReceiveResponse:(id)response;
  2738. -(void)paymentQueue:(id)queue removedTransactions:(id)transactions;
  2739. -(void)paymentQueue:(id)queue updatedTransactions:(id)transactions;
  2740. -(void)removeObserver;
  2741. -(void)addObserver;
  2742. -(id)getProductForItem:(id)item;
  2743. -(void)processTransactions:(id)transactions;
  2744. -(void)tryToCompleteOutstandingTransactions;
  2745. -(void)removeTransactions:(id)transactions;
  2746. -(void)finishTransaction:(id)transaction;
  2747. -(void)didProcessAppleBilling:(BOOL)billing transactions:(id)transactions;
  2748. -(void)completeOnePurchase:(id)purchase;
  2749. -(void)purchaseItem:(id)item forUser:(id)user;
  2750. -(void)purchasableItems:(id)items;
  2751. -(void)setDelegate:(const shared_ptr<nia::game::iap::ios::IosBillingDelegate>*)delegate;
  2752. -(void)dealloc;
  2753. -(id)initWithDelegate:(const shared_ptr<nia::game::iap::ios::IosBillingDelegate>*)delegate;
  2754. @end
  2755.  
  2756. __attribute__((visibility("hidden")))
  2757. @interface PurchasableItemDetails : NSObject {
  2758. NSString* _itemId;
  2759. NSString* _title;
  2760. NSString* _itemDescription;
  2761. NSString* _price;
  2762. }
  2763. @property(readonly, assign) NSString* price;
  2764. @property(readonly, assign) NSString* itemDescription;
  2765. @property(readonly, assign) NSString* title;
  2766. @property(readonly, assign) NSString* itemId;
  2767. -(void).cxx_destruct;
  2768. -(id)init:(id)init title:(id)title description:(id)description price:(id)price;
  2769. @end
  2770.  
  2771. __attribute__((visibility("hidden")))
  2772. @interface NIAIosAuthenticationManager : NSObject <GIDSignInDelegate, GIDSignInUIDelegate, SFSafariViewControllerDelegate> {
  2773. id _loginCompletionHandler;
  2774. id _logoutCompletionHandler;
  2775. GIDGoogleUser* _signedInUser;
  2776. BOOL _loginWithUI;
  2777. BOOL _loginFinished;
  2778. GIDSignIn* _signIn;
  2779. UIViewController* _presentedViewController;
  2780. }
  2781. @property(readonly, copy) NSString* debugDescription;
  2782. @property(readonly, copy) NSString* description;
  2783. @property(readonly, assign) Class superclass;
  2784. @property(readonly, assign) unsigned hash;
  2785. -(void).cxx_destruct;
  2786. -(void)signIn:(id)anIn dismissViewController:(id)controller;
  2787. -(void)signIn:(id)anIn presentViewController:(id)controller;
  2788. -(id)userEmail;
  2789. -(id)accessToken;
  2790. -(id)authentication;
  2791. -(void)signIn:(id)anIn didDisconnectWithUser:(id)user withError:(id)error;
  2792. -(void)signIn:(id)anIn didSignInForUser:(id)user withError:(id)error;
  2793. -(void)refreshIdTokenWithCompletion:(id)completion;
  2794. -(void)reauthorizeUser:(id)user;
  2795. -(void)performSignIn;
  2796. -(void)getAccountOrLogin:(id)login completion:(id)completion;
  2797. -(void)clearAuth:(id)auth;
  2798. -(int)statusForError:(id)error;
  2799. -(id)init;
  2800. @end
  2801.  
  2802. __attribute__((visibility("hidden")))
  2803. @interface NIAIosActivityManager : NSObject {
  2804. Activity _userActivity;
  2805. CMMotionActivityManager* _activityManager;
  2806. NSOperationQueue* _activityQueue;
  2807. IosActivityProvider* _activityProvider;
  2808. }
  2809. @property(assign, nonatomic) IosActivityProvider* activityProvider;
  2810. -(id).cxx_construct;
  2811. -(void).cxx_destruct;
  2812. -(void)stop;
  2813. -(void)start;
  2814. -(void)handleActivityUpdate:(id)update;
  2815. -(int)mapConfidenceToInt:(int)int;
  2816. -(void)setLocationProvider:(IosActivityProvider*)provider;
  2817. -(void)dealloc;
  2818. -(void)checkAuthorization:(id)authorization;
  2819. -(id)init;
  2820. @end
  2821.  
  2822. __attribute__((visibility("hidden")))
  2823. @interface NIAIosLocationManager : NSObject <CLLocationManagerDelegate> {
  2824. LocationUpdate _locationProto;
  2825. CLLocationManager* _locationManager;
  2826. NSObject<OS_dispatch_queue>* _work_queue;
  2827. LocationProvider* _locationProvider;
  2828. LocationParameters _locationParameters;
  2829. }
  2830. @property(readonly, copy) NSString* debugDescription;
  2831. @property(readonly, copy) NSString* description;
  2832. @property(readonly, assign) Class superclass;
  2833. @property(readonly, assign) unsigned hash;
  2834. @property(assign, nonatomic) LocationParameters locationParameters;
  2835. @property(assign, nonatomic) LocationProvider* locationProvider;
  2836. -(id).cxx_construct;
  2837. -(void).cxx_destruct;
  2838. -(void)locationManager:(id)manager didFailWithError:(id)error;
  2839. -(void)locationManager:(id)manager didUpdateHeading:(id)heading;
  2840. -(void)locationManager:(id)manager didUpdateLocations:(id)locations;
  2841. -(int)requestLocationPermissions;
  2842. -(void)stop;
  2843. -(void)startUpdating;
  2844. -(void)start;
  2845. -(double)desiredAccuracy;
  2846. -(void)dealloc;
  2847. -(id)init;
  2848. @end
  2849.  
  2850. __attribute__((visibility("hidden")))
  2851. @interface NIAIosSensorManager : NSObject {
  2852. SensorUpdate _sensorProto;
  2853. CMMotionManager* _motionManager;
  2854. NSOperationQueue* _sensorQueue;
  2855. IosSensorProvider* _sensorProvider;
  2856. }
  2857. @property(assign, nonatomic) IosSensorProvider* sensorProvider;
  2858. -(id).cxx_construct;
  2859. -(void).cxx_destruct;
  2860. -(void)stop;
  2861. -(void)start;
  2862. -(void)processDeviceMotion:(id)motion error:(id)error;
  2863. -(void)dealloc;
  2864. -(id)init;
  2865. @end
  2866.  
  2867. __attribute__((visibility("hidden")))
  2868. @interface GSDK_GTMOAuth2AuthorizationArgs : NSObject {
  2869. NSMutableURLRequest* request_;
  2870. id delegate_;
  2871. SEL sel_;
  2872. id completionHandler_;
  2873. NSThread* thread_;
  2874. NSError* error_;
  2875. }
  2876. @property(retain) NSError* error;
  2877. @property(retain) NSThread* thread;
  2878. @property(copy) id completionHandler;
  2879. @property(assign) SEL selector;
  2880. @property(retain) id delegate;
  2881. @property(retain) NSMutableURLRequest* request;
  2882. +(id)argsWithRequest:(id)request delegate:(id)delegate selector:(SEL)selector completionHandler:(id)handler thread:(id)thread;
  2883. -(void)dealloc;
  2884. @end
  2885.  
  2886. __attribute__((visibility("hidden")))
  2887. @interface GSDK_GTMOAuth2Authentication : NSObject <GTMFetcherAuthorizationProtocol> {
  2888. NSString* clientID_;
  2889. NSString* clientSecret_;
  2890. NSString* redirectURI_;
  2891. NSMutableDictionary* parameters_;
  2892. NSURL* tokenURL_;
  2893. NSDate* expirationDate_;
  2894. NSString* authorizationTokenKey_;
  2895. NSDictionary* additionalTokenRequestParameters_;
  2896. NSDictionary* additionalGrantTypeRequestParameters_;
  2897. GSDK_GTMSessionFetcher* refreshFetcher_;
  2898. NSMutableArray* authorizationQueue_;
  2899. id<GTMSessionFetcherServiceProtocol> fetcherService_;
  2900. BOOL shouldAuthorizeAllRequests_;
  2901. id userData_;
  2902. NSMutableDictionary* properties_;
  2903. }
  2904. @property(readonly, copy) NSString* debugDescription;
  2905. @property(readonly, copy) NSString* description;
  2906. @property(readonly, assign) Class superclass;
  2907. @property(readonly, assign) unsigned hash;
  2908. @property(readonly, assign) NSString* authorizationToken;
  2909. @property(retain) NSMutableArray* authorizationQueue;
  2910. @property(retain) GSDK_GTMSessionFetcher* refreshFetcher;
  2911. @property(copy) NSString* authorizationTokenKey;
  2912. @property(assign) id<GTMSessionFetcherServiceProtocol> fetcherService;
  2913. @property(retain) NSDictionary* properties;
  2914. @property(retain) id userData;
  2915. @property(assign) BOOL shouldAuthorizeAllRequests;
  2916. @property(readonly, assign) BOOL canAuthorize;
  2917. @property(retain) NSString* userEmailIsVerified;
  2918. @property(retain) NSString* userEmail;
  2919. @property(retain) NSString* userID;
  2920. @property(copy) NSString* serviceProvider;
  2921. @property(copy) NSDate* expirationDate;
  2922. @property(copy) NSURL* tokenURL;
  2923. @property(retain) NSString* errorString;
  2924. @property(retain) NSString* code;
  2925. @property(retain) NSNumber* expiresIn;
  2926. @property(retain) NSString* refreshToken;
  2927. @property(retain) NSString* accessToken;
  2928. @property(readonly, assign) NSDictionary* parameters;
  2929. @property(retain) NSDictionary* additionalGrantTypeRequestParameters;
  2930. @property(retain) NSDictionary* additionalTokenRequestParameters;
  2931. @property(retain) NSString* refreshScope;
  2932. @property(retain) NSString* assertion;
  2933. @property(retain) NSString* tokenType;
  2934. @property(retain) NSString* scope;
  2935. @property(copy) NSString* redirectURI;
  2936. @property(copy) NSString* clientSecret;
  2937. @property(copy) NSString* clientID;
  2938. +(id)scopeWithStrings:(id)strings;
  2939. +(id)dictionaryWithResponseData:(id)responseData;
  2940. +(id)dictionaryWithResponseString:(id)responseString;
  2941. +(id)unencodedOAuthParameterForString:(id)string;
  2942. +(void)invokeDelegate:(id)delegate selector:(SEL)selector object:(id)object object:(id)object4 object:(id)object5;
  2943. +(id)encodedQueryParametersForDictionary:(id)dictionary;
  2944. +(id)encodedOAuthValueForString:(id)string;
  2945. +(id)dictionaryWithJSONData:(id)jsondata;
  2946. +(id)authenticationWithServiceProvider:(id)serviceProvider tokenURL:(id)url redirectURI:(id)uri clientID:(id)anId clientSecret:(id)secret;
  2947. -(id)propertyForKey:(id)key;
  2948. -(void)setProperty:(id)property forKey:(id)key;
  2949. -(void)addParametersFromDictionary:(id)dictionary;
  2950. -(void)setParameter:(id)parameter forKey:(id)key;
  2951. -(id)parameterForKey:(id)key;
  2952. -(void)updateExpirationDate;
  2953. -(void)reset;
  2954. -(BOOL)primeForRefresh;
  2955. -(id)persistenceResponseString;
  2956. -(void)setKeysForPersistenceResponseString:(id)persistenceResponseString;
  2957. -(void)notifyFetchIsRunning:(BOOL)running fetcher:(id)fetcher type:(id)type;
  2958. -(void)tokenFetcher:(id)fetcher finishedWithData:(id)data error:(id)error;
  2959. -(id)beginTokenFetchWithDelegate:(id)delegate didFinishSelector:(SEL)selector;
  2960. -(id)userAgent;
  2961. -(void)waitForCompletionWithTimeout:(double)timeout;
  2962. -(BOOL)shouldRefreshAccessToken;
  2963. -(BOOL)authorizeRequest:(id)request;
  2964. -(void)invokeCallbackArgs:(id)args;
  2965. -(BOOL)authorizeRequestImmediateArgs:(id)args;
  2966. -(void)stopAuthorizationForRequest:(id)request;
  2967. -(void)stopAuthorization;
  2968. -(BOOL)isAuthorizedRequest:(id)request;
  2969. -(BOOL)isAuthorizingRequest:(id)request;
  2970. -(void)auth:(id)auth finishedRefreshWithFetcher:(id)fetcher error:(id)error;
  2971. -(BOOL)authorizeRequestArgs:(id)args;
  2972. -(void)authorizeRequest:(id)request delegate:(id)delegate didFinishSelector:(SEL)selector;
  2973. -(void)authorizeRequest:(id)request completionHandler:(id)handler;
  2974. -(void)setKeysForResponseJSONData:(id)responseJSONData;
  2975. -(void)setKeysForResponseString:(id)responseString;
  2976. -(void)setKeysForResponseDictionary:(id)responseDictionary;
  2977. -(void)dealloc;
  2978. -(id)init;
  2979. @end
  2980.  
  2981. __attribute__((visibility("hidden")))
  2982. @interface GSDK_GTMOAuth2SignIn : NSObject {
  2983. GSDK_GTMOAuth2Authentication* auth_;
  2984. NSURL* authorizationURL_;
  2985. NSDictionary* additionalAuthorizationParameters_;
  2986. id delegate_;
  2987. SEL webRequestSelector_;
  2988. SEL finishedSelector_;
  2989. BOOL hasHandledCallback_;
  2990. GSDK_GTMSessionFetcher* pendingFetcher_;
  2991. BOOL shouldFetchGoogleUserEmail_;
  2992. BOOL shouldFetchGoogleUserProfile_;
  2993. NSDictionary* userProfile_;
  2994. SCNetworkReachabilityRef reachabilityRef_;
  2995. NSTimer* networkLossTimer_;
  2996. double networkLossTimeoutInterval_;
  2997. BOOL hasNotifiedNetworkLoss_;
  2998. id userData_;
  2999. }
  3000. @property(retain) GSDK_GTMSessionFetcher* pendingFetcher;
  3001. @property(assign) BOOL hasHandledCallback;
  3002. @property(assign, nonatomic) double networkLossTimeoutInterval;
  3003. @property(retain, nonatomic) NSDictionary* userProfile;
  3004. @property(assign, nonatomic) BOOL shouldFetchGoogleUserProfile;
  3005. @property(assign, nonatomic) BOOL shouldFetchGoogleUserEmail;
  3006. @property(retain, nonatomic) id userData;
  3007. @property(assign, nonatomic) SEL finishedSelector;
  3008. @property(assign, nonatomic) SEL webRequestSelector;
  3009. @property(retain, nonatomic) id delegate;
  3010. @property(retain, nonatomic) NSDictionary* additionalAuthorizationParameters;
  3011. @property(retain, nonatomic) NSURL* authorizationURL;
  3012. @property(retain, nonatomic) GSDK_GTMOAuth2Authentication* authentication;
  3013. +(id)decodeWebSafeBase64:(id)a64;
  3014. +(void)revokeTokenForGoogleAuthentication:(id)googleAuthentication;
  3015. +(id)userInfoFetcherWithAuth:(id)auth;
  3016. +(id)mutableURLRequestWithURL:(id)url paramString:(id)string;
  3017. +(id)standardGoogleAuthenticationForScope:(id)scope clientID:(id)anId clientSecret:(id)secret;
  3018. +(id)nativeClientRedirectURI;
  3019. +(id)googleUserInfoURL;
  3020. +(id)googleRevocationURL;
  3021. +(id)googleTokenURL;
  3022. +(id)googleAuthorizationURL;
  3023. -(void)stopReachabilityCheck;
  3024. -(void)reachabilityTimerFired:(id)fired;
  3025. -(void)reachabilityTarget:(SCNetworkReachabilityRef)target changedFlags:(unsigned)flags;
  3026. -(void)destroyUnreachabilityTimer;
  3027. -(void)startReachabilityCheck;
  3028. -(void)invokeFinalCallbackWithError:(id)error;
  3029. -(void)finishSignInWithError:(id)error;
  3030. -(void)updateGoogleUserInfoWithData:(id)data;
  3031. -(void)infoFetcher:(id)fetcher finishedWithData:(id)data error:(id)error;
  3032. -(void)fetchGoogleUserInfo;
  3033. -(void)auth:(id)auth finishedWithFetcher:(id)fetcher error:(id)error;
  3034. -(void)authCodeObtained;
  3035. -(BOOL)loadFailedWithError:(id)error;
  3036. -(BOOL)cookiesChanged:(id)changed;
  3037. -(BOOL)titleChanged:(id)changed;
  3038. -(BOOL)requestRedirectedToRequest:(id)request;
  3039. -(void)closeTheWindow;
  3040. -(void)windowWasClosed;
  3041. -(BOOL)startWebRequest;
  3042. -(id)parametersForWebRequest;
  3043. -(BOOL)startSigningIn;
  3044. -(void)cancelSigningIn;
  3045. -(void)dealloc;
  3046. -(id)initWithAuthentication:(id)authentication authorizationURL:(id)url delegate:(id)delegate webRequestSelector:(SEL)selector finishedSelector:(SEL)selector5;
  3047. -(void)addScopeForGoogleUserInfo;
  3048. @end
  3049.  
  3050. __attribute__((visibility("hidden")))
  3051. @interface GSDK_GTMOAuth2ViewControllerTouch : UIViewController <UINavigationControllerDelegate, UIWebViewDelegate> {
  3052. UIButton* backButton_;
  3053. UIButton* forwardButton_;
  3054. UIActivityIndicatorView* initialActivityIndicator_;
  3055. UIView* navButtonsView_;
  3056. UIBarButtonItem* rightBarButtonItem_;
  3057. UIWebView* webView_;
  3058. GSDK_GTMOAuth2SignIn* signIn_;
  3059. NSURLRequest* request_;
  3060. id delegate_;
  3061. SEL finishedSelector_;
  3062. id completionBlock_;
  3063. id popViewBlock_;
  3064. NSString* keychainItemName_;
  3065. void* keychainItemAccessibility_;
  3066. NSString* initialHTMLString_;
  3067. int mustShowActivityIndicator_;
  3068. NSURL* browserCookiesURL_;
  3069. id userData_;
  3070. NSMutableDictionary* properties_;
  3071. BOOL isViewShown_;
  3072. BOOL didViewAppear_;
  3073. BOOL hasNotifiedWebViewStartedLoading_;
  3074. BOOL hasCalledFinished_;
  3075. BOOL hasDoneFinalRedirect_;
  3076. BOOL didDismissSelf_;
  3077. unsigned savedCookiePolicy_;
  3078. NSArray* systemCookies_;
  3079. NSArray* signInCookies_;
  3080. }
  3081. @property(readonly, copy) NSString* debugDescription;
  3082. @property(readonly, copy) NSString* description;
  3083. @property(readonly, assign) Class superclass;
  3084. @property(readonly, assign) unsigned hash;
  3085. @property(copy, nonatomic) NSArray* signInCookies;
  3086. @property(copy, nonatomic) NSArray* systemCookies;
  3087. @property(copy, nonatomic) NSURLRequest* request;
  3088. @property(retain, nonatomic) NSDictionary* properties;
  3089. @property(retain, nonatomic) id userData;
  3090. @property(retain, nonatomic) NSURL* browserCookiesURL;
  3091. @property(assign, nonatomic) double networkLossTimeoutInterval;
  3092. @property(copy, nonatomic) id popViewBlock;
  3093. @property(retain, nonatomic) UIWebView* webView;
  3094. @property(retain, nonatomic) UIBarButtonItem* rightBarButtonItem;
  3095. @property(retain, nonatomic) UIView* navButtonsView;
  3096. @property(retain, nonatomic) UIActivityIndicatorView* initialActivityIndicator;
  3097. @property(retain, nonatomic) UIButton* forwardButton;
  3098. @property(retain, nonatomic) UIButton* backButton;
  3099. @property(readonly, retain, nonatomic) GSDK_GTMOAuth2SignIn* signIn;
  3100. @property(readonly, retain, nonatomic) GSDK_GTMOAuth2Authentication* authentication;
  3101. @property(assign, nonatomic) BOOL showsInitialActivityIndicator;
  3102. @property(copy, nonatomic) NSString* initialHTMLString;
  3103. @property(assign, nonatomic) void* keychainItemAccessibility;
  3104. @property(copy, nonatomic) NSString* keychainItemName;
  3105. +(void)revokeTokenForGoogleAuthentication:(id)googleAuthentication;
  3106. +(void)setSignInClass:(Class)aClass;
  3107. +(Class)signInClass;
  3108. +(BOOL)saveParamsToKeychainForName:(id)name accessibility:(void*)accessibility authentication:(id)authentication error:(id*)error;
  3109. +(BOOL)saveParamsToKeychainForName:(id)name authentication:(id)authentication;
  3110. +(BOOL)removeAuthFromKeychainForName:(id)name;
  3111. +(BOOL)authorizeFromKeychainForName:(id)name authentication:(id)authentication error:(id*)error;
  3112. +(id)authForGoogleFromKeychainForName:(id)name clientID:(id)anId clientSecret:(id)secret error:(id*)error;
  3113. +(id)authForGoogleFromKeychainForName:(id)name clientID:(id)anId clientSecret:(id)secret;
  3114. +(id)authNibBundle;
  3115. +(id)authNibName;
  3116. +(id)controllerWithAuthentication:(id)authentication authorizationURL:(id)url keychainItemName:(id)name completionHandler:(id)handler;
  3117. +(id)controllerWithAuthentication:(id)authentication authorizationURL:(id)url keychainItemName:(id)name delegate:(id)delegate finishedSelector:(SEL)selector;
  3118. +(id)controllerWithScope:(id)scope clientID:(id)anId clientSecret:(id)secret keychainItemName:(id)name completionHandler:(id)handler;
  3119. +(id)controllerWithScope:(id)scope clientID:(id)anId clientSecret:(id)secret keychainItemName:(id)name delegate:(id)delegate finishedSelector:(SEL)selector;
  3120. -(void)webView:(id)view didFailLoadWithError:(id)error;
  3121. -(void)webViewDidFinishLoad:(id)webView;
  3122. -(void)webViewDidStartLoad:(id)webView;
  3123. -(void)updateUI;
  3124. -(BOOL)webView:(id)view shouldStartLoadWithRequest:(id)request navigationType:(int)type;
  3125. -(void)viewDidLayoutSubviews;
  3126. -(BOOL)isBeingObscured:(id)obscured;
  3127. -(void)viewWillDisappear:(BOOL)view;
  3128. -(void)viewDidAppear:(BOOL)view;
  3129. -(void)viewWillAppear:(BOOL)view;
  3130. -(BOOL)isNavigationBarTranslucent;
  3131. -(void)moveWebViewFromUnderNavigationBar;
  3132. -(void)signIn:(id)anIn finishedWithAuth:(id)auth error:(id)error;
  3133. -(void)signIn:(id)anIn displayRequest:(id)request;
  3134. -(id)propertyForKey:(id)key;
  3135. -(void)setProperty:(id)property forKey:(id)key;
  3136. -(BOOL)shouldUseKeychain;
  3137. -(id)swapBrowserCookies:(id)cookies;
  3138. -(id)systemCookieStorage;
  3139. -(void)swapInCookies;
  3140. -(void)swapOutCookies;
  3141. -(void)cancelSigningIn;
  3142. -(void)notifyWithName:(id)name webView:(id)view kind:(id)kind;
  3143. -(void)popView;
  3144. -(void)setUpNavigation;
  3145. -(void)viewDidLoad;
  3146. -(void)loadView;
  3147. -(void)dealloc;
  3148. -(id)initWithAuthentication:(id)authentication authorizationURL:(id)url keychainItemName:(id)name completionHandler:(id)handler;
  3149. -(id)initWithAuthentication:(id)authentication authorizationURL:(id)url keychainItemName:(id)name delegate:(id)delegate finishedSelector:(SEL)selector;
  3150. -(id)initWithScope:(id)scope clientID:(id)anId clientSecret:(id)secret keychainItemName:(id)name completionHandler:(id)handler;
  3151. -(id)initWithScope:(id)scope clientID:(id)anId clientSecret:(id)secret keychainItemName:(id)name delegate:(id)delegate finishedSelector:(SEL)selector;
  3152. @end
  3153.  
  3154. __attribute__((visibility("hidden")))
  3155. @interface GSDK_GTMOAuth2Keychain : NSObject {
  3156. }
  3157. +(id)keychainQueryForService:(id)service account:(id)account;
  3158. +(void)setDefaultKeychain:(id)keychain;
  3159. +(id)defaultKeychain;
  3160. -(BOOL)setPassword:(id)password forService:(id)service accessibility:(void*)accessibility account:(id)account error:(id*)error;
  3161. -(BOOL)removePasswordForService:(id)service account:(id)account error:(id*)error;
  3162. -(id)passwordForService:(id)service account:(id)account error:(id*)error;
  3163. -(id)keychainQueryForService:(id)service account:(id)account;
  3164. -(id)keyForService:(id)service account:(id)account;
  3165. @end
  3166.  
  3167. __attribute__((visibility("hidden")))
  3168. @interface GSDK_GTMOAuth2SignInInternal : GSDK_GTMOAuth2SignIn {
  3169. NSString* authorizationEmail_;
  3170. NSString* authorizationTemplate_;
  3171. BOOL shouldUseLoginScope_;
  3172. }
  3173. @property(assign, nonatomic) BOOL shouldUseLoginScope;
  3174. @property(retain, nonatomic) NSString* authorizationTemplate;
  3175. @property(retain, nonatomic) NSString* authorizationEmail;
  3176. +(id)defaultSourceString;
  3177. +(id)tokenAuthURLWithAuthToken:(id)authToken service:(id)service source:(id)source URLString:(id)string;
  3178. +(id)dictionaryWithClientLoginResponseString:(id)clientLoginResponseString;
  3179. +(void)fetchTokenAuthURLWithValues:(id)values service:(id)service source:(id)source URLString:(id)string completionHandler:(id)handler;
  3180. +(void)fetchTokenAuthURLWithAuth:(id)auth service:(id)service source:(id)source URLString:(id)string completionHandler:(id)handler;
  3181. +(void)fetchAuthTokenWithValues:(id)values service:(id)service isSessionOnly:(BOOL)only completionHandler:(id)handler;
  3182. +(void)fetchUberAuthTokenWithAuth:(id)auth service:(id)service source:(id)source completionHandler:(id)handler;
  3183. +(void)fetchClientLoginValuesWithAuth:(id)auth service:(id)service source:(id)source completionHandler:(id)handler;
  3184. +(void)fetchClientLoginValuesWithAuth:(id)auth service:(id)service source:(id)source doUberAuthFetch:(BOOL)fetch parseBlock:(id)block completionHandler:(id)handler;
  3185. +(id)nativeClientRedirectURI;
  3186. +(id)googleUserInfoURL;
  3187. +(id)googleRevocationURL;
  3188. +(id)googleTokenURL;
  3189. +(id)googleAuthorizationURL;
  3190. +(id)userInfoHost;
  3191. +(void)setUserInfoHost:(id)host;
  3192. +(id)authorizationHost;
  3193. +(void)setAuthorizationHost:(id)host;
  3194. +(id)accountsHost;
  3195. +(void)setAccountsHost:(id)host;
  3196. -(BOOL)cookiesChanged:(id)changed;
  3197. -(BOOL)titleChanged:(id)changed;
  3198. -(id)parametersForWebRequest;
  3199. -(BOOL)startSigningIn;
  3200. -(void)dealloc;
  3201. @end
  3202.  
  3203. @interface Upsight : NSObject {
  3204. id<USAnalyticsInterface> _analytics;
  3205. id<USBillboardManager> _billboardManager;
  3206. id<UpsightDataStoreInterface> _dataStore;
  3207. NSString* _token;
  3208. }
  3209. @property(retain, nonatomic) NSString* token;
  3210. @property(retain, nonatomic) id<UpsightDataStoreInterface> dataStore;
  3211. @property(retain, nonatomic) id<USBillboardManager> billboardManager;
  3212. @property(retain, nonatomic) id<USAnalyticsInterface> analytics;
  3213. +(id)variableObserver;
  3214. +(void)setDefaultLogLevel:(int)level;
  3215. +(int)defaultLogLevel;
  3216. +(BOOL)optOutStatus;
  3217. +(void)setOptOutStatus:(BOOL)status;
  3218. +(void)setLocation:(id)location;
  3219. +(id)billboardForScope:(id)scope;
  3220. +(void)recordAttributionEventForCampaign:(id)campaign creative:(id)creative source:(id)source properties:(id)properties;
  3221. +(void)recordAttributionEventForCampaign:(id)campaign creative:(id)creative source:(id)source;
  3222. +(void)recordMilestoneEventForScope:(id)scope properties:(id)properties;
  3223. +(void)recordMilestoneEventForScope:(id)scope;
  3224. +(void)recordInAppPurchaseEventWithResolution:(unsigned)resolution product:(id)product quantity:(unsigned)quantity price:(float)price currency:(id)currency transactionIdentifier:(id)identifier properties:(id)properties;
  3225. +(void)recordMonetizationEventWithResolution:(unsigned)resolution currency:(id)currency quantity:(unsigned)quantity product:(id)product price:(float)price properties:(id)properties;
  3226. +(void)recordMonetizationEventWithResolution:(unsigned)resolution totalPrice:(float)price currency:(id)currency product:(id)product properties:(id)properties;
  3227. +(void)recordAnalyticsEventWithName:(id)name properties:(id)properties;
  3228. +(id)publicKey;
  3229. +(id)token;
  3230. +(BOOL)isTokenFormatValid:(id)valid;
  3231. +(BOOL)getSDKEnabled;
  3232. +(void)setSDKEnabled:(BOOL)enabled;
  3233. +(void)startSDK;
  3234. +(id)sharedUpsight;
  3235. +(void)setPluginVersion:(id)version;
  3236. +(id)senderID;
  3237. -(void).cxx_destruct;
  3238. -(id)initWithDataStore:(id)dataStore;
  3239. -(id)init;
  3240. @end
  3241.  
  3242. @interface USPartnerManager : NSObject {
  3243. NSDictionary* _partnerNameToPartnerMap;
  3244. NSDictionary* _currentConfiguration;
  3245. id<UpsightDataStoreInterface> _dataStore;
  3246. }
  3247. @property(retain, nonatomic) NSDictionary* currentConfiguration;
  3248. @property(retain, nonatomic) NSDictionary* partnerNameToPartnerMap;
  3249. @property(retain, nonatomic) id<UpsightDataStoreInterface> dataStore;
  3250. +(id)sharedPartnerManager;
  3251. -(void).cxx_destruct;
  3252. -(void)applyConfiguration:(id)configuration;
  3253. -(void)partnerManagerConfigurationDidUpdate:(id)partnerManagerConfiguration action:(unsigned)action;
  3254. -(void)checkForConfiguration;
  3255. -(id)getPartnerMediatorWithName:(id)name;
  3256. -(id)partnerWithName:(id)name;
  3257. -(id)defaultConfiguration;
  3258. -(void)dealloc;
  3259. -(id)initWithDataStore:(id)dataStore;
  3260. -(id)init;
  3261. @end
  3262.  
  3263. @interface USFuseContentUnit : NSObject <USContentUnit> {
  3264. NSString* _contentProvider;
  3265. NSString* _zoneID;
  3266. }
  3267. @property(readonly, assign, nonatomic) NSString* contentProvider;
  3268. @property(readonly, copy) NSString* debugDescription;
  3269. @property(readonly, copy) NSString* description;
  3270. @property(readonly, assign) Class superclass;
  3271. @property(readonly, assign) unsigned hash;
  3272. @property(retain, nonatomic) NSString* zoneID;
  3273. -(void).cxx_destruct;
  3274. -(id)initWithDictionary:(id)dictionary;
  3275. -(id)init;
  3276. @end
  3277.  
  3278. @interface USFusePartner : NSObject <USPartner, USMediator> {
  3279. BOOL _isInitialized;
  3280. BOOL _isPresent;
  3281. NSString* _version;
  3282. unsigned _state;
  3283. id _fuseAPI;
  3284. NSString* _fuseToken;
  3285. NSNumber* _partnerID;
  3286. NSDictionary* _currentConfiguration;
  3287. NSNumber* _maxRetries;
  3288. NSNumber* _retryCount;
  3289. NSTimer* _preloadTimer;
  3290. NSString* _platform;
  3291. id _startCallback;
  3292. id _preloadCallback;
  3293. id _shownCallback;
  3294. id _clickedCallback;
  3295. id _closedCallback;
  3296. id _completeCallback;
  3297. }
  3298. @property(readonly, assign, nonatomic) NSString* version;
  3299. @property(readonly, assign, nonatomic) BOOL isInitialized;
  3300. @property(readonly, assign, nonatomic) BOOL isPresent;
  3301. @property(readonly, copy) NSString* debugDescription;
  3302. @property(readonly, copy) NSString* description;
  3303. @property(readonly, assign) Class superclass;
  3304. @property(readonly, assign) unsigned hash;
  3305. @property(copy, nonatomic) id completeCallback;
  3306. @property(copy, nonatomic) id closedCallback;
  3307. @property(copy, nonatomic) id clickedCallback;
  3308. @property(copy, nonatomic) id shownCallback;
  3309. @property(copy, nonatomic) id preloadCallback;
  3310. @property(copy, nonatomic) id startCallback;
  3311. @property(retain, nonatomic) NSString* platform;
  3312. @property(retain, nonatomic) NSTimer* preloadTimer;
  3313. @property(retain, nonatomic) NSNumber* retryCount;
  3314. @property(retain, nonatomic) NSNumber* maxRetries;
  3315. @property(retain, nonatomic) NSDictionary* currentConfiguration;
  3316. @property(retain, nonatomic) NSNumber* partnerID;
  3317. @property(retain, nonatomic) NSString* fuseToken;
  3318. @property(retain, nonatomic) id fuseAPI;
  3319. @property(assign, nonatomic) unsigned state;
  3320. +(id)partnerName;
  3321. -(void).cxx_destruct;
  3322. -(void)callStartCallbackWithResult:(BOOL)result error:(id)error;
  3323. -(void)handlePreloadTimeout:(id)timeout;
  3324. -(void)removePreloadTimer;
  3325. -(id)partnerInfo;
  3326. -(void)fuseAdClicked;
  3327. -(void)rewardedAdCompleteWithObject:(id)object;
  3328. -(void)adWillClose;
  3329. -(void)adFailedToDisplay;
  3330. -(void)adDidShow:(id)ad mediaType:(id)type;
  3331. -(void)adAvailabilityResponse:(id)response Error:(id)error;
  3332. -(void)retryStartSession;
  3333. -(void)sessionLoginError:(id)error;
  3334. -(void)sessionStartReceived;
  3335. -(id)mediatedContentUnitWithContentModel:(id)contentModel;
  3336. -(id)mediatedViewController;
  3337. -(void)clearCallbacks;
  3338. -(void)showAdForZone:(id)zone adShown:(id)shown adClicked:(id)clicked adClosed:(id)closed adCompleted:(id)completed;
  3339. -(void)preloadAdForZone:(id)zone completion:(id)completion;
  3340. -(void)startFuseSession:(id)session;
  3341. -(void)startWithPartnerID:(id)partnerID configuration:(id)configuration completion:(id)completion;
  3342. -(BOOL)transitionToState:(unsigned)state;
  3343. -(id)init;
  3344. @end
  3345.  
  3346. @interface USFuseContentViewController : NSObject <USViewController> {
  3347. id<USViewControllerDelegate> _delegate;
  3348. UIViewController* _presentingViewController;
  3349. USActionMap* _actionMap;
  3350. NSArray* _scopes;
  3351. NSString* _postPresentationTrigger;
  3352. id _completionHandler;
  3353. USFuseContentUnit* _contentUnit;
  3354. USFusePartner* _partner;
  3355. UIViewController* _parentController;
  3356. double _timestamp;
  3357. double _loadingTimeout;
  3358. }
  3359. @property(retain, nonatomic) NSString* postPresentationTrigger;
  3360. @property(readonly, assign, nonatomic) __weak UIViewController* presentingViewController;
  3361. @property(assign) __weak id<USViewControllerDelegate> delegate;
  3362. @property(copy, nonatomic) NSArray* scopes;
  3363. @property(readonly, assign, nonatomic) double loadingTimeout;
  3364. @property(readonly, copy) NSString* debugDescription;
  3365. @property(readonly, copy) NSString* description;
  3366. @property(readonly, assign) Class superclass;
  3367. @property(readonly, assign) unsigned hash;
  3368. @property(assign, nonatomic) __weak UIViewController* parentController;
  3369. @property(assign, nonatomic) double timestamp;
  3370. @property(assign, nonatomic) __weak USFusePartner* partner;
  3371. @property(retain, nonatomic) USFuseContentUnit* contentUnit;
  3372. @property(assign, nonatomic) __weak id completionHandler;
  3373. @property(retain, nonatomic) USActionMap* actionMap;
  3374. -(void).cxx_destruct;
  3375. -(id)viewDataForKey:(id)key;
  3376. -(void)dismissControllerAnimated:(BOOL)animated completion:(id)completion;
  3377. -(void)presentCloseButtonWithDelay:(double)delay;
  3378. -(void)presentViewControllerWithRoot:(id)root animated:(BOOL)animated completion:(id)completion;
  3379. -(void)buildContent:(id)content actionMap:(id)map completionBlock:(id)block;
  3380. -(id)initWithPartner:(id)partner;
  3381. -(id)init;
  3382. @end
  3383.  
  3384. @interface USActionMapManager : NSObject <USActionMapDelegate, USActionMapManagerInterface> {
  3385. USActionFactory* _actionsFactory;
  3386. NSMutableSet* _actionMaps;
  3387. NSMutableSet* _observers;
  3388. id<UpsightDataStoreInterface> _dataStore;
  3389. }
  3390. @property(readonly, assign) id<USActionHandlerRegistry> handlerRegistry;
  3391. @property(readonly, copy) NSString* debugDescription;
  3392. @property(readonly, copy) NSString* description;
  3393. @property(readonly, assign) Class superclass;
  3394. @property(readonly, assign) unsigned hash;
  3395. @property(readonly, assign, nonatomic) NSMutableSet* observers;
  3396. @property(readonly, assign, nonatomic) NSMutableSet* actionMaps;
  3397. @property(readonly, assign) USActionFactory* actionsFactory;
  3398. @property(readonly, assign, nonatomic) id<UpsightDataStoreInterface> dataStore;
  3399. -(void).cxx_destruct;
  3400. -(void)onDidCreateActionMap:(id)on;
  3401. -(void)actionMapDidFinishExecution:(id)actionMap;
  3402. -(void)onDidStoreActionMap:(id)on action:(unsigned)action;
  3403. -(void)removeObserver:(id)observer;
  3404. -(void)addObserver:(id)observer;
  3405. -(void)dealloc;
  3406. -(id)initWithDataStore:(id)dataStore;
  3407. -(id)init;
  3408. @end
  3409.  
  3410. @interface USPushReceivedEvent : USEvent {
  3411. }
  3412. @property(readonly, assign, nonatomic) NSNumber* campaignID;
  3413. @property(readonly, assign, nonatomic) NSNumber* messageID;
  3414. +(id)eventWithParameters:(id)parameters messageID:(id)anId campaignID:(id)anId3;
  3415. -(id)initWithParameters:(id)parameters messageID:(id)anId campaignID:(id)anId3;
  3416. -(id)initWithType:(id)type parameters:(id)parameters;
  3417. @end
  3418.  
  3419. @interface USPush : NSObject {
  3420. id<USAnalyticsInterface> _analytics;
  3421. id<USBillboard> _billboard;
  3422. id<UpsightDataStoreInterface> _dataStore;
  3423. }
  3424. @property(readonly, assign, nonatomic) id<USBillboard> billboard;
  3425. @property(readonly, assign, nonatomic) id<USAnalyticsInterface> analytics;
  3426. @property(retain, nonatomic) id<UpsightDataStoreInterface> dataStore;
  3427. +(id)pushBillboard;
  3428. +(void)handleRemoteNotificationWithUserInfo:(id)userInfo;
  3429. +(void)extractMessageID:(id*)anId campaignID:(id*)anId2 userInfo:(id)info;
  3430. +(void)didRegisterUserNotificationSettings:(id)settings;
  3431. +(void)registerPushToken:(id)token;
  3432. +(void)unregisterForPushNotifications;
  3433. +(void)registerForPushNotifications;
  3434. +(void)initialize;
  3435. +(id)sharedPushInstance;
  3436. -(void).cxx_destruct;
  3437. -(id)initWithDataStore:(id)dataStore;
  3438. -(id)init;
  3439. @end
  3440.  
  3441. @interface USPushUnregistrationEvent : USEvent {
  3442. }
  3443. +(id)eventWithParameters:(id)parameters;
  3444. -(id)initWithParameters:(id)parameters;
  3445. -(id)initWithType:(id)type parameters:(id)parameters;
  3446. @end
  3447.  
  3448. @interface USPushRegistrationEvent : USEvent {
  3449. }
  3450. @property(readonly, assign, nonatomic) NSString* token;
  3451. +(id)eventWithParameters:(id)parameters token:(id)token;
  3452. -(BOOL)shouldRegisterToken:(id)token withTTL:(double)ttl;
  3453. -(id)initWithParameters:(id)parameters token:(id)token;
  3454. -(id)initWithType:(id)type parameters:(id)parameters;
  3455. @end
  3456.  
  3457. @interface USHexEncoding : NSObject {
  3458. }
  3459. +(BOOL)isHexEncodedString:(id)string;
  3460. +(id)dataForHexEncodedString:(id)hexEncodedString;
  3461. +(id)hexEncodedStringForData:(id)data;
  3462. @end
  3463.  
  3464. @interface USDataStoreBasedDefaultsImpl : NSObject <UpsightDefaultsImpl> {
  3465. NSMutableDictionary* _defaultsMap;
  3466. id<UpsightDataStoreInterface> _dataStore;
  3467. }
  3468. @property(readonly, copy) NSString* debugDescription;
  3469. @property(readonly, copy) NSString* description;
  3470. @property(readonly, assign) Class superclass;
  3471. @property(readonly, assign) unsigned hash;
  3472. @property(readonly, assign) NSMutableDictionary* defaultsMap;
  3473. @property(readonly, assign, nonatomic) id<UpsightDataStoreInterface> dataStore;
  3474. -(void).cxx_destruct;
  3475. -(void)removeAllDefaults;
  3476. -(void)setDefault:(id)aDefault forKey:(id)key;
  3477. -(id)defaultForKey:(id)key;
  3478. -(void)removeDefaultForKey:(id)key;
  3479. -(id)init;
  3480. -(id)initWithDataStore:(id)dataStore;
  3481. @end
  3482.  
  3483. @interface UpsightDefaults : NSObject {
  3484. id<UpsightDefaultsImpl> _defaultsImpl;
  3485. }
  3486. @property(readonly, assign, nonatomic) id<UpsightDefaultsImpl> defaultsImpl;
  3487. +(id)sharedDefaults;
  3488. -(void).cxx_destruct;
  3489. -(void)removeAllDefaults;
  3490. -(void)removeDefaultForKey:(id)key;
  3491. -(void)setObject:(id)object forKey:(id)key;
  3492. -(void)setBool:(BOOL)aBool forKey:(id)key;
  3493. -(void)setInteger:(int)integer forKey:(id)key;
  3494. -(id)objectForKey:(id)key;
  3495. -(BOOL)boolForKey:(id)key;
  3496. -(int)integerForKey:(id)key;
  3497. -(id)initWithDefaultsImplementation:(id)defaultsImplementation;
  3498. -(id)copyWithZone:(NSZone*)zone;
  3499. @end
  3500.  
  3501. @interface USCrypto : NSObject {
  3502. }
  3503. +(id)MD5ForData:(id)data;
  3504. +(id)SHA1ForData:(id)data;
  3505. +(id)SHA256ForData:(id)data;
  3506. +(id)SHA512ForData:(id)data;
  3507. @end
  3508.  
  3509. @interface USUserDefaultsBasedDefaultsImpl : NSObject <UpsightDefaultsImpl> {
  3510. }
  3511. @property(readonly, copy) NSString* debugDescription;
  3512. @property(readonly, copy) NSString* description;
  3513. @property(readonly, assign) Class superclass;
  3514. @property(readonly, assign) unsigned hash;
  3515. -(void)removeAllDefaults;
  3516. -(void)setDefault:(id)aDefault forKey:(id)key;
  3517. -(id)defaultForKey:(id)key;
  3518. -(void)removeDefaultForKey:(id)key;
  3519. @end
  3520.  
  3521. @interface USWeakTimerTarget : NSObject {
  3522. id _target;
  3523. SEL _selector;
  3524. NSTimer* _timer;
  3525. }
  3526. @property(assign, nonatomic) __weak NSTimer* timer;
  3527. @property(assign, nonatomic) SEL selector;
  3528. @property(assign, nonatomic) __weak id target;
  3529. -(void).cxx_destruct;
  3530. -(void)fire;
  3531. @end
  3532.  
  3533. @interface USMutableNumber : NSObject {
  3534. NSNumber* _numberValue;
  3535. }
  3536. @property(retain, nonatomic) NSNumber* numberValue;
  3537. @property(assign, nonatomic) int integerValue;
  3538. -(void).cxx_destruct;
  3539. -(id)initWithInteger:(unsigned)integer;
  3540. -(id)init;
  3541. @end
  3542.  
  3543. @interface USDefaultsStorable : UpsightStorableObject {
  3544. NSString* _defaultName;
  3545. id<NSCoding> _value;
  3546. }
  3547. @property(retain, nonatomic) id<NSCoding> value;
  3548. @property(readonly, assign, nonatomic) NSString* defaultName;
  3549. -(void).cxx_destruct;
  3550. -(id)initWithDefaultName:(id)defaultName;
  3551. -(id)initWithType:(id)type version:(id)version ID:(id)anId;
  3552. @end
  3553.  
  3554. @interface USConfigurationRequest : USEvent {
  3555. }
  3556. +(id)configurationRequestWithParameters:(id)parameters;
  3557. -(id)initWithParameters:(id)parameters;
  3558. -(id)init;
  3559. -(id)initWithType:(id)type parameters:(id)parameters;
  3560. @end
  3561.  
  3562. @interface USConfiguration : UpsightStorableObject {
  3563. NSString* _configurationType;
  3564. NSDictionary* _configurationDictionary;
  3565. NSNumber* _sessionNumber;
  3566. }
  3567. @property(readonly, assign, nonatomic) NSNumber* sessionNumber;
  3568. @property(readonly, assign, nonatomic) NSDictionary* configurationDictionary;
  3569. @property(readonly, assign, nonatomic) NSString* configurationType;
  3570. -(void).cxx_destruct;
  3571. -(id)initWithConfigurationType:(id)configurationType configurationDictionary:(id)dictionary sessionNumber:(id)number;
  3572. -(id)initWithType:(id)type version:(id)version ID:(id)anId;
  3573. -(id)init;
  3574. @end
  3575.  
  3576. @interface USConfigurationManager : NSObject {
  3577. id<UpsightDataStoreInterface> _dataStore;
  3578. id<USAnalyticsInterface> _analytics;
  3579. NSTimer* _sendTimer;
  3580. NSTimer* _retryTimer;
  3581. NSOperationQueue* _queue;
  3582. NSDictionary* _configuration;
  3583. int _midFlightAttempt;
  3584. }
  3585. @property(assign) int midFlightAttempt;
  3586. @property(retain) NSDictionary* configuration;
  3587. @property(retain, nonatomic) NSOperationQueue* queue;
  3588. @property(retain, nonatomic) NSTimer* retryTimer;
  3589. @property(retain, nonatomic) NSTimer* sendTimer;
  3590. @property(assign, nonatomic) __weak id<USAnalyticsInterface> analytics;
  3591. @property(retain, nonatomic) id<UpsightDataStoreInterface> dataStore;
  3592. +(id)defaultConfiguration;
  3593. -(void).cxx_destruct;
  3594. -(void)applyConfiguration:(id)configuration;
  3595. -(void)ownConfigurationDidUpdate:(id)ownConfiguration action:(unsigned)action;
  3596. -(void)loadOwnConfiguration;
  3597. -(void)removeAllObjectsInDataStore:(id)dataStore withType:(id)type predicate:(id)predicate;
  3598. -(void)updateConfigurationsWithResponseObject:(id)responseObject;
  3599. -(void)processStoredConfigurationResponses;
  3600. -(void)configurationResponseDidUpdate:(id)configurationResponse action:(unsigned)action;
  3601. -(void)sendConfigurationRequest;
  3602. -(void)invalidateTimers;
  3603. -(BOOL)isValidateConfiguration:(id)configuration;
  3604. -(void)setup;
  3605. -(id)initWithDataStore:(id)dataStore analytics:(id)analytics;
  3606. -(id)initWithDataStore:(id)dataStore;
  3607. -(id)init;
  3608. -(void)dealloc;
  3609. @end
  3610.  
  3611. @interface USPresentContentAction : USBaseAction {
  3612. }
  3613. +(id)type;
  3614. @end
  3615.  
  3616. @interface USBaseAction : NSObject <USAction> {
  3617. NSDictionary* _parameters;
  3618. USActionMap* _map;
  3619. id _handler;
  3620. }
  3621. @property(readonly, copy, nonatomic) id handler;
  3622. @property(readonly, assign, nonatomic) __weak USActionMap* map;
  3623. @property(readonly, assign, nonatomic) NSDictionary* parameters;
  3624. @property(readonly, copy) NSString* debugDescription;
  3625. @property(readonly, copy) NSString* description;
  3626. @property(readonly, assign) Class superclass;
  3627. @property(readonly, assign) unsigned hash;
  3628. +(id)type;
  3629. -(void).cxx_destruct;
  3630. -(void)executeWithCompletionBlock:(id)completionBlock;
  3631. -(id)initWithParameters:(id)parameters map:(id)map handler:(id)handler;
  3632. -(id)init;
  3633. @end
  3634.  
  3635. @interface USSetBundleIDAction : USBaseAction {
  3636. NSString* _bundleID;
  3637. }
  3638. @property(readonly, assign, nonatomic) NSString* bundleID;
  3639. +(id)type;
  3640. -(void).cxx_destruct;
  3641. -(id)initWithParameters:(id)parameters map:(id)map handler:(id)handler;
  3642. @end
  3643.  
  3644. @interface USNotifyPurchasesAction : USBaseAction {
  3645. NSArray* _purchases;
  3646. }
  3647. @property(readonly, assign, nonatomic) NSArray* purchases;
  3648. +(id)type;
  3649. -(void).cxx_destruct;
  3650. -(id)initWithParameters:(id)parameters map:(id)map handler:(id)handler;
  3651. @end
  3652.  
  3653. @interface USSetValueOperation : USModifyValueOperation {
  3654. }
  3655. +(id)operatorName;
  3656. -(id)valueByPerformingOperationWithObject:(id)object error:(id*)error;
  3657. @end
  3658.  
  3659. @interface USRewardImpl : NSObject <USReward> {
  3660. NSString* _productIdentifier;
  3661. unsigned _quantity;
  3662. NSData* _signatureData;
  3663. }
  3664. @property(readonly, assign, nonatomic) NSData* signatureData;
  3665. @property(readonly, assign, nonatomic) unsigned quantity;
  3666. @property(readonly, assign, nonatomic) NSString* productIdentifier;
  3667. @property(readonly, copy) NSString* debugDescription;
  3668. @property(readonly, copy) NSString* description;
  3669. @property(readonly, assign) Class superclass;
  3670. @property(readonly, assign) unsigned hash;
  3671. -(void).cxx_destruct;
  3672. -(id)initWithDictionary:(id)dictionary;
  3673. -(id)init;
  3674. @end
  3675.  
  3676. @interface USUXMModifyValueActionHandler : NSObject {
  3677. id<UpsightDataStoreInterface> _dataStore;
  3678. id<USActionHandlerDelegate> _delegate;
  3679. }
  3680. @property(assign, nonatomic) __weak id<USActionHandlerDelegate> delegate;
  3681. @property(readonly, assign, nonatomic) id modifyValueActionHandler;
  3682. @property(readonly, assign, nonatomic) id<UpsightDataStoreInterface> dataStore;
  3683. -(void).cxx_destruct;
  3684. -(id)initWithDataStore:(id)dataStore;
  3685. @end
  3686.  
  3687. @interface USUXMBooleanSchema : USUXMVariableSchema {
  3688. }
  3689. -(BOOL)isValidValue:(id)value;
  3690. -(id)initWithDictionary:(id)dictionary;
  3691. @end
  3692.  
  3693. @interface USUXMStringSchema : USUXMVariableSchema {
  3694. }
  3695. -(BOOL)isValidValue:(id)value;
  3696. -(id)initWithDictionary:(id)dictionary;
  3697. @end
  3698.  
  3699. @interface USNotifyUXMValuesSynchronizedAction : USBaseAction {
  3700. NSArray* _tags;
  3701. }
  3702. @property(copy, nonatomic) NSArray* tags;
  3703. +(id)type;
  3704. -(void).cxx_destruct;
  3705. -(id)initWithParameters:(id)parameters map:(id)map handler:(id)handler;
  3706. @end
  3707.  
  3708. @interface USOpenInAppStoreAction : USBaseAction {
  3709. NSString* _iTunesID;
  3710. }
  3711. @property(copy, nonatomic) NSString* iTunesID;
  3712. +(id)type;
  3713. -(void).cxx_destruct;
  3714. -(id)initWithParameters:(id)parameters map:(id)map handler:(id)handler;
  3715. @end
  3716.  
  3717. @interface USUXMSchema : NSObject {
  3718. NSArray* _tags;
  3719. NSArray* _arrayRepresentation;
  3720. NSDictionary* _variablesForTags;
  3721. NSString* _schemaHash;
  3722. }
  3723. @property(retain, nonatomic) NSString* schemaHash;
  3724. @property(retain, nonatomic) NSDictionary* variablesForTags;
  3725. @property(retain, nonatomic) NSArray* arrayRepresentation;
  3726. @property(retain, nonatomic) NSArray* tags;
  3727. +(id)sharedSchema;
  3728. +(id)arrayRepresentation;
  3729. +(id)tags;
  3730. +(id)schemaHash;
  3731. +(id)schemaForTag:(id)tag;
  3732. -(void).cxx_destruct;
  3733. -(id)schemaFilePath;
  3734. -(void)loadUXMVariables;
  3735. -(id)schemaForTag:(id)tag;
  3736. -(id)copyWithZone:(NSZone*)zone;
  3737. @end
  3738.  
  3739. @interface USExecuteTriggerTask : NSObject {
  3740. BOOL _canceled;
  3741. USActionMap* _map;
  3742. NSString* _timeoutTrigger;
  3743. NSString* _cancelTrigger;
  3744. NSTimer* _timer;
  3745. double _timeout;
  3746. }
  3747. @property(assign, nonatomic, getter=isCanceled) BOOL canceled;
  3748. @property(retain, nonatomic) NSTimer* timer;
  3749. @property(readonly, assign, nonatomic) NSString* cancelTrigger;
  3750. @property(readonly, assign, nonatomic) NSString* timeoutTrigger;
  3751. @property(readonly, assign, nonatomic) double timeout;
  3752. @property(readonly, assign, nonatomic) USActionMap* map;
  3753. -(void).cxx_destruct;
  3754. -(void)cancel;
  3755. -(void)onTimeoutDidFire:(id)onTimeout;
  3756. -(id)initWithActionMap:(id)actionMap timeout:(double)timeout timeoutTrigger:(id)trigger cancelTrigger:(id)trigger4;
  3757. -(id)init;
  3758. @end
  3759.  
  3760. @interface USContentUnitBillboardManager : NSObject <USViewControllerCacheDelegate, USActionMapManagerObserver, USContentUnitBillboardDataSource, USMediator, USBillboardManager> {
  3761. NSDictionary* _actionTypeToHandlerMap;
  3762. USViewControllerCache* _controllersCache;
  3763. USURLLoader* _URLLoader;
  3764. id<UpsightDataStoreInterface> _dataStore;
  3765. NSMutableDictionary* _scopeToBillboardMap;
  3766. NSMutableArray* _presentScopedContentRecords;
  3767. NSMutableDictionary* _triggerIfContentAvailableTasks;
  3768. id<USActionMapManagerInterface> _actionMapManager;
  3769. }
  3770. @property(readonly, copy) NSString* debugDescription;
  3771. @property(readonly, copy) NSString* description;
  3772. @property(readonly, assign) Class superclass;
  3773. @property(readonly, assign) unsigned hash;
  3774. @property(readonly, assign) USURLLoader* URLLoader;
  3775. @property(readonly, assign, nonatomic) NSDictionary* actionTypeToHandlerMap;
  3776. @property(readonly, assign, nonatomic) id<USActionMapManagerInterface> actionMapManager;
  3777. @property(retain, nonatomic) NSMutableDictionary* triggerIfContentAvailableTasks;
  3778. @property(retain, nonatomic) USViewControllerCache* controllersCache;
  3779. @property(retain, nonatomic) NSMutableArray* presentScopedContentRecords;
  3780. @property(retain, nonatomic) NSMutableDictionary* scopeToBillboardMap;
  3781. @property(readonly, assign, nonatomic) id<UpsightDataStoreInterface> dataStore;
  3782. -(void).cxx_destruct;
  3783. -(id)presentContent;
  3784. -(id)presentDialog;
  3785. -(id)presentScopedDialog;
  3786. -(id)openInAppStore;
  3787. -(id)associateOnce;
  3788. -(id)presentCloseButton;
  3789. -(id)sendFormData;
  3790. -(id)openURL;
  3791. -(id)triggerActions;
  3792. -(id)notifyPurchases;
  3793. -(id)notifyRewards;
  3794. -(id)triggerIfContentAvailable;
  3795. -(id)sendEvent;
  3796. -(id)presentScopelessContent;
  3797. -(id)presentScopedContent;
  3798. -(id)buildContent;
  3799. -(id)mediatedContentUnitWithContentModel:(id)contentModel;
  3800. -(id)mediatedViewController;
  3801. -(void)actionMapManager:(id)manager didDestroyActionMap:(id)map;
  3802. -(void)cache:(id)cache didAddController:(id)controller;
  3803. -(BOOL)isContentAvailableForBillboard:(id)billboard;
  3804. -(void)observeValueForKeyPath:(id)keyPath ofObject:(id)object change:(id)change context:(void*)context;
  3805. -(id)findBillboardForActionMap:(id)actionMap;
  3806. -(BOOL)presentViewController:(id)controller;
  3807. -(id)billboardForScope:(id)scope;
  3808. -(void)dealloc;
  3809. -(id)initWithDataStore:(id)dataStore actionMapManager:(id)manager;
  3810. -(id)init;
  3811. @end
  3812.  
  3813. @interface USActionFactory : NSObject <USActionFactoryInterface, USActionHandlerRegistry> {
  3814. NSMutableDictionary* _actionToHandlerMap;
  3815. NSDictionary* _actionToBuilderMap;
  3816. }
  3817. @property(readonly, copy) NSString* debugDescription;
  3818. @property(readonly, copy) NSString* description;
  3819. @property(readonly, assign) Class superclass;
  3820. @property(readonly, assign) unsigned hash;
  3821. @property(readonly, assign) NSDictionary* actionToBuilderMap;
  3822. @property(readonly, assign) NSMutableDictionary* actionToHandlerMap;
  3823. -(void).cxx_destruct;
  3824. -(id)presentSubcontentBuilder;
  3825. -(id)presentSubdialogBuilder;
  3826. -(id)presentScopedDialogBuilder;
  3827. -(id)notifyUXMValuesSynchronized;
  3828. -(id)openInAppStoreBuilder;
  3829. -(id)setBundleIDBuilder;
  3830. -(id)UXMEnumerateBuilder;
  3831. -(id)modifyValueBuilder;
  3832. -(id)associateOnceBuilder;
  3833. -(id)presentCloseButtonBuilder;
  3834. -(id)sendFormDataBuilder;
  3835. -(id)openURLBuilder;
  3836. -(id)triggerActionBuilder;
  3837. -(id)notifyPurchasesBuilder;
  3838. -(id)notifyRewardsBuilder;
  3839. -(id)triggerIfContentAvailableBuilder;
  3840. -(id)disposeActionMapBuilder;
  3841. -(id)sendEventBuilder;
  3842. -(id)presentScopelessContentBuilder;
  3843. -(id)presentScopedContentBuilder;
  3844. -(id)buildContentBuilder;
  3845. -(void)registerHandler:(id)handler forActionType:(id)actionType;
  3846. -(id)actionWithDictionary:(id)dictionary map:(id)map;
  3847. @end
  3848.  
  3849. @interface USPresentCloseButtonAction : USBaseAction {
  3850. double _delay;
  3851. }
  3852. @property(readonly, assign, nonatomic) double delay;
  3853. +(id)type;
  3854. -(id)initWithParameters:(id)parameters map:(id)map handler:(id)handler;
  3855. @end
  3856.  
  3857. @interface USModifyValueOperationFactory : NSObject {
  3858. }
  3859. +(id)operatorToClassMap;
  3860. +(id)operationWithPropertyName:(id)propertyName propertyValue:(id)value operator:(id)anOperator;
  3861. @end
  3862.  
  3863. @interface USDecrementValueOperation : USModifyValueOperation {
  3864. }
  3865. +(id)operatorName;
  3866. -(id)valueByPerformingOperationWithObject:(id)object error:(id*)error;
  3867. -(id)initWithPropertyName:(id)propertyName propertyValue:(id)value;
  3868. @end
  3869.  
  3870. @interface USUXMEnumerateAction : USBaseAction {
  3871. }
  3872. +(id)type;
  3873. @end
  3874.  
  3875. @interface USPresentScopedContentAction : USBaseAction {
  3876. NSString* _ID;
  3877. NSArray* _scopeList;
  3878. }
  3879. @property(readonly, assign, nonatomic) NSArray* scopeList;
  3880. @property(readonly, assign, nonatomic) NSString* ID;
  3881. +(id)type;
  3882. -(void).cxx_destruct;
  3883. -(id)initWithParameters:(id)parameters map:(id)map handler:(id)handler;
  3884. @end
  3885.  
  3886. @interface USContentUnitBillboard : NSObject <USViewControllerDelegate, SKStoreProductViewControllerDelegate, USBillboard> {
  3887. BOOL _presenting;
  3888. NSString* _scope;
  3889. id<USBillboardDelegate> _delegate;
  3890. id<USViewController> _viewController;
  3891. id<USContentUnitBillboardDataSource> _dataSource;
  3892. SKStoreProductViewController* _inAppStoreController;
  3893. }
  3894. @property(readonly, assign, getter=isContentReady) BOOL contentReady;
  3895. @property(assign) __weak id<USBillboardDelegate> delegate;
  3896. @property(readonly, assign, getter=isPresenting) BOOL presenting;
  3897. @property(readonly, copy) NSString* scope;
  3898. @property(readonly, copy) NSString* debugDescription;
  3899. @property(readonly, copy) NSString* description;
  3900. @property(readonly, assign) Class superclass;
  3901. @property(readonly, assign) unsigned hash;
  3902. @property(retain) SKStoreProductViewController* inAppStoreController;
  3903. @property(assign) __weak id<USContentUnitBillboardDataSource> dataSource;
  3904. @property(retain) id<USViewController> viewController;
  3905. +(id)presentingControllerToScopeMap;
  3906. -(void).cxx_destruct;
  3907. -(void)executeBlockOnMainQueue:(id)queue waitUntilFinished:(BOOL)finished;
  3908. -(void)cleanupPresentingControllerToScopeMap;
  3909. -(void)onDidEnterBackground:(id)on;
  3910. -(void)productViewControllerDidFinish:(id)productViewController;
  3911. -(void)contentUnitViewControllerDidDismiss:(id)contentUnitViewController;
  3912. -(void)contentUnitViewControllerWillDismiss:(id)contentUnitViewController;
  3913. -(id)initWithScope:(id)scope;
  3914. -(void)onDidReceivePurchases:(id)on;
  3915. -(void)onDidReceiveRewards:(id)on;
  3916. -(void)close;
  3917. -(void)replacePresentedControllerWithStoreUsingITunesIdentifier:(id)storeUsingITunesIdentifier completion:(id)completion;
  3918. -(void)replacePresentedControllerWithViewController:(id)viewController completion:(id)completion;
  3919. -(void)presentViewController:(id)controller presentingViewController:(id)controller2 animated:(BOOL)animated completion:(id)completion;
  3920. -(BOOL)presentViewController:(id)controller animated:(BOOL)animated;
  3921. -(void)dealloc;
  3922. @end
  3923.  
  3924. @interface USModifyValueAction : USBaseAction {
  3925. NSString* _type;
  3926. NSArray* _matchValues;
  3927. NSArray* _operations;
  3928. }
  3929. @property(readonly, assign, nonatomic) NSArray* operations;
  3930. @property(readonly, assign, nonatomic) NSArray* matchValues;
  3931. @property(readonly, assign, nonatomic) NSString* type;
  3932. +(id)type;
  3933. -(void).cxx_destruct;
  3934. -(id)initWithParameters:(id)parameters map:(id)map handler:(id)handler;
  3935. @end
  3936.  
  3937. @interface USTriggerAction : USBaseAction {
  3938. NSString* _trigger;
  3939. }
  3940. @property(readonly, assign, nonatomic) NSString* trigger;
  3941. +(id)type;
  3942. -(void).cxx_destruct;
  3943. -(id)initWithParameters:(id)parameters map:(id)map handler:(id)handler;
  3944. @end
  3945.  
  3946. @interface USUXMFloatSchema : USUXMVariableSchema {
  3947. NSNumber* _minValue;
  3948. NSNumber* _maxValue;
  3949. }
  3950. @property(readonly, assign, nonatomic) NSNumber* maxValue;
  3951. @property(readonly, assign, nonatomic) NSNumber* minValue;
  3952. -(void).cxx_destruct;
  3953. -(id)dictionaryRepresentation;
  3954. -(BOOL)isValidValue:(id)value;
  3955. -(id)initWithDictionary:(id)dictionary;
  3956. @end
  3957.  
  3958. @interface USMediatorManager : NSObject {
  3959. NSMutableDictionary* _providerNamesToMediatorsMap;
  3960. }
  3961. @property(retain, nonatomic) NSMutableDictionary* providerNamesToMediatorsMap;
  3962. +(id)mediatorForProviderName:(id)providerName;
  3963. +(void)unregisterMediatorForProviderName:(id)providerName;
  3964. +(void)registerMediator:(id)mediator forProviderName:(id)providerName;
  3965. +(id)sharedMediatorManager;
  3966. -(void).cxx_destruct;
  3967. -(id)mediatorForProviderName:(id)providerName;
  3968. -(void)unregisterMediatorForProviderName:(id)providerName;
  3969. -(void)registerMediator:(id)mediator forProviderName:(id)providerName;
  3970. @end
  3971.  
  3972. @interface USBuildContentAction : USConditionalAction {
  3973. id<USContentUnit> _contentUnit;
  3974. }
  3975. @property(readonly, assign, nonatomic) id<USContentUnit> contentUnit;
  3976. +(id)type;
  3977. -(void).cxx_destruct;
  3978. -(id)initWithParameters:(id)parameters map:(id)map handler:(id)handler;
  3979. @end
  3980.  
  3981. @interface USMatchValue : NSObject {
  3982. NSString* _propertyName;
  3983. id _propertyValue;
  3984. }
  3985. @property(readonly, assign, nonatomic) id propertyValue;
  3986. @property(readonly, assign, nonatomic) NSString* propertyName;
  3987. -(void).cxx_destruct;
  3988. -(id)initWithPropertyName:(id)propertyName propertyValue:(id)value;
  3989. -(id)init;
  3990. @end
  3991.  
  3992. @interface USUXMVariableStorable : UpsightStorableObject {
  3993. id _value;
  3994. NSString* _valueType;
  3995. NSString* _tag;
  3996. }
  3997. @property(readonly, assign, nonatomic) NSString* tag;
  3998. @property(readonly, assign, nonatomic) NSString* valueType;
  3999. @property(retain, nonatomic) id value;
  4000. -(void).cxx_destruct;
  4001. -(id)initWithTag:(id)tag valueType:(id)type;
  4002. -(id)initWithType:(id)type version:(id)version ID:(id)anId;
  4003. -(id)init;
  4004. @end
  4005.  
  4006. @interface USNotifyRewardsAction : USBaseAction {
  4007. NSArray* _rewards;
  4008. }
  4009. @property(readonly, assign, nonatomic) NSArray* rewards;
  4010. +(id)type;
  4011. -(void).cxx_destruct;
  4012. -(id)initWithParameters:(id)parameters map:(id)map handler:(id)handler;
  4013. @end
  4014.  
  4015. @interface USSendEventAction : USBaseAction {
  4016. USDynamicEvent* _event;
  4017. }
  4018. @property(readonly, assign, nonatomic) USDynamicEvent* event;
  4019. +(id)type;
  4020. -(void).cxx_destruct;
  4021. -(id)initWithParameters:(id)parameters map:(id)map handler:(id)handler;
  4022. @end
  4023.  
  4024. @interface USUXMIntegerSchema : USUXMVariableSchema {
  4025. NSNumber* _minValue;
  4026. NSNumber* _maxValue;
  4027. }
  4028. @property(readonly, assign, nonatomic) NSNumber* maxValue;
  4029. @property(readonly, assign, nonatomic) NSNumber* minValue;
  4030. -(void).cxx_destruct;
  4031. -(id)dictionaryRepresentation;
  4032. -(BOOL)isValidValue:(id)value;
  4033. -(id)initWithDictionary:(id)dictionary;
  4034. @end
  4035.  
  4036. @interface USConditionalAction : USBaseAction {
  4037. NSDictionary* _conditionParameters;
  4038. NSString* _thenTrigger;
  4039. NSString* _elseTrigger;
  4040. }
  4041. @property(readonly, assign, nonatomic) NSString* elseTrigger;
  4042. @property(readonly, assign, nonatomic) NSString* thenTrigger;
  4043. @property(readonly, assign, nonatomic) NSDictionary* conditionParameters;
  4044. -(void).cxx_destruct;
  4045. -(id)initWithParameters:(id)parameters map:(id)map handler:(id)handler;
  4046. @end
  4047.  
  4048. @interface USManagedVariableManager : NSObject <USActionMapManagerObserver, USActionHandlerDelegate, USManagedVariableObserver> {
  4049. NSMutableDictionary* _tagsToManagedVariablesMap;
  4050. NSMutableDictionary* _mapIDToTagsMap;
  4051. NSString* _bundleHash;
  4052. id<USManagedVariableObserverDelegate> _delegate;
  4053. NSDictionary* _actionTypeToHandlerMap;
  4054. NSMutableDictionary* _mapIDToSyncBool;
  4055. id<USActionMapManagerInterface> _actionMapManager;
  4056. id<UpsightDataStoreInterface> _dataStore;
  4057. }
  4058. @property(assign, nonatomic) __weak id<USManagedVariableObserverDelegate> delegate;
  4059. @property(readonly, copy) NSString* debugDescription;
  4060. @property(readonly, copy) NSString* description;
  4061. @property(readonly, assign) Class superclass;
  4062. @property(readonly, assign) unsigned hash;
  4063. @property(readonly, assign, nonatomic) NSDictionary* actionTypeToHandlerMap;
  4064. @property(retain) NSString* bundleHash;
  4065. @property(readonly, assign) NSMutableDictionary* mapIDToSyncBool;
  4066. @property(readonly, assign) NSMutableDictionary* mapIDToTagsMap;
  4067. @property(readonly, assign) NSMutableDictionary* tagsToManagedVariablesMap;
  4068. @property(readonly, assign, nonatomic) id<UpsightDataStoreInterface> dataStore;
  4069. @property(assign) __weak id<USActionMapManagerInterface> actionMapManager;
  4070. +(id)sharedManager;
  4071. +(id)bundleID;
  4072. +(void)setBundleID:(id)anId;
  4073. +(id)bundleHash;
  4074. +(id)managedVariableWithSchema:(id)schema;
  4075. -(void).cxx_destruct;
  4076. -(BOOL)shouldExecuteActionOfType:(id)type fromMap:(id)map;
  4077. -(id)notifyUXMValuesSynchronized;
  4078. -(id)setBundleID;
  4079. -(id)UXMEnumerate;
  4080. -(id)modifyValue;
  4081. -(void)actionMapManager:(id)manager didDestroyActionMap:(id)map;
  4082. -(void)onDidChangeUXMVariable:(id)on action:(unsigned)action;
  4083. -(id)managedVariableWithSchema:(id)schema;
  4084. -(void)dealloc;
  4085. -(id)initWithDataStore:(id)dataStore;
  4086. -(id)init;
  4087. -(id)copyWithZone:(NSZone*)zone;
  4088. @end
  4089.  
  4090. @interface USPresentDialogAction : USBaseAction {
  4091. id<USViewController> _alert;
  4092. }
  4093. @property(retain, nonatomic) id<USViewController> alert;
  4094. +(id)type;
  4095. -(void).cxx_destruct;
  4096. -(id)initWithParameters:(id)parameters map:(id)map handler:(id)handler;
  4097. @end
  4098.  
  4099. @interface USIncrementValueOperation : USModifyValueOperation {
  4100. }
  4101. +(id)operatorName;
  4102. -(id)valueByPerformingOperationWithObject:(id)object error:(id*)error;
  4103. -(id)initWithPropertyName:(id)propertyName propertyValue:(id)value;
  4104. @end
  4105.  
  4106. @interface USContentUnitViewController : UIViewController <UIWebViewDelegate, UIViewControllerTransitioningDelegate, USViewController> {
  4107. UIWebView* _webView;
  4108. UIView* _contentUnitView;
  4109. UIButton* _closeButton;
  4110. NSMutableDictionary* _viewData;
  4111. id<USViewControllerDelegate> _delegate;
  4112. NSArray* _scopes;
  4113. NSString* _postPresentationTrigger;
  4114. USUpsightContentUnit* _contentUnit;
  4115. USActionMap* _actionMap;
  4116. id _completionHandler;
  4117. double _timestamp;
  4118. double _loadingTimeout;
  4119. }
  4120. @property(retain, nonatomic) NSString* postPresentationTrigger;
  4121. @property(readonly, assign, nonatomic) __weak UIViewController* presentingViewController;
  4122. @property(assign) __weak id<USViewControllerDelegate> delegate;
  4123. @property(copy, nonatomic) NSArray* scopes;
  4124. @property(readonly, assign, nonatomic) double timestamp;
  4125. @property(readonly, assign, nonatomic) double loadingTimeout;
  4126. @property(readonly, copy) NSString* debugDescription;
  4127. @property(readonly, copy) NSString* description;
  4128. @property(readonly, assign) Class superclass;
  4129. @property(readonly, assign) unsigned hash;
  4130. @property(readonly, assign, nonatomic) NSMutableDictionary* viewData;
  4131. @property(copy, nonatomic) id completionHandler;
  4132. @property(retain, nonatomic) USActionMap* actionMap;
  4133. @property(readonly, assign, nonatomic) UIView* contentUnitView;
  4134. @property(readonly, assign, nonatomic) UIWebView* webView;
  4135. @property(readonly, assign, nonatomic) UIButton* closeButton;
  4136. @property(retain, nonatomic) USUpsightContentUnit* contentUnit;
  4137. -(void).cxx_destruct;
  4138. -(void)willAnimateRotationToInterfaceOrientation:(int)interfaceOrientation duration:(double)duration;
  4139. -(id)animationControllerForDismissedController:(id)dismissedController;
  4140. -(id)animationControllerForPresentedController:(id)presentedController presentingController:(id)controller sourceController:(id)controller3;
  4141. -(void)dismissControllerAnimated:(BOOL)animated completion:(id)completion;
  4142. -(void)presentViewControllerWithRoot:(id)root animated:(BOOL)animated completion:(id)completion;
  4143. -(void)buildContent:(id)content actionMap:(id)map completionBlock:(id)block;
  4144. -(void)adjustContentUnitToContainerSize:(CGSize)containerSize;
  4145. -(void)viewDidLayoutSubviews;
  4146. -(void)viewWillTransitionToSize:(CGSize)view withTransitionCoordinator:(id)transitionCoordinator;
  4147. -(BOOL)prefersStatusBarHidden;
  4148. -(void)viewDidLoad;
  4149. -(void)failWithError:(id)error;
  4150. -(id)JSONStringWithObject:(id)object;
  4151. -(BOOL)sendCallback:(id)callback withResponse:(id)response error:(id)error;
  4152. -(void)handleLoadContextWithCallback:(id)callback;
  4153. -(void)handleDispatchURL:(id)url;
  4154. -(void)webViewDidFinishLoad:(id)webView;
  4155. -(void)webView:(id)view didFailLoadWithError:(id)error;
  4156. -(BOOL)webView:(id)view shouldStartLoadWithRequest:(id)request navigationType:(int)type;
  4157. -(id)viewDataForKey:(id)key;
  4158. -(void)setViewData:(id)data forKey:(id)key;
  4159. -(void)updateViewDataWithDispatchContext:(id)dispatchContext;
  4160. -(void)dismissController:(id)controller;
  4161. -(void)presentCloseButtonWithDelay:(double)delay;
  4162. -(void)dealloc;
  4163. -(id)initWithNibName:(id)nibName bundle:(id)bundle;
  4164. @end
  4165.  
  4166. @interface USPresentScopelessContentAction : USBaseAction {
  4167. NSString* _selfID;
  4168. NSString* _nextID;
  4169. }
  4170. @property(readonly, assign, nonatomic) NSString* nextID;
  4171. @property(readonly, assign, nonatomic) NSString* selfID;
  4172. +(id)type;
  4173. -(void).cxx_destruct;
  4174. -(id)initWithParameters:(id)parameters map:(id)map handler:(id)handler;
  4175. @end
  4176.  
  4177. @interface USActionMap : NSObject {
  4178. BOOL _actionMapDisposed;
  4179. NSMutableSet* _executingActions;
  4180. NSString* _actionFactoryType;
  4181. NSString* _ID;
  4182. id<USActionMapDelegate> _delegate;
  4183. NSDictionary* _triggerToActionsMap;
  4184. NSSet* _actionTypesIndex;
  4185. }
  4186. @property(assign, nonatomic, getter=isActionMapDisposed) BOOL actionMapDisposed;
  4187. @property(readonly, assign, nonatomic) NSSet* actionTypesIndex;
  4188. @property(readonly, assign, nonatomic) NSMutableSet* executingActions;
  4189. @property(readonly, assign, nonatomic) NSDictionary* triggerToActionsMap;
  4190. @property(assign, nonatomic) __weak id<USActionMapDelegate> delegate;
  4191. @property(readonly, assign, nonatomic) NSString* ID;
  4192. @property(readonly, assign, nonatomic) NSString* actionFactoryType;
  4193. +(void)registerActionHandlersWithRegistry:(id)registry;
  4194. -(void).cxx_destruct;
  4195. -(void)onActionMapDidFinishExecution;
  4196. -(void)onDisposeActionCalled;
  4197. -(BOOL)containsActionsWithType:(id)type;
  4198. -(void)executeActionsForTrigger:(id)trigger;
  4199. -(id)initWithActionMapDictionary:(id)actionMapDictionary factory:(id)factory;
  4200. -(id)init;
  4201. @end
  4202.  
  4203. @interface USUpsightContentUnit : NSObject <USContentUnit> {
  4204. BOOL _fullScreen;
  4205. NSURL* _templateURL;
  4206. NSDictionary* _context;
  4207. NSString* _contentProvider;
  4208. NSNumber* _contentID;
  4209. CGRect _portraitFrame;
  4210. CGRect _landscapeFrame;
  4211. }
  4212. @property(readonly, assign, nonatomic) NSString* contentProvider;
  4213. @property(readonly, copy) NSString* debugDescription;
  4214. @property(readonly, copy) NSString* description;
  4215. @property(readonly, assign) Class superclass;
  4216. @property(readonly, assign) unsigned hash;
  4217. @property(readonly, assign, nonatomic) CGRect landscapeFrame;
  4218. @property(readonly, assign, nonatomic) CGRect portraitFrame;
  4219. @property(readonly, assign, nonatomic) NSNumber* contentID;
  4220. @property(readonly, assign, nonatomic, getter=isFullScreen) BOOL fullScreen;
  4221. @property(readonly, assign, nonatomic) NSDictionary* context;
  4222. @property(readonly, assign, nonatomic) NSURL* templateURL;
  4223. -(void).cxx_destruct;
  4224. -(CGRect)frameForContainerSize:(CGSize)containerSize;
  4225. -(id)initWithDictionary:(id)dictionary;
  4226. -(id)init;
  4227. @end
  4228.  
  4229. @interface USTriggerIfContentAvailableAction : USConditionalAction {
  4230. NSString* _ID;
  4231. double _timeout;
  4232. }
  4233. @property(readonly, assign, nonatomic) double timeout;
  4234. @property(readonly, assign, nonatomic) NSString* ID;
  4235. +(id)type;
  4236. -(void).cxx_destruct;
  4237. -(id)initWithParameters:(id)parameters map:(id)map handler:(id)handler;
  4238. @end
  4239.  
  4240. @interface USPresentScopedDialogAction : USBaseAction {
  4241. id<USViewController> _alert;
  4242. NSArray* _scopeList;
  4243. }
  4244. @property(retain, nonatomic) NSArray* scopeList;
  4245. @property(retain, nonatomic) id<USViewController> alert;
  4246. +(id)type;
  4247. -(void).cxx_destruct;
  4248. -(id)initWithParameters:(id)parameters map:(id)map handler:(id)handler;
  4249. @end
  4250.  
  4251. @interface USManagedVariable : NSObject {
  4252. NSString* _tag;
  4253. id _value;
  4254. }
  4255. @property(retain, nonatomic) id value;
  4256. @property(retain, nonatomic) NSString* tag;
  4257. +(id)keyPathsForValuesAffectingValueForKey:(id)key;
  4258. +(id)allManagedVariables;
  4259. +(id)managedBooleanWithTag:(id)tag;
  4260. +(id)managedFloatWithTag:(id)tag;
  4261. +(id)managedIntegerWithTag:(id)tag;
  4262. +(id)managedStringWithTag:(id)tag;
  4263. -(void).cxx_destruct;
  4264. -(BOOL)boolValue;
  4265. -(float)floatValue;
  4266. -(int)integerValue;
  4267. -(id)stringValue;
  4268. -(id)initWithTag:(id)tag value:(id)value;
  4269. -(id)init;
  4270. @end
  4271.  
  4272. @interface USSendFormDataAction : USBaseAction {
  4273. NSString* _dataKey;
  4274. NSString* _streamID;
  4275. }
  4276. @property(readonly, assign, nonatomic) NSString* streamID;
  4277. @property(readonly, assign, nonatomic) NSString* dataKey;
  4278. +(id)type;
  4279. -(void).cxx_destruct;
  4280. -(id)initWithParameters:(id)parameters map:(id)map handler:(id)handler;
  4281. @end
  4282.  
  4283. @interface USURLLoaderItem : NSObject {
  4284. NSURLConnection* _connection;
  4285. NSURL* _resultingURL;
  4286. unsigned _numberOfRedirects;
  4287. }
  4288. @property(assign, nonatomic) unsigned numberOfRedirects;
  4289. @property(retain, nonatomic) NSURL* resultingURL;
  4290. @property(retain, nonatomic) NSURLConnection* connection;
  4291. -(void).cxx_destruct;
  4292. @end
  4293.  
  4294. @interface USURLLoader : NSObject <NSURLSessionDelegate> {
  4295. NSURLSession* _URLSession;
  4296. NSMutableDictionary* _dataTaskToLoaderItemMap;
  4297. }
  4298. @property(readonly, copy) NSString* debugDescription;
  4299. @property(readonly, copy) NSString* description;
  4300. @property(readonly, assign) Class superclass;
  4301. @property(readonly, assign) unsigned hash;
  4302. @property(retain, nonatomic) NSMutableDictionary* dataTaskToLoaderItemMap;
  4303. @property(retain, nonatomic) NSURLSession* URLSession;
  4304. -(void).cxx_destruct;
  4305. -(void)openURL:(id)url;
  4306. -(void)completeTask:(id)task;
  4307. -(BOOL)isRequestWithStandardURLScheme:(id)standardURLScheme;
  4308. -(void)URLSession:(id)session dataTask:(id)task didReceiveResponse:(id)response completionHandler:(id)handler;
  4309. -(void)URLSession:(id)session task:(id)task willPerformHTTPRedirection:(id)redirection newRequest:(id)request completionHandler:(id)handler;
  4310. -(void)URLSession:(id)session task:(id)task didCompleteWithError:(id)error;
  4311. -(void)URLSession:(id)session didBecomeInvalidWithError:(id)error;
  4312. -(void)loadURL:(id)url;
  4313. @end
  4314.  
  4315. @interface USOpenURLAction : USBaseAction {
  4316. NSURL* _URL;
  4317. }
  4318. @property(readonly, assign, nonatomic) NSURL* URL;
  4319. +(id)type;
  4320. -(void).cxx_destruct;
  4321. -(id)initWithParameters:(id)parameters map:(id)map handler:(id)handler;
  4322. @end
  4323.  
  4324. @interface USViewControllerCache : NSObject {
  4325. NSMutableDictionary* _actionMapIDToControllerMap;
  4326. id<USViewControllerCacheDelegate> _delegate;
  4327. }
  4328. @property(readonly, assign, nonatomic) NSMutableDictionary* actionMapIDToControllerMap;
  4329. @property(assign, nonatomic) __weak id<USViewControllerCacheDelegate> delegate;
  4330. -(void).cxx_destruct;
  4331. -(id)anyControllerForScope:(id)scope;
  4332. -(id)topControllerForActionMapID:(id)actionMapID;
  4333. -(void)removeController:(id)controller;
  4334. -(void)addController:(id)controller;
  4335. @end
  4336.  
  4337. @interface USTransitionAnimator : NSObject <UIViewControllerAnimatedTransitioning> {
  4338. BOOL _presenting;
  4339. }
  4340. @property(readonly, copy) NSString* debugDescription;
  4341. @property(readonly, copy) NSString* description;
  4342. @property(readonly, assign) Class superclass;
  4343. @property(readonly, assign) unsigned hash;
  4344. @property(assign, nonatomic, getter=isPresenting) BOOL presenting;
  4345. -(void)animateTransition:(id)transition;
  4346. -(double)transitionDuration:(id)duration;
  4347. @end
  4348.  
  4349. @interface USDisposeActionMapAction : USBaseAction {
  4350. }
  4351. +(id)type;
  4352. @end
  4353.  
  4354. @interface USModifyValueOperation : NSObject {
  4355. NSString* _propertyName;
  4356. id _propertyValue;
  4357. }
  4358. @property(readonly, assign, nonatomic) id propertyValue;
  4359. @property(readonly, assign, nonatomic) NSString* propertyName;
  4360. +(id)operatorName;
  4361. -(void).cxx_destruct;
  4362. -(id)valueByPerformingOperationWithObject:(id)object error:(id*)error;
  4363. -(id)initWithPropertyName:(id)propertyName propertyValue:(id)value;
  4364. -(id)init;
  4365. @end
  4366.  
  4367. @interface USAssociateOnceAction : USBaseAction {
  4368. USEventDataAssociation* _association;
  4369. }
  4370. @property(readonly, assign, nonatomic) USEventDataAssociation* association;
  4371. +(id)type;
  4372. -(void).cxx_destruct;
  4373. -(id)initWithParameters:(id)parameters map:(id)map handler:(id)handler;
  4374. @end
  4375.  
  4376. @interface USUXMVariableSchema : NSObject {
  4377. id _defaultValue;
  4378. NSString* _type;
  4379. NSString* _tag;
  4380. NSString* _variableDescription;
  4381. }
  4382. @property(readonly, assign, nonatomic) NSDictionary* dictionaryRepresentation;
  4383. @property(readonly, assign, nonatomic) NSString* variableDescription;
  4384. @property(readonly, assign, nonatomic) NSString* tag;
  4385. @property(readonly, assign, nonatomic) NSString* type;
  4386. @property(readonly, assign, nonatomic) id defaultValue;
  4387. -(void).cxx_destruct;
  4388. -(BOOL)isValidValue:(id)value;
  4389. -(id)init;
  4390. -(id)initWithDictionary:(id)dictionary;
  4391. @end
  4392.  
  4393. @interface USPurchaseImpl : NSObject <USPurchase> {
  4394. NSString* _productIdentifier;
  4395. unsigned _quantity;
  4396. }
  4397. @property(readonly, assign, nonatomic) unsigned quantity;
  4398. @property(readonly, assign, nonatomic) NSString* productIdentifier;
  4399. @property(readonly, copy) NSString* debugDescription;
  4400. @property(readonly, copy) NSString* description;
  4401. @property(readonly, assign) Class superclass;
  4402. @property(readonly, assign) unsigned hash;
  4403. -(void).cxx_destruct;
  4404. -(id)initWithDictionary:(id)dictionary;
  4405. -(id)init;
  4406. @end
  4407.  
  4408. @interface USPresentDialogViewController : NSObject <USViewController> {
  4409. USActionMap* _actionMap;
  4410. NSArray* _scopes;
  4411. id<USViewControllerDelegate> _delegate;
  4412. NSString* _postPresentationTrigger;
  4413. UIAlertController* _alertController;
  4414. UIViewController* _presentingViewController;
  4415. double _loadingTimeout;
  4416. double _timestamp;
  4417. }
  4418. @property(retain, nonatomic) NSString* postPresentationTrigger;
  4419. @property(assign) __weak id<USViewControllerDelegate> delegate;
  4420. @property(copy, nonatomic) NSArray* scopes;
  4421. @property(readonly, assign, nonatomic) double loadingTimeout;
  4422. @property(readonly, copy) NSString* debugDescription;
  4423. @property(readonly, copy) NSString* description;
  4424. @property(readonly, assign) Class superclass;
  4425. @property(readonly, assign) unsigned hash;
  4426. @property(assign, nonatomic) __weak UIViewController* presentingViewController;
  4427. @property(retain, nonatomic) USActionMap* actionMap;
  4428. @property(assign, nonatomic) double timestamp;
  4429. @property(retain, nonatomic) UIAlertController* alertController;
  4430. -(void).cxx_destruct;
  4431. -(void)presentCloseButtonWithDelay:(double)delay;
  4432. -(id)viewDataForKey:(id)key;
  4433. -(void)dismissControllerAnimated:(BOOL)animated completion:(id)completion;
  4434. -(void)presentViewControllerWithRoot:(id)root animated:(BOOL)animated completion:(id)completion;
  4435. -(void)buildContent:(id)content actionMap:(id)map completionBlock:(id)block;
  4436. -(id)init;
  4437. @end
  4438.  
  4439. @interface USPresentDialogContent : NSObject <USContentUnit> {
  4440. NSString* _contentProvider;
  4441. NSDictionary* _parameters;
  4442. NSString* _title;
  4443. NSString* _message;
  4444. NSArray* _buttonList;
  4445. }
  4446. @property(readonly, assign, nonatomic) NSString* contentProvider;
  4447. @property(readonly, copy) NSString* debugDescription;
  4448. @property(readonly, copy) NSString* description;
  4449. @property(readonly, assign) Class superclass;
  4450. @property(readonly, assign) unsigned hash;
  4451. @property(readonly, assign, nonatomic) NSArray* buttonList;
  4452. @property(readonly, assign, nonatomic) NSString* message;
  4453. @property(readonly, assign, nonatomic) NSString* title;
  4454. @property(retain, nonatomic) NSDictionary* parameters;
  4455. -(void).cxx_destruct;
  4456. -(id)initWithDictionary:(id)dictionary;
  4457. @end
  4458.  
  4459. @interface USInstallationTracker : NSObject {
  4460. NSDate* _installDate;
  4461. id<UpsightDataStoreInterface> _dataStore;
  4462. }
  4463. @property(readonly, assign, nonatomic) id<UpsightDataStoreInterface> dataStore;
  4464. @property(retain) NSDate* installDate;
  4465. +(void)migrateInstallDateIfNeeded;
  4466. -(void).cxx_destruct;
  4467. -(void)trackInstallation;
  4468. -(id)initWithDataStore:(id)dataStore;
  4469. -(id)init;
  4470. @end
  4471.  
  4472. @interface UpsightInternalObject : NSManagedObject {
  4473. }
  4474. @property(retain, nonatomic) NSDictionary* properties;
  4475. @property(copy, nonatomic) NSString* externalClassName;
  4476. @property(copy, nonatomic) NSString* type;
  4477. +(id)entityDescription;
  4478. @end
  4479.  
  4480. @interface UpsightDynamicConfiguration : NSObject {
  4481. id<UpsightDynamicConfigurationDelegate> _delegate;
  4482. NSDictionary* _configuration;
  4483. }
  4484. @property(retain, nonatomic) NSDictionary* configuration;
  4485. @property(assign, nonatomic) __weak id<UpsightDynamicConfigurationDelegate> delegate;
  4486. +(id)defaultConfiguration;
  4487. -(void).cxx_destruct;
  4488. -(void)willUnload;
  4489. -(void)updateConfiguration:(id)configuration;
  4490. -(id)initWithConfiguration:(id)configuration;
  4491. @end
  4492.  
  4493. @interface UpsightObserverInfo : NSObject {
  4494. NSString* _selector;
  4495. NSObject* _observer;
  4496. NSOperationQueue* _queue;
  4497. NSPredicate* _predicate;
  4498. }
  4499. @property(retain, nonatomic) NSPredicate* predicate;
  4500. @property(retain, nonatomic) NSOperationQueue* queue;
  4501. @property(assign, nonatomic) __weak NSObject* observer;
  4502. @property(copy, nonatomic) NSString* selector;
  4503. -(void).cxx_destruct;
  4504. @end
  4505.  
  4506. @interface UpsightDataStore : NSObject <UpsightDataStoreInterface> {
  4507. NSURL* _dataStoreURL;
  4508. NSString* _dataStoreType;
  4509. NSEntityDescription* _entityDescription;
  4510. NSManagedObjectModel* _objectModel;
  4511. NSPersistentStoreCoordinator* _storeCoordinator;
  4512. NSManagedObjectContext* _objectContext;
  4513. NSOperationQueue* _callbackQueue;
  4514. id _contextChangeObserver;
  4515. NSMutableDictionary* _observers;
  4516. NSMutableArray* _defaultObservers;
  4517. }
  4518. @property(readonly, copy) NSString* debugDescription;
  4519. @property(readonly, copy) NSString* description;
  4520. @property(readonly, assign) Class superclass;
  4521. @property(readonly, assign) unsigned hash;
  4522. @property(retain, nonatomic) NSMutableArray* defaultObservers;
  4523. @property(retain, nonatomic) NSMutableDictionary* observers;
  4524. @property(retain, nonatomic) id contextChangeObserver;
  4525. @property(retain, nonatomic) NSOperationQueue* callbackQueue;
  4526. @property(retain, nonatomic) NSManagedObjectContext* objectContext;
  4527. @property(retain, nonatomic) NSPersistentStoreCoordinator* storeCoordinator;
  4528. @property(retain, nonatomic) NSManagedObjectModel* objectModel;
  4529. @property(retain, nonatomic) NSEntityDescription* entityDescription;
  4530. @property(retain, nonatomic) NSString* dataStoreType;
  4531. @property(retain, nonatomic) NSURL* dataStoreURL;
  4532. +(void)removeFileAtURL:(id)url;
  4533. +(BOOL)createDirectoryWithURL:(id)url;
  4534. +(id)dataStoreURLWithDirectory:(id)directory fileNamePrefix:(id)prefix;
  4535. +(void)removePreReleaseDataStore;
  4536. +(id)preReleaseDefaultStore;
  4537. +(id)defaultStore;
  4538. -(void).cxx_destruct;
  4539. -(id)initWithStorageType:(id)storageType;
  4540. -(id)queryObjects:(id)objects predicate:(id)predicate;
  4541. -(void)removeObjects:(id)objects completion:(id)completion;
  4542. -(void)remove:(id)remove completion:(id)completion;
  4543. -(void)store:(id)store completion:(id)completion;
  4544. -(void)removeObserver:(id)observer type:(id)type predicate:(id)predicate;
  4545. -(void)removeObserver:(id)observer type:(id)type;
  4546. -(void)addObserver:(id)observer selector:(SEL)selector type:(id)type queue:(id)queue predicate:(id)predicate;
  4547. -(void)addObserver:(id)observer selector:(SEL)selector type:(id)type queue:(id)queue;
  4548. -(void)addObserver:(id)observer selector:(SEL)selector type:(id)type;
  4549. -(void)removeDefaultObserver:(id)observer;
  4550. -(void)addDefaultObserver:(id)observer selector:(SEL)selector queue:(id)queue;
  4551. -(void)addDefaultObserver:(id)observer selector:(SEL)selector;
  4552. -(void)notifyObservers:(id)observers action:(unsigned)action;
  4553. -(void)handleContextChangeNotification:(id)notification;
  4554. -(id)generateObjects:(id)objects;
  4555. -(void)buildCoreDataStack;
  4556. -(void)dealloc;
  4557. -(id)initWithDataStoreURL:(id)dataStoreURL;
  4558. -(id)initWithDatabaseDirectoryURL:(id)databaseDirectoryURL fileNamePrefix:(id)prefix;
  4559. -(id)init;
  4560. @end
  4561.  
  4562. @interface UpsightStorableObject : NSObject {
  4563. BOOL _readOnly;
  4564. NSString* _type;
  4565. NSNumber* _version;
  4566. NSString* _ID;
  4567. UpsightInternalObject* _internalObject;
  4568. NSNumber* _storeCount;
  4569. }
  4570. @property(retain, nonatomic) NSNumber* storeCount;
  4571. @property(assign, nonatomic) BOOL readOnly;
  4572. @property(retain, nonatomic) UpsightInternalObject* internalObject;
  4573. @property(retain, nonatomic) NSString* ID;
  4574. @property(readonly, assign, nonatomic) NSNumber* version;
  4575. @property(copy, nonatomic) NSString* type;
  4576. -(void).cxx_destruct;
  4577. -(id)dictionaryRepresentation:(id*)representation;
  4578. -(id)propertyNames;
  4579. -(id)initWithDictionaryRepresentation:(id)dictionaryRepresentation;
  4580. -(id)initWithType:(id)type version:(id)version ID:(id)anId;
  4581. -(id)initWithType:(id)type;
  4582. -(id)init;
  4583. @end
  4584.  
  4585. @interface USServices : NSObject {
  4586. id<UpsightDataStoreInterface> _dataStore;
  4587. USAnalytics* _analytics;
  4588. USDispatcher* _dispatcher;
  4589. USConfigurationManager* _configManager;
  4590. USActionMapManager* _actionMapManager;
  4591. USPartnerManager* _partnerManager;
  4592. USContentUnitBillboardManager* _billboardManager;
  4593. }
  4594. @property(retain, nonatomic) USContentUnitBillboardManager* billboardManager;
  4595. @property(retain, nonatomic) USPartnerManager* partnerManager;
  4596. @property(retain, nonatomic) USActionMapManager* actionMapManager;
  4597. @property(retain, nonatomic) USConfigurationManager* configManager;
  4598. @property(retain, nonatomic) USDispatcher* dispatcher;
  4599. @property(retain, nonatomic) USAnalytics* analytics;
  4600. @property(assign, nonatomic) __weak id<UpsightDataStoreInterface> dataStore;
  4601. -(void).cxx_destruct;
  4602. @end
  4603.  
  4604. @interface USServiceManager : NSObject {
  4605. BOOL _initialized;
  4606. NSNumber* _storedMessageID;
  4607. NSNumber* _storedCampaignID;
  4608. NSMutableSet* _services;
  4609. USInstallationTracker* _installationTracker;
  4610. }
  4611. @property(retain, nonatomic) USInstallationTracker* installationTracker;
  4612. @property(retain, nonatomic) NSMutableSet* services;
  4613. @property(assign, nonatomic) BOOL initialized;
  4614. @property(retain, nonatomic) NSNumber* storedCampaignID;
  4615. @property(retain, nonatomic) NSNumber* storedMessageID;
  4616. +(id)installationTracker;
  4617. +(id)actionMapManagerForStore:(id)store;
  4618. +(id)billboardManagerForStore:(id)store;
  4619. +(id)analyticsForStore:(id)store;
  4620. +(void)load;
  4621. +(id)sharedServiceManager;
  4622. -(void).cxx_destruct;
  4623. -(void)initializeSDK;
  4624. -(void)onApplicationDidFinishLaunching:(id)onApplication;
  4625. -(void)installObservers;
  4626. -(id)partnerManagerForStore:(id)store;
  4627. -(id)actionMapManagerForStore:(id)store;
  4628. -(id)billboardManagerForStore:(id)store;
  4629. -(id)configurationManagerForStore:(id)store;
  4630. -(id)analyticsForStore:(id)store;
  4631. -(id)dispatcherForStore:(id)store;
  4632. -(id)servicesForDataStore:(id)dataStore;
  4633. -(void)stopServicesWithStore:(id)store;
  4634. -(void)startServicesWithStore:(id)store;
  4635. -(void)dealloc;
  4636. -(id)init;
  4637. @end
  4638.  
  4639. @interface USMigrationManager : NSObject {
  4640. }
  4641. +(void)migrateIfNeeded;
  4642. @end
  4643.  
  4644. @interface USUnrenderedContentEvent : USEvent {
  4645. }
  4646. @property(readonly, assign, nonatomic) NSString* scope;
  4647. @property(readonly, assign, nonatomic) NSNumber* campaignID;
  4648. @property(readonly, assign, nonatomic) NSNumber* contentID;
  4649. +(id)eventWithParameters:(id)parameters contentID:(id)anId campaignID:(id)anId3 scope:(id)scope;
  4650. -(id)initWithParameters:(id)parameters contentID:(id)anId campaignID:(id)anId3 scope:(id)scope;
  4651. -(id)initWithType:(id)type parameters:(id)parameters;
  4652. @end
  4653.  
  4654. @interface USMilestoneEvent : USEvent {
  4655. }
  4656. @property(readonly, assign, nonatomic) NSString* scope;
  4657. +(id)milestoneEventWithParameters:(id)parameters scope:(id)scope;
  4658. -(id)initWithParameters:(id)parameters scope:(id)scope;
  4659. -(id)initWithType:(id)type parameters:(id)parameters;
  4660. -(id)init;
  4661. @end
  4662.  
  4663. @interface USInAppPurchaseEvent : USEvent {
  4664. }
  4665. @property(readonly, assign, nonatomic) USInAppPurchaseInfo* info;
  4666. +(id)inAppPurchaseEventWithParameters:(id)parameters IAPInfo:(id)info;
  4667. -(id)initWithParameters:(id)parameters IAPInfo:(id)info;
  4668. -(id)initWithType:(id)type parameters:(id)parameters;
  4669. -(id)init;
  4670. @end
  4671.  
  4672. @interface USDynamicEvent : USEvent {
  4673. }
  4674. @property(readonly, assign, nonatomic) NSDictionary* pubData;
  4675. @property(readonly, assign, nonatomic) NSDictionary* upsightData;
  4676. @property(readonly, assign, nonatomic) NSString* dynamicType;
  4677. -(id)initWithWithParameters:(id)parameters eventDictionary:(id)dictionary;
  4678. -(id)initWithType:(id)type parameters:(id)parameters;
  4679. -(id)init;
  4680. @end
  4681.  
  4682. @interface USEventDataAssociation : NSObject <NSCoding> {
  4683. NSString* _eventType;
  4684. USUpsightDataFilter* _upsightDataFilter;
  4685. NSDictionary* _upsightData;
  4686. }
  4687. @property(readonly, assign, nonatomic) NSDictionary* upsightData;
  4688. @property(readonly, assign, nonatomic) USUpsightDataFilter* upsightDataFilter;
  4689. @property(readonly, assign, nonatomic) NSString* eventType;
  4690. +(id)associationWithEventType:(id)eventType upsightDataFilter:(id)filter upsightData:(id)data;
  4691. -(void).cxx_destruct;
  4692. -(BOOL)isEqual:(id)equal;
  4693. -(BOOL)isEqualToAssociation:(id)association;
  4694. -(unsigned)hash;
  4695. -(void)encodeWithCoder:(id)coder;
  4696. -(id)initWithCoder:(id)coder;
  4697. -(id)initWithEventType:(id)eventType upsightDataFilter:(id)filter upsightData:(id)data;
  4698. @end
  4699.  
  4700. @interface USMonetizationEvent : USEvent {
  4701. USMonetizationPurchaseInfo* _info;
  4702. }
  4703. @property(retain, nonatomic) USMonetizationPurchaseInfo* info;
  4704. +(id)monetizationEventWithWithParameters:(id)parameters info:(id)info;
  4705. -(void).cxx_destruct;
  4706. -(id)initWithParameters:(id)parameters monetizationInfo:(id)info;
  4707. -(id)initWithType:(id)type parameters:(id)parameters;
  4708. -(id)init;
  4709. @end
  4710.  
  4711. @interface USInstallEvent : USEvent {
  4712. }
  4713. -(id)initWithParameters:(id)parameters;
  4714. -(id)initWithType:(id)type parameters:(id)parameters;
  4715. -(id)init;
  4716. @end
  4717.  
  4718. @interface USEventFactory : NSObject {
  4719. }
  4720. +(id)attributionEventForCampaign:(id)campaign creative:(id)creative source:(id)source pubData:(id)data;
  4721. +(id)UXMEnumerateEventWithUXMSchema:(id)uxmschema pubData:(id)data;
  4722. +(id)pushUnregistrationEventWithPubData:(id)pubData;
  4723. +(id)pushRegistrationEventWithToken:(id)token pubData:(id)data;
  4724. +(id)pushReceivedEventWithMessageID:(id)messageID campaignID:(id)anId pubData:(id)data;
  4725. +(id)sessionResumeEventWithPubData:(id)pubData;
  4726. +(id)sessionPauseEventWithPubData:(id)pubData;
  4727. +(id)sessionStartEventWithPubData:(id)pubData;
  4728. +(id)configurationRequestWithPubData:(id)pubData;
  4729. +(id)monetizationEventWithInfo:(id)info pubData:(id)data;
  4730. +(id)dynamicEventWithEventDictionary:(id)eventDictionary;
  4731. +(id)inAppPurchaseEventWithIAPInfo:(id)iapinfo pubData:(id)data;
  4732. +(id)installEventWithPubData:(id)pubData;
  4733. +(id)milestoneEventForScope:(id)scope pubData:(id)data;
  4734. +(id)unrenderedContentEventWithContentID:(id)contentID campaignID:(id)anId scope:(id)scope pubData:(id)data;
  4735. +(id)dataCollectionEventWitDataBundle:(id)bundle streamID:(id)anId pubData:(id)data;
  4736. +(id)analyticsEventWithName:(id)name pubData:(id)data;
  4737. +(id)sharedFactory;
  4738. -(void)extendEventWithAssociatedData:(id)associatedData;
  4739. -(id)buildEventWithInitializer:(id)initializer attributeSetName:(id)name pubData:(id)data;
  4740. -(id)eventParametersWithAttributeSetName:(id)attributeSetName pubData:(id)data;
  4741. -(id)copyWithZone:(NSZone*)zone;
  4742. @end
  4743.  
  4744. @interface USJSONDataBundle : NSObject <USDataBundle> {
  4745. NSDictionary* _dataBundleDictionary;
  4746. }
  4747. @property(readonly, assign, nonatomic) NSString* dataString;
  4748. @property(readonly, assign, nonatomic) NSString* formatString;
  4749. @property(readonly, assign, nonatomic) NSDictionary* dataBundleDictionary;
  4750. -(void).cxx_destruct;
  4751. -(id)initWithCoder:(id)coder;
  4752. -(void)encodeWithCoder:(id)coder;
  4753. -(id)initWithDataBundleDictionary:(id)dataBundleDictionary;
  4754. -(id)init;
  4755. @end
  4756.  
  4757. @interface USAnalytics : NSObject <USAnalyticsInterface> {
  4758. id<UpsightDataStoreInterface> _dataStore;
  4759. }
  4760. @property(readonly, copy) NSString* debugDescription;
  4761. @property(readonly, copy) NSString* description;
  4762. @property(readonly, assign) Class superclass;
  4763. @property(readonly, assign) unsigned hash;
  4764. @property(readonly, assign, nonatomic) id<UpsightDataStoreInterface> dataStore;
  4765. -(void).cxx_destruct;
  4766. -(void)record:(id)record;
  4767. -(id)initWithDataStore:(id)dataStore;
  4768. -(id)init;
  4769. @end
  4770.  
  4771. @interface USAttributionEvent : USEvent {
  4772. }
  4773. @property(readonly, assign, nonatomic) NSString* source;
  4774. @property(readonly, assign, nonatomic) NSString* creative;
  4775. @property(readonly, assign, nonatomic) NSString* campaign;
  4776. +(id)attributionEventWithParameters:(id)parameters campaign:(id)campaign creative:(id)creative source:(id)source;
  4777. -(id)initWithParameters:(id)parameters campaign:(id)campaign creative:(id)creative source:(id)source;
  4778. -(id)initWithType:(id)type parameters:(id)parameters;
  4779. -(id)init;
  4780. @end
  4781.  
  4782. @interface USUserAttributes : NSObject {
  4783. NSDictionary* _bundleUserAttributes;
  4784. NSMutableDictionary* _userAttributes;
  4785. }
  4786. @property(readonly, assign) NSDictionary* bundleUserAttributes;
  4787. @property(retain, nonatomic) NSMutableDictionary* userAttributes;
  4788. +(id)dictionaryRepresentation;
  4789. +(BOOL)boolForKey:(id)key;
  4790. +(void)setBool:(BOOL)aBool forKey:(id)key;
  4791. +(id)dateForKey:(id)key;
  4792. +(void)setDate:(id)date forKey:(id)key;
  4793. +(id)stringForKey:(id)key;
  4794. +(void)setString:(id)string forKey:(id)key;
  4795. +(id)numberForKey:(id)key;
  4796. +(void)setNumber:(id)number forKey:(id)key;
  4797. +(id)nilDate;
  4798. +(void)clearUserAttributes;
  4799. +(id)sharedUserAttributes;
  4800. -(void).cxx_destruct;
  4801. -(BOOL)isValidValue:(id)value forKey:(id)key expectedValueClass:(Class)aClass;
  4802. -(BOOL)isValidKey:(id)key;
  4803. -(id)dateForKey:(id)key;
  4804. -(void)setDate:(id)date forKey:(id)key;
  4805. -(id)stringForKey:(id)key;
  4806. -(void)setString:(id)string forKey:(id)key;
  4807. -(id)numberForKey:(id)key;
  4808. -(void)setNumber:(id)number forKey:(id)key;
  4809. @end
  4810.  
  4811. @interface USAnalyticsEvent : USEvent {
  4812. }
  4813. @property(readonly, assign, nonatomic) NSString* name;
  4814. +(id)analyticsEventWithParameters:(id)parameters name:(id)name;
  4815. -(id)initWithParameters:(id)parameters name:(id)name;
  4816. -(id)init;
  4817. -(id)initWithType:(id)type parameters:(id)parameters;
  4818. @end
  4819.  
  4820. @interface USMonetizationPurchaseInfo : USPurchaseInfo {
  4821. }
  4822. @property(retain, nonatomic) NSString* product;
  4823. @property(retain, nonatomic) NSString* currency;
  4824. @property(assign, nonatomic) float totalPrice;
  4825. +(id)infoWithResolution:(unsigned)resolution currency:(id)currency quantity:(unsigned)quantity product:(id)product price:(float)price;
  4826. +(id)infoWithResolution:(unsigned)resolution totalPrice:(float)price currency:(id)currency product:(id)product;
  4827. -(id)initWithCoder:(id)coder;
  4828. -(id)initWithDictionaryRepresentation:(id)dictionaryRepresentation;
  4829. -(id)initWithResolution:(unsigned)resolution totalPrice:(float)price currency:(id)currency quantity:(unsigned)quantity product:(id)product price:(float)price6;
  4830. @end
  4831.  
  4832. @interface USUpsightDataFilter : NSObject <NSCoding> {
  4833. NSString* _key;
  4834. NSArray* _values;
  4835. }
  4836. @property(readonly, assign, nonatomic) NSArray* values;
  4837. @property(readonly, assign, nonatomic) NSString* key;
  4838. -(void).cxx_destruct;
  4839. -(BOOL)isEqual:(id)equal;
  4840. -(BOOL)isEqualToFilter:(id)filter;
  4841. -(unsigned)hash;
  4842. -(BOOL)matchesUpsightData:(id)data;
  4843. -(void)encodeWithCoder:(id)coder;
  4844. -(id)initWithCoder:(id)coder;
  4845. -(id)initWithKey:(id)key values:(id)values;
  4846. -(id)init;
  4847. @end
  4848.  
  4849. @interface USUXMEnumerateEvent : USEvent {
  4850. }
  4851. @property(readonly, assign, nonatomic) NSArray* UXMSchema;
  4852. +(id)eventWithParameters:(id)parameters UXMSchema:(id)schema;
  4853. -(id)initWithParameters:(id)parameters UXMSchema:(id)schema;
  4854. -(id)initWithType:(id)type parameters:(id)parameters;
  4855. @end
  4856.  
  4857. @interface USAssociationDataProvider : NSObject {
  4858. USEventDataAssociationMap* _oneTimeAssociationMap;
  4859. }
  4860. @property(retain, nonatomic) USEventDataAssociationMap* oneTimeAssociationMap;
  4861. +(id)sharedProvider;
  4862. -(void).cxx_destruct;
  4863. -(void)addOneTimeAssociation:(id)association;
  4864. -(id)obtainAndRemoveAssociatedUpsightDataForEventType:(id)eventType upsightData:(id)data;
  4865. -(id)initWithAssociationMap:(id)associationMap;
  4866. -(id)copyWithZone:(NSZone*)zone;
  4867. @end
  4868.  
  4869. @interface USPurchaseInfo : NSObject <NSCoding> {
  4870. unsigned _resolution;
  4871. NSString* _product;
  4872. unsigned _quantity;
  4873. NSString* _currency;
  4874. float _price;
  4875. float _totalPrice;
  4876. }
  4877. @property(readonly, assign, nonatomic) NSDictionary* dictionaryRepresentation;
  4878. @property(assign, nonatomic) float totalPrice;
  4879. @property(assign, nonatomic) float price;
  4880. @property(retain, nonatomic) NSString* currency;
  4881. @property(assign, nonatomic) unsigned quantity;
  4882. @property(retain, nonatomic) NSString* product;
  4883. @property(assign, nonatomic) unsigned resolution;
  4884. +(id)resolutionMap;
  4885. -(void).cxx_destruct;
  4886. -(id)initWithCoder:(id)coder;
  4887. -(void)encodeWithCoder:(id)coder;
  4888. -(BOOL)isEqual:(id)equal;
  4889. -(id)initWithDictionaryRepresentation:(id)dictionaryRepresentation;
  4890. -(id)initWithResolution:(unsigned)resolution totalPrice:(float)price currency:(id)currency quantity:(unsigned)quantity product:(id)product price:(float)price6;
  4891. -(id)init;
  4892. @end
  4893.  
  4894. @interface USAssociationStorable : UpsightStorableObject {
  4895. USEventDataAssociation* _association;
  4896. double _timestamp;
  4897. }
  4898. @property(readonly, assign, nonatomic) USEventDataAssociation* association;
  4899. @property(assign, nonatomic) double timestamp;
  4900. -(void).cxx_destruct;
  4901. -(void)resetTimestamp;
  4902. -(id)initWithEventDataAssociation:(id)eventDataAssociation;
  4903. -(id)initWithType:(id)type version:(id)version ID:(id)anId;
  4904. @end
  4905.  
  4906. @interface USEventDataAssociationMap : NSObject {
  4907. NSMutableDictionary* _typeToAssociationsMap;
  4908. id<UpsightDataStoreInterface> _dataStore;
  4909. double _expirationInterval;
  4910. }
  4911. @property(readonly, assign, nonatomic) double expirationInterval;
  4912. @property(readonly, assign, nonatomic) NSMutableDictionary* typeToAssociationsMap;
  4913. @property(readonly, assign, nonatomic) id<UpsightDataStoreInterface> dataStore;
  4914. -(void).cxx_destruct;
  4915. -(BOOL)isStorableExpired:(id)expired;
  4916. -(void)removeCachedStorables:(id)storables;
  4917. -(void)cacheStorables:(id)storables;
  4918. -(void)filterStorables:(id)storables expired:(id*)expired valid:(id*)valid;
  4919. -(void)loadAndCacheAssociationStorables;
  4920. -(id)associationsForEventType:(id)eventType;
  4921. -(void)removeAssociation:(id)association;
  4922. -(void)addAssociation:(id)association;
  4923. -(id)init;
  4924. -(id)initWithDataStore:(id)dataStore expirationInterval:(double)interval;
  4925. @end
  4926.  
  4927. @interface USDataCollectionEvent : USEvent {
  4928. }
  4929. @property(readonly, copy, nonatomic) NSString* streamID;
  4930. @property(readonly, copy, nonatomic) NSString* dataBundle;
  4931. @property(readonly, copy, nonatomic) NSString* format;
  4932. -(id)initWithParameters:(id)parameters format:(id)format dataBundle:(id)bundle streamID:(id)anId;
  4933. -(id)initWithType:(id)type parameters:(id)parameters;
  4934. @end
  4935.  
  4936. @interface USInAppPurchaseInfo : USPurchaseInfo {
  4937. NSString* _transactionIdentifier;
  4938. NSDictionary* _IAPBundle;
  4939. }
  4940. @property(retain, nonatomic) NSDictionary* IAPBundle;
  4941. @property(readonly, assign, nonatomic) NSDictionary* dictionaryRepresentation;
  4942. @property(assign, nonatomic) float totalPrice;
  4943. @property(assign, nonatomic) float price;
  4944. @property(retain, nonatomic) NSString* currency;
  4945. @property(readonly, assign, nonatomic) NSString* transactionIdentifier;
  4946. @property(readonly, assign, nonatomic) unsigned quantity;
  4947. @property(readonly, assign, nonatomic) NSString* product;
  4948. @property(readonly, assign, nonatomic) unsigned resolution;
  4949. +(id)IAPInfoWithResolution:(unsigned)resolution currency:(id)currency quantity:(unsigned)quantity product:(id)product price:(float)price transactionIdentifier:(id)identifier;
  4950. -(void).cxx_destruct;
  4951. -(id)initWithCoder:(id)coder;
  4952. -(void)encodeWithCoder:(id)coder;
  4953. -(id)initWithDictionaryRepresentation:(id)dictionaryRepresentation;
  4954. -(id)initWithResolution:(unsigned)resolution currency:(id)currency quantity:(unsigned)quantity product:(id)product price:(float)price transactionIdentifier:(id)identifier;
  4955. -(id)initWithResolution:(unsigned)resolution totalPrice:(float)price currency:(id)currency quantity:(unsigned)quantity product:(id)product price:(float)price6;
  4956. @end
  4957.  
  4958. @interface UpsightLogger : NSObject {
  4959. NSString* _name;
  4960. UpsightDataStore* _store;
  4961. }
  4962. @property(retain, nonatomic) UpsightDataStore* store;
  4963. @property(copy, nonatomic) NSString* name;
  4964. +(id)loggerForName:(id)name;
  4965. +(void)setDefaultLogLevel:(int)level;
  4966. +(int)defaultLogLevel;
  4967. +(void)initialize;
  4968. -(void).cxx_destruct;
  4969. -(void)observeLogDataStored:(id)stored action:(unsigned)action;
  4970. -(void)logDataWithLevel:(int)level fileName:(id)name line:(int)line function:(id)function message:(id)message;
  4971. -(void)logMessage:(id)message;
  4972. -(id)initWithName:(id)name store:(id)store;
  4973. -(void)dealloc;
  4974. @end
  4975.  
  4976. @interface UpsightLogData : UpsightStorableObject {
  4977. NSString* _name;
  4978. NSString* _message;
  4979. NSString* _file;
  4980. NSString* _function;
  4981. int _lineNumber;
  4982. int _level;
  4983. }
  4984. @property(assign, nonatomic) int level;
  4985. @property(assign, nonatomic) int lineNumber;
  4986. @property(retain, nonatomic) NSString* function;
  4987. @property(retain, nonatomic) NSString* file;
  4988. @property(retain, nonatomic) NSString* message;
  4989. @property(retain, nonatomic) NSString* name;
  4990. -(void).cxx_destruct;
  4991. -(id)initWithMessage:(id)message loggingLevel:(int)level;
  4992. -(id)initWithType:(id)type version:(id)version ID:(id)anId;
  4993. -(id)init;
  4994. @end
  4995.  
  4996. @interface USTrashDeliveryQueue : NSObject <USDeliveryQueueInterface> {
  4997. id<USDeliveryQueueDelegate> _delegate;
  4998. USQueueConfiguration* _queueConfiguration;
  4999. NSOperationQueue* _operationQueue;
  5000. }
  5001. @property(assign, nonatomic) __weak id<USDeliveryQueueDelegate> delegate;
  5002. @property(readonly, assign, nonatomic) NSString* name;
  5003. @property(retain, nonatomic) NSOperationQueue* operationQueue;
  5004. @property(retain, nonatomic) USQueueConfiguration* queueConfiguration;
  5005. -(void).cxx_destruct;
  5006. -(void)enqueuePacket:(id)packet;
  5007. -(void)drain;
  5008. -(id)initWithQueueConfiguration:(id)queueConfiguration operationQueue:(id)queue;
  5009. -(id)init;
  5010. @end
  5011.  
  5012. @interface USStorableOptOut : UpsightStorableObject {
  5013. BOOL _optOutStatus;
  5014. }
  5015. @property(assign) BOOL optOutStatus;
  5016. +(BOOL)defaultOptOutStatus;
  5017. -(id)initWithType:(id)type version:(id)version ID:(id)anId;
  5018. -(id)init;
  5019. @end
  5020.  
  5021. @interface USDeliveryQueue : NSObject <USBatcherDelegate, USDeliveryQueueInterface> {
  5022. id<USDeliveryQueueDelegate> _delegate;
  5023. USQueueConfiguration* _queueConfiguration;
  5024. USRequestAttributeSetBuilder* _attributeBuilder;
  5025. id<USDataSenderInterface> _dataSender;
  5026. NSMutableDictionary* _attributeSetNameToBatcher;
  5027. NSMutableDictionary* _eventIdToPacket;
  5028. NSOperationQueue* _operationQueue;
  5029. }
  5030. @property(assign, nonatomic) __weak id<USDeliveryQueueDelegate> delegate;
  5031. @property(readonly, assign, nonatomic) NSString* name;
  5032. @property(readonly, copy) NSString* debugDescription;
  5033. @property(readonly, copy) NSString* description;
  5034. @property(readonly, assign) Class superclass;
  5035. @property(readonly, assign) unsigned hash;
  5036. @property(retain, nonatomic) NSOperationQueue* operationQueue;
  5037. @property(retain, nonatomic) NSMutableDictionary* eventIdToPacket;
  5038. @property(retain, nonatomic) NSMutableDictionary* attributeSetNameToBatcher;
  5039. @property(retain, nonatomic) id<USDataSenderInterface> dataSender;
  5040. @property(retain, nonatomic) USRequestAttributeSetBuilder* attributeBuilder;
  5041. @property(retain, nonatomic) USQueueConfiguration* queueConfiguration;
  5042. -(void).cxx_destruct;
  5043. -(void)batcher:(id)batcher didFailEventsDelivery:(id)delivery error:(id)error;
  5044. -(void)batcher:(id)batcher didDeliverEvents:(id)events response:(id)response;
  5045. -(void)drain;
  5046. -(id)packetsForEventIDs:(id)eventIDs;
  5047. -(id)eventIDsFromEvents:(id)events;
  5048. -(void)enqueuePacket:(id)packet;
  5049. -(id)initWithQueueConfiguration:(id)queueConfiguration attributeBuilder:(id)builder operationQueue:(id)queue dataSender:(id)sender;
  5050. -(id)init;
  5051. @end
  5052.  
  5053. @interface USRetryInfo : NSObject {
  5054. unsigned _counter;
  5055. }
  5056. @property(assign, nonatomic) unsigned counter;
  5057. @end
  5058.  
  5059. @interface USBatcher : NSObject {
  5060. id<USBatcherDelegate> _delegate;
  5061. NSOperationQueue* _operationQueue;
  5062. USEventBatch* _activeBatch;
  5063. NSMutableSet* _pendingBatches;
  5064. id<USDataSenderInterface> _dataSender;
  5065. NSTimer* _sendTimer;
  5066. NSTimer* _retryTimer;
  5067. NSMutableDictionary* _retryInfos;
  5068. USRequestAttributeSetBuilder* _attributeBuilder;
  5069. NSString* _attributeSetName;
  5070. USQueueConfiguration* _queueConfiguration;
  5071. }
  5072. @property(retain) USQueueConfiguration* queueConfiguration;
  5073. @property(retain, nonatomic) NSString* attributeSetName;
  5074. @property(retain, nonatomic) USRequestAttributeSetBuilder* attributeBuilder;
  5075. @property(retain, nonatomic) NSMutableDictionary* retryInfos;
  5076. @property(retain, nonatomic) NSTimer* retryTimer;
  5077. @property(retain, nonatomic) NSTimer* sendTimer;
  5078. @property(retain, nonatomic) id<USDataSenderInterface> dataSender;
  5079. @property(retain, nonatomic) NSMutableSet* pendingBatches;
  5080. @property(retain, nonatomic) USEventBatch* activeBatch;
  5081. @property(retain, nonatomic) NSOperationQueue* operationQueue;
  5082. @property(assign, nonatomic) __weak id<USBatcherDelegate> delegate;
  5083. -(void).cxx_destruct;
  5084. -(void)onRetryTimerDidFire:(id)onRetryTimer;
  5085. -(void)installRetryTimer;
  5086. -(void)onSendTimerDidFire:(id)onSendTimer;
  5087. -(void)invalidateSendTimer;
  5088. -(void)installSendTimer;
  5089. -(void)dispatchBatch:(id)batch;
  5090. -(id)endpointURLForQueueConfiguration:(id)queueConfiguration;
  5091. -(BOOL)shouldRetryBatch:(id)batch afterError:(id)error;
  5092. -(void)removeRetryInfoForBatch:(id)batch;
  5093. -(id)retryInfoForBatch:(id)batch;
  5094. -(void)enqueueEvent:(id)event;
  5095. -(void)drain;
  5096. -(id)initWithQueueConfiguration:(id)queueConfiguration attributeSetName:(id)name attributeBuilder:(id)builder dataSender:(id)sender operationQueue:(id)queue;
  5097. -(id)init;
  5098. @end
  5099.  
  5100. @interface USEventRouter : NSObject <USDeliveryQueueDelegate> {
  5101. id<USEventRouterDelegate> _delegate;
  5102. NSDictionary* _queueNameToQueues;
  5103. NSDictionary* _eventTypeToRoutes;
  5104. NSMutableSet* _packetRegistry;
  5105. NSOperationQueue* _operationQueue;
  5106. NSArray* _sortedFilters;
  5107. }
  5108. @property(readonly, copy) NSString* debugDescription;
  5109. @property(readonly, copy) NSString* description;
  5110. @property(readonly, assign) Class superclass;
  5111. @property(readonly, assign) unsigned hash;
  5112. @property(retain, nonatomic) NSArray* sortedFilters;
  5113. @property(retain, nonatomic) NSOperationQueue* operationQueue;
  5114. @property(retain, nonatomic) NSMutableSet* packetRegistry;
  5115. @property(retain, nonatomic) NSDictionary* eventTypeToRoutes;
  5116. @property(retain, nonatomic) NSDictionary* queueNameToQueues;
  5117. @property(assign, nonatomic) __weak id<USEventRouterDelegate> delegate;
  5118. @property(readonly, assign, nonatomic, getter=isEmpty) BOOL empty;
  5119. +(id)routerWithDispatcherConfiguration:(id)dispatcherConfiguration attributeBuilder:(id)builder operationQueue:(id)queue dataSender:(id)sender;
  5120. -(void).cxx_destruct;
  5121. -(void)deliveryQueue:(id)queue didFailPacketsDelivery:(id)delivery error:(id)error;
  5122. -(void)deliveryQueue:(id)queue didDeliverPackets:(id)packets response:(id)response;
  5123. -(void)drain;
  5124. -(id)itemsFromPackets:(id)packets;
  5125. -(void)unregisterPackets:(id)packets;
  5126. -(void)registerPacket:(id)packet;
  5127. -(BOOL)canRouteItem:(id)item;
  5128. -(void)routeItem:(id)item;
  5129. -(id)routeWithBestMatchForEvent:(id)event;
  5130. -(id)initWithDispatcherConfiguration:(id)dispatcherConfiguration attributeBuilder:(id)builder operationQueue:(id)queue dataSender:(id)sender;
  5131. -(id)init;
  5132. @end
  5133.  
  5134. @interface USDeliveryQueueFactory : NSObject {
  5135. }
  5136. +(id)deliveryQueueWithConfiguration:(id)configuration attributeBuilder:(id)builder operationQueue:(id)queue dataSender:(id)sender;
  5137. @end
  5138.  
  5139. @interface USLocation : NSObject <NSCoding, NSCopying> {
  5140. CLLocation* _coreLocation;
  5141. unsigned _validForSessionWithNumber;
  5142. }
  5143. @property(assign, nonatomic) unsigned validForSessionWithNumber;
  5144. @property(readonly, assign, nonatomic, getter=isValid) BOOL valid;
  5145. @property(readonly, assign, nonatomic) CLLocation* coreLocation;
  5146. -(void).cxx_destruct;
  5147. -(id)copyWithZone:(NSZone*)zone;
  5148. -(id)initWithCoder:(id)coder;
  5149. -(void)encodeWithCoder:(id)coder;
  5150. -(id)initWithCoreLocation:(id)coreLocation;
  5151. -(id)init;
  5152. @end
  5153.  
  5154. @interface USConnectionInfo : NSObject {
  5155. NSMutableData* _responseData;
  5156. NSOperationQueue* _callbackQueue;
  5157. NSString* _referenceID;
  5158. NSString* _signature;
  5159. NSError* _error;
  5160. id _completionHandler;
  5161. }
  5162. @property(copy, nonatomic) id completionHandler;
  5163. @property(retain, nonatomic) NSError* error;
  5164. @property(retain, nonatomic) NSString* signature;
  5165. @property(retain, nonatomic) NSString* referenceID;
  5166. @property(retain, nonatomic) NSOperationQueue* callbackQueue;
  5167. @property(retain, nonatomic) NSMutableData* responseData;
  5168. -(void).cxx_destruct;
  5169. -(void)notifyClientWithCompletionHandler:(id)completionHandler;
  5170. @end
  5171.  
  5172. @interface USDataSender : NSObject <NSURLSessionDelegate, USDataSenderInterface> {
  5173. NSOperationQueue* _sendQueue;
  5174. unsigned _taskIdentifier;
  5175. NSMutableDictionary* _dataTaskToInfoMap;
  5176. NSURLSession* _URLSession;
  5177. }
  5178. @property(readonly, copy) NSString* debugDescription;
  5179. @property(readonly, copy) NSString* description;
  5180. @property(readonly, assign) Class superclass;
  5181. @property(readonly, assign) unsigned hash;
  5182. @property(retain, nonatomic) NSURLSession* URLSession;
  5183. @property(retain, nonatomic) NSMutableDictionary* dataTaskToInfoMap;
  5184. @property(assign) unsigned taskIdentifier;
  5185. @property(readonly, assign, nonatomic) NSOperationQueue* sendQueue;
  5186. -(void).cxx_destruct;
  5187. -(void)completeTask:(id)task;
  5188. -(BOOL)verifySignatureWithInfo:(id)info;
  5189. -(void)endBackgroundTask;
  5190. -(void)endBackgroundTaskIfIdle;
  5191. -(BOOL)hasIncompleteDataTasks;
  5192. -(void)onApplicationWillEnterForeground:(id)onApplication;
  5193. -(void)startBackgroundTask;
  5194. -(void)onApplicationDidEnterBackground:(id)onApplication;
  5195. -(void)installObservers;
  5196. -(void)URLSession:(id)session dataTask:(id)task didReceiveData:(id)data;
  5197. -(void)URLSession:(id)session task:(id)task didCompleteWithError:(id)error;
  5198. -(void)URLSession:(id)session dataTask:(id)task didReceiveResponse:(id)response completionHandler:(id)handler;
  5199. -(void)URLSession:(id)session task:(id)task willPerformHTTPRedirection:(id)redirection newRequest:(id)request completionHandler:(id)handler;
  5200. -(void)sendData:(id)data toURL:(id)url completionHandler:(id)handler queue:(id)queue;
  5201. -(void)dealloc;
  5202. -(id)initWithSendQueue:(id)sendQueue;
  5203. -(id)init;
  5204. @end
  5205.  
  5206. @interface USConfigurationBase : NSObject <USConfigurationInterface> {
  5207. NSDictionary* _configurationDictionary;
  5208. }
  5209. @property(readonly, copy) NSString* debugDescription;
  5210. @property(readonly, copy) NSString* description;
  5211. @property(readonly, assign) Class superclass;
  5212. @property(readonly, assign) unsigned hash;
  5213. @property(retain, nonatomic) NSDictionary* configurationDictionary;
  5214. +(BOOL)isValidConfigurationDictionary:(id)dictionary;
  5215. +(id)requiredKeys;
  5216. -(void).cxx_destruct;
  5217. -(BOOL)isEqual:(id)equal;
  5218. -(BOOL)isEqualToConfiguration:(id)configuration;
  5219. -(id)initWithConfigurationDictionary:(id)configurationDictionary;
  5220. -(id)init;
  5221. @end
  5222.  
  5223. @interface USBatchItem : UpsightStorableObject {
  5224. USEvent* _event;
  5225. }
  5226. @property(readonly, assign, nonatomic) USEvent* event;
  5227. -(void).cxx_destruct;
  5228. -(id)initWithEvent:(id)event;
  5229. -(id)initWithType:(id)type version:(id)version ID:(id)anId;
  5230. -(id)init;
  5231. @end
  5232.  
  5233. @interface USQueueConfiguration : USConfigurationBase {
  5234. BOOL _countNetworkFailRetries;
  5235. NSString* _name;
  5236. unsigned _batchSize;
  5237. unsigned _maxRetryCount;
  5238. NSString* _URLFormat;
  5239. NSString* _protocol;
  5240. NSString* _host;
  5241. double _sendInterval;
  5242. double _retryInterval;
  5243. }
  5244. @property(retain, nonatomic) NSString* host;
  5245. @property(retain, nonatomic) NSString* protocol;
  5246. @property(retain, nonatomic) NSString* URLFormat;
  5247. @property(assign, nonatomic) unsigned maxRetryCount;
  5248. @property(assign, nonatomic) double retryInterval;
  5249. @property(assign, nonatomic) BOOL countNetworkFailRetries;
  5250. @property(assign, nonatomic) unsigned batchSize;
  5251. @property(assign, nonatomic) double sendInterval;
  5252. @property(copy, nonatomic) NSString* name;
  5253. +(BOOL)isValidConfigurationDictionary:(id)dictionary;
  5254. +(id)requiredKeys;
  5255. +(id)trashQueueConfigurationDictionary;
  5256. -(void).cxx_destruct;
  5257. -(id)initWithConfigurationDictionary:(id)configurationDictionary;
  5258. @end
  5259.  
  5260. @interface USErrorAnalyzer : NSObject {
  5261. }
  5262. +(BOOL)isCriticalError:(id)error;
  5263. +(BOOL)isNetworkError:(id)error;
  5264. @end
  5265.  
  5266. @interface USEventParameters : NSObject <NSCoding> {
  5267. unsigned _eventNumber;
  5268. USSession* _session;
  5269. NSString* _eventType;
  5270. NSString* _attributeSetName;
  5271. NSDictionary* _userAttributes;
  5272. NSDictionary* _pubData;
  5273. NSDictionary* _upsightData;
  5274. double _timestamp;
  5275. }
  5276. @property(copy, nonatomic) NSDictionary* upsightData;
  5277. @property(copy, nonatomic) NSDictionary* pubData;
  5278. @property(readonly, copy, nonatomic) NSDictionary* userAttributes;
  5279. @property(copy, nonatomic) NSString* attributeSetName;
  5280. @property(copy, nonatomic) NSString* eventType;
  5281. @property(readonly, assign, nonatomic) USSession* session;
  5282. @property(readonly, assign, nonatomic) unsigned eventNumber;
  5283. @property(readonly, assign, nonatomic) double timestamp;
  5284. -(void).cxx_destruct;
  5285. -(void)encodeWithCoder:(id)coder;
  5286. -(id)initWithCoder:(id)coder;
  5287. -(BOOL)isEqual:(id)equal;
  5288. -(BOOL)isEqualToParameters:(id)parameters;
  5289. -(unsigned)hash;
  5290. -(id)initWithTimestamp:(double)timestamp eventType:(id)type eventNumber:(unsigned)number session:(id)session attributeSetName:(id)name userAttributes:(id)attributes pubData:(id)data upsightData:(id)data8;
  5291. -(id)init;
  5292. @end
  5293.  
  5294. @interface USAttributeSet : USConfigurationBase {
  5295. NSArray* _excludes;
  5296. NSArray* _includes;
  5297. NSString* _name;
  5298. }
  5299. @property(retain, nonatomic) NSString* name;
  5300. @property(retain, nonatomic) NSArray* includes;
  5301. @property(retain, nonatomic) NSArray* excludes;
  5302. +(BOOL)isValidConfigurationDictionary:(id)dictionary;
  5303. +(id)requiredKeys;
  5304. -(void).cxx_destruct;
  5305. -(id)initWithConfigurationDictionary:(id)configurationDictionary;
  5306. @end
  5307.  
  5308. @interface USRequestAttributeSetBuilder : NSObject {
  5309. NSArray* _attributeSets;
  5310. NSArray* _attributeSetFilters;
  5311. USParametersProvider* _parameterProvider;
  5312. NSMutableDictionary* _filtersToAttributeSetNames;
  5313. NSDictionary* _baseParameterToSelectorMap;
  5314. NSDictionary* _optionalParameterToSelectorMap;
  5315. NSMutableDictionary* _parameterProvidersCache;
  5316. NSArray* _sortedFilters;
  5317. }
  5318. @property(retain, nonatomic) NSArray* sortedFilters;
  5319. @property(retain, nonatomic) NSMutableDictionary* parameterProvidersCache;
  5320. @property(retain, nonatomic) NSDictionary* optionalParameterToSelectorMap;
  5321. @property(retain, nonatomic) NSDictionary* baseParameterToSelectorMap;
  5322. @property(retain, nonatomic) NSMutableDictionary* filtersToAttributeSetNames;
  5323. @property(retain, nonatomic) USParametersProvider* parameterProvider;
  5324. @property(retain, nonatomic) NSArray* attributeSetFilters;
  5325. @property(retain, nonatomic) NSArray* attributeSets;
  5326. -(void).cxx_destruct;
  5327. -(id)parametersFromProviders:(id)providers;
  5328. -(id)includeAttributes:(id)attributes inSet:(id)set;
  5329. -(id)excludeAttributes:(id)attributes fromSet:(id)set;
  5330. -(id)includesForAttributeSetWithName:(id)name;
  5331. -(id)excludesForAttributeSetWithName:(id)name;
  5332. -(id)parametersForAttributeSetNamed:(id)attributeSetNamed;
  5333. -(id)attributeSetNameForEvent:(id)event;
  5334. -(id)initWithAttributeSets:(id)attributeSets attributeSetFilters:(id)filters parameterProvider:(id)provider;
  5335. -(id)init;
  5336. @end
  5337.  
  5338. @interface USRSASigningHelper : NSObject {
  5339. SecKey* _publicKeyReference;
  5340. SecKey* _privateKeyReference;
  5341. NSString* _publicKey;
  5342. NSString* _privateKey;
  5343. }
  5344. @property(retain, nonatomic) NSString* privateKey;
  5345. @property(retain, nonatomic) NSString* publicKey;
  5346. @property(readonly, assign) SecKey* privateKeyReference;
  5347. @property(readonly, assign) SecKey* publicKeyReference;
  5348. -(void).cxx_destruct;
  5349. -(id)signatureForMessage:(id)message;
  5350. -(BOOL)verifySignature:(id)signature forMessage:(id)message;
  5351. -(id)stripPublicKeyHeader:(id)header;
  5352. -(SecKey*)keychainItemWithKey:(id)key keyType:(void*)type withTag:(id)tag;
  5353. -(void)dealloc;
  5354. -(id)initWithPublicKey:(id)publicKey privateKey:(id)key;
  5355. @end
  5356.  
  5357. @interface USRouteFilterConfiguration : USConfigurationBase {
  5358. NSString* _filter;
  5359. NSArray* _queues;
  5360. }
  5361. @property(retain, nonatomic) NSArray* queues;
  5362. @property(retain, nonatomic) NSString* filter;
  5363. +(BOOL)isValidConfigurationDictionary:(id)dictionary;
  5364. +(id)requiredKeys;
  5365. -(void).cxx_destruct;
  5366. -(id)initWithConfigurationDictionary:(id)configurationDictionary;
  5367. @end
  5368.  
  5369. @interface USLocationProvider : NSObject {
  5370. }
  5371. +(id)location;
  5372. +(void)setLocation:(id)location;
  5373. @end
  5374.  
  5375. @interface USEventResponse : UpsightStorableObject {
  5376. USEvent* _event;
  5377. NSError* _error;
  5378. }
  5379. @property(readonly, assign, nonatomic) NSError* error;
  5380. @property(readonly, assign, nonatomic) USEvent* event;
  5381. -(void).cxx_destruct;
  5382. -(id)initWithEvent:(id)event error:(id)error;
  5383. -(id)initWithType:(id)type version:(id)version ID:(id)anId;
  5384. -(id)init;
  5385. @end
  5386.  
  5387. @interface USDeliveryPacket : NSObject {
  5388. USBatchItem* _batchItem;
  5389. NSArray* _route;
  5390. }
  5391. @property(retain, nonatomic) NSArray* route;
  5392. @property(retain, nonatomic) USBatchItem* batchItem;
  5393. -(void).cxx_destruct;
  5394. -(id)initWithBatchItem:(id)batchItem route:(id)route;
  5395. -(id)init;
  5396. @end
  5397.  
  5398. @interface USDispatcher : NSObject <USEventRouterDelegate> {
  5399. BOOL _accumulatingEvents;
  5400. USDispatcherConfiguration* _currentConfiguration;
  5401. id<UpsightDataStoreInterface> _dataStore;
  5402. USDataSender* _dataSender;
  5403. USEventRouter* _eventRouter;
  5404. NSMutableSet* _disposedRouters;
  5405. NSOperationQueue* _operationQueue;
  5406. NSMutableSet* _enqueuedItems;
  5407. unsigned _taskIdentifier;
  5408. }
  5409. @property(readonly, copy) NSString* debugDescription;
  5410. @property(readonly, copy) NSString* description;
  5411. @property(readonly, assign) Class superclass;
  5412. @property(readonly, assign) unsigned hash;
  5413. @property(assign) unsigned taskIdentifier;
  5414. @property(readonly, assign, nonatomic) unsigned minSessionNumberWithNonExpiredConfiguration;
  5415. @property(retain, nonatomic) NSMutableSet* enqueuedItems;
  5416. @property(assign, nonatomic, getter=isAccumulatingEvents) BOOL accumulatingEvents;
  5417. @property(retain, nonatomic) NSOperationQueue* operationQueue;
  5418. @property(retain, nonatomic) NSMutableSet* disposedRouters;
  5419. @property(retain, nonatomic) USDispatcherConfiguration* currentConfiguration;
  5420. @property(retain, nonatomic) USEventRouter* eventRouter;
  5421. @property(retain, nonatomic) USDataSender* dataSender;
  5422. @property(readonly, assign, nonatomic) id<UpsightDataStoreInterface> dataStore;
  5423. -(void).cxx_destruct;
  5424. -(void)eventRouterDidDrain:(id)eventRouter;
  5425. -(void)eventRouter:(id)router didFailWithError:(id)error items:(id)items;
  5426. -(void)eventRouter:(id)router didDeliverItems:(id)items response:(id)response;
  5427. -(void)onDidUpdateConfiguration:(id)on action:(unsigned)action;
  5428. -(void)onDidUpdateEvent:(id)on action:(unsigned)action;
  5429. -(void)storeResponsesForItems:(id)items error:(id)error;
  5430. -(id)processResponse:(id)response;
  5431. -(void)processResponseSections:(id)sections;
  5432. -(void)cleanupBatchItems:(id)items;
  5433. -(void)unregisterBatchItems:(id)items;
  5434. -(void)restoreBatches;
  5435. -(void)setupEventRouter;
  5436. -(void)endBackgroundTask;
  5437. -(void)appWillEnterForeground:(id)app;
  5438. -(void)appDidEnterBackground:(id)app;
  5439. -(BOOL)enqueueItem:(id)item;
  5440. -(id)initWithDataStore:(id)dataStore;
  5441. -(id)init;
  5442. -(void)dealloc;
  5443. @end
  5444.  
  5445. @interface USEventBatch : NSObject {
  5446. NSMutableArray* _itemsArray;
  5447. unsigned _batchSize;
  5448. }
  5449. @property(readonly, assign, nonatomic) NSMutableArray* itemsArray;
  5450. @property(readonly, assign, nonatomic) unsigned batchSize;
  5451. @property(readonly, assign, nonatomic) NSArray* items;
  5452. @property(readonly, assign, nonatomic, getter=isFull) BOOL full;
  5453. -(void).cxx_destruct;
  5454. -(void)addEventsFromArray:(id)array;
  5455. -(void)addEvent:(id)event;
  5456. -(id)dictionaryRepresentationWithBatchParameters:(id)batchParameters;
  5457. -(id)initWithBatchSize:(unsigned)batchSize;
  5458. @end
  5459.  
  5460. @interface USEventNumberProvider : NSObject {
  5461. }
  5462. +(id)sharedInstance;
  5463. +(unsigned)nextEventNumber;
  5464. -(unsigned)incrementEventNumber;
  5465. @end
  5466.  
  5467. @interface USStorableSID : UpsightStorableObject {
  5468. NSString* _SID;
  5469. }
  5470. @property(readonly, assign, nonatomic) NSString* SID;
  5471. +(id)storableSIDWithSID:(id)sid;
  5472. -(void).cxx_destruct;
  5473. -(id)initWithSID:(id)sid;
  5474. -(id)initWithType:(id)type version:(id)version ID:(id)anId;
  5475. @end
  5476.  
  5477. @interface USDispatcherConfiguration : USConfigurationBase {
  5478. NSArray* _queues;
  5479. NSArray* _routeFilters;
  5480. NSArray* _attributeSets;
  5481. NSArray* _attributeFilters;
  5482. }
  5483. @property(retain, nonatomic) NSArray* attributeFilters;
  5484. @property(retain, nonatomic) NSArray* attributeSets;
  5485. @property(retain, nonatomic) NSArray* routeFilters;
  5486. @property(retain, nonatomic) NSArray* queues;
  5487. +(id)defaultConfiguration;
  5488. +(id)defaultConfigurationDictionary;
  5489. +(id)loadConfigurationDictionaryFromPlist;
  5490. +(BOOL)isValidConfigurationDictionary:(id)dictionary;
  5491. +(BOOL)isValidArrayOfConfigurationDictionaries:(id)configurationDictionaries forClass:(Class)aClass;
  5492. -(void).cxx_destruct;
  5493. -(id)initWithConfigurationDictionary:(id)configurationDictionary;
  5494. @end
  5495.  
  5496. @interface USPluginVersionProvider : NSObject {
  5497. }
  5498. +(id)pluginVersion;
  5499. +(void)setPluginVersion:(id)version;
  5500. @end
  5501.  
  5502. @interface USSIDProvider : NSObject {
  5503. }
  5504. +(void)migrateSIDFromStoreIfNeeded:(id)storeIfNeeded;
  5505. +(id)SID;
  5506. +(void)removeSID;
  5507. +(id)loadSID;
  5508. +(id)generateSID;
  5509. @end
  5510.  
  5511. @interface USEvent : UpsightStorableObject <NSCoding> {
  5512. USEventParameters* _parameters;
  5513. }
  5514. @property(readonly, assign, nonatomic) USEventParameters* parameters;
  5515. -(void).cxx_destruct;
  5516. -(id)initWithCoder:(id)coder;
  5517. -(void)encodeWithCoder:(id)coder;
  5518. -(id)initWithType:(id)type parameters:(id)parameters;
  5519. -(id)initWithType:(id)type version:(id)version ID:(id)anId;
  5520. -(id)init;
  5521. @end
  5522.  
  5523. @interface USOptOutProvider : NSObject {
  5524. }
  5525. +(void)migrateOptOutStatusFromStoreIfNeeded:(id)storeIfNeeded;
  5526. +(BOOL)optOutStatus;
  5527. +(void)setOptOutStatus:(BOOL)status;
  5528. @end
  5529.  
  5530. @interface USParametersProvider : NSObject {
  5531. NSString* _bundleID;
  5532. NSString* _bundleVersion;
  5533. NSString* _token;
  5534. NSString* _deviceID;
  5535. NSString* _OSVersion;
  5536. NSString* _deviceType;
  5537. NSDateFormatter* _timezoneDateFormatter;
  5538. NSMutableArray* _partnerInfoProviders;
  5539. }
  5540. @property(retain, nonatomic) NSMutableArray* partnerInfoProviders;
  5541. @property(readonly, assign, nonatomic) NSDateFormatter* timezoneDateFormatter;
  5542. @property(readonly, assign, nonatomic) NSArray* partnerInfo;
  5543. @property(readonly, assign, nonatomic) NSString* UXMSchemaHash;
  5544. @property(readonly, assign, nonatomic) NSString* UXMBundleHash;
  5545. @property(readonly, assign, nonatomic) NSString* UXMBundleID;
  5546. @property(readonly, assign, nonatomic) NSNumber* locationHeight;
  5547. @property(readonly, assign, nonatomic) NSString* locationLongitude;
  5548. @property(readonly, assign, nonatomic) NSString* locationLatitude;
  5549. @property(readonly, assign, nonatomic) NSString* locationTimezone;
  5550. @property(readonly, assign, nonatomic, getter=isOptOut) NSNumber* optOut;
  5551. @property(readonly, assign, nonatomic) NSString* SID;
  5552. @property(readonly, assign, nonatomic) NSNumber* requestTimestamp;
  5553. @property(readonly, assign, nonatomic) unsigned networkReachabilityStatus;
  5554. @property(readonly, assign, nonatomic) NSString* networkReachabilityStatusString;
  5555. @property(readonly, assign, nonatomic) NSString* localeIdentifier;
  5556. @property(readonly, assign, nonatomic) NSString* idfaString;
  5557. @property(readonly, assign, nonatomic) NSString* idfvString;
  5558. @property(readonly, assign, nonatomic) NSString* SDKPluginVersion;
  5559. @property(readonly, assign, nonatomic) NSString* SDKBuild;
  5560. @property(readonly, assign, nonatomic) NSString* SDKVersion;
  5561. @property(readonly, assign, nonatomic) NSNumber* screenScale;
  5562. @property(readonly, assign, nonatomic) NSNumber* screenWidth;
  5563. @property(readonly, assign, nonatomic) NSNumber* screenHeight;
  5564. @property(readonly, assign, nonatomic, getter=isAdvertisingTrackingLimited) NSNumber* advertisingTrackingLimited;
  5565. @property(readonly, assign, nonatomic, getter=isJailbroken) NSNumber* jailbroken;
  5566. @property(readonly, assign, nonatomic) NSString* manufacturer;
  5567. @property(readonly, assign, nonatomic) NSString* deviceType;
  5568. @property(readonly, assign, nonatomic) NSString* OSVersion;
  5569. @property(readonly, assign, nonatomic) NSString* OSName;
  5570. @property(readonly, assign, nonatomic) NSString* deviceID;
  5571. @property(readonly, assign, nonatomic) NSString* carrierString;
  5572. @property(readonly, assign, nonatomic) NSString* token;
  5573. @property(readonly, assign, nonatomic) NSString* bundleVersion;
  5574. @property(readonly, assign, nonatomic) NSString* bundleID;
  5575. +(id)sharedProvider;
  5576. -(void).cxx_destruct;
  5577. -(void)registerPartnerInfoProvider:(id)provider;
  5578. -(id)performBlockSyncOnMainThread:(id)thread;
  5579. -(id)currentLocation;
  5580. -(BOOL)isInterfaceAvailableWithName:(id)name;
  5581. -(BOOL)isLANAvailable;
  5582. -(BOOL)isLocalWiFiAvailable;
  5583. -(id)copyWithZone:(NSZone*)zone;
  5584. @end
  5585.  
  5586. @interface USResponseSection : UpsightStorableObject {
  5587. NSString* _sectionType;
  5588. NSDictionary* _content;
  5589. }
  5590. @property(readonly, assign, nonatomic) NSDictionary* content;
  5591. @property(readonly, assign, nonatomic) NSString* sectionType;
  5592. -(void).cxx_destruct;
  5593. -(id)initWithSectionType:(id)sectionType content:(id)content;
  5594. -(id)initWithType:(id)type version:(id)version ID:(id)anId;
  5595. -(id)init;
  5596. @end
  5597.  
  5598. @interface USEventSerializer : NSObject {
  5599. }
  5600. +(id)JSONObjectWithParameters:(id)parameters;
  5601. @end
  5602.  
  5603. @interface USAttributeSetFilterConfiguration : USConfigurationBase {
  5604. NSString* _filter;
  5605. NSString* _attributeSet;
  5606. }
  5607. @property(retain, nonatomic) NSString* attributeSet;
  5608. @property(retain, nonatomic) NSString* filter;
  5609. +(BOOL)isValidConfigurationDictionary:(id)dictionary;
  5610. +(id)requiredKeys;
  5611. -(void).cxx_destruct;
  5612. -(id)initWithConfigurationDictionary:(id)configurationDictionary;
  5613. @end
  5614.  
  5615. @interface USSessionStartEvent : USEvent {
  5616. NSDictionary* _properties;
  5617. }
  5618. @property(retain, nonatomic) NSDictionary* properties;
  5619. +(id)eventWithParameters:(id)parameters;
  5620. -(void).cxx_destruct;
  5621. -(id)initWithParameters:(id)parameters;
  5622. -(id)initWithType:(id)type parameters:(id)parameters;
  5623. -(id)init;
  5624. @end
  5625.  
  5626. @interface USSessionPauseEvent : USEvent {
  5627. NSDictionary* _properties;
  5628. }
  5629. @property(retain, nonatomic) NSDictionary* properties;
  5630. +(id)eventWithParameters:(id)parameters;
  5631. -(void).cxx_destruct;
  5632. -(id)initWithParameters:(id)parameters;
  5633. -(id)initWithType:(id)type parameters:(id)parameters;
  5634. -(id)init;
  5635. @end
  5636.  
  5637. @interface USStateDefinition : NSObject {
  5638. id _enterBlock;
  5639. id _executeBlock;
  5640. id _exitBlock;
  5641. }
  5642. @property(copy, nonatomic) id exitBlock;
  5643. @property(copy, nonatomic) id executeBlock;
  5644. @property(copy, nonatomic) id enterBlock;
  5645. -(void).cxx_destruct;
  5646. @end
  5647.  
  5648. @interface USSessionManager : NSObject {
  5649. id<USAnalyticsInterface> _analytics;
  5650. USSession* _currentSession;
  5651. NSObject<UpsightSessionDelegate>* _sessionDelegate;
  5652. id<UpsightDataStoreInterface> _dataStore;
  5653. NSString* _currentState;
  5654. NSDictionary* _stateTable;
  5655. NSNumber* _messageID;
  5656. NSNumber* _campaignID;
  5657. double _timeToNewSession;
  5658. }
  5659. @property(retain, nonatomic) NSNumber* campaignID;
  5660. @property(retain, nonatomic) NSNumber* messageID;
  5661. @property(retain, nonatomic) NSDictionary* stateTable;
  5662. @property(readonly, assign, nonatomic) id<USAnalyticsInterface> analytics;
  5663. @property(assign, nonatomic) NSString* currentState;
  5664. @property(retain) USSession* currentSession;
  5665. @property(assign, nonatomic) double timeToNewSession;
  5666. @property(readonly, assign, nonatomic) id<UpsightDataStoreInterface> dataStore;
  5667. @property(assign, nonatomic) __weak NSObject<UpsightSessionDelegate>* sessionDelegate;
  5668. @property(readonly, copy, nonatomic) USSession* session;
  5669. +(void)startWithMessageID:(id)messageID campaignID:(id)anId;
  5670. +(id)defaultConfiguration;
  5671. +(id)sharedSessionManager;
  5672. -(void).cxx_destruct;
  5673. -(void)set_sessionDelegate:(id)delegate;
  5674. -(void)saveSession:(id)session;
  5675. -(void)setMessageID:(id)anId campaignID:(id)anId2;
  5676. -(void)applyConfiguration:(id)configuration;
  5677. -(void)sessionManagerConfigurationDidUpdate:(id)sessionManagerConfiguration action:(unsigned)action;
  5678. -(void)checkForConfiguration;
  5679. -(id)exitPaused;
  5680. -(void)executePaused;
  5681. -(void)enterPaused;
  5682. -(id)exitResumed;
  5683. -(void)executeResumed;
  5684. -(void)enterResumed;
  5685. -(id)exitStarted;
  5686. -(void)executeStarted;
  5687. -(void)enterStarted;
  5688. -(id)exitLaunched;
  5689. -(void)executeLaunched;
  5690. -(void)endSession;
  5691. -(void)transition;
  5692. -(void)startWithMessageID:(id)messageID campaignID:(id)anId;
  5693. -(void)dealloc;
  5694. -(id)initWithDataStore:(id)dataStore;
  5695. -(id)init;
  5696. @end
  5697.  
  5698. @interface USSessionInfo : NSObject {
  5699. NSNumber* _sessionNumber;
  5700. double _sessionStartTime;
  5701. }
  5702. @property(assign, nonatomic) double sessionStartTime;
  5703. @property(retain, nonatomic) NSNumber* sessionNumber;
  5704. +(id)getLatestSessionInfo;
  5705. +(void)setUpsightSessionDelegate:(id)delegate;
  5706. -(void).cxx_destruct;
  5707. -(id)init;
  5708. @end
  5709.  
  5710. @interface USSession : NSObject <NSCoding, NSCopying> {
  5711. unsigned _sessionNumber;
  5712. NSNumber* _messageID;
  5713. NSNumber* _campaignID;
  5714. double _startTime;
  5715. double _sessionDuration;
  5716. double _previousSessionsDuration;
  5717. }
  5718. @property(retain, nonatomic) NSNumber* campaignID;
  5719. @property(retain, nonatomic) NSNumber* messageID;
  5720. @property(assign, nonatomic) unsigned sessionNumber;
  5721. @property(assign, nonatomic) double previousSessionsDuration;
  5722. @property(assign, nonatomic) double sessionDuration;
  5723. @property(assign, nonatomic) double startTime;
  5724. -(void).cxx_destruct;
  5725. -(id)copyWithZone:(NSZone*)zone;
  5726. -(unsigned)hash;
  5727. -(BOOL)isEqualToSession:(id)session;
  5728. -(BOOL)isEqual:(id)equal;
  5729. -(id)initWithCoder:(id)coder;
  5730. -(void)encodeWithCoder:(id)coder;
  5731. -(id)initWithStartTime:(double)startTime sessionDuration:(double)duration previousSessionsDuration:(double)duration3 sessionNumber:(unsigned)number messageID:(id)anId campaignID:(id)anId6;
  5732. -(id)init;
  5733. @end
  5734.  
  5735. @interface USSessionResumeEvent : USEvent {
  5736. NSDictionary* _properties;
  5737. }
  5738. @property(retain, nonatomic) NSDictionary* properties;
  5739. +(id)eventWithParameters:(id)parameters;
  5740. -(void).cxx_destruct;
  5741. -(id)initWithParameters:(id)parameters;
  5742. -(id)initWithType:(id)type parameters:(id)parameters;
  5743. -(id)init;
  5744. @end
  5745.  
  5746. __attribute__((visibility("hidden")))
  5747. @interface PGPBluetoothDriver : NSObject <CBCentralManagerDelegate, CBPeripheralDelegate> {
  5748. BOOL _isScanning;
  5749. int _currentState;
  5750. id _startCallback;
  5751. NSMutableDictionary* _namesToScan;
  5752. NSMutableDictionary* _connectingPeripherals;
  5753. NSMutableDictionary* _discoveryPeripherals;
  5754. NSMutableDictionary* _characteristicCallbacks;
  5755. NSMutableDictionary* _valueChangeCallbacks;
  5756. NSMutableDictionary* _writeCallbacks;
  5757. NSMutableDictionary* _readCallbacks;
  5758. NSMutableDictionary* _disconnectMonitorCallbacks;
  5759. CBCentralManager* _centralManager;
  5760. NSObject<OS_dispatch_queue>* _centralManagerQueue;
  5761. }
  5762. @property(readonly, copy) NSString* debugDescription;
  5763. @property(readonly, copy) NSString* description;
  5764. @property(readonly, assign) Class superclass;
  5765. @property(readonly, assign) unsigned hash;
  5766. @property(readonly, assign, nonatomic) BOOL isScanning;
  5767. @property(readonly, assign) BOOL poweredOn;
  5768. @property(retain) NSObject<OS_dispatch_queue>* centralManagerQueue;
  5769. @property(retain) CBCentralManager* centralManager;
  5770. @property(retain) NSMutableDictionary* disconnectMonitorCallbacks;
  5771. @property(retain) NSMutableDictionary* readCallbacks;
  5772. @property(retain) NSMutableDictionary* writeCallbacks;
  5773. @property(retain) NSMutableDictionary* valueChangeCallbacks;
  5774. @property(retain) NSMutableDictionary* characteristicCallbacks;
  5775. @property(retain) NSMutableDictionary* discoveryPeripherals;
  5776. @property(retain) NSMutableDictionary* connectingPeripherals;
  5777. @property(retain) NSMutableDictionary* namesToScan;
  5778. @property(copy) id startCallback;
  5779. -(void).cxx_destruct;
  5780. -(void)readValueForCharacteristic:(id)characteristic completion:(id)completion;
  5781. -(void)peripheral:(id)peripheral didWriteValueForCharacteristic:(id)characteristic error:(id)error;
  5782. -(void)writeData:(id)data forCharacteristic:(id)characteristic completion:(id)completion;
  5783. -(void)peripheral:(id)peripheral didUpdateValueForCharacteristic:(id)characteristic error:(id)error;
  5784. -(void)peripheral:(id)peripheral didUpdateNotificationStateForCharacteristic:(id)characteristic error:(id)error;
  5785. -(void)enableValueChangeNotification:(BOOL)notification forCharacteristic:(id)characteristic completion:(id)completion;
  5786. -(void)peripheral:(id)peripheral didDiscoverCharacteristicsForService:(id)service error:(id)error;
  5787. -(void)discoverCharacteristicsForService:(id)service completion:(id)completion;
  5788. -(void)peripheral:(id)peripheral didDiscoverServices:(id)services;
  5789. -(void)peripheral:(id)peripheral didModifyServices:(id)services;
  5790. -(void)discoverServices:(id)services completion:(id)completion;
  5791. -(void)centralManager:(id)manager didDisconnectPeripheral:(id)peripheral error:(id)error;
  5792. -(void)monitorDisconnectPeripheral:(id)peripheral callback:(id)callback;
  5793. -(void)disconnectPeripheral:(id)peripheral completion:(id)completion;
  5794. -(void)centralManager:(id)manager didFailToConnectPeripheral:(id)connectPeripheral error:(id)error;
  5795. -(void)centralManager:(id)manager didConnectPeripheral:(id)peripheral;
  5796. -(void)connectPeripheral:(id)peripheral completion:(id)completion;
  5797. -(void)centralManager:(id)manager didDiscoverPeripheral:(id)peripheral advertisementData:(id)data RSSI:(id)rssi;
  5798. -(void)stopScanningPeripheralNamed:(id)named;
  5799. -(BOOL)startScanningPeripheralNamed:(id)named completion:(id)completion;
  5800. -(void)centralManagerDidUpdateState:(id)centralManager;
  5801. -(void)stop;
  5802. -(void)startCompletion:(id)completion;
  5803. -(id)init;
  5804. @end
  5805.  
  5806. __attribute__((visibility("hidden")))
  5807. @interface PGPTrustedCertificatesAuthenticator : NSObject <NSURLSessionDelegate> {
  5808. }
  5809. @property(readonly, copy) NSString* debugDescription;
  5810. @property(readonly, copy) NSString* description;
  5811. @property(readonly, assign) Class superclass;
  5812. @property(readonly, assign) unsigned hash;
  5813. -(void)URLSession:(id)session didReceiveChallenge:(id)challenge completionHandler:(id)handler;
  5814. @end
  5815.  
  5816. __attribute__((visibility("hidden")))
  5817. @interface PGPIosLocationManager : NSObject <CLLocationManagerDelegate> {
  5818. LocationUpdate _locationProto;
  5819. CLLocationManager* _locationManager;
  5820. NSObject<OS_dispatch_queue>* _work_queue;
  5821. LocationProvider* _locationProvider;
  5822. LocationParameters _locationParameters;
  5823. }
  5824. @property(readonly, copy) NSString* debugDescription;
  5825. @property(readonly, copy) NSString* description;
  5826. @property(readonly, assign) Class superclass;
  5827. @property(readonly, assign) unsigned hash;
  5828. @property(assign, nonatomic) LocationParameters locationParameters;
  5829. @property(assign, nonatomic) LocationProvider* locationProvider;
  5830. -(id).cxx_construct;
  5831. -(void).cxx_destruct;
  5832. -(void)locationManager:(id)manager didFailWithError:(id)error;
  5833. -(void)locationManager:(id)manager didUpdateHeading:(id)heading;
  5834. -(void)locationManager:(id)manager didUpdateLocations:(id)locations;
  5835. -(int)requestLocationPermissions;
  5836. -(void)stop;
  5837. -(void)startUpdating;
  5838. -(void)start;
  5839. -(double)desiredAccuracy;
  5840. -(void)dealloc;
  5841. -(id)init;
  5842. @end
  5843.  
  5844. __attribute__((visibility("hidden")))
  5845. @interface GSDK_GTMABAddressBook : NSObject {
  5846. void* addressBook_;
  5847. }
  5848. +(id)localizedLabel:(id)label;
  5849. +(id)addressBook;
  5850. -(id)groupsWithCompositeNameWithPrefix:(id)prefix;
  5851. -(id)peopleWithCompositeNameWithPrefix:(id)prefix;
  5852. -(id)groupForId:(int)anId;
  5853. -(id)personForId:(int)anId;
  5854. -(void*)addressBookRef;
  5855. -(id)groups;
  5856. -(id)people;
  5857. -(BOOL)removeRecord:(id)record;
  5858. -(BOOL)addRecord:(id)record;
  5859. -(BOOL)hasUnsavedChanges;
  5860. -(BOOL)save;
  5861. -(void)dealloc;
  5862. -(id)init;
  5863. @end
  5864.  
  5865. __attribute__((visibility("hidden")))
  5866. @interface GSDK_GTMABRecord : NSObject {
  5867. void* record_;
  5868. }
  5869. +(id)localizedPropertyName:(int)name;
  5870. +(unsigned)typeOfProperty:(int)property;
  5871. +(id)recordWithRecord:(void*)record;
  5872. -(id)compositeName;
  5873. -(BOOL)removeValueForProperty:(int)property;
  5874. -(BOOL)setValue:(id)value forProperty:(int)property;
  5875. -(id)valueForProperty:(int)property;
  5876. -(int)recordID;
  5877. -(void*)recordRef;
  5878. -(void)dealloc;
  5879. -(BOOL)isEqual:(id)equal;
  5880. -(unsigned)hash;
  5881. -(id)initWithRecord:(void*)record;
  5882. @end
  5883.  
  5884. __attribute__((visibility("hidden")))
  5885. @interface GSDK_GTMABPerson : GSDK_GTMABRecord {
  5886. }
  5887. +(unsigned)typeOfProperty:(int)property;
  5888. +(unsigned)compositeNameFormat;
  5889. +(id)localizedPropertyName:(int)name;
  5890. +(id)personWithFirstName:(id)firstName lastName:(id)name;
  5891. -(id)description;
  5892. -(id)compositeName;
  5893. -(id)imageData;
  5894. -(BOOL)setImage:(UIImage*)image;
  5895. -(UIImage*)image;
  5896. -(BOOL)setImageData:(id)data;
  5897. -(id)init;
  5898. @end
  5899.  
  5900. __attribute__((visibility("hidden")))
  5901. @interface GSDK_GTMABGroup : GSDK_GTMABRecord {
  5902. }
  5903. +(id)localizedPropertyName:(int)name;
  5904. +(unsigned)typeOfProperty:(int)property;
  5905. +(id)groupNamed:(id)named;
  5906. -(id)description;
  5907. -(id)compositeName;
  5908. -(BOOL)removeMember:(id)member;
  5909. -(BOOL)addMember:(id)member;
  5910. -(id)members;
  5911. -(id)init;
  5912. @end
  5913.  
  5914. __attribute__((visibility("hidden")))
  5915. @interface GSDK_GTMABMultiValue : NSObject <NSCopying, NSMutableCopying> {
  5916. void* multiValue_;
  5917. }
  5918. -(id)labelEnumerator;
  5919. -(id)valueEnumerator;
  5920. -(unsigned long*)mutations;
  5921. -(id)labelForIdentifier:(int)identifier;
  5922. -(id)valueForIdentifier:(int)identifier;
  5923. -(unsigned)propertyType;
  5924. -(unsigned)indexForIdentifier:(int)identifier;
  5925. -(int)identifierAtIndex:(unsigned)index;
  5926. -(id)labelAtIndex:(unsigned)index;
  5927. -(id)valueAtIndex:(unsigned)index;
  5928. -(unsigned)count;
  5929. -(void*)multiValueRef;
  5930. -(void)dealloc;
  5931. -(BOOL)isEqual:(id)equal;
  5932. -(unsigned)hash;
  5933. -(id)mutableCopyWithZone:(NSZone*)zone;
  5934. -(id)copyWithZone:(NSZone*)zone;
  5935. -(id)initWithMultiValue:(void*)multiValue;
  5936. -(id)init;
  5937. @end
  5938.  
  5939. __attribute__((visibility("hidden")))
  5940. @interface GSDK_GTMABMutableMultiValue : GSDK_GTMABMultiValue {
  5941. unsigned long mutations_;
  5942. }
  5943. +(id)valueWithPropertyType:(unsigned)propertyType;
  5944. -(unsigned long*)mutations;
  5945. -(BOOL)replaceLabelAtIndex:(unsigned)index withLabel:(CFStringRef)label;
  5946. -(BOOL)replaceValueAtIndex:(unsigned)index withValue:(id)value;
  5947. -(BOOL)removeValueAndLabelAtIndex:(unsigned)index;
  5948. -(int)insertValue:(id)value withLabel:(CFStringRef)label atIndex:(unsigned)index;
  5949. -(int)addValue:(id)value withLabel:(CFStringRef)label;
  5950. -(BOOL)checkValueType:(id)type;
  5951. -(id)initWithMutableMultiValue:(void*)mutableMultiValue;
  5952. -(id)initWithMultiValue:(void*)multiValue;
  5953. -(id)initWithPropertyType:(unsigned)propertyType;
  5954. @end
  5955.  
  5956. __attribute__((visibility("hidden")))
  5957. @interface GSDK_GTMABMultiValueEnumerator : NSEnumerator {
  5958. void* ref_;
  5959. GSDK_GTMABMultiValue* enumeree_;
  5960. unsigned long mutations_;
  5961. unsigned count_;
  5962. unsigned index_;
  5963. BOOL useLabels_;
  5964. }
  5965. +(id)labelEnumeratorFor:(id)aFor;
  5966. +(id)valueEnumeratorFor:(id)aFor;
  5967. -(id)nextObject;
  5968. -(unsigned)countByEnumeratingWithState:(XXStruct_kFm5bA*)state objects:(id*)objects count:(unsigned)count;
  5969. -(void)dealloc;
  5970. -(id)initWithEnumeree:(id)enumeree useLabels:(BOOL)labels;
  5971. @end
  5972.  
  5973. __attribute__((visibility("hidden")))
  5974. @interface GSDK_GTMURLBuilder : NSObject {
  5975. NSMutableDictionary* params_;
  5976. NSString* baseURLString_;
  5977. }
  5978. @property(readonly, assign, nonatomic) NSString* baseURLString;
  5979. +(id)builderWithURL:(id)url;
  5980. +(id)builderWithString:(id)string;
  5981. -(unsigned)hash;
  5982. -(BOOL)isEqual:(id)equal;
  5983. -(id)URLString;
  5984. -(id)URL;
  5985. -(id)parameters;
  5986. -(void)setParameters:(id)parameters;
  5987. -(void)removeParameter:(id)parameter;
  5988. -(int)integerValueForParameter:(id)parameter;
  5989. -(id)valueForParameter:(id)parameter;
  5990. -(void)setIntegerValue:(int)value forParameter:(id)parameter;
  5991. -(void)setValue:(id)value forParameter:(id)parameter;
  5992. -(void)dealloc;
  5993. -(id)initWithString:(id)string;
  5994. -(id)init;
  5995. @end
  5996.  
  5997. __attribute__((visibility("hidden")))
  5998. @interface GSDK_GTMKeyValueObservingHelper : NSObject {
  5999. id observer_;
  6000. SEL selector_;
  6001. id userInfo_;
  6002. id target_;
  6003. NSString* keyPath_;
  6004. }
  6005. -(void)deregister;
  6006. -(void)observeValueForKeyPath:(id)keyPath ofObject:(id)object change:(id)change context:(void*)context;
  6007. -(void)dealloc;
  6008. -(id)description;
  6009. -(id)initWithObserver:(id)observer object:(id)object keyPath:(id)path selector:(SEL)selector userInfo:(id)info options:(unsigned)options;
  6010. @end
  6011.  
  6012. __attribute__((visibility("hidden")))
  6013. @interface GSDK_GTMKeyValueObservingCenter : NSObject {
  6014. NSMutableDictionary* observerHelpers_;
  6015. }
  6016. +(id)defaultCenter;
  6017. -(void)removeObserver:(id)observer ofObject:(id)object forKeyPath:(id)keyPath selector:(SEL)selector;
  6018. -(void)addObserver:(id)observer ofObject:(id)object forKeyPath:(id)keyPath selector:(SEL)selector userInfo:(id)info options:(unsigned)options;
  6019. -(id)dictionaryKeyForObserver:(id)observer ofObject:(id)object forKeyPath:(id)keyPath selector:(SEL)selector;
  6020. -(void)dealloc;
  6021. -(id)init;
  6022. @end
  6023.  
  6024. __attribute__((visibility("hidden")))
  6025. @interface GSDK_GTMKeyValueChangeNotification : NSObject <NSCopying> {
  6026. NSString* keyPath_;
  6027. id object_;
  6028. id userInfo_;
  6029. NSDictionary* change_;
  6030. }
  6031. -(id)change;
  6032. -(id)userInfo;
  6033. -(id)object;
  6034. -(id)keyPath;
  6035. -(unsigned)hash;
  6036. -(id)description;
  6037. -(BOOL)isEqual:(id)equal;
  6038. -(id)copyWithZone:(NSZone*)zone;
  6039. -(void)dealloc;
  6040. -(id)initWithKeyPath:(id)keyPath ofObject:(id)object userInfo:(id)info change:(id)change;
  6041. @end
  6042.  
  6043. __attribute__((visibility("hidden")))
  6044. @interface GSDK_GTMRegex : NSObject {
  6045. NSString* pattern_;
  6046. unsigned options_;
  6047. struct {
  6048. int re_magic;
  6049. unsigned re_nsub;
  6050. char* re_endp;
  6051. re_guts* re_g;
  6052. } regexData_;
  6053. }
  6054. +(id)escapedPatternForString:(id)string;
  6055. +(id)regexWithPattern:(id)pattern options:(unsigned)options withError:(id*)error;
  6056. +(id)regexWithPattern:(id)pattern options:(unsigned)options;
  6057. +(id)regexWithPattern:(id)pattern;
  6058. -(id)description;
  6059. -(id)stringByReplacingMatchesInString:(id)string withReplacement:(id)replacement;
  6060. -(id)matchSegmentEnumeratorForString:(id)string;
  6061. -(id)segmentEnumeratorForString:(id)string;
  6062. -(BOOL)matchesSubStringInString:(id)string;
  6063. -(id)firstSubStringMatchedInString:(id)string;
  6064. -(id)subPatternsOfString:(id)string;
  6065. -(BOOL)matchesString:(id)string;
  6066. -(unsigned)subPatternCount;
  6067. -(void)dealloc;
  6068. -(id)initWithPattern:(id)pattern options:(unsigned)options withError:(id*)error;
  6069. -(id)initWithPattern:(id)pattern options:(unsigned)options;
  6070. -(id)initWithPattern:(id)pattern;
  6071. -(id)init;
  6072. -(BOOL)runRegexOnUTF8:(const char*)a8 nmatch:(unsigned long)nmatch pmatch:(XXStruct_bTBt8C*)pmatch flags:(int)flags;
  6073. -(id)errorMessage:(int)message;
  6074. @end
  6075.  
  6076. __attribute__((visibility("hidden")))
  6077. @interface GSDK_GTMRegexEnumerator : NSEnumerator {
  6078. GSDK_GTMRegex* regex_;
  6079. NSData* utf8StrBuf_;
  6080. BOOL allSegments_;
  6081. BOOL treatStartOfNewSegmentAsBeginningOfString_;
  6082. long long curParseIndex_;
  6083. XXStruct_bTBt8C* savedRegMatches_;
  6084. }
  6085. -(id)description;
  6086. -(id)nextObject;
  6087. -(void)treatStartOfNewSegmentAsBeginningOfString:(BOOL)string;
  6088. -(void)dealloc;
  6089. -(id)initWithRegex:(id)regex processString:(id)string allSegments:(BOOL)segments;
  6090. @end
  6091.  
  6092. __attribute__((visibility("hidden")))
  6093. @interface GSDK_GTMRegexStringSegment : NSObject {
  6094. NSData* utf8StrBuf_;
  6095. XXStruct_bTBt8C* regMatches_;
  6096. unsigned numRegMatches_;
  6097. BOOL isMatch_;
  6098. }
  6099. -(id)description;
  6100. -(id)subPatternString:(unsigned)string;
  6101. -(id)string;
  6102. -(BOOL)isMatch;
  6103. -(void)dealloc;
  6104. -(id)init;
  6105. -(id)initWithUTF8StrBuf:(id)utf8StrBuf regMatches:(XXStruct_bTBt8C*)matches numRegMatches:(unsigned)matches3 isMatch:(BOOL)match;
  6106. @end
  6107.  
  6108. __attribute__((visibility("hidden")))
  6109. @interface GSDK_GTMStringEncoding : NSObject {
  6110. NSData* charMapData_;
  6111. char* charMap_;
  6112. int reverseCharMap_[128];
  6113. int shift_;
  6114. int mask_;
  6115. BOOL doPad_;
  6116. BOOL paddingChar_;
  6117. int padLen_;
  6118. }
  6119. +(id)stringEncodingWithString:(id)string;
  6120. +(id)rfc4648Base64WebsafeStringEncoding;
  6121. +(id)rfc4648Base64StringEncoding;
  6122. +(id)crockfordBase32StringEncoding;
  6123. +(id)rfc4648Base32HexStringEncoding;
  6124. +(id)rfc4648Base32StringEncoding;
  6125. +(id)hexStringEncoding;
  6126. +(id)binaryStringEncoding;
  6127. -(id)stringByDecoding:(id)decoding;
  6128. -(id)decode:(id)decode;
  6129. -(id)encodeString:(id)string;
  6130. -(id)encode:(id)encode;
  6131. -(void)setPaddingChar:(BOOL)aChar;
  6132. -(void)setDoPad:(BOOL)pad;
  6133. -(BOOL)doPad;
  6134. -(void)ignoreCharacters:(id)characters;
  6135. -(void)addDecodeSynonyms:(id)synonyms;
  6136. -(id)description;
  6137. -(void)dealloc;
  6138. -(id)initWithString:(id)string;
  6139. @end
  6140.  
  6141. __attribute__((visibility("hidden")))
  6142. @interface GSDK_GTMSystemVersion : NSObject {
  6143. }
  6144. +(id)runtimeArchitecture;
  6145. +(BOOL)isBuildEqualTo:(id)to;
  6146. +(BOOL)isBuildGreaterThanOrEqualTo:(id)to;
  6147. +(BOOL)isBuildGreaterThan:(id)than;
  6148. +(BOOL)isBuildLessThanOrEqualTo:(id)to;
  6149. +(BOOL)isBuildLessThan:(id)than;
  6150. +(id)build;
  6151. +(void)getMajor:(int*)major minor:(int*)minor bugFix:(int*)fix;
  6152. +(void)initialize;
  6153. @end
  6154.  
  6155. __attribute__((visibility("hidden")))
  6156. @interface GSDK_GTMLogger : NSObject <GTMLogWriter> {
  6157. id<GTMLogWriter> writer_;
  6158. id<GTMLogFormatter> formatter_;
  6159. id<GTMLogFilter> filter_;
  6160. }
  6161. @property(readonly, copy) NSString* debugDescription;
  6162. @property(readonly, copy) NSString* description;
  6163. @property(readonly, assign) Class superclass;
  6164. @property(readonly, assign) unsigned hash;
  6165. +(id)logger;
  6166. +(id)loggerWithWriter:(id)writer formatter:(id)formatter filter:(id)filter;
  6167. +(id)standardLoggerWithPath:(id)path;
  6168. +(id)standardLoggerWithStdoutAndStderr;
  6169. +(id)standardLoggerWithStderr;
  6170. +(id)standardLogger;
  6171. +(void)setSharedLogger:(id)logger;
  6172. +(id)sharedLogger;
  6173. -(void)logAssert:(id)anAssert;
  6174. -(void)logError:(id)error;
  6175. -(void)logInfo:(id)info;
  6176. -(void)logDebug:(id)debug;
  6177. -(void)setFilter:(id)filter;
  6178. -(id)filter;
  6179. -(void)setFormatter:(id)formatter;
  6180. -(id)formatter;
  6181. -(void)setWriter:(id)writer;
  6182. -(id)writer;
  6183. -(void)dealloc;
  6184. -(id)initWithWriter:(id)writer formatter:(id)formatter filter:(id)filter;
  6185. -(id)init;
  6186. -(void)logFuncAssert:(const char*)anAssert msg:(id)msg;
  6187. -(void)logFuncError:(const char*)error msg:(id)msg;
  6188. -(void)logFuncInfo:(const char*)info msg:(id)msg;
  6189. -(void)logFuncDebug:(const char*)debug msg:(id)msg;
  6190. -(void)logInternalFunc:(const char*)func format:(id)format valist:(void*)valist level:(int)level;
  6191. -(void)logMessage:(id)message level:(int)level;
  6192. @end
  6193.  
  6194. __attribute__((visibility("hidden")))
  6195. @interface GSDK_GTMLogBasicFormatter : NSObject <GTMLogFormatter> {
  6196. }
  6197. @property(readonly, copy) NSString* debugDescription;
  6198. @property(readonly, copy) NSString* description;
  6199. @property(readonly, assign) Class superclass;
  6200. @property(readonly, assign) unsigned hash;
  6201. -(id)stringForFunc:(id)func withFormat:(id)format valist:(void*)valist level:(int)level;
  6202. -(id)prettyNameForFunc:(id)func;
  6203. @end
  6204.  
  6205. __attribute__((visibility("hidden")))
  6206. @interface GSDK_GTMLogStandardFormatter : GSDK_GTMLogBasicFormatter {
  6207. NSDateFormatter* dateFormatter_;
  6208. NSString* pname_;
  6209. int pid_;
  6210. }
  6211. -(id)stringForFunc:(id)func withFormat:(id)format valist:(void*)valist level:(int)level;
  6212. -(void)dealloc;
  6213. -(id)init;
  6214. @end
  6215.  
  6216. __attribute__((visibility("hidden")))
  6217. @interface GSDK_GTMLogLevelFilter : NSObject <GTMLogFilter> {
  6218. BOOL verboseLoggingEnabled_;
  6219. }
  6220. @property(readonly, copy) NSString* debugDescription;
  6221. @property(readonly, copy) NSString* description;
  6222. @property(readonly, assign) Class superclass;
  6223. @property(readonly, assign) unsigned hash;
  6224. -(void)defaultsChanged:(id)changed;
  6225. -(BOOL)filterAllowsMessage:(id)message level:(int)level;
  6226. -(void)dealloc;
  6227. -(id)init;
  6228. @end
  6229.  
  6230. __attribute__((visibility("hidden")))
  6231. @interface GSDK_GTMLogNoFilter : NSObject <GTMLogFilter> {
  6232. }
  6233. @property(readonly, copy) NSString* debugDescription;
  6234. @property(readonly, copy) NSString* description;
  6235. @property(readonly, assign) Class superclass;
  6236. @property(readonly, assign) unsigned hash;
  6237. -(BOOL)filterAllowsMessage:(id)message level:(int)level;
  6238. @end
  6239.  
  6240. __attribute__((visibility("hidden")))
  6241. @interface GSDK_GTMLogAllowedLevelFilter : NSObject <GTMLogFilter> {
  6242. NSIndexSet* allowedLevels_;
  6243. }
  6244. @property(readonly, copy) NSString* debugDescription;
  6245. @property(readonly, copy) NSString* description;
  6246. @property(readonly, assign) Class superclass;
  6247. @property(readonly, assign) unsigned hash;
  6248. -(BOOL)filterAllowsMessage:(id)message level:(int)level;
  6249. -(void)dealloc;
  6250. -(id)init;
  6251. -(id)initWithAllowedLevels:(id)allowedLevels;
  6252. @end
  6253.  
  6254. __attribute__((visibility("hidden")))
  6255. @interface GSDK_GTMLogMininumLevelFilter : GSDK_GTMLogAllowedLevelFilter {
  6256. }
  6257. -(id)initWithMinimumLevel:(int)minimumLevel;
  6258. @end
  6259.  
  6260. __attribute__((visibility("hidden")))
  6261. @interface GSDK_GTMLogMaximumLevelFilter : GSDK_GTMLogAllowedLevelFilter {
  6262. }
  6263. -(id)initWithMaximumLevel:(int)maximumLevel;
  6264. @end
  6265.  
  6266. __attribute__((visibility("hidden")))
  6267. @interface GSDK_GTMFadeTruncatingLabel : UILabel {
  6268. int truncateMode_;
  6269. }
  6270. @property(assign, nonatomic) int truncateMode;
  6271. +(id)getLinearGradient:(CGRect)gradient fadeHead:(BOOL)head fadeTail:(BOOL)tail;
  6272. -(void)drawTextInRect:(CGRect)rect;
  6273. -(void)awakeFromNib;
  6274. -(id)initWithFrame:(CGRect)frame;
  6275. -(void)setup;
  6276. @end
  6277.  
  6278. __attribute__((visibility("hidden")))
  6279. @interface GSDK_GTMUILocalizer : NSObject {
  6280. id owner_;
  6281. id otherObjectToLocalize_;
  6282. id yetAnotherObjectToLocalize_;
  6283. NSBundle* bundle_;
  6284. }
  6285. @property(assign, nonatomic) id yetAnotherObjectToLocalize;
  6286. @property(assign, nonatomic) id otherObjectToLocalize;
  6287. @property(assign, nonatomic) id owner;
  6288. +(id)bundleForOwner:(id)owner;
  6289. -(void)localizeButton:(id)button;
  6290. -(void)localizeAccessibility:(id)accessibility;
  6291. -(void)localizeView:(id)view recursively:(BOOL)recursively;
  6292. -(void)localizeSegmentedControl:(id)control;
  6293. -(void)localizeToolbar:(id)toolbar;
  6294. -(void)localizeObject:(id)object recursively:(BOOL)recursively;
  6295. -(id)localizedStringForString:(id)string;
  6296. -(void)awakeFromNib;
  6297. -(void)dealloc;
  6298. -(id)initWithBundle:(id)bundle;
  6299. @end
  6300.  
  6301. __attribute__((visibility("hidden")))
  6302. @interface GSDK_OpenInChromeController : NSObject {
  6303. }
  6304. +(id)sharedInstance;
  6305. -(id)pasteboardContent;
  6306. -(int)openInChromePreference;
  6307. -(BOOL)openInChrome:(id)chrome withCallbackURL:(id)callbackURL createNewTab:(BOOL)tab;
  6308. -(BOOL)openInChrome:(id)chrome;
  6309. -(BOOL)isChromeInstalled;
  6310. @end
  6311.  
  6312. __attribute__((visibility("hidden")))
  6313. @interface GSDK_GTMSessionFetcher : NSObject <NSURLSessionDelegate> {
  6314. NSMutableURLRequest* _request;
  6315. NSURLSession* _session;
  6316. BOOL _shouldInvalidateSession;
  6317. NSURLSession* _sessionNeedingInvalidation;
  6318. NSURLSessionConfiguration* _configuration;
  6319. NSURLSessionTask* _sessionTask;
  6320. NSString* _taskDescription;
  6321. float _taskPriority;
  6322. NSURLResponse* _response;
  6323. NSString* _sessionIdentifier;
  6324. BOOL _wasCreatedFromBackgroundSession;
  6325. BOOL _didCreateSessionIdentifier;
  6326. NSString* _sessionIdentifierUUID;
  6327. BOOL _userRequestedBackgroundSession;
  6328. BOOL _usingBackgroundSession;
  6329. NSMutableData* _downloadedData;
  6330. NSError* _downloadFinishedError;
  6331. NSData* _downloadResumeData;
  6332. NSURL* _destinationFileURL;
  6333. long long _downloadedLength;
  6334. NSURLCredential* _credential;
  6335. NSURLCredential* _proxyCredential;
  6336. BOOL _isStopNotificationNeeded;
  6337. BOOL _isUsingTestBlock;
  6338. id _userData;
  6339. NSMutableDictionary* _properties;
  6340. NSObject<OS_dispatch_queue>* _callbackQueue;
  6341. NSObject<OS_dispatch_group>* _callbackGroup;
  6342. NSOperationQueue* _delegateQueue;
  6343. id<GTMFetcherAuthorizationProtocol> _authorizer;
  6344. id<GTMSessionFetcherServiceProtocol> _service;
  6345. NSString* _serviceHost;
  6346. int _servicePriority;
  6347. BOOL _userStoppedFetching;
  6348. BOOL _isRetryEnabled;
  6349. NSTimer* _retryTimer;
  6350. unsigned _retryCount;
  6351. double _maxRetryInterval;
  6352. double _minRetryInterval;
  6353. double _retryFactor;
  6354. double _lastRetryInterval;
  6355. NSDate* _initialBeginFetchDate;
  6356. NSDate* _initialRequestDate;
  6357. BOOL _hasAttemptedAuthRefresh;
  6358. NSString* _comment;
  6359. NSString* _log;
  6360. NSMutableData* _loggedStreamData;
  6361. NSURL* _redirectedFromURL;
  6362. NSString* _logRequestBody;
  6363. NSString* _logResponseBody;
  6364. BOOL _hasLoggedError;
  6365. BOOL _deferResponseBodyLogging;
  6366. BOOL _canShareSession;
  6367. BOOL _useUploadTask;
  6368. BOOL _allowLocalhostRequest;
  6369. BOOL _allowInvalidServerCertificates;
  6370. id _configurationBlock;
  6371. NSDictionary* _sessionUserInfo;
  6372. id _completionHandler;
  6373. NSData* _bodyData;
  6374. NSURL* _bodyFileURL;
  6375. id _bodyStreamProvider;
  6376. id _accumulateDataBlock;
  6377. id _receivedProgressBlock;
  6378. id _downloadProgressBlock;
  6379. id _resumeDataBlock;
  6380. id _didReceiveResponseBlock;
  6381. id _willRedirectBlock;
  6382. id _sendProgressBlock;
  6383. id _willCacheURLResponseBlock;
  6384. id _retryBlock;
  6385. NSArray* _allowedInsecureSchemes;
  6386. NSHTTPCookieStorage* _cookieStorage;
  6387. id _testBlock;
  6388. unsigned _backgroundTaskIdentifier;
  6389. long long _bodyLength;
  6390. }
  6391. @property(readonly, copy) NSString* debugDescription;
  6392. @property(readonly, copy) NSString* description;
  6393. @property(readonly, assign) Class superclass;
  6394. @property(readonly, assign) unsigned hash;
  6395. @property(assign) unsigned backgroundTaskIdentifier;
  6396. @property(retain) NSURL* redirectedFromURL;
  6397. @property(assign) BOOL hasLoggedError;
  6398. @property(readonly, assign) NSData* loggedStreamData;
  6399. @property(copy) NSString* logResponseBody;
  6400. @property(assign) BOOL deferResponseBodyLogging;
  6401. @property(copy) NSString* logRequestBody;
  6402. @property(copy) id testBlock;
  6403. @property(retain) NSOperationQueue* sessionDelegateQueue;
  6404. @property(retain) NSObject<OS_dispatch_queue>* callbackQueue;
  6405. @property(copy) NSString* log;
  6406. @property(copy) NSString* comment;
  6407. @property(copy) NSDictionary* properties;
  6408. @property(retain) id userData;
  6409. @property(readonly, assign) NSDate* initialBeginFetchDate;
  6410. @property(retain) NSURL* destinationFileURL;
  6411. @property(retain) NSData* downloadedData;
  6412. @property(readonly, assign) long long downloadedLength;
  6413. @property(readonly, assign) NSURLResponse* response;
  6414. @property(readonly, assign) NSDictionary* responseHeaders;
  6415. @property(readonly, assign) int statusCode;
  6416. @property(copy) id resumeDataBlock;
  6417. @property(copy) id completionHandler;
  6418. @property(readonly, assign, getter=isFetching) BOOL fetching;
  6419. @property(readonly, assign) double nextRetryInterval;
  6420. @property(readonly, assign) unsigned retryCount;
  6421. @property(assign) double retryFactor;
  6422. @property(assign) double minRetryInterval;
  6423. @property(assign) double maxRetryInterval;
  6424. @property(copy) id retryBlock;
  6425. @property(assign, getter=isRetryEnabled) BOOL retryEnabled;
  6426. @property(copy) id willCacheURLResponseBlock;
  6427. @property(copy) id downloadProgressBlock;
  6428. @property(copy) id receivedProgressBlock;
  6429. @property(copy) id accumulateDataBlock;
  6430. @property(copy) id sendProgressBlock;
  6431. @property(copy) id willRedirectBlock;
  6432. @property(copy) id didReceiveResponseBlock;
  6433. @property(assign) int servicePriority;
  6434. @property(copy) NSString* serviceHost;
  6435. @property(retain) id<GTMSessionFetcherServiceProtocol> service;
  6436. @property(retain) id<GTMFetcherAuthorizationProtocol> authorizer;
  6437. @property(copy) id bodyStreamProvider;
  6438. @property(readonly, assign) long long bodyLength;
  6439. @property(retain) NSURL* bodyFileURL;
  6440. @property(retain) NSData* bodyData;
  6441. @property(retain) NSURLCredential* proxyCredential;
  6442. @property(retain) NSURLCredential* credential;
  6443. @property(retain) NSHTTPCookieStorage* cookieStorage;
  6444. @property(assign) BOOL allowInvalidServerCertificates;
  6445. @property(assign) BOOL allowLocalhostRequest;
  6446. @property(copy) NSArray* allowedInsecureSchemes;
  6447. @property(readonly, assign) BOOL canShareSession;
  6448. @property(assign) BOOL useUploadTask;
  6449. @property(assign, getter=isUsingBackgroundSession) BOOL usingBackgroundSession;
  6450. @property(assign) BOOL useBackgroundSession;
  6451. @property(assign) float taskPriority;
  6452. @property(copy) NSString* taskDescription;
  6453. @property(retain) NSDictionary* sessionUserInfo;
  6454. @property(readonly, assign) BOOL wasCreatedFromBackgroundSession;
  6455. @property(readonly, assign) NSString* sessionIdentifier;
  6456. @property(readonly, assign) NSURLSessionTask* sessionTask;
  6457. @property(retain) NSURLSession* session;
  6458. @property(copy) id configurationBlock;
  6459. @property(retain) NSURLSessionConfiguration* configuration;
  6460. @property(retain) NSData* downloadResumeData;
  6461. @property(retain) NSMutableURLRequest* mutableRequest;
  6462. @property(readonly, assign) GSDK_GTMSessionUploadFetcher* parentUploadFetcher;
  6463. +(id)systemCompletionHandlerForSessionIdentifier:(id)sessionIdentifier;
  6464. +(void)setSystemCompletionHandler:(id)handler forSessionIdentifier:(id)sessionIdentifier;
  6465. +(void)setGlobalTestBlock:(id)block;
  6466. +(id)staticCookieStorage;
  6467. +(void)application:(id)application handleEventsForBackgroundURLSession:(id)backgroundURLSession completionHandler:(id)handler;
  6468. +(id)fetchersForBackgroundSessions;
  6469. +(id)activePersistedBackgroundSessions;
  6470. +(id)fetcherUserDefaults;
  6471. +(BOOL)appAllowsInsecureRequests;
  6472. +(id)sessionIdentifierToFetcherMap;
  6473. +(id)fetcherWithSessionIdentifier:(id)sessionIdentifier;
  6474. +(id)fetcherWithDownloadResumeData:(id)downloadResumeData;
  6475. +(id)fetcherWithURLString:(id)urlstring;
  6476. +(id)fetcherWithURL:(id)url;
  6477. +(id)fetcherWithRequest:(id)request;
  6478. +(void)load;
  6479. +(void)deleteLogDirectoriesOlderThanDate:(id)date;
  6480. +(id)htmlFileName;
  6481. +(id)symlinkNameSuffix;
  6482. +(id)processNameLogPrefix;
  6483. +(id)loggingDateStamp;
  6484. +(void)setLoggingDateStamp:(id)stamp;
  6485. +(id)loggingProcessName;
  6486. +(void)setLoggingProcessName:(id)name;
  6487. +(BOOL)isLoggingToFileEnabled;
  6488. +(void)setLoggingToFileEnabled:(BOOL)fileEnabled;
  6489. +(BOOL)isLoggingEnabled;
  6490. +(void)setLoggingEnabled:(BOOL)enabled;
  6491. +(id)logDirectoryForCurrentRun;
  6492. +(void)setLogDirectoryForCurrentRun:(id)currentRun;
  6493. +(id)loggingDirectory;
  6494. +(void)setLoggingDirectory:(id)directory;
  6495. +(id)headersStringForDictionary:(id)dictionary;
  6496. +(id)snipSubstringOfString:(id)string betweenStartString:(id)string2 endString:(id)string3;
  6497. -(void).cxx_destruct;
  6498. -(void)clearLoggedStreamData;
  6499. -(void)appendLoggedStreamData:(id)data;
  6500. -(void)setCommentWithFormat:(id)format;
  6501. -(void)addPropertiesFromDictionary:(id)dictionary;
  6502. -(id)propertyForKey:(id)key;
  6503. -(void)setProperty:(id)property forKey:(id)key;
  6504. -(BOOL)userStoppedFetching;
  6505. -(void)setSessionNeedingInvalidation:(id)invalidation;
  6506. -(id)sessionNeedingInvalidation;
  6507. -(void)setCanShareSession:(BOOL)session;
  6508. -(void)setDownloadedLength:(long long)length;
  6509. -(void)setResponse:(id)response;
  6510. -(id)mutableRequestUnsynchronized;
  6511. -(void)setSystemCompletionHandler:(id)handler;
  6512. -(id)systemCompletionHandler;
  6513. -(BOOL)isRetryEnabledUnsynchronized;
  6514. -(id)retryTimer;
  6515. -(double)nextRetryIntervalUnsynchronized;
  6516. -(void)destroyRetryTimer;
  6517. -(void)retryTimerFired:(id)fired;
  6518. -(void)beginRetryTimer;
  6519. -(double)retryAfterInterval;
  6520. -(BOOL)hasRetryAfterInterval;
  6521. -(void)shouldRetryNowForStatus:(int)status error:(id)error forceAssumeRetry:(BOOL)retry response:(id)response;
  6522. -(BOOL)isRetryError:(id)error;
  6523. -(void)logNowWithError:(id)error;
  6524. -(BOOL)shouldReleaseCallbacksUponCompletion;
  6525. -(void)finishWithError:(id)error shouldRetry:(BOOL)retry;
  6526. -(void)URLSession:(id)session didBecomeInvalidWithError:(id)error;
  6527. -(void)URLSessionDidFinishEventsForBackgroundURLSession:(id)urlsession;
  6528. -(void)URLSession:(id)session task:(id)task didCompleteWithError:(id)error;
  6529. -(void)URLSession:(id)session downloadTask:(id)task didFinishDownloadingToURL:(id)url;
  6530. -(void)URLSession:(id)session downloadTask:(id)task didResumeAtOffset:(long long)offset expectedTotalBytes:(long long)bytes;
  6531. -(void)URLSession:(id)session downloadTask:(id)task didWriteData:(long long)data totalBytesWritten:(long long)written totalBytesExpectedToWrite:(long long)write;
  6532. -(void)URLSession:(id)session dataTask:(id)task willCacheResponse:(id)response completionHandler:(id)handler;
  6533. -(void)URLSession:(id)session dataTask:(id)task didReceiveData:(id)data;
  6534. -(void)URLSession:(id)session task:(id)task didSendBodyData:(long long)data totalBytesSent:(long long)sent totalBytesExpectedToSend:(long long)send;
  6535. -(void)URLSession:(id)session task:(id)task needNewBodyStream:(id)stream;
  6536. -(void)postNotificationOnMainThreadWithName:(id)name userInfo:(id)info requireAsync:(BOOL)async;
  6537. -(void)invokeFetchCallbacksOnCallbackQueueWithData:(id)data error:(id)error;
  6538. -(void)invokeOnCallbackQueue:(id)queue afterUserStopped:(BOOL)stopped block:(id)block;
  6539. -(void)invokeOnCallbackUnsynchronizedQueueAfterUserStopped:(BOOL)stopped block:(id)block;
  6540. -(void)invokeOnCallbackQueueAfterUserStopped:(BOOL)stopped block:(id)block;
  6541. -(void)invokeOnCallbackQueueUnlessStopped:(id)stopped;
  6542. -(void)URLSession:(id)session task:(id)task didReceiveChallenge:(id)challenge completionHandler:(id)handler;
  6543. -(void)URLSession:(id)session dataTask:(id)task didBecomeDownloadTask:(id)task3;
  6544. -(void)URLSession:(id)session dataTask:(id)task didReceiveResponse:(id)response completionHandler:(id)handler;
  6545. -(void)URLSession:(id)session task:(id)task willPerformHTTPRedirection:(id)redirection newRequest:(id)request completionHandler:(id)handler;
  6546. -(BOOL)waitForCompletionWithTimeout:(double)timeout;
  6547. -(void)retryFetch;
  6548. -(void)sendStopNotificationIfNeeded;
  6549. -(void)setStopNotificationNeeded:(BOOL)needed;
  6550. -(void)stopFetchReleasingCallbacks:(BOOL)callbacks;
  6551. -(void)stopFetching;
  6552. -(void)forgetSessionIdentifierForFetcherWithoutSyncCheck;
  6553. -(void)forgetSessionIdentifierForFetcher;
  6554. -(void)releaseCallbacks;
  6555. -(id)responseHeadersUnsynchronized;
  6556. -(int)statusCodeUnsynchronized;
  6557. -(id)responseUnsynchronized;
  6558. -(BOOL)canFetchWithBackgroundSession;
  6559. -(void)authorizer:(id)authorizer request:(id)request finishedWithError:(id)error;
  6560. -(void)authorizeRequest;
  6561. -(void)endBackgroundTask;
  6562. -(void)failToBeginFetchWithError:(id)error;
  6563. -(id)createSessionIdentifierWithMetadata:(id)metadata;
  6564. -(id)sessionIdentifierMetadataUnsynchronized;
  6565. -(id)sessionIdentifierMetadata;
  6566. -(void)restoreDefaultStateForSessionIdentifierMetadata;
  6567. -(id)sessionIdentifierDefaultMetadata;
  6568. -(void)setSessionIdentifier:(id)identifier;
  6569. -(void)removePersistedBackgroundSessionFromDefaults;
  6570. -(void)addPersistedBackgroundSessionToDefaults;
  6571. -(void)setSessionTask:(id)task;
  6572. -(void)simulateDataCallbacksForTestBlockWithBodyData:(id)bodyData response:(id)response responseData:(id)data error:(id)error;
  6573. -(void)simulateByteTransferReportWithDataLength:(long long)dataLength block:(id)block;
  6574. -(void)simulateFetchForTestBlock;
  6575. -(void)beginFetchMayDelay:(BOOL)delay mayAuthorize:(BOOL)authorize;
  6576. -(void)beginFetchWithDelegate:(id)delegate didFinishSelector:(SEL)selector;
  6577. -(id)completionHandlerWithTarget:(id)target didFinishSelector:(SEL)selector;
  6578. -(void)beginFetchWithCompletionHandler:(id)completionHandler;
  6579. -(void)dealloc;
  6580. -(id)copyWithZone:(NSZone*)zone;
  6581. -(id)initWithRequest:(id)request configuration:(id)configuration;
  6582. -(id)initWithRequest:(id)request;
  6583. -(id)init;
  6584. -(void)setCookieStorageMethod:(int)method;
  6585. -(id)loggedStreamProviderForStreamProvider:(id)streamProvider;
  6586. -(id)loggedInputStreamForInputStream:(id)inputStream;
  6587. -(void)logFetchWithError:(id)error;
  6588. -(id)stringFromStreamData:(id)streamData contentType:(id)type;
  6589. -(id)formattedStringFromData:(id)data contentType:(id)type JSON:(id*)json;
  6590. -(void)inputStream:(id)stream readIntoBuffer:(void*)buffer length:(long long)length;
  6591. @end
  6592.  
  6593. __attribute__((visibility("hidden")))
  6594. @interface GSDK_GTMSessionCookieStorage : NSHTTPCookieStorage {
  6595. NSMutableArray* _cookies;
  6596. unsigned _policy;
  6597. }
  6598. +(BOOL)hasCookieExpired:(id)expired;
  6599. -(void).cxx_destruct;
  6600. -(void)setCookieAcceptPolicy:(unsigned)policy;
  6601. -(unsigned)cookieAcceptPolicy;
  6602. -(void)removeAllCookies;
  6603. -(void)removeExpiredCookies;
  6604. -(id)cookieMatchingCookie:(id)cookie;
  6605. -(void)getCookiesForTask:(id)task completionHandler:(id)handler;
  6606. -(void)storeCookies:(id)cookies forTask:(id)task;
  6607. -(id)cookiesForURL:(id)url;
  6608. -(void)deleteCookie:(id)cookie;
  6609. -(void)setCookies:(id)cookies forURL:(id)url mainDocumentURL:(id)url3;
  6610. -(void)setCookies:(id)cookies;
  6611. -(void)internalSetCookie:(id)cookie;
  6612. -(void)setCookie:(id)cookie;
  6613. -(id)cookies;
  6614. -(id)init;
  6615. @end
  6616.  
  6617. __attribute__((visibility("hidden")))
  6618. @interface GSDK_GTMSessionFetcherService : NSObject <GTMSessionFetcherServiceProtocol> {
  6619. NSMutableDictionary* _delayedFetchersByHost;
  6620. NSMutableDictionary* _runningFetchersByHost;
  6621. unsigned _maxRunningFetchersPerHost;
  6622. GSDK_GTMSessionFetcherSessionDelegateDispatcher* _delegateDispatcher;
  6623. NSObject<OS_dispatch_queue>* _callbackQueue;
  6624. NSOperationQueue* _delegateQueue;
  6625. NSHTTPCookieStorage* _cookieStorage;
  6626. NSString* _userAgent;
  6627. double _timeout;
  6628. NSURLCredential* _credential;
  6629. NSURLCredential* _proxyCredential;
  6630. int _cookieStorageMethod;
  6631. id<GTMFetcherAuthorizationProtocol> _authorizer;
  6632. NSMutableArray* _stoppedFetchersToWaitFor;
  6633. NSDate* _stoppedAllFetchersDate;
  6634. BOOL _allowLocalhostRequest;
  6635. BOOL _allowInvalidServerCertificates;
  6636. BOOL _retryEnabled;
  6637. NSURLSessionConfiguration* _configuration;
  6638. id _configurationBlock;
  6639. NSArray* _allowedInsecureSchemes;
  6640. id _retryBlock;
  6641. NSDictionary* _properties;
  6642. id _testBlock;
  6643. double _maxRetryInterval;
  6644. double _minRetryInterval;
  6645. double _unusedSessionTimeout;
  6646. }
  6647. @property(readonly, assign) NSOperationQueue* delegateQueue;
  6648. @property(readonly, copy) NSString* debugDescription;
  6649. @property(readonly, copy) NSString* description;
  6650. @property(readonly, assign) Class superclass;
  6651. @property(readonly, assign) unsigned hash;
  6652. @property(copy) id testBlock;
  6653. @property(assign) double unusedSessionTimeout;
  6654. @property(assign) BOOL reuseSession;
  6655. @property(retain) NSOperationQueue* sessionDelegateQueue;
  6656. @property(retain) id<GTMFetcherAuthorizationProtocol> authorizer;
  6657. @property(copy) NSString* userAgent;
  6658. @property(copy) NSDictionary* properties;
  6659. @property(assign) double minRetryInterval;
  6660. @property(assign) double maxRetryInterval;
  6661. @property(copy) id retryBlock;
  6662. @property(assign, getter=isRetryEnabled) BOOL retryEnabled;
  6663. @property(assign) BOOL allowInvalidServerCertificates;
  6664. @property(assign) BOOL allowLocalhostRequest;
  6665. @property(copy) NSArray* allowedInsecureSchemes;
  6666. @property(retain) NSURLCredential* proxyCredential;
  6667. @property(retain) NSURLCredential* credential;
  6668. @property(retain) NSObject<OS_dispatch_queue>* callbackQueue;
  6669. @property(retain) NSHTTPCookieStorage* cookieStorage;
  6670. @property(copy) id configurationBlock;
  6671. @property(retain) NSURLSessionConfiguration* configuration;
  6672. @property(assign) unsigned maxRunningFetchersPerHost;
  6673. @property(retain) NSDictionary* runningFetchersByHost;
  6674. @property(retain) NSDictionary* delayedFetchersByHost;
  6675. @property(assign) int cookieStorageMethod;
  6676. +(unsigned)numberOfNonBackgroundSessionFetchers:(id)nonBackgroundSessionFetchers;
  6677. +(id)mockFetcherServiceWithFakedData:(id)fakedData fakedError:(id)error;
  6678. -(void).cxx_destruct;
  6679. -(void)detachAuthorizer;
  6680. -(void)abandonDispatcher;
  6681. -(void)resetSession;
  6682. -(id)stoppedAllFetchersDate;
  6683. -(void)stopAllFetchers;
  6684. -(id)issuedFetchersWithRequestURL:(id)requestURL;
  6685. -(id)issuedFetchers;
  6686. -(unsigned)numberOfDelayedFetchers;
  6687. -(unsigned)numberOfRunningFetchers;
  6688. -(unsigned)numberOfFetchers;
  6689. -(void)fetcherDidStop:(id)fetcher;
  6690. -(void)stopFetcher:(id)fetcher;
  6691. -(void)fetcherDidBeginFetching:(id)fetcher;
  6692. -(void)fetcherDidCreateSession:(id)fetcher;
  6693. -(id)delegateDispatcherForFetcher:(id)fetcher;
  6694. -(void)startFetcher:(id)fetcher;
  6695. -(BOOL)fetcherShouldBeginFetching:(id)fetcher;
  6696. -(BOOL)isDelayingFetcher:(id)fetcher;
  6697. -(void)addDelayedFetcher:(id)fetcher forHost:(id)host;
  6698. -(void)addRunningFetcher:(id)fetcher forHost:(id)host;
  6699. -(id)sessionDelegate;
  6700. -(id)sessionForFetcherCreation;
  6701. -(id)session;
  6702. -(id)fetcherWithURLString:(id)urlstring;
  6703. -(id)fetcherWithURL:(id)url;
  6704. -(id)fetcherWithRequest:(id)request;
  6705. -(id)fetcherWithRequest:(id)request fetcherClass:(Class)aClass;
  6706. -(void)dealloc;
  6707. -(id)init;
  6708. -(BOOL)waitForCompletionOfAllFetchersWithTimeout:(double)timeout;
  6709. @end
  6710.  
  6711. __attribute__((visibility("hidden")))
  6712. @interface GSDK_GTMSessionFetcherSessionDelegateDispatcher : NSObject <NSURLSessionDelegate> {
  6713. GSDK_GTMSessionFetcherService* _parentService;
  6714. NSURLSession* _session;
  6715. NSObject<OS_dispatch_semaphore>* _sessionCreationSemaphore;
  6716. NSMutableDictionary* _taskToFetcherMap;
  6717. NSTimer* _discardTimer;
  6718. double _discardInterval;
  6719. }
  6720. @property(readonly, copy) NSString* debugDescription;
  6721. @property(readonly, copy) NSString* description;
  6722. @property(readonly, assign) Class superclass;
  6723. @property(readonly, assign) unsigned hash;
  6724. @property(assign) double discardInterval;
  6725. @property(readonly, assign) NSObject<OS_dispatch_semaphore>* sessionCreationSemaphore;
  6726. @property(retain) NSURLSession* session;
  6727. -(void).cxx_destruct;
  6728. -(void)URLSession:(id)session downloadTask:(id)task didResumeAtOffset:(long long)offset expectedTotalBytes:(long long)bytes;
  6729. -(void)URLSession:(id)session downloadTask:(id)task didWriteData:(long long)data totalBytesWritten:(long long)written totalBytesExpectedToWrite:(long long)write;
  6730. -(void)URLSession:(id)session downloadTask:(id)task didFinishDownloadingToURL:(id)url;
  6731. -(void)URLSession:(id)session dataTask:(id)task willCacheResponse:(id)response completionHandler:(id)handler;
  6732. -(void)URLSession:(id)session dataTask:(id)task didReceiveData:(id)data;
  6733. -(void)URLSession:(id)session dataTask:(id)task didBecomeDownloadTask:(id)task3;
  6734. -(void)URLSession:(id)session dataTask:(id)task didReceiveResponse:(id)response completionHandler:(id)handler;
  6735. -(void)URLSession:(id)session task:(id)task didCompleteWithError:(id)error;
  6736. -(void)URLSession:(id)session task:(id)task didSendBodyData:(long long)data totalBytesSent:(long long)sent totalBytesExpectedToSend:(long long)send;
  6737. -(void)URLSession:(id)session task:(id)task needNewBodyStream:(id)stream;
  6738. -(void)URLSession:(id)session task:(id)task didReceiveChallenge:(id)challenge completionHandler:(id)handler;
  6739. -(void)URLSession:(id)session task:(id)task willPerformHTTPRedirection:(id)redirection newRequest:(id)request completionHandler:(id)handler;
  6740. -(void)URLSession:(id)session didBecomeInvalidWithError:(id)error;
  6741. -(void)removeTaskFromMap:(id)map;
  6742. -(id)fetcherForTask:(id)task;
  6743. -(void)removeFetcher:(id)fetcher;
  6744. -(void)setFetcher:(id)fetcher forTask:(id)task;
  6745. -(void)destroySessionAndTimer;
  6746. -(void)startSessionUsage;
  6747. -(void)abandon;
  6748. -(void)discardTimerFired:(id)fired;
  6749. -(void)destroyDiscardTimer;
  6750. -(void)startDiscardTimer;
  6751. -(id)initWithParentService:(id)parentService sessionDiscardInterval:(double)interval;
  6752. -(id)init;
  6753. @end
  6754.  
  6755. __attribute__((visibility("hidden")))
  6756. @interface GSDK_GTMSessionUploadFetcher : GSDK_GTMSessionFetcher {
  6757. GSDK_GTMSessionFetcher* _chunkFetcher;
  6758. id _delegateCompletionHandler;
  6759. NSObject<OS_dispatch_queue>* _delegateCallbackQueue;
  6760. long long _initialBodyLength;
  6761. long long _initialBodySent;
  6762. NSURL* _uploadLocationURL;
  6763. NSData* _uploadData;
  6764. NSFileHandle* _uploadFileHandle;
  6765. id _uploadDataProvider;
  6766. long long _uploadFileLength;
  6767. NSString* _uploadMIMEType;
  6768. long long _chunkSize;
  6769. long long _uploadGranularity;
  6770. BOOL _isPaused;
  6771. BOOL _isRestartedUpload;
  6772. BOOL _shouldInitiateOffsetQuery;
  6773. BOOL _useBackgroundSessionOnChunkFetchers;
  6774. long long _currentOffset;
  6775. NSDictionary* _recentChunkReponseHeaders;
  6776. int _recentChunkStatusCode;
  6777. GSDK_GTMSessionFetcher* _fetcherInFlight;
  6778. BOOL _isSubdataGenerating;
  6779. BOOL _subdataGenerating;
  6780. NSURL* _uploadFileURL;
  6781. NSURLRequest* _lastChunkRequest;
  6782. }
  6783. @property(assign) long long uploadGranularity;
  6784. @property(assign) BOOL shouldInitiateOffsetQuery;
  6785. @property(assign, getter=isSubdataGenerating) BOOL subdataGenerating;
  6786. @property(retain) GSDK_GTMSessionFetcher* fetcherInFlight;
  6787. @property(readonly, assign) id delegateCompletionHandler;
  6788. @property(readonly, assign) NSObject<OS_dispatch_queue>* delegateCallbackQueue;
  6789. @property(assign) int statusCode;
  6790. @property(retain) NSDictionary* responseHeaders;
  6791. @property(retain) NSURLRequest* lastChunkRequest;
  6792. @property(readonly, assign) GSDK_GTMSessionFetcher* activeFetcher;
  6793. @property(retain) GSDK_GTMSessionFetcher* chunkFetcher;
  6794. @property(assign) long long currentOffset;
  6795. @property(assign) long long chunkSize;
  6796. @property(copy) NSString* uploadMIMEType;
  6797. @property(readonly, copy) id uploadDataProvider;
  6798. @property(retain) NSFileHandle* uploadFileHandle;
  6799. @property(retain) NSURL* uploadFileURL;
  6800. @property(retain) NSData* uploadData;
  6801. @property(retain) NSURL* uploadLocationURL;
  6802. +(void)removePointer:(void*)pointer fromPointerArray:(id)pointerArray;
  6803. +(unsigned)uploadStatusFromResponseHeaders:(id)responseHeaders;
  6804. +(id)uploadFetchersForBackgroundSessions;
  6805. +(id)uploadFetcherForSessionIdentifier:(id)sessionIdentifier;
  6806. +(id)uploadFetcherPointerArrayForBackgroundSessions;
  6807. +(id)uploadFetcherWithRequest:(id)request fetcherService:(id)service;
  6808. +(id)uploadFetcherForSessionIdentifierMetadata:(id)sessionIdentifierMetadata;
  6809. +(id)uploadFetcherWithLocation:(id)location uploadMIMEType:(id)type chunkSize:(long long)size fetcherService:(id)service;
  6810. +(id)uploadFetcherWithRequest:(id)request uploadMIMEType:(id)type chunkSize:(long long)size fetcherService:(id)service;
  6811. +(void)load;
  6812. -(void).cxx_destruct;
  6813. -(BOOL)waitForCompletionWithTimeout:(double)timeout;
  6814. -(void)setInitialBodySent:(long long)sent;
  6815. -(long long)initialBodySent;
  6816. -(void)setInitialBodyLength:(long long)length;
  6817. -(long long)initialBodyLength;
  6818. -(int)statusCodeUnsynchronized;
  6819. -(BOOL)canFetchWithBackgroundSession;
  6820. -(void)setUseBackgroundSession:(BOOL)session;
  6821. -(BOOL)useBackgroundSession;
  6822. -(void)stopFetching;
  6823. -(void)resumeFetching;
  6824. -(void)pauseFetching;
  6825. -(BOOL)isPaused;
  6826. -(void)retrieveUploadChunkGranularityFromResponseHeaders:(id)responseHeaders;
  6827. -(void)invokeDelegateWithDidSendBytes:(long long)invokeDelegateWith totalBytesSent:(long long)sent totalBytesExpectedToSend:(long long)send;
  6828. -(void)destroyChunkFetcher;
  6829. -(void)chunkFetcher:(id)fetcher finishedWithData:(id)data error:(id)error;
  6830. -(id)uploadFetcherWithProperties:(id)properties isQueryFetch:(BOOL)fetch;
  6831. -(id)uploadSessionIdentifierMetadata;
  6832. -(void)attachSendProgressBlockToChunkFetcher:(id)chunkFetcher;
  6833. -(void)beginChunkFetcher:(id)fetcher offset:(long long)offset;
  6834. -(void)uploadNextChunkWithOffset:(long long)offset fetcherProperties:(id)properties;
  6835. -(void)sendCancelUploadWithFetcherProperties:(id)fetcherProperties;
  6836. -(void)queryFetcher:(id)fetcher finishedWithData:(id)data error:(id)error;
  6837. -(void)sendQueryForUploadOffsetWithFetcherProperties:(id)fetcherProperties;
  6838. -(void)uploadNextChunkWithOffset:(long long)offset;
  6839. -(void)stopFetchReleasingCallbacks:(BOOL)callbacks;
  6840. -(void)releaseUploadAndBaseCallbacks;
  6841. -(void)invokeFinalCallbackWithData:(id)data error:(id)error shouldInvalidateLocation:(BOOL)location;
  6842. -(BOOL)shouldReleaseCallbacksUponCompletion;
  6843. -(void)URLSession:(id)session task:(id)task didSendBodyData:(long long)data totalBytesSent:(long long)sent totalBytesExpectedToSend:(long long)send;
  6844. -(void)beginChunkFetches;
  6845. -(void)beginFetchWithCompletionHandler:(id)completionHandler;
  6846. -(BOOL)isRestartedUpload;
  6847. -(void)setDelegateCallbackQueue:(id)queue;
  6848. -(void)setCompletionHandler:(id)handler;
  6849. -(id)prematureFailureErrorWithUserInfo:(id)userInfo;
  6850. -(id)uploadChunkUnavailableErrorWithDescription:(id)description;
  6851. -(void)generateChunkSubdataFromFileURL:(id)fileURL offset:(long long)offset length:(long long)length response:(id)response;
  6852. -(void)generateChunkSubdataFromFileHandle:(id)fileHandle offset:(long long)offset length:(long long)length response:(id)response;
  6853. -(void)generateChunkSubdataWithOffset:(long long)offset length:(long long)length response:(id)response;
  6854. -(long long)fullUploadLength;
  6855. -(void)setLocationURL:(id)url uploadMIMEType:(id)type chunkSize:(long long)size;
  6856. -(void)setupRequestHeaders;
  6857. -(void)setUploadDataLength:(long long)length provider:(id)provider;
  6858. -(void)setUploadFileLength:(long long)length;
  6859. @end
  6860.  
  6861. __attribute__((visibility("hidden")))
  6862. @interface GSDK_GTMGatherInputStream : NSInputStream <NSStreamDelegate> {
  6863. NSArray* _dataArray;
  6864. unsigned _arrayIndex;
  6865. long long _dataOffset;
  6866. unsigned _streamStatus;
  6867. id<NSStreamDelegate> _delegate;
  6868. }
  6869. @property(readonly, copy) NSString* debugDescription;
  6870. @property(readonly, copy) NSString* description;
  6871. @property(readonly, assign) Class superclass;
  6872. @property(readonly, assign) unsigned hash;
  6873. +(id)streamWithArray:(id)array;
  6874. -(void).cxx_destruct;
  6875. -(void)setAbsoluteOffset:(long long)offset;
  6876. -(long long)absoluteOffset;
  6877. -(void)stream:(id)stream handleEvent:(unsigned)event;
  6878. -(BOOL)hasBytesAvailable;
  6879. -(BOOL)getBuffer:(char**)buffer length:(unsigned*)length;
  6880. -(int)read:(char*)read maxLength:(unsigned)length;
  6881. -(id)streamError;
  6882. -(unsigned)streamStatus;
  6883. -(void)removeFromRunLoop:(id)runLoop forMode:(id)mode;
  6884. -(void)scheduleInRunLoop:(id)runLoop forMode:(id)mode;
  6885. -(BOOL)setProperty:(id)property forKey:(id)key;
  6886. -(id)propertyForKey:(id)key;
  6887. -(void)setDelegate:(id)delegate;
  6888. -(id)delegate;
  6889. -(void)close;
  6890. -(void)open;
  6891. -(id)initWithArray:(id)array;
  6892. @end
  6893.  
  6894. __attribute__((visibility("hidden")))
  6895. @interface GSDK_GTMMIMEDocumentPart : NSObject {
  6896. NSDictionary* _headers;
  6897. NSData* _headerData;
  6898. NSData* _bodyData;
  6899. }
  6900. @property(readonly, assign, nonatomic) unsigned length;
  6901. @property(readonly, assign, nonatomic) NSData* body;
  6902. @property(readonly, assign, nonatomic) NSData* headerData;
  6903. @property(readonly, assign, nonatomic) NSDictionary* headers;
  6904. +(id)partWithHeaders:(id)headers body:(id)body;
  6905. -(void).cxx_destruct;
  6906. -(unsigned)hash;
  6907. -(BOOL)isEqual:(id)equal;
  6908. -(id)description;
  6909. -(BOOL)containsBytes:(const char*)bytes length:(unsigned)length;
  6910. -(id)initWithHeaders:(id)headers body:(id)body;
  6911. @end
  6912.  
  6913. __attribute__((visibility("hidden")))
  6914. @interface GSDK_GTMMIMEDocument : NSObject {
  6915. NSMutableArray* _parts;
  6916. unsigned long long _length;
  6917. NSString* _boundary;
  6918. unsigned _randomSeed;
  6919. }
  6920. @property(copy, nonatomic) NSString* boundary;
  6921. +(id)headersWithData:(id)data;
  6922. +(unsigned)findBytesWithNeedle:(const char*)needle needleLength:(unsigned)length haystack:(const char*)haystack haystackLength:(unsigned)length4 foundOffset:(unsigned*)offset;
  6923. +(void)searchData:(id)data targetBytes:(const void*)bytes targetLength:(unsigned)length foundOffsets:(id*)offsets foundBlockNumbers:(id*)numbers;
  6924. +(void)searchData:(id)data targetBytes:(const void*)bytes targetLength:(unsigned)length foundOffsets:(id*)offsets;
  6925. +(id)MIMEPartsWithBoundary:(id)boundary data:(id)data;
  6926. +(id)dataWithHeaders:(id)headers;
  6927. +(id)MIMEDocument;
  6928. -(void).cxx_destruct;
  6929. -(void)generateDispatchData:(id*)data length:(unsigned long long*)length boundary:(id*)boundary;
  6930. -(void)generateInputStream:(id*)stream length:(unsigned long long*)length boundary:(id*)boundary;
  6931. -(void)generateDataArray:(id)array length:(unsigned long long*)length boundary:(id*)boundary;
  6932. -(unsigned)random;
  6933. -(void)seedRandomWith:(unsigned)with;
  6934. -(void)addPartWithHeaders:(id)headers body:(id)body;
  6935. -(id)description;
  6936. -(id)init;
  6937. @end
  6938.  
  6939. __attribute__((visibility("hidden")))
  6940. @interface GSDK_GTMReadMonitorInputStream : NSInputStream <NSStreamDelegate> {
  6941. NSInputStream* _inputStream;
  6942. NSThread* _thread;
  6943. NSArray* _runLoopModes;
  6944. id _readDelegate;
  6945. SEL _readSelector;
  6946. }
  6947. @property(readonly, copy) NSString* debugDescription;
  6948. @property(readonly, copy) NSString* description;
  6949. @property(readonly, assign) Class superclass;
  6950. @property(readonly, assign) unsigned hash;
  6951. @property(retain) NSArray* runLoopModes;
  6952. @property(assign) SEL readSelector;
  6953. @property(assign) __weak id readDelegate;
  6954. +(id)inputStreamWithStream:(id)stream;
  6955. +(void)forwardInvocation:(id)invocation;
  6956. +(id)methodSignatureForSelector:(SEL)selector;
  6957. -(void).cxx_destruct;
  6958. -(id)streamError;
  6959. -(unsigned)streamStatus;
  6960. -(void)removeFromRunLoop:(id)runLoop forMode:(id)mode;
  6961. -(void)scheduleInRunLoop:(id)runLoop forMode:(id)mode;
  6962. -(BOOL)setProperty:(id)property forKey:(id)key;
  6963. -(id)propertyForKey:(id)key;
  6964. -(void)setDelegate:(id)delegate;
  6965. -(id)delegate;
  6966. -(void)close;
  6967. -(void)open;
  6968. -(BOOL)hasBytesAvailable;
  6969. -(BOOL)getBuffer:(char**)buffer length:(unsigned*)length;
  6970. -(void)invokeReadSelectorWithBuffer:(id)buffer;
  6971. -(int)read:(char*)read maxLength:(unsigned)length;
  6972. -(id)init;
  6973. -(id)initWithStream:(id)stream;
  6974. -(void)forwardInvocation:(id)invocation;
  6975. -(id)methodSignatureForSelector:(SEL)selector;
  6976. -(BOOL)respondsToSelector:(SEL)selector;
  6977. @end
  6978.  
  6979. @interface GIDAuthentication : NSObject <NSCoding> {
  6980. NSMutableArray* _authenticationHandlerQueue;
  6981. NSString* _clientID;
  6982. NSString* _accessToken;
  6983. NSDate* _accessTokenExpirationDate;
  6984. NSString* _refreshToken;
  6985. NSString* _idToken;
  6986. NSDate* _idTokenExpirationDate;
  6987. }
  6988. @property(readonly, assign, nonatomic) NSDate* idTokenExpirationDate;
  6989. @property(readonly, assign, nonatomic) NSString* idToken;
  6990. @property(readonly, assign, nonatomic) NSString* refreshToken;
  6991. @property(readonly, assign, nonatomic) NSDate* accessTokenExpirationDate;
  6992. @property(readonly, assign, nonatomic) NSString* accessToken;
  6993. @property(readonly, assign, nonatomic) NSString* clientID;
  6994. +(id)dateWithNumber:(id)number;
  6995. +(id)authenticationHandlerWithAccessTokenHandler:(id)accessTokenHandler;
  6996. +(id)decodedIdTokenFromString:(id)string;
  6997. -(void).cxx_destruct;
  6998. -(void)encodeWithCoder:(id)coder;
  6999. -(id)initWithCoder:(id)coder;
  7000. -(void)refreshTokensWithHandler:(id)handler;
  7001. -(void)getTokensWithHandler:(id)handler;
  7002. -(void)refreshAccessTokenWithHandler:(id)handler;
  7003. -(void)getAccessTokenWithHandler:(id)handler;
  7004. -(id)fetcherAuthorizer;
  7005. -(id)GTMAuth;
  7006. -(id)initWithGTMAuth:(id)gtmauth;
  7007. @end
  7008.  
  7009. @interface GIDCallbackQueue : NSObject {
  7010. BOOL _firing;
  7011. int _pending;
  7012. NSMutableArray* _queue;
  7013. GIDCallbackQueue* _strongSelf;
  7014. }
  7015. -(void).cxx_destruct;
  7016. -(void)fire;
  7017. -(void)addCallback:(id)callback;
  7018. -(void)reset;
  7019. -(void)next;
  7020. -(void)wait;
  7021. -(id)init;
  7022. @end
  7023.  
  7024. @interface GIDGoogleUser : NSObject <NSCoding> {
  7025. NSString* _userID;
  7026. GIDProfileData* _profile;
  7027. GIDAuthentication* _authentication;
  7028. NSArray* _accessibleScopes;
  7029. NSString* _hostedDomain;
  7030. NSString* _serverAuthCode;
  7031. }
  7032. @property(readonly, assign, nonatomic) NSString* serverAuthCode;
  7033. @property(readonly, assign, nonatomic) NSString* hostedDomain;
  7034. @property(readonly, assign, nonatomic) NSArray* accessibleScopes;
  7035. @property(readonly, assign, nonatomic) GIDAuthentication* authentication;
  7036. @property(readonly, assign, nonatomic) GIDProfileData* profile;
  7037. @property(readonly, assign, nonatomic) NSString* userID;
  7038. -(void).cxx_destruct;
  7039. -(void)encodeWithCoder:(id)coder;
  7040. -(id)initWithCoder:(id)coder;
  7041. -(id)initWithAuthentication:(id)authentication scopes:(id)scopes;
  7042. @end
  7043.  
  7044. @interface GIDProfileData : NSObject <NSCoding> {
  7045. NSString* _imageURL;
  7046. NSString* _email;
  7047. NSString* _name;
  7048. NSString* _givenName;
  7049. NSString* _familyName;
  7050. }
  7051. @property(readonly, assign, nonatomic) BOOL hasImage;
  7052. @property(readonly, assign, nonatomic) NSString* familyName;
  7053. @property(readonly, assign, nonatomic) NSString* givenName;
  7054. @property(readonly, assign, nonatomic) NSString* name;
  7055. @property(readonly, assign, nonatomic) NSString* email;
  7056. -(void).cxx_destruct;
  7057. -(void)encodeWithCoder:(id)coder;
  7058. -(id)initWithCoder:(id)coder;
  7059. -(id)imageURLWithDimension:(unsigned)dimension;
  7060. -(id)initWithAuthentication:(id)authentication;
  7061. @end
  7062.  
  7063. @interface GIDAppSwitchScheme : NSObject {
  7064. BOOL _isWebBrowserScheme;
  7065. BOOL _isWebViewScheme;
  7066. BOOL _isSafariViewControllerScheme;
  7067. NSString* _scheme;
  7068. NSString* _protocolVersion;
  7069. NSNumber* _rate;
  7070. }
  7071. @property(readonly, assign, nonatomic) BOOL isFirstPartyApp;
  7072. @property(readonly, assign, nonatomic) BOOL isSafariViewControllerScheme;
  7073. @property(readonly, assign, nonatomic) BOOL isWebViewScheme;
  7074. @property(readonly, assign, nonatomic) BOOL isWebBrowserScheme;
  7075. @property(readonly, assign, nonatomic) NSNumber* rate;
  7076. @property(readonly, assign, nonatomic) NSString* protocolVersion;
  7077. @property(readonly, assign, nonatomic) NSString* scheme;
  7078. -(void).cxx_destruct;
  7079. -(id)initWithDictionary:(id)dictionary;
  7080. @end
  7081.  
  7082. @interface GIDAppSwitchConfig : NSObject {
  7083. NSArray* _schemes;
  7084. }
  7085. @property(readonly, assign, nonatomic) NSArray* schemes;
  7086. -(void).cxx_destruct;
  7087. -(id)initWithDictionary:(id)dictionary;
  7088. @end
  7089.  
  7090. @interface GIDRuntimeConfig : NSObject {
  7091. GIDAppSwitchConfig* _appSwitch;
  7092. NSString* _developerMessage;
  7093. NSString* _redirectURLString;
  7094. }
  7095. @property(readonly, assign, nonatomic) NSString* redirectURLString;
  7096. @property(readonly, assign, nonatomic) NSString* developerMessage;
  7097. @property(readonly, assign, nonatomic) GIDAppSwitchConfig* appSwitch;
  7098. +(id)defaultConfig;
  7099. -(void).cxx_destruct;
  7100. -(id)initWithDictionary:(id)dictionary;
  7101. @end
  7102.  
  7103. @interface GIDRuntimeConfigFetcher : NSObject {
  7104. NSString* _version;
  7105. NSString* _query;
  7106. NSMutableArray* _handlers;
  7107. }
  7108. +(void)setServerURLPrefix:(id)prefix;
  7109. +(id)serverURLPrefix;
  7110. -(void).cxx_destruct;
  7111. -(void)fetchWithURLString:(id)urlstring history:(id)history;
  7112. -(void)fetchWithCompletionHandler:(id)completionHandler;
  7113. -(id)initWithSDKVersion:(id)sdkversion clientID:(id)anId bundleID:(id)anId3;
  7114. @end
  7115.  
  7116. @interface GIDScopes : NSObject {
  7117. }
  7118. +(id)scopesWithBasicProfile:(id)basicProfile;
  7119. +(BOOL)hasSocialScope:(id)scope;
  7120. +(BOOL)hasUserIDScope:(id)scope;
  7121. @end
  7122.  
  7123. @interface GIDAuthFlow : GIDCallbackQueue {
  7124. GSDK_GTMOAuth2Authentication* _auth;
  7125. NSError* _error;
  7126. }
  7127. @property(retain, nonatomic) NSError* error;
  7128. @property(retain, nonatomic) GSDK_GTMOAuth2Authentication* auth;
  7129. -(void).cxx_destruct;
  7130. @end
  7131.  
  7132. @interface GIDSignIn : NSObject <GIDSignInWebViewControllerDelegate, SFSafariViewControllerDelegate> {
  7133. GIDSignInCallbackSchemes* _schemes;
  7134. NSString* _scopeString;
  7135. NSString* _keychainName;
  7136. double _lastAuthenticateTimestamp;
  7137. GIDRuntimeConfigFetcher* _configFetcher;
  7138. BOOL _hasSafariViewController;
  7139. id _safariViewController;
  7140. BOOL _shouldFetchBasicProfile;
  7141. BOOL _allowsCanOpenURL;
  7142. GIDGoogleUser* _currentUser;
  7143. id<GIDSignInDelegate> _delegate;
  7144. id<GIDSignInUIDelegate> _uiDelegate;
  7145. NSString* _clientID;
  7146. NSArray* _scopes;
  7147. NSString* _language;
  7148. NSString* _loginHint;
  7149. NSString* _serverClientID;
  7150. NSString* _openIDRealm;
  7151. NSString* _hostedDomain;
  7152. }
  7153. @property(readonly, copy) NSString* debugDescription;
  7154. @property(readonly, copy) NSString* description;
  7155. @property(readonly, assign) Class superclass;
  7156. @property(readonly, assign) unsigned hash;
  7157. @property(assign, nonatomic) BOOL allowsCanOpenURL;
  7158. @property(copy, nonatomic) NSString* hostedDomain;
  7159. @property(copy, nonatomic) NSString* openIDRealm;
  7160. @property(copy, nonatomic) NSString* serverClientID;
  7161. @property(copy, nonatomic) NSString* loginHint;
  7162. @property(copy, nonatomic) NSString* language;
  7163. @property(assign, nonatomic) BOOL shouldFetchBasicProfile;
  7164. @property(copy, nonatomic) NSArray* scopes;
  7165. @property(copy, nonatomic) NSString* clientID;
  7166. @property(assign, nonatomic) __weak id<GIDSignInUIDelegate> uiDelegate;
  7167. @property(assign, nonatomic) __weak id<GIDSignInDelegate> delegate;
  7168. @property(readonly, assign, nonatomic) GIDGoogleUser* currentUser;
  7169. +(BOOL)isOperatingSystemAtLeast9;
  7170. +(BOOL)supportsCurrentUserKVO;
  7171. +(BOOL)automaticallyNotifiesObserversForKey:(id)key;
  7172. +(id)sharedInstance;
  7173. -(void).cxx_destruct;
  7174. -(void)dealloc;
  7175. -(id)SSOURLOfScheme:(id)scheme verifier:(id)verifier params:(id)params;
  7176. -(void)dismissViewController:(id)controller;
  7177. -(void)presentViewController:(id)controller;
  7178. -(void)safariViewControllerDidFinish:(id)safariViewController;
  7179. -(void)openWebViewWithURL:(id)url;
  7180. -(void)signInWebViewControllerDidComplete:(id)signInWebViewController withURL:(id)url error:(id)error;
  7181. -(BOOL)signInWebViewController:(id)webViewController shouldKeepLSOCookiesForAuthResponseURL:(id)authResponseURL;
  7182. -(void)signInWebViewControllerNeedsDismissing:(id)webViewControllerNeedsDismissing;
  7183. -(BOOL)signInWebViewController:(id)webViewController shouldTreatURLAsAuthResponse:(id)response;
  7184. -(BOOL)openInBrowser:(id)browser;
  7185. -(void)didDisconnectWithUser:(id)user error:(id)error;
  7186. -(void)startFetchURL:(id)url fromAuth:(id)auth withComment:(id)comment withCompletionHandler:(id)completionHandler;
  7187. -(void)addCallDelegateCallback:(id)callback;
  7188. -(void)addCallUIDelegateCallback:(id)callback;
  7189. -(void)addDecodeIdTokenCallback:(id)callback;
  7190. -(void)addClearVerifierCallback:(id)callback;
  7191. -(void)addSaveAuthCallback:(id)callback toKeychain:(BOOL)keychain;
  7192. -(void)maybeFetchToken:(id)token fallback:(id)fallback;
  7193. -(void)parseAuthURL:(id)url fromSSO:(BOOL)sso authFlow:(id)flow;
  7194. -(void)addCodeReadyCallbacks:(id)callbacks;
  7195. -(void)clearAndAuthenticateWithOptions:(id)options;
  7196. -(void)signInWithOptions:(id)options;
  7197. -(void)authenticateInteractivelyWithOptions:(id)options;
  7198. -(void)informUIDelegateOfDispatchResult:(id)dispatchResult;
  7199. -(void)disconnectWithUser:(id)user;
  7200. -(void)signOutWithUser:(id)user;
  7201. -(id)sdkVersionLoggingValue;
  7202. -(void)removeAdditionalTokenRequestParametersFromAuth:(id)auth;
  7203. -(void)addVerifierToAuth:(id)auth;
  7204. -(void)addServerClientIDToAuth:(id)auth;
  7205. -(void)addOpenIDRealmToAuth:(id)auth;
  7206. -(void)addAdditionalTokenRequestParameters:(id)parameters toAuth:(id)auth;
  7207. -(void)finishWithKeychainError;
  7208. -(id)schemesWithAppSwitchConfig:(id)appSwitchConfig includeWebBrowserScheme:(BOOL)scheme includeWebViewScheme:(BOOL)scheme3 includeSafariViewControllerScheme:(BOOL)scheme4;
  7209. -(id)oauth2URLWithParams:(id)params verifier:(id)verifier;
  7210. -(BOOL)generateVerifier;
  7211. -(id)randomString;
  7212. -(id)redirectURI;
  7213. -(BOOL)authenticateWithOptions:(id)options appSwitchConfig:(id)config;
  7214. -(BOOL)clearSavedKeychainNames;
  7215. -(void)addSavedKeychainName:(id)name;
  7216. -(void)setEscapedKeychainNames:(id)names;
  7217. -(id)getEscapedKeychainNames;
  7218. -(BOOL)matchesSavedFingerprint;
  7219. -(BOOL)saveFingerprint;
  7220. -(BOOL)save:(id)save toKeychain:(id)keychain;
  7221. -(id)stringFromKeychain:(id)keychain;
  7222. -(void)didChangeParameters;
  7223. -(id)fingerprint;
  7224. -(void)clearAuthentication;
  7225. -(void)removeAllKeychainEntries;
  7226. -(BOOL)isFreshInstall;
  7227. -(void)assertValidUIDelegate;
  7228. -(void)assertValidParameters;
  7229. -(void)fetchRuntimeConfigWithHandler:(id)handler;
  7230. -(double)lastAuthenticateTimestamp;
  7231. -(void)fetchUserID:(id)anId;
  7232. -(id)appBundleID;
  7233. -(double)appSwitchRandomNumber;
  7234. -(void)disconnect;
  7235. -(void)signOut;
  7236. -(BOOL)handleURL:(id)url fromGoogleSSOApp:(BOOL)googleSSOApp;
  7237. -(BOOL)handleURL:(id)url sourceApplication:(id)application annotation:(id)annotation;
  7238. -(BOOL)URLIsFromSSO:(id)sso sourceApplication:(id)application;
  7239. -(BOOL)URLIsFromBrowser:(id)browser sourceApplication:(id)application;
  7240. -(void)signIn;
  7241. -(void)signInSilently;
  7242. -(BOOL)hasAuthInKeychain;
  7243. -(id)noSignInHandlersInstalledError;
  7244. -(id)canceledError;
  7245. -(id)unknownError;
  7246. -(id)keychainError;
  7247. -(id)errorWithString:(id)string code:(int)code;
  7248. -(id)init;
  7249. -(void)pleaseLinkSafariServicesFramework;
  7250. @end
  7251.  
  7252. @interface GIDSignInButton : UIControl {
  7253. UIImageView* _icon;
  7254. int _style;
  7255. int _colorScheme;
  7256. unsigned _brand;
  7257. unsigned _buttonState;
  7258. }
  7259. @property(assign, nonatomic) unsigned buttonState;
  7260. @property(assign, nonatomic) unsigned brand;
  7261. @property(assign, nonatomic) int colorScheme;
  7262. @property(assign, nonatomic) int style;
  7263. +(CGSize)textSize:(id)size withFont:(id)font;
  7264. +(id)buttonTextFont;
  7265. -(void).cxx_destruct;
  7266. -(id)buttonText;
  7267. -(void)drawButtonText:(CGContextRef)text;
  7268. -(void)drawButtonBackground:(CGContextRef)background;
  7269. -(void)drawRect:(CGRect)rect;
  7270. -(void)updateConstraints;
  7271. -(CGSize)sizeThatFits:(CGSize)fits;
  7272. -(BOOL)isConstraint:(id)constraint equalToConstraint:(id)constraint2;
  7273. -(float)minWidth;
  7274. -(void)pressed;
  7275. -(void)setFrame:(CGRect)frame;
  7276. -(void)setEnabled:(BOOL)enabled;
  7277. -(void)switchToDisabled;
  7278. -(void)switchToNormal;
  7279. -(void)switchToPressed;
  7280. -(void)scopesDidChange:(id)scopes;
  7281. -(unsigned)brandFromScopes:(id)scopes;
  7282. -(void)loadIcon;
  7283. -(void)updateUI;
  7284. -(void)encodeWithCoder:(id)coder;
  7285. -(id)initWithCoder:(id)coder;
  7286. -(void)dealloc;
  7287. -(void)sharedInit;
  7288. -(id)initWithFrame:(CGRect)frame;
  7289. @end
  7290.  
  7291. @interface GIDSignInCallbackSchemes : NSObject {
  7292. NSString* _clientIdentifier;
  7293. }
  7294. +(id)relevantURLSchemes;
  7295. -(void).cxx_destruct;
  7296. -(BOOL)URLSchemeIsCallbackScheme:(id)scheme;
  7297. -(id)unsupportedSchemes;
  7298. -(id)allSchemes;
  7299. -(id)clientIdentifierScheme;
  7300. -(id)initWithClientIdentifier:(id)clientIdentifier;
  7301. -(id)init;
  7302. @end
  7303.  
  7304. @interface GIDSignInInternalOptions : NSObject {
  7305. BOOL _interactive;
  7306. BOOL _allowsWebView;
  7307. BOOL _allowsBrowser;
  7308. BOOL _allowsExtension;
  7309. BOOL _allowsSafariViewController;
  7310. NSDictionary* _extraParams;
  7311. id _fallbackHandler;
  7312. }
  7313. @property(readonly, assign, nonatomic) id fallbackHandler;
  7314. @property(readonly, assign, nonatomic) NSDictionary* extraParams;
  7315. @property(readonly, assign, nonatomic) BOOL allowsSafariViewController;
  7316. @property(readonly, assign, nonatomic) BOOL allowsExtension;
  7317. @property(readonly, assign, nonatomic) BOOL allowsBrowser;
  7318. @property(readonly, assign, nonatomic) BOOL allowsWebView;
  7319. @property(readonly, assign, nonatomic) BOOL interactive;
  7320. +(id)firstPartyOptionsWithFallbackHandler:(id)fallbackHandler;
  7321. +(id)optionsWithExtraParams:(id)extraParams fallbackHandler:(id)handler;
  7322. +(id)optionsWithExtraParams:(id)extraParams;
  7323. +(id)silentOptions;
  7324. +(id)defaultOptions;
  7325. -(void).cxx_destruct;
  7326. @end
  7327.  
  7328. @interface GIDSignInPreferences : NSObject {
  7329. }
  7330. +(id)googleTokenURL;
  7331. +(id)googleTokenInfoServerURL;
  7332. +(id)googleAuthorizationURL;
  7333. @end
  7334.  
  7335. @interface GIDSignInStrings : NSObject {
  7336. }
  7337. +(id)promoActionInstallString;
  7338. +(id)promoActionCancelString;
  7339. +(id)promoMessageString;
  7340. +(id)promoTitleString;
  7341. +(id)signInWithGoogleString;
  7342. +(id)signInString;
  7343. +(id)localizedStringForKey:(id)key text:(id)text;
  7344. @end
  7345.  
  7346. @interface GIDSignInWebView : UIView <UIWebViewDelegate> {
  7347. id<GIDSignInWebViewDelegate> _delegate;
  7348. UIWebView* _webView;
  7349. UIActivityIndicatorView* _spinner;
  7350. }
  7351. @property(readonly, copy) NSString* debugDescription;
  7352. @property(readonly, copy) NSString* description;
  7353. @property(readonly, assign) Class superclass;
  7354. @property(readonly, assign) unsigned hash;
  7355. @property(assign, nonatomic) __weak UIActivityIndicatorView* spinner;
  7356. @property(assign, nonatomic) __weak UIWebView* webView;
  7357. @property(assign, nonatomic) __weak id<GIDSignInWebViewDelegate> delegate;
  7358. -(void).cxx_destruct;
  7359. -(void)webView:(id)view didFailLoadWithError:(id)error;
  7360. -(void)webViewDidFinishLoad:(id)webView;
  7361. -(void)webViewDidStartLoad:(id)webView;
  7362. -(BOOL)webView:(id)view shouldStartLoadWithRequest:(id)request navigationType:(int)type;
  7363. -(void)loadRequest:(id)request;
  7364. -(void)layoutSubviews;
  7365. -(id)createSpinner;
  7366. -(id)createWebView;
  7367. -(void)initializeSubviews;
  7368. -(id)initWithFrame:(CGRect)frame;
  7369. @end
  7370.  
  7371. @interface GIDSignInWebViewController : UIViewController <GIDSignInWebViewDelegate> {
  7372. NSURL* _pendingURL;
  7373. NSError* _pendingError;
  7374. BOOL _shouldKeepLSOCookies;
  7375. BOOL _didDispatchToIOL;
  7376. NSURL* _URL;
  7377. id<GIDSignInWebViewControllerDelegate> _delegate;
  7378. }
  7379. @property(readonly, copy) NSString* debugDescription;
  7380. @property(readonly, copy) NSString* description;
  7381. @property(readonly, assign) Class superclass;
  7382. @property(readonly, assign) unsigned hash;
  7383. @property(assign, nonatomic) __weak id<GIDSignInWebViewControllerDelegate> delegate;
  7384. @property(retain, nonatomic) NSURL* URL;
  7385. +(void)purgeCookieCache;
  7386. -(void).cxx_destruct;
  7387. -(void)signInWebView:(id)webView didFailLoadWithError:(id)error;
  7388. -(BOOL)signInWebView:(id)webView shouldStartLoadWithRequest:(id)request navigationType:(int)type;
  7389. -(void)cancel;
  7390. -(void)viewDidDisappear:(BOOL)view;
  7391. -(void)viewWillDisappear:(BOOL)view;
  7392. -(void)completeWithURL:(id)url error:(id)error;
  7393. -(void)viewDidAppear:(BOOL)view;
  7394. -(void)viewWillAppear:(BOOL)view;
  7395. -(void)loadView;
  7396. -(void)endProtectedCookieSectionKeepingLSOCookies:(BOOL)cookies;
  7397. -(void)startProtectedCookieSection;
  7398. -(id)initWithURL:(id)url delegate:(id)delegate;
  7399. -(id)initWithCoder:(id)coder;
  7400. -(id)initWithNibName:(id)nibName bundle:(id)bundle;
  7401. @end
  7402.  
  7403. @interface GIDSignInWebViewURLProtocol : NSURLProtocol {
  7404. }
  7405. +(BOOL)canInitWithRequest:(id)request;
  7406. +(void)injectHTTPHeaders:(id)headers;
  7407. @end
  7408.  
  7409. @interface GIDTokenFetchDelegate : NSObject {
  7410. id _handler;
  7411. }
  7412. +(id)beginTokenFetchWithAuth:(id)auth handler:(id)handler;
  7413. -(void).cxx_destruct;
  7414. -(void)didFinishTokenFetchWithAuth:(id)auth fetcher:(id)fetcher error:(id)error;
  7415. -(id)initWithHandler:(id)handler;
  7416. @end
  7417.  
  7418. @interface NIAMyAppController (OverrideAppDelegate)
  7419. +(void)load;
  7420. @end
  7421.  
  7422. @interface WKWebView (WebViewProtocolConformed) <WebViewProtocol>
  7423. @property(readonly, assign, nonatomic) BOOL canGoForward;
  7424. @property(readonly, assign, nonatomic) BOOL canGoBack;
  7425. @property(readonly, copy, nonatomic) NSURL* URL;
  7426. @property(assign, nonatomic) __weak id<WKUIDelegate> UIDelegate;
  7427. @property(assign, nonatomic) __weak id<WKNavigationDelegate> navigationDelegate;
  7428. @property(assign, nonatomic) id<UIWebViewDelegate> delegate;
  7429. @property(assign, nonatomic) CGRect frame;
  7430. @property(assign, nonatomic, getter=isHidden) BOOL hidden;
  7431. @property(copy, nonatomic) UIColor* backgroundColor;
  7432. @property(assign, nonatomic, getter=isOpaque) BOOL opaque;
  7433. @property(readonly, copy) NSString* debugDescription;
  7434. @property(readonly, copy) NSString* description;
  7435. @property(readonly, assign) Class superclass;
  7436. @property(readonly, assign) unsigned hash;
  7437. -(void)load:(id)load;
  7438. @end
  7439.  
  7440. @interface UIWebView (WebViewProtocolConformed) <WebViewProtocol>
  7441. @property(readonly, assign, nonatomic) BOOL canGoForward;
  7442. @property(readonly, assign, nonatomic) BOOL canGoBack;
  7443. @property(readonly, copy, nonatomic) NSURL* URL;
  7444. @property(assign, nonatomic) __weak id<WKUIDelegate> UIDelegate;
  7445. @property(assign, nonatomic) __weak id<WKNavigationDelegate> navigationDelegate;
  7446. @property(assign, nonatomic) id<UIWebViewDelegate> delegate;
  7447. @property(assign, nonatomic) CGRect frame;
  7448. @property(assign, nonatomic, getter=isHidden) BOOL hidden;
  7449. @property(copy, nonatomic) UIColor* backgroundColor;
  7450. @property(assign, nonatomic, getter=isOpaque) BOOL opaque;
  7451. @property(readonly, copy) NSString* debugDescription;
  7452. @property(readonly, copy) NSString* description;
  7453. @property(readonly, assign) Class superclass;
  7454. @property(readonly, assign) unsigned hash;
  7455. -(void)evaluateJavaScript:(id)script completionHandler:(id)handler;
  7456. -(void)load:(id)load;
  7457. @end
  7458.  
  7459. @interface NSURLConnection (NSURLConnectionExtended)
  7460. +(void)customSendAsynchronousRequest:(id)request queue:(id)queue completionHandler:(id)handler;
  7461. @end
  7462.  
  7463. @interface NSString (Encoding)
  7464. +(id)hexStringWithData:(char*)data length:(unsigned long)length;
  7465. -(id)MD5String;
  7466. @end
  7467.  
  7468. @interface NSTimer (WeakTimer)
  7469. +(id)scheduledWeakTimerWithTimeInterval:(double)timeInterval target:(id)target selector:(SEL)selector userInfo:(id)info repeats:(BOOL)repeats;
  7470. @end
  7471.  
  7472. @interface NSString (QueryComponents)
  7473. -(id)dictionaryFromQueryComponents;
  7474. -(id)stringByEncodingURLFormat;
  7475. -(id)stringByDecodingURLFormat;
  7476. @end
  7477.  
  7478. @interface NSURL (QueryComponents)
  7479. -(id)queryComponents;
  7480. @end
  7481.  
  7482. @interface NSDictionary (QueryComponents)
  7483. -(id)stringFromQueryComponents;
  7484. @end
  7485.  
  7486. @interface SKStoreProductViewController (USAutorotationFix)
  7487. -(BOOL)shouldAutorotate;
  7488. @end
  7489.  
  7490. @interface NSString (USBase64Encoding)
  7491. -(id)com_upsight_convertFromBase64URLToBase64EncodedString;
  7492. -(id)com_upsight_repaddedBase64URLEncodedString;
  7493. @end
  7494.  
  7495. @interface NSString (USFilterMatching)
  7496. -(id)com_upsight_firstMatchingFilter:(id)filter;
  7497. -(id)com_upsight_sortedMatchingExpressionsFromArray:(id)array;
  7498. @end
  7499.  
  7500. @interface NSString (Encoding)
  7501. +(id)hexStringWithData:(char*)data length:(unsigned long)length;
  7502. -(id)MD5String;
  7503. @end
  7504.  
  7505. @interface NSObject (GTMKeyValueObservingAdditions)
  7506. -(void)gtm_stopObservingAllKeyPaths;
  7507. -(void)gtm_removeObserver:(id)observer forKeyPath:(id)keyPath selector:(SEL)selector;
  7508. -(void)gtm_addObserver:(id)observer forKeyPath:(id)keyPath selector:(SEL)selector userInfo:(id)info options:(unsigned)options;
  7509. @end
  7510.  
  7511. @interface NSData (GTMZlibAdditionsPrivate)
  7512. +(id)gtm_dataByInflatingBytes:(const void*)bytes length:(unsigned)length isRawData:(BOOL)data;
  7513. +(id)gtm_dataByCompressingBytes:(const void*)bytes length:(unsigned)length compressionLevel:(int)level mode:(int)mode;
  7514. @end
  7515.  
  7516. @interface NSData (GTMZLibAdditions)
  7517. +(id)gtm_dataByRawInflatingData:(id)data;
  7518. +(id)gtm_dataByRawInflatingBytes:(const void*)bytes length:(unsigned)length;
  7519. +(id)gtm_dataByRawDeflatingData:(id)data compressionLevel:(int)level;
  7520. +(id)gtm_dataByRawDeflatingBytes:(const void*)bytes length:(unsigned)length compressionLevel:(int)level;
  7521. +(id)gtm_dataByRawDeflatingData:(id)data;
  7522. +(id)gtm_dataByRawDeflatingBytes:(const void*)bytes length:(unsigned)length;
  7523. +(id)gtm_dataByInflatingData:(id)data;
  7524. +(id)gtm_dataByInflatingBytes:(const void*)bytes length:(unsigned)length;
  7525. +(id)gtm_dataByDeflatingData:(id)data compressionLevel:(int)level;
  7526. +(id)gtm_dataByDeflatingBytes:(const void*)bytes length:(unsigned)length compressionLevel:(int)level;
  7527. +(id)gtm_dataByDeflatingData:(id)data;
  7528. +(id)gtm_dataByDeflatingBytes:(const void*)bytes length:(unsigned)length;
  7529. +(id)gtm_dataByGzippingData:(id)data compressionLevel:(int)level;
  7530. +(id)gtm_dataByGzippingBytes:(const void*)bytes length:(unsigned)length compressionLevel:(int)level;
  7531. +(id)gtm_dataByGzippingData:(id)data;
  7532. +(id)gtm_dataByGzippingBytes:(const void*)bytes length:(unsigned)length;
  7533. @end
  7534.  
  7535. @interface NSDictionary (GTMNSDictionaryURLArgumentsAdditions)
  7536. +(id)gtm_dictionaryWithHttpArgumentsString:(id)httpArgumentsString;
  7537. -(id)gtm_httpArgumentsString;
  7538. @end
  7539.  
  7540. @interface NSScanner (GTMNSScannerJSONAdditions)
  7541. -(BOOL)gtm_scanJSONArrayString:(id*)string;
  7542. -(BOOL)gtm_scanJSONObjectString:(id*)string;
  7543. -(BOOL)gtm_scanJSONString:(id*)string startChar:(unsigned short)aChar endChar:(unsigned short)aChar3;
  7544. @end
  7545.  
  7546. @interface NSString (GTMNSStringHTMLAdditions)
  7547. -(id)gtm_stringByUnescapingFromHTML;
  7548. -(id)gtm_stringByEscapingForAsciiHTML;
  7549. -(id)gtm_stringByEscapingForHTML;
  7550. -(id)gtm_stringByEscapingHTMLUsingTable:(XXStruct_c19r_A*)table ofSize:(unsigned)size escapingUnicode:(BOOL)unicode;
  7551. @end
  7552.  
  7553. @interface NSString (GTMNSStringXMLAdditions)
  7554. -(id)gtm_stringBySanitizingToXMLSpec;
  7555. -(id)gtm_stringBySanitizingAndEscapingForXML;
  7556. @end
  7557.  
  7558. @interface NSString (GTMRegexAdditions)
  7559. -(id)gtm_stringByReplacingMatchesOfPattern:(id)pattern withReplacement:(id)replacement;
  7560. -(id)gtm_matchSegmentEnumeratorForPattern:(id)pattern;
  7561. -(id)gtm_segmentEnumeratorForPattern:(id)pattern;
  7562. -(id)gtm_allSubstringsMatchedByPattern:(id)pattern;
  7563. -(BOOL)gtm_subStringMatchesPattern:(id)pattern;
  7564. -(id)gtm_firstSubStringMatchedByPattern:(id)pattern;
  7565. -(id)gtm_subPatternsOfPattern:(id)pattern;
  7566. -(BOOL)gtm_matchesPattern:(id)pattern;
  7567. @end
  7568.  
  7569. @interface UIFont (GTMLineHeight)
  7570. -(float)gtm_lineHeight;
  7571. @end
  7572.  
  7573. @interface NSFileHandle (GTMFileHandleLogWriter) <GTMLogWriter>
  7574. @property(readonly, copy) NSString* debugDescription;
  7575. @property(readonly, copy) NSString* description;
  7576. @property(readonly, assign) Class superclass;
  7577. @property(readonly, assign) unsigned hash;
  7578. +(id)fileHandleForLoggingAtPath:(id)path mode:(unsigned short)mode;
  7579. -(void)logMessage:(id)message level:(int)level;
  7580. @end
  7581.  
  7582. @interface NSArray (GTMArrayCompositeLogWriter) <GTMLogWriter>
  7583. @property(readonly, copy) NSString* debugDescription;
  7584. @property(readonly, copy) NSString* description;
  7585. @property(readonly, assign) Class superclass;
  7586. @property(readonly, assign) unsigned hash;
  7587. -(void)logMessage:(id)message level:(int)level;
  7588. @end
  7589.  
  7590. @interface NSString (GTMNSStringURLArgumentsAdditions)
  7591. -(id)gtm_stringByUnescapingFromURLArgument;
  7592. -(id)gtm_stringByEscapingForURLArgument;
  7593. @end
  7594.  
  7595. @interface UIImage (GTMUIImageResizeAdditions)
  7596. -(id)gtm_imageByRotating:(int)rotating;
  7597. -(id)gtm_imageByResizingToSize:(CGSize)size preserveAspectRatio:(BOOL)ratio trimToFit:(BOOL)fit;
  7598. @end
  7599.  
  7600. @interface UIImage (GIDAdditions_Private)
  7601. -(id)gid_imageWithBlendMode:(int)blendMode color:(id)color;
  7602. @end
  7603.  
  7604. @interface NSBundle (GID3PAdditions)
  7605. +(void)gid_registerFonts;
  7606. +(id)gid_frameworkBundle;
  7607. @end
  7608.  
  7609. @interface NSURL (FIFE)
  7610. -(BOOL)isFIFEUrl;
  7611. -(id)FIFEURLRequestingCenteredCropToDimensions:(CGSize)dimensions;
  7612. -(id)FIFEURLRequestingSmartCropToDimensions:(CGSize)dimensions;
  7613. -(id)FIFEURLRequestingSmartCropToMaxSize:(float)maxSize;
  7614. -(id)FIFEURLRequestingDimensions:(CGSize)dimensions;
  7615. -(id)FIFEURLRequestingExactDimensions:(CGSize)dimensions;
  7616. -(id)FIFEURLRequestingMaxSize:(float)size;
  7617. -(id)URLByRemovingFIFEInfo;
  7618. -(id)FIFEArgumentsString;
  7619. -(CGSize)maximumFIFEImageSize;
  7620. -(id)FIFEURLWithArguments:(id)arguments;
  7621. -(id)FIFELegacyURLWithArgumentsString:(id)argumentsString;
  7622. -(id)legacyFIFEArgumentsString;
  7623. -(id)URLByAppendingTrailingSlash;
  7624. -(BOOL)isLegacyFIFEURL;
  7625. @end
Add Comment
Please, Sign In to add comment