@bluebillywig/react-native-bb-player 8.45.14 → 8.45.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. package/android/build.gradle +4 -0
  2. package/ios/BBPlayer-Bridging-Header.h +1 -0
  3. package/ios/BBPlayerModule.swift +7 -1
  4. package/ios/Frameworks/BBNativePlayerKit.xcframework/Info.plist +44 -0
  5. package/ios/Frameworks/BBNativePlayerKit.xcframework/ios-arm64/BBNativePlayerKit.framework/Assets.car +0 -0
  6. package/ios/Frameworks/BBNativePlayerKit.xcframework/ios-arm64/BBNativePlayerKit.framework/BBNativePlayerKit +0 -0
  7. package/ios/Frameworks/BBNativePlayerKit.xcframework/ios-arm64/BBNativePlayerKit.framework/Headers/BBNativePlayerKit-Swift.h +760 -0
  8. package/ios/Frameworks/BBNativePlayerKit.xcframework/ios-arm64/BBNativePlayerKit.framework/Headers/BBNativePlayerKit.h +19 -0
  9. package/ios/Frameworks/BBNativePlayerKit.xcframework/ios-arm64/BBNativePlayerKit.framework/Headers/UMPBridge.h +124 -0
  10. package/ios/Frameworks/BBNativePlayerKit.xcframework/ios-arm64/BBNativePlayerKit.framework/Info.plist +0 -0
  11. package/ios/Frameworks/BBNativePlayerKit.xcframework/ios-arm64/BBNativePlayerKit.framework/Lato-Black.ttf +0 -0
  12. package/ios/Frameworks/BBNativePlayerKit.xcframework/ios-arm64/BBNativePlayerKit.framework/Lato-Bold.ttf +0 -0
  13. package/ios/Frameworks/BBNativePlayerKit.xcframework/ios-arm64/BBNativePlayerKit.framework/Lato-Regular.ttf +0 -0
  14. package/ios/Frameworks/BBNativePlayerKit.xcframework/ios-arm64/BBNativePlayerKit.framework/Modules/BBNativePlayerKit.swiftmodule/arm64-apple-ios.abi.json +18288 -0
  15. package/ios/Frameworks/BBNativePlayerKit.xcframework/ios-arm64/BBNativePlayerKit.framework/Modules/BBNativePlayerKit.swiftmodule/arm64-apple-ios.private.swiftinterface +347 -0
  16. package/ios/Frameworks/BBNativePlayerKit.xcframework/ios-arm64/BBNativePlayerKit.framework/Modules/BBNativePlayerKit.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  17. package/ios/Frameworks/BBNativePlayerKit.xcframework/ios-arm64/BBNativePlayerKit.framework/Modules/BBNativePlayerKit.swiftmodule/arm64-apple-ios.swiftinterface +347 -0
  18. package/ios/Frameworks/BBNativePlayerKit.xcframework/ios-arm64/BBNativePlayerKit.framework/Modules/module.modulemap +11 -0
  19. package/ios/Frameworks/BBNativePlayerKit.xcframework/ios-arm64_x86_64-simulator/BBNativePlayerKit.framework/Assets.car +0 -0
  20. package/ios/Frameworks/BBNativePlayerKit.xcframework/ios-arm64_x86_64-simulator/BBNativePlayerKit.framework/BBNativePlayerKit +0 -0
  21. package/ios/Frameworks/BBNativePlayerKit.xcframework/ios-arm64_x86_64-simulator/BBNativePlayerKit.framework/Headers/BBNativePlayerKit-Swift.h +1516 -0
  22. package/ios/Frameworks/BBNativePlayerKit.xcframework/ios-arm64_x86_64-simulator/BBNativePlayerKit.framework/Headers/BBNativePlayerKit.h +19 -0
  23. package/ios/Frameworks/BBNativePlayerKit.xcframework/ios-arm64_x86_64-simulator/BBNativePlayerKit.framework/Headers/UMPBridge.h +124 -0
  24. package/ios/Frameworks/BBNativePlayerKit.xcframework/ios-arm64_x86_64-simulator/BBNativePlayerKit.framework/Info.plist +0 -0
  25. package/ios/Frameworks/BBNativePlayerKit.xcframework/ios-arm64_x86_64-simulator/BBNativePlayerKit.framework/Lato-Black.ttf +0 -0
  26. package/ios/Frameworks/BBNativePlayerKit.xcframework/ios-arm64_x86_64-simulator/BBNativePlayerKit.framework/Lato-Bold.ttf +0 -0
  27. package/ios/Frameworks/BBNativePlayerKit.xcframework/ios-arm64_x86_64-simulator/BBNativePlayerKit.framework/Lato-Regular.ttf +0 -0
  28. package/ios/Frameworks/BBNativePlayerKit.xcframework/ios-arm64_x86_64-simulator/BBNativePlayerKit.framework/Modules/BBNativePlayerKit.swiftmodule/arm64-apple-ios-simulator.abi.json +18288 -0
  29. package/ios/Frameworks/BBNativePlayerKit.xcframework/ios-arm64_x86_64-simulator/BBNativePlayerKit.framework/Modules/BBNativePlayerKit.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +347 -0
  30. package/ios/Frameworks/BBNativePlayerKit.xcframework/ios-arm64_x86_64-simulator/BBNativePlayerKit.framework/Modules/BBNativePlayerKit.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  31. package/ios/Frameworks/BBNativePlayerKit.xcframework/ios-arm64_x86_64-simulator/BBNativePlayerKit.framework/Modules/BBNativePlayerKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface +347 -0
  32. package/ios/Frameworks/BBNativePlayerKit.xcframework/ios-arm64_x86_64-simulator/BBNativePlayerKit.framework/Modules/BBNativePlayerKit.swiftmodule/x86_64-apple-ios-simulator.abi.json +18288 -0
  33. package/ios/Frameworks/BBNativePlayerKit.xcframework/ios-arm64_x86_64-simulator/BBNativePlayerKit.framework/Modules/BBNativePlayerKit.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +347 -0
  34. package/ios/Frameworks/BBNativePlayerKit.xcframework/ios-arm64_x86_64-simulator/BBNativePlayerKit.framework/Modules/BBNativePlayerKit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  35. package/ios/Frameworks/BBNativePlayerKit.xcframework/ios-arm64_x86_64-simulator/BBNativePlayerKit.framework/Modules/BBNativePlayerKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +347 -0
  36. package/ios/Frameworks/BBNativePlayerKit.xcframework/ios-arm64_x86_64-simulator/BBNativePlayerKit.framework/Modules/module.modulemap +11 -0
  37. package/ios/Frameworks/bbnativeshared.xcframework/Info.plist +48 -0
  38. package/ios/Frameworks/bbnativeshared.xcframework/ios-arm64/bbnativeshared.framework/Headers/bbnativeshared.h +3525 -0
  39. package/ios/Frameworks/bbnativeshared.xcframework/ios-arm64/bbnativeshared.framework/Info.plist +35 -0
  40. package/ios/Frameworks/bbnativeshared.xcframework/ios-arm64/bbnativeshared.framework/Modules/module.modulemap +8 -0
  41. package/ios/Frameworks/bbnativeshared.xcframework/ios-arm64/bbnativeshared.framework/bbnativeshared +0 -0
  42. package/ios/Frameworks/bbnativeshared.xcframework/ios-arm64/dSYMs/bbnativeshared.framework.dSYM/Contents/Info.plist +20 -0
  43. package/ios/Frameworks/bbnativeshared.xcframework/ios-arm64/dSYMs/bbnativeshared.framework.dSYM/Contents/Resources/DWARF/bbnativeshared +0 -0
  44. package/ios/Frameworks/bbnativeshared.xcframework/ios-arm64/dSYMs/bbnativeshared.framework.dSYM/Contents/Resources/Relocations/aarch64/bbnativeshared.yml +13523 -0
  45. package/ios/Frameworks/bbnativeshared.xcframework/ios-arm64_x86_64-simulator/bbnativeshared.framework/Headers/bbnativeshared.h +3525 -0
  46. package/ios/Frameworks/bbnativeshared.xcframework/ios-arm64_x86_64-simulator/bbnativeshared.framework/Info.plist +31 -0
  47. package/ios/Frameworks/bbnativeshared.xcframework/ios-arm64_x86_64-simulator/bbnativeshared.framework/Modules/module.modulemap +5 -0
  48. package/ios/Frameworks/bbnativeshared.xcframework/ios-arm64_x86_64-simulator/bbnativeshared.framework/bbnativeshared +0 -0
  49. package/ios/Frameworks/bbnativeshared.xcframework/ios-arm64_x86_64-simulator/dSYMs/bbnativeshared.framework.dSYM/Contents/Info.plist +20 -0
  50. package/ios/Frameworks/bbnativeshared.xcframework/ios-arm64_x86_64-simulator/dSYMs/bbnativeshared.framework.dSYM/Contents/Resources/DWARF/bbnativeshared +0 -0
  51. package/lib/commonjs/BBModalPlayer.js +30 -3
  52. package/lib/commonjs/BBModalPlayer.js.map +1 -1
  53. package/lib/module/BBModalPlayer.js +32 -4
  54. package/lib/module/BBModalPlayer.js.map +1 -1
  55. package/lib/typescript/src/BBModalPlayer.d.ts +6 -1
  56. package/lib/typescript/src/BBModalPlayer.d.ts.map +1 -1
  57. package/package.json +2 -1
  58. package/react-native-bb-player.podspec +13 -6
  59. package/src/BBModalPlayer.ts +40 -5
@@ -0,0 +1,1516 @@
1
+ #if 0
2
+ #elif defined(__arm64__) && __arm64__
3
+ // Generated by Apple Swift version 6.1.2 effective-5.10 (swiftlang-6.1.2.1.2 clang-1700.0.13.5)
4
+ #ifndef BBNATIVEPLAYERKIT_SWIFT_H
5
+ #define BBNATIVEPLAYERKIT_SWIFT_H
6
+ #pragma clang diagnostic push
7
+ #pragma clang diagnostic ignored "-Wgcc-compat"
8
+
9
+ #if !defined(__has_include)
10
+ # define __has_include(x) 0
11
+ #endif
12
+ #if !defined(__has_attribute)
13
+ # define __has_attribute(x) 0
14
+ #endif
15
+ #if !defined(__has_feature)
16
+ # define __has_feature(x) 0
17
+ #endif
18
+ #if !defined(__has_warning)
19
+ # define __has_warning(x) 0
20
+ #endif
21
+
22
+ #if __has_include(<swift/objc-prologue.h>)
23
+ # include <swift/objc-prologue.h>
24
+ #endif
25
+
26
+ #pragma clang diagnostic ignored "-Wauto-import"
27
+ #if defined(__OBJC__)
28
+ #include <Foundation/Foundation.h>
29
+ #endif
30
+ #if defined(__cplusplus)
31
+ #include <cstdint>
32
+ #include <cstddef>
33
+ #include <cstdbool>
34
+ #include <cstring>
35
+ #include <stdlib.h>
36
+ #include <new>
37
+ #include <type_traits>
38
+ #else
39
+ #include <stdint.h>
40
+ #include <stddef.h>
41
+ #include <stdbool.h>
42
+ #include <string.h>
43
+ #endif
44
+ #if defined(__cplusplus)
45
+ #pragma clang diagnostic push
46
+ #pragma clang diagnostic ignored "-Wnon-modular-include-in-framework-module"
47
+ #if defined(__arm64e__) && __has_include(<ptrauth.h>)
48
+ # include <ptrauth.h>
49
+ #else
50
+ #pragma clang diagnostic push
51
+ #pragma clang diagnostic ignored "-Wreserved-macro-identifier"
52
+ # ifndef __ptrauth_swift_value_witness_function_pointer
53
+ # define __ptrauth_swift_value_witness_function_pointer(x)
54
+ # endif
55
+ # ifndef __ptrauth_swift_class_method_pointer
56
+ # define __ptrauth_swift_class_method_pointer(x)
57
+ # endif
58
+ #pragma clang diagnostic pop
59
+ #endif
60
+ #pragma clang diagnostic pop
61
+ #endif
62
+
63
+ #if !defined(SWIFT_TYPEDEFS)
64
+ # define SWIFT_TYPEDEFS 1
65
+ # if __has_include(<uchar.h>)
66
+ # include <uchar.h>
67
+ # elif !defined(__cplusplus)
68
+ typedef unsigned char char8_t;
69
+ typedef uint_least16_t char16_t;
70
+ typedef uint_least32_t char32_t;
71
+ # endif
72
+ typedef float swift_float2 __attribute__((__ext_vector_type__(2)));
73
+ typedef float swift_float3 __attribute__((__ext_vector_type__(3)));
74
+ typedef float swift_float4 __attribute__((__ext_vector_type__(4)));
75
+ typedef double swift_double2 __attribute__((__ext_vector_type__(2)));
76
+ typedef double swift_double3 __attribute__((__ext_vector_type__(3)));
77
+ typedef double swift_double4 __attribute__((__ext_vector_type__(4)));
78
+ typedef int swift_int2 __attribute__((__ext_vector_type__(2)));
79
+ typedef int swift_int3 __attribute__((__ext_vector_type__(3)));
80
+ typedef int swift_int4 __attribute__((__ext_vector_type__(4)));
81
+ typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2)));
82
+ typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3)));
83
+ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
84
+ #endif
85
+
86
+ #if !defined(SWIFT_PASTE)
87
+ # define SWIFT_PASTE_HELPER(x, y) x##y
88
+ # define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y)
89
+ #endif
90
+ #if !defined(SWIFT_METATYPE)
91
+ # define SWIFT_METATYPE(X) Class
92
+ #endif
93
+ #if !defined(SWIFT_CLASS_PROPERTY)
94
+ # if __has_feature(objc_class_property)
95
+ # define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__
96
+ # else
97
+ # define SWIFT_CLASS_PROPERTY(...)
98
+ # endif
99
+ #endif
100
+ #if !defined(SWIFT_RUNTIME_NAME)
101
+ # if __has_attribute(objc_runtime_name)
102
+ # define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
103
+ # else
104
+ # define SWIFT_RUNTIME_NAME(X)
105
+ # endif
106
+ #endif
107
+ #if !defined(SWIFT_COMPILE_NAME)
108
+ # if __has_attribute(swift_name)
109
+ # define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
110
+ # else
111
+ # define SWIFT_COMPILE_NAME(X)
112
+ # endif
113
+ #endif
114
+ #if !defined(SWIFT_METHOD_FAMILY)
115
+ # if __has_attribute(objc_method_family)
116
+ # define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
117
+ # else
118
+ # define SWIFT_METHOD_FAMILY(X)
119
+ # endif
120
+ #endif
121
+ #if !defined(SWIFT_NOESCAPE)
122
+ # if __has_attribute(noescape)
123
+ # define SWIFT_NOESCAPE __attribute__((noescape))
124
+ # else
125
+ # define SWIFT_NOESCAPE
126
+ # endif
127
+ #endif
128
+ #if !defined(SWIFT_RELEASES_ARGUMENT)
129
+ # if __has_attribute(ns_consumed)
130
+ # define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed))
131
+ # else
132
+ # define SWIFT_RELEASES_ARGUMENT
133
+ # endif
134
+ #endif
135
+ #if !defined(SWIFT_WARN_UNUSED_RESULT)
136
+ # if __has_attribute(warn_unused_result)
137
+ # define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
138
+ # else
139
+ # define SWIFT_WARN_UNUSED_RESULT
140
+ # endif
141
+ #endif
142
+ #if !defined(SWIFT_NORETURN)
143
+ # if __has_attribute(noreturn)
144
+ # define SWIFT_NORETURN __attribute__((noreturn))
145
+ # else
146
+ # define SWIFT_NORETURN
147
+ # endif
148
+ #endif
149
+ #if !defined(SWIFT_CLASS_EXTRA)
150
+ # define SWIFT_CLASS_EXTRA
151
+ #endif
152
+ #if !defined(SWIFT_PROTOCOL_EXTRA)
153
+ # define SWIFT_PROTOCOL_EXTRA
154
+ #endif
155
+ #if !defined(SWIFT_ENUM_EXTRA)
156
+ # define SWIFT_ENUM_EXTRA
157
+ #endif
158
+ #if !defined(SWIFT_CLASS)
159
+ # if __has_attribute(objc_subclassing_restricted)
160
+ # define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA
161
+ # define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
162
+ # else
163
+ # define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
164
+ # define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
165
+ # endif
166
+ #endif
167
+ #if !defined(SWIFT_RESILIENT_CLASS)
168
+ # if __has_attribute(objc_class_stub)
169
+ # define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub))
170
+ # define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME)
171
+ # else
172
+ # define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME)
173
+ # define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME)
174
+ # endif
175
+ #endif
176
+ #if !defined(SWIFT_PROTOCOL)
177
+ # define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
178
+ # define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
179
+ #endif
180
+ #if !defined(SWIFT_EXTENSION)
181
+ # define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__)
182
+ #endif
183
+ #if !defined(OBJC_DESIGNATED_INITIALIZER)
184
+ # if __has_attribute(objc_designated_initializer)
185
+ # define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
186
+ # else
187
+ # define OBJC_DESIGNATED_INITIALIZER
188
+ # endif
189
+ #endif
190
+ #if !defined(SWIFT_ENUM_ATTR)
191
+ # if __has_attribute(enum_extensibility)
192
+ # define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility)))
193
+ # else
194
+ # define SWIFT_ENUM_ATTR(_extensibility)
195
+ # endif
196
+ #endif
197
+ #if !defined(SWIFT_ENUM)
198
+ # define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
199
+ # if __has_feature(generalized_swift_name)
200
+ # define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
201
+ # else
202
+ # define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility)
203
+ # endif
204
+ #endif
205
+ #if !defined(SWIFT_UNAVAILABLE)
206
+ # define SWIFT_UNAVAILABLE __attribute__((unavailable))
207
+ #endif
208
+ #if !defined(SWIFT_UNAVAILABLE_MSG)
209
+ # define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg)))
210
+ #endif
211
+ #if !defined(SWIFT_AVAILABILITY)
212
+ # define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__)))
213
+ #endif
214
+ #if !defined(SWIFT_WEAK_IMPORT)
215
+ # define SWIFT_WEAK_IMPORT __attribute__((weak_import))
216
+ #endif
217
+ #if !defined(SWIFT_DEPRECATED)
218
+ # define SWIFT_DEPRECATED __attribute__((deprecated))
219
+ #endif
220
+ #if !defined(SWIFT_DEPRECATED_MSG)
221
+ # define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__)))
222
+ #endif
223
+ #if !defined(SWIFT_DEPRECATED_OBJC)
224
+ # if __has_feature(attribute_diagnose_if_objc)
225
+ # define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning")))
226
+ # else
227
+ # define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg)
228
+ # endif
229
+ #endif
230
+ #if defined(__OBJC__)
231
+ #if !defined(IBSegueAction)
232
+ # define IBSegueAction
233
+ #endif
234
+ #endif
235
+ #if !defined(SWIFT_EXTERN)
236
+ # if defined(__cplusplus)
237
+ # define SWIFT_EXTERN extern "C"
238
+ # else
239
+ # define SWIFT_EXTERN extern
240
+ # endif
241
+ #endif
242
+ #if !defined(SWIFT_CALL)
243
+ # define SWIFT_CALL __attribute__((swiftcall))
244
+ #endif
245
+ #if !defined(SWIFT_INDIRECT_RESULT)
246
+ # define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result))
247
+ #endif
248
+ #if !defined(SWIFT_CONTEXT)
249
+ # define SWIFT_CONTEXT __attribute__((swift_context))
250
+ #endif
251
+ #if !defined(SWIFT_ERROR_RESULT)
252
+ # define SWIFT_ERROR_RESULT __attribute__((swift_error_result))
253
+ #endif
254
+ #if defined(__cplusplus)
255
+ # define SWIFT_NOEXCEPT noexcept
256
+ #else
257
+ # define SWIFT_NOEXCEPT
258
+ #endif
259
+ #if !defined(SWIFT_C_INLINE_THUNK)
260
+ # if __has_attribute(always_inline)
261
+ # if __has_attribute(nodebug)
262
+ # define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug))
263
+ # else
264
+ # define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline))
265
+ # endif
266
+ # else
267
+ # define SWIFT_C_INLINE_THUNK inline
268
+ # endif
269
+ #endif
270
+ #if defined(_WIN32)
271
+ #if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
272
+ # define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport)
273
+ #endif
274
+ #else
275
+ #if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
276
+ # define SWIFT_IMPORT_STDLIB_SYMBOL
277
+ #endif
278
+ #endif
279
+ #if defined(__OBJC__)
280
+ #if __has_feature(objc_modules)
281
+ #if __has_warning("-Watimport-in-framework-header")
282
+ #pragma clang diagnostic ignored "-Watimport-in-framework-header"
283
+ #endif
284
+ @import AVKit;
285
+ @import CoreFoundation;
286
+ @import Foundation;
287
+ @import GoogleCast;
288
+ @import UIKit;
289
+ @import bbnativeshared;
290
+ #endif
291
+
292
+ #endif
293
+ #pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
294
+ #pragma clang diagnostic ignored "-Wduplicate-method-arg"
295
+ #if __has_warning("-Wpragma-clang-attribute")
296
+ # pragma clang diagnostic ignored "-Wpragma-clang-attribute"
297
+ #endif
298
+ #pragma clang diagnostic ignored "-Wunknown-pragmas"
299
+ #pragma clang diagnostic ignored "-Wnullability"
300
+ #pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"
301
+ #pragma clang diagnostic ignored "-Wunsafe-buffer-usage"
302
+
303
+ #if __has_attribute(external_source_symbol)
304
+ # pragma push_macro("any")
305
+ # undef any
306
+ # pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="BBNativePlayerKit",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol))
307
+ # pragma pop_macro("any")
308
+ #endif
309
+
310
+ #if defined(__OBJC__)
311
+
312
+ @class CALayer;
313
+ @class NSCoder;
314
+ @class NSString;
315
+ /// PlayerView used to play media from the Blue Billywig OVP
316
+ SWIFT_CLASS("_TtC17BBNativePlayerKit18BBNativePlayerView")
317
+ @interface BBNativePlayerView : UIView
318
+ - (void)layoutSublayersOfLayer:(CALayer * _Nonnull)layer;
319
+ - (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER;
320
+ - (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE;
321
+ /// :nodoc:
322
+ - (void)observeValueForKeyPath:(NSString * _Nullable)keyPath ofObject:(id _Nullable)object change:(NSDictionary<NSKeyValueChangeKey, id> * _Nullable)change context:(void * _Nullable)context;
323
+ /// :nodoc:
324
+ - (void)removeFromSuperview;
325
+ @end
326
+
327
+ @interface BBNativePlayerView (SWIFT_EXTENSION(BBNativePlayerKit)) <AVRoutePickerViewDelegate>
328
+ @end
329
+
330
+ @class BbnativesharedEventName;
331
+ @interface BBNativePlayerView (SWIFT_EXTENSION(BBNativePlayerKit)) <BbnativesharedEventListenerInterface>
332
+ - (void)onEventEventType:(BbnativesharedEventName * _Nonnull)eventType data:(NSDictionary<NSString *, id> * _Nullable)data;
333
+ @end
334
+
335
+ @class AVPlayerViewController;
336
+ @protocol UIViewControllerTransitionCoordinator;
337
+ @interface BBNativePlayerView (SWIFT_EXTENSION(BBNativePlayerKit)) <AVPlayerViewControllerDelegate>
338
+ /// :nodoc:
339
+ - (void)playerViewController:(AVPlayerViewController * _Nonnull)playerViewController willBeginFullScreenPresentationWithAnimationCoordinator:(id <UIViewControllerTransitionCoordinator> _Nonnull)coordinator;
340
+ - (void)playerViewController:(AVPlayerViewController * _Nonnull)playerViewController willEndFullScreenPresentationWithAnimationCoordinator:(id <UIViewControllerTransitionCoordinator> _Nonnull)coordinator;
341
+ @end
342
+
343
+ @class NSBundle;
344
+ /// :nodoc:
345
+ SWIFT_CLASS("_TtC17BBNativePlayerKit28BBNativePlayerViewController")
346
+ @interface BBNativePlayerViewController : UIViewController
347
+ - (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil SWIFT_UNAVAILABLE;
348
+ - (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE;
349
+ - (void)viewWillTransitionToSize:(CGSize)size withTransitionCoordinator:(id <UIViewControllerTransitionCoordinator> _Nonnull)coordinator;
350
+ - (void)viewWillAppear:(BOOL)animated;
351
+ - (void)viewDidAppear:(BOOL)animated;
352
+ - (void)viewWillDisappear:(BOOL)animated;
353
+ - (void)viewDidDisappear:(BOOL)animated;
354
+ @property (nonatomic, readonly) BOOL shouldAutorotate;
355
+ @property (nonatomic, readonly) UIInterfaceOrientationMask supportedInterfaceOrientations;
356
+ @end
357
+
358
+ @interface BBNativePlayerViewController (SWIFT_EXTENSION(BBNativePlayerKit)) <GCKDiscoveryManagerListener>
359
+ - (void)didUpdateDeviceList;
360
+ @end
361
+
362
+ @interface BBNativePlayerViewController (SWIFT_EXTENSION(BBNativePlayerKit)) <BbnativesharedEventListenerInterface>
363
+ - (void)onEventEventType:(BbnativesharedEventName * _Nonnull)eventType data:(NSDictionary<NSString *, id> * _Nullable)data;
364
+ @end
365
+
366
+ @class UIGestureRecognizer;
367
+ @class UITouch;
368
+ @interface BBNativePlayerViewController (SWIFT_EXTENSION(BBNativePlayerKit)) <UIGestureRecognizerDelegate>
369
+ - (BOOL)gestureRecognizer:(UIGestureRecognizer * _Nonnull)gestureRecognizer shouldRecognizeSimultaneouslyWithGestureRecognizer:(UIGestureRecognizer * _Nonnull)otherGestureRecognizer SWIFT_WARN_UNUSED_RESULT;
370
+ - (BOOL)gestureRecognizer:(UIGestureRecognizer * _Nonnull)gestureRecognizer shouldReceiveTouch:(UITouch * _Nonnull)touch SWIFT_WARN_UNUSED_RESULT;
371
+ @end
372
+
373
+ @class BbnativesharedMediaClip;
374
+ @class BbnativesharedProject;
375
+ @class BbnativesharedPhase;
376
+ @class BbnativesharedState;
377
+ SWIFT_PROTOCOL("_TtP17BBNativePlayerKit26BBNativePlayerViewDelegate_")
378
+ @protocol BBNativePlayerViewDelegate
379
+ @optional
380
+ /// Player was setup with json
381
+ /// \param playerView UIView
382
+ ///
383
+ /// \param url String
384
+ ///
385
+ - (void)bbNativePlayerViewWithPlayerView:(BBNativePlayerView * _Nonnull)playerView didSetupWithJsonUrl:(NSString * _Nullable)url;
386
+ /// Player embed failed
387
+ /// \param playerView UIView
388
+ ///
389
+ /// \param error String
390
+ ///
391
+ - (void)bbNativePlayerViewWithPlayerView:(BBNativePlayerView * _Nonnull)playerView didFailWithError:(NSString * _Nullable)error;
392
+ /// MediaClip data was loaded.
393
+ /// \param playerView UIView
394
+ ///
395
+ /// \param data MediaClip Object
396
+ /// (for more information on data objects see the SAPI reference guide on the developer documentation website at: https://support.bluebillywig.com/topics/developers/)
397
+ ///
398
+ - (void)bbNativePlayerViewWithPlayerView:(BBNativePlayerView * _Nonnull)playerView didTriggerMediaClipLoaded:(BbnativesharedMediaClip * _Nonnull)data;
399
+ /// The player api is ready to be used
400
+ /// \param playerView UIView
401
+ ///
402
+ - (void)bbNativePlayerViewWithDidTriggerApiReady:(BBNativePlayerView * _Nonnull)playerView;
403
+ /// The player view has started
404
+ /// \param playerView UIView
405
+ ///
406
+ - (void)bbNativePlayerViewWithDidTriggerViewStarted:(BBNativePlayerView * _Nonnull)playerView;
407
+ /// The player view has finished
408
+ /// \param playerView UIView
409
+ ///
410
+ - (void)bbNativePlayerViewWithDidTriggerViewFinished:(BBNativePlayerView * _Nonnull)playerView;
411
+ /// Project data was loaded.
412
+ /// \param playerView UIView
413
+ ///
414
+ /// \param data Project Object
415
+ /// (for more information on data objects see the SAPI reference guide on the developer documentation website at : https://support.bluebillywig.com/topics/developers/)
416
+ ///
417
+ - (void)bbNativePlayerViewWithPlayerView:(BBNativePlayerView * _Nonnull)playerView didTriggerProjectLoaded:(BbnativesharedProject * _Nonnull)data;
418
+ /// The player is now ready to play.
419
+ /// \param playerView UIView
420
+ ///
421
+ - (void)bbNativePlayerViewWithDidTriggerCanPlay:(BBNativePlayerView * _Nonnull)playerView;
422
+ /// The duration of the media in the player has changed
423
+ /// \param playerView UIView
424
+ ///
425
+ - (void)bbNativePlayerViewWithPlayerView:(BBNativePlayerView * _Nonnull)playerView didTriggerDurationChange:(double)duration;
426
+ /// The volume or muted state has changed
427
+ /// \param playerView UIView
428
+ ///
429
+ - (void)bbNativePlayerViewWithPlayerView:(BBNativePlayerView * _Nonnull)playerView didTriggerVolumeChange:(double)volume;
430
+ /// The player has executed a play command.
431
+ /// \param playerView UIView
432
+ ///
433
+ - (void)bbNativePlayerViewWithDidTriggerPlay:(BBNativePlayerView * _Nonnull)playerView;
434
+ /// The player is now paused.
435
+ /// \param playerView UIView
436
+ ///
437
+ - (void)bbNativePlayerViewWithDidTriggerPause:(BBNativePlayerView * _Nonnull)playerView;
438
+ /// The player was paused externally
439
+ /// \param playerView UIView
440
+ ///
441
+ - (void)bbNativePlayerViewWithDidTriggerAutoPause:(BBNativePlayerView * _Nonnull)playerView;
442
+ /// The externally paused player is now playing.
443
+ /// \param playerView UIView
444
+ ///
445
+ - (void)bbNativePlayerViewWithDidTriggerAutoPausePlay:(BBNativePlayerView * _Nonnull)playerView;
446
+ /// The player is now playing.
447
+ /// \param playerView UIView
448
+ ///
449
+ - (void)bbNativePlayerViewWithDidTriggerPlaying:(BBNativePlayerView * _Nonnull)playerView;
450
+ /// Playing the media has ended (ads included!)
451
+ /// \param playerView UIView
452
+ ///
453
+ - (void)bbNativePlayerViewWithDidTriggerEnded:(BBNativePlayerView * _Nonnull)playerView;
454
+ /// The player is now seeking.
455
+ /// \param playerView UIView
456
+ ///
457
+ - (void)bbNativePlayerViewWithDidTriggerSeeking:(BBNativePlayerView * _Nonnull)playerView;
458
+ /// The current playback position has changed by the player as a result of a seek action.
459
+ /// \param playerView UIView
460
+ ///
461
+ /// \param seekOffset Double
462
+ ///
463
+ - (void)bbNativePlayerViewWithPlayerView:(BBNativePlayerView * _Nonnull)playerView didTriggerSeeked:(double)seekOffset;
464
+ /// The player is trying to fetch new media data, but is unable to retrieve it and continue playing.
465
+ /// \param playerView UIView
466
+ ///
467
+ - (void)bbNativePlayerViewWithDidTriggerStall:(BBNativePlayerView * _Nonnull)playerView;
468
+ /// The player has encountered an error which prevents it from playing the content further.
469
+ /// \param playerView UIView
470
+ ///
471
+ - (void)bbNativePlayerViewWithDidTriggerMediaClipFailed:(BBNativePlayerView * _Nonnull)playerView;
472
+ /// The player changed phase
473
+ /// \param playerView UIView
474
+ ///
475
+ /// \param phase Phase Enum
476
+ /// (for more information on phases, states and modes, see the developer documentation website at https://support.bluebillywig.com/player-api/events-modes-and-phases/)
477
+ ///
478
+ - (void)bbNativePlayerViewWithPlayerView:(BBNativePlayerView * _Nonnull)playerView didTriggerPhaseChange:(BbnativesharedPhase * _Nullable)phase;
479
+ /// The player changed state
480
+ /// \param playerView UIView
481
+ ///
482
+ /// \param state State Enum
483
+ /// (for more information on phases, states and modes, see the developer documentation website at https://support.bluebillywig.com/player-api/events-modes-and-phases/)
484
+ ///
485
+ - (void)bbNativePlayerViewWithPlayerView:(BBNativePlayerView * _Nonnull)playerView didTriggerStateChange:(BbnativesharedState * _Nullable)state;
486
+ /// The player changed mode
487
+ /// \param playerView UIView
488
+ ///
489
+ /// \param mode String
490
+ /// (for more information on phases, states and modes, see the developer documentation website at https://support.bluebillywig.com/player-api/events-modes-and-phases/)
491
+ ///
492
+ - (void)bbNativePlayerViewWithPlayerView:(BBNativePlayerView * _Nonnull)playerView didTriggerModeChange:(NSString * _Nullable)mode;
493
+ /// The player went fullscreen.
494
+ /// \param playerView UIView
495
+ ///
496
+ - (void)bbNativePlayerViewWithDidTriggerFullscreen:(BBNativePlayerView * _Nonnull)playerView;
497
+ /// The player left fullscreen.
498
+ /// \param playerView UIView
499
+ ///
500
+ - (void)bbNativePlayerViewWithDidTriggerRetractFullscreen:(BBNativePlayerView * _Nonnull)playerView;
501
+ /// The player provided custom statistics
502
+ /// \param playerView UIView
503
+ ///
504
+ /// \param ident String
505
+ ///
506
+ /// \param ev String
507
+ ///
508
+ /// \param aux [String : String]
509
+ ///
510
+ - (void)bbNativePlayerViewWithPlayerView:(BBNativePlayerView * _Nonnull)playerView didTriggerCustomStatistics:(NSString * _Nonnull)ident ev:(NSString * _Nonnull)ev aux:(NSDictionary<NSString *, NSString *> * _Nonnull)aux;
511
+ /// The player is requesting a collapse, handle code appropriately
512
+ /// \param playerView UIView
513
+ ///
514
+ - (void)bbNativePlayerViewWithDidRequestCollapse:(BBNativePlayerView * _Nonnull)playerView;
515
+ /// The player is requesting an expand, handle code appropriately
516
+ /// \param playerView UIView
517
+ ///
518
+ - (void)bbNativePlayerViewWithDidRequestExpand:(BBNativePlayerView * _Nonnull)playerView;
519
+ /// An ad was loaded
520
+ /// \param playerView UIView
521
+ ///
522
+ - (void)bbNativePlayerViewWithDidTriggerAdLoaded:(BBNativePlayerView * _Nonnull)playerView;
523
+ /// An ad was not found
524
+ /// \param playerView UIView
525
+ ///
526
+ - (void)bbNativePlayerViewWithDidTriggerAdNotFound:(BBNativePlayerView * _Nonnull)playerView;
527
+ /// The advertisment provider encountered an error which prevents the ad from playing in the player.
528
+ /// \param playerView UIView
529
+ ///
530
+ /// \param error String
531
+ ///
532
+ - (void)bbNativePlayerViewWithPlayerView:(BBNativePlayerView * _Nonnull)playerView didTriggerAdError:(NSString * _Nullable)error;
533
+ /// An ad was started
534
+ /// \param playerView UIView
535
+ ///
536
+ - (void)bbNativePlayerViewWithDidTriggerAdStarted:(BBNativePlayerView * _Nonnull)playerView;
537
+ /// An ad reached the first quartile
538
+ /// \param playerView UIView
539
+ ///
540
+ - (void)bbNativePlayerViewWithDidTriggerAdQuartile1:(BBNativePlayerView * _Nonnull)playerView;
541
+ /// An ad reached the second quartile
542
+ /// \param playerView UIView
543
+ ///
544
+ - (void)bbNativePlayerViewWithDidTriggerAdQuartile2:(BBNativePlayerView * _Nonnull)playerView;
545
+ /// An ad reached the third quartile
546
+ /// \param playerView UIView
547
+ ///
548
+ - (void)bbNativePlayerViewWithDidTriggerAdQuartile3:(BBNativePlayerView * _Nonnull)playerView;
549
+ /// An ad finished
550
+ /// \param playerView UIView
551
+ ///
552
+ - (void)bbNativePlayerViewWithDidTriggerAdFinished:(BBNativePlayerView * _Nonnull)playerView;
553
+ /// An ads have finished
554
+ /// \param playerView UIView
555
+ ///
556
+ - (void)bbNativePlayerViewWithDidTriggerAllAdsCompleted:(BBNativePlayerView * _Nonnull)playerView;
557
+ /// The size of the player has changed
558
+ /// \param playerView UIView
559
+ ///
560
+ /// \param width Int
561
+ ///
562
+ /// \param height Int
563
+ ///
564
+ - (void)bbNativePlayerViewWithPlayerView:(BBNativePlayerView * _Nonnull)playerView didTriggerResize:(NSInteger)width height:(NSInteger)height;
565
+ /// User swiped left on ad
566
+ /// \param playerView UIView
567
+ ///
568
+ - (void)bbNativePlayerViewWithDidTriggerAdSwipeLeft:(BBNativePlayerView * _Nonnull)playerView;
569
+ /// User swiped right on ad
570
+ /// \param playerView UIView
571
+ ///
572
+ - (void)bbNativePlayerViewWithDidTriggerAdSwipeRight:(BBNativePlayerView * _Nonnull)playerView;
573
+ /// User swiped up on ad
574
+ /// \param playerView UIView
575
+ ///
576
+ - (void)bbNativePlayerViewWithDidTriggerAdSwipeUp:(BBNativePlayerView * _Nonnull)playerView;
577
+ /// User swiped down on ad
578
+ /// \param playerView UIView
579
+ ///
580
+ - (void)bbNativePlayerViewWithDidTriggerAdSwipeDown:(BBNativePlayerView * _Nonnull)playerView;
581
+ /// User use UIPangesture on player. Listen to this delegate to get pan movement on the player while playing Gesture blocking ads
582
+ /// \param playerView UIView
583
+ ///
584
+ /// \param translation CGPoint
585
+ ///
586
+ /// \param velocity CGPoint
587
+ ///
588
+ /// \param location CGPoint
589
+ ///
590
+ /// \param state UIGestureRecognizer.State
591
+ ///
592
+ - (void)bbNativePlayerViewWithDidTriggerUIPanGesture:(BBNativePlayerView * _Nonnull)playerView translation:(CGPoint)translation velocity:(CGPoint)velocity location:(CGPoint)location state:(enum UIGestureRecognizerState)state;
593
+ /// Modal player was closed (swipe-to-close or programmatic)
594
+ /// \param playerView UIView
595
+ ///
596
+ - (void)bbNativePlayerViewWithDidCloseModalPlayer:(BBNativePlayerView * _Nonnull)playerView;
597
+ @end
598
+
599
+ /// BBNativeRendererView used to display Blue Billywig Renderer
600
+ SWIFT_CLASS("_TtC17BBNativePlayerKit20BBNativeRendererView")
601
+ @interface BBNativeRendererView : UIView
602
+ - (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE;
603
+ - (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE;
604
+ /// :nodoc:
605
+ - (void)removeFromSuperview;
606
+ @end
607
+
608
+ @interface BBNativeRendererView (SWIFT_EXTENSION(BBNativePlayerKit)) <BBNativePlayerViewDelegate>
609
+ - (void)bbNativePlayerViewWithPlayerView:(BBNativePlayerView * _Nonnull)playerView didSetupWithJsonUrl:(NSString * _Nullable)url;
610
+ @end
611
+
612
+ @interface BBNativeRendererView (SWIFT_EXTENSION(BBNativePlayerKit)) <BbnativesharedEventListenerInterface>
613
+ - (void)onEventEventType:(BbnativesharedEventName * _Nonnull)eventType data:(NSDictionary<NSString *, id> * _Nullable)data;
614
+ @end
615
+
616
+ SWIFT_CLASS("_TtC17BBNativePlayerKit30BBNativeRendererViewController")
617
+ @interface BBNativeRendererViewController : UIViewController
618
+ - (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil SWIFT_UNAVAILABLE;
619
+ - (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE;
620
+ @end
621
+
622
+ @interface BBNativeRendererViewController (SWIFT_EXTENSION(BBNativePlayerKit)) <BbnativesharedEventListenerInterface>
623
+ - (void)onEventEventType:(BbnativesharedEventName * _Nonnull)eventType data:(NSDictionary<NSString *, id> * _Nullable)data;
624
+ @end
625
+
626
+ SWIFT_PROTOCOL("_TtP17BBNativePlayerKit28BBNativeRendererViewDelegate_")
627
+ @protocol BBNativeRendererViewDelegate
628
+ @optional
629
+ /// View was setup with json
630
+ /// \param rendererView UIView
631
+ ///
632
+ /// \param url String
633
+ ///
634
+ - (void)bbNativeRendererViewWithRendererView:(BBNativeRendererView * _Nonnull)rendererView didSetupWithJsonUrl:(NSString * _Nullable)url;
635
+ /// Renderer embed failed
636
+ /// \param rendererView UIView
637
+ ///
638
+ /// \param error String
639
+ ///
640
+ - (void)bbNativeRendererViewWithRendererView:(BBNativeRendererView * _Nonnull)rendererView didFailWithError:(NSString * _Nullable)error;
641
+ @end
642
+
643
+ /// ShortsView used to display Blue Billywig Shorts Experience
644
+ SWIFT_CLASS("_TtC17BBNativePlayerKit18BBNativeShortsView")
645
+ @interface BBNativeShortsView : UIView
646
+ - (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE;
647
+ - (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE;
648
+ /// :nodoc:
649
+ - (void)removeFromSuperview;
650
+ @end
651
+
652
+ @interface BBNativeShortsView (SWIFT_EXTENSION(BBNativePlayerKit)) <BbnativesharedEventListenerInterface>
653
+ - (void)onEventEventType:(BbnativesharedEventName * _Nonnull)eventType data:(NSDictionary<NSString *, id> * _Nullable)data;
654
+ @end
655
+
656
+ @interface BBNativeShortsView (SWIFT_EXTENSION(BBNativePlayerKit)) <BBNativePlayerViewDelegate>
657
+ - (void)bbNativePlayerViewWithPlayerView:(BBNativePlayerView * _Nonnull)playerView didSetupWithJsonUrl:(NSString * _Nullable)url;
658
+ @end
659
+
660
+ /// :nodoc:
661
+ SWIFT_CLASS("_TtC17BBNativePlayerKit28BBNativeShortsViewController")
662
+ @interface BBNativeShortsViewController : UIViewController
663
+ - (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil SWIFT_UNAVAILABLE;
664
+ - (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE;
665
+ - (void)viewWillTransitionToSize:(CGSize)size withTransitionCoordinator:(id <UIViewControllerTransitionCoordinator> _Nonnull)coordinator;
666
+ - (void)viewWillAppear:(BOOL)animated;
667
+ - (void)viewDidAppear:(BOOL)animated;
668
+ - (void)viewWillDisappear:(BOOL)animated;
669
+ - (void)viewDidDisappear:(BOOL)animated;
670
+ @property (nonatomic, readonly) BOOL shouldAutorotate;
671
+ @property (nonatomic, readonly) UIInterfaceOrientationMask supportedInterfaceOrientations;
672
+ @end
673
+
674
+ @interface BBNativeShortsViewController (SWIFT_EXTENSION(BBNativePlayerKit)) <BbnativesharedEventListenerInterface>
675
+ - (void)onEventEventType:(BbnativesharedEventName * _Nonnull)eventType data:(NSDictionary<NSString *, id> * _Nullable)data;
676
+ @end
677
+
678
+ @interface BBNativeShortsViewController (SWIFT_EXTENSION(BBNativePlayerKit)) <UIGestureRecognizerDelegate>
679
+ - (BOOL)gestureRecognizer:(UIGestureRecognizer * _Nonnull)gestureRecognizer shouldRecognizeSimultaneouslyWithGestureRecognizer:(UIGestureRecognizer * _Nonnull)otherGestureRecognizer SWIFT_WARN_UNUSED_RESULT;
680
+ - (BOOL)gestureRecognizer:(UIGestureRecognizer * _Nonnull)gestureRecognizer shouldReceiveTouch:(UITouch * _Nonnull)touch SWIFT_WARN_UNUSED_RESULT;
681
+ @end
682
+
683
+ SWIFT_PROTOCOL("_TtP17BBNativePlayerKit26BBNativeShortsViewDelegate_")
684
+ @protocol BBNativeShortsViewDelegate
685
+ @optional
686
+ /// View was setup with json
687
+ /// \param shortsView UIView
688
+ ///
689
+ /// \param url String
690
+ ///
691
+ - (void)bbNativeShortsViewWithShortsView:(BBNativeShortsView * _Nonnull)shortsView didSetupWithJsonUrl:(NSString * _Nullable)url;
692
+ /// Player embed failed
693
+ /// \param shortsView UIView
694
+ ///
695
+ /// \param error String
696
+ ///
697
+ - (void)bbNativeShortsViewWithShortsView:(BBNativeShortsView * _Nonnull)shortsView didFailWithError:(NSString * _Nullable)error;
698
+ /// The size of the view has changed
699
+ /// \param shortsView UIView
700
+ ///
701
+ /// \param width Int
702
+ ///
703
+ /// \param height Int
704
+ ///
705
+ - (void)bbNativeShortsViewWithShortsView:(BBNativeShortsView * _Nonnull)shortsView didTriggerResize:(NSInteger)width height:(NSInteger)height;
706
+ @end
707
+
708
+ @class GCKSessionManager;
709
+ @class GCKSession;
710
+ @class GCKCastSession;
711
+ @class GCKRequest;
712
+ @class GCKUIMiniMediaControlsViewController;
713
+ @class GCKRemoteMediaClient;
714
+ @class GCKMediaStatus;
715
+ /// :nodoc:
716
+ SWIFT_CLASS_NAMED("ChromeCastViewController")
717
+ @interface MediaViewController : UIViewController <GCKLoggerDelegate, GCKRemoteMediaClientListener, GCKRequestDelegate, GCKSessionManagerListener, GCKUIMiniMediaControlsViewControllerDelegate>
718
+ - (void)viewDidLoad;
719
+ - (void)sessionManager:(GCKSessionManager * _Nonnull)_ willStartSession:(GCKSession * _Nonnull)session;
720
+ - (void)sessionManager:(GCKSessionManager * _Nonnull)_ didStartSession:(GCKSession * _Nonnull)session;
721
+ - (void)sessionManager:(GCKSessionManager * _Nonnull)_ didResumeSession:(GCKSession * _Nonnull)session;
722
+ - (void)sessionManager:(GCKSessionManager * _Nonnull)_ didEndSession:(GCKSession * _Nonnull)_ withError:(NSError * _Nullable)error;
723
+ - (void)sessionManager:(GCKSessionManager * _Nonnull)_ didStartCastSession:(GCKCastSession * _Nonnull)session;
724
+ - (void)logMessage:(NSString * _Nonnull)message atLevel:(GCKLoggerLevel)level fromFunction:(NSString * _Nonnull)function location:(NSString * _Nonnull)location;
725
+ - (void)requestDidComplete:(GCKRequest * _Nonnull)request;
726
+ - (void)miniMediaControlsViewController:(GCKUIMiniMediaControlsViewController * _Nonnull)miniMediaControlsViewController shouldAppear:(BOOL)shouldAppear;
727
+ - (void)remoteMediaClient:(GCKRemoteMediaClient * _Nonnull)_ didUpdateMediaStatus:(GCKMediaStatus * _Nullable)mediaStatus;
728
+ - (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil OBJC_DESIGNATED_INITIALIZER;
729
+ - (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER;
730
+ @end
731
+
732
+ /// :nodoc:
733
+ SWIFT_PROTOCOL("_TtP17BBNativePlayerKit32ChromeCastViewControllerDelegate_")
734
+ @protocol ChromeCastViewControllerDelegate
735
+ - (void)chromeCastViewControllerWithChromeCastViewController:(MediaViewController * _Nonnull)chromeCastViewController sessionStarted:(GCKSession * _Nonnull)session;
736
+ - (void)chromeCastViewControllerWithChromeCastViewController:(MediaViewController * _Nonnull)chromeCastViewController sessionResumed:(GCKSession * _Nonnull)session;
737
+ - (void)chromeCastViewControllerWithChromeCastViewController:(MediaViewController * _Nonnull)chromeCastViewController sessionEnded:(BOOL)resumeInAVPlayer withError:(NSError * _Nullable)withError;
738
+ - (void)chromeCastViewControllerWithChromeCastViewController:(MediaViewController * _Nonnull)chromeCastViewController sessionFailedToStart:(NSError * _Nullable)withError;
739
+ - (void)chromeCastViewControllerWithChromeCastViewController:(MediaViewController * _Nonnull)chromeCastViewController sessionFailedToResume:(NSError * _Nullable)withError;
740
+ - (void)chromeCastViewControllerWithMediaStatusStarted:(MediaViewController * _Nonnull)chromeCastViewController sessionId:(NSString * _Nonnull)sessionId;
741
+ - (void)chromeCastViewControllerWithMediaStatusFinished:(MediaViewController * _Nonnull)chromeCastViewController;
742
+ - (void)chromeCastViewControllerWithMediaStatusError:(MediaViewController * _Nonnull)chromeCastViewController;
743
+ - (void)chromeCastViewControllerWithMediaStatusPlaying:(MediaViewController * _Nonnull)chromeCastViewController;
744
+ - (void)chromeCastViewControllerWithMediaStatusPaused:(MediaViewController * _Nonnull)chromeCastViewController;
745
+ - (void)chromeCastViewControllerWithChromeCastViewController:(MediaViewController * _Nonnull)chromeCastViewController mediaProgress:(float)position;
746
+ - (void)chromeCastViewControllerWithDidRequestDirectCast:(MediaViewController * _Nonnull)chromeCastViewController;
747
+ @end
748
+
749
+ #endif
750
+ #if __has_attribute(external_source_symbol)
751
+ # pragma clang attribute pop
752
+ #endif
753
+ #if defined(__cplusplus)
754
+ #endif
755
+ #pragma clang diagnostic pop
756
+ #endif
757
+
758
+ #elif defined(__x86_64__) && __x86_64__
759
+ // Generated by Apple Swift version 6.1.2 effective-5.10 (swiftlang-6.1.2.1.2 clang-1700.0.13.5)
760
+ #ifndef BBNATIVEPLAYERKIT_SWIFT_H
761
+ #define BBNATIVEPLAYERKIT_SWIFT_H
762
+ #pragma clang diagnostic push
763
+ #pragma clang diagnostic ignored "-Wgcc-compat"
764
+
765
+ #if !defined(__has_include)
766
+ # define __has_include(x) 0
767
+ #endif
768
+ #if !defined(__has_attribute)
769
+ # define __has_attribute(x) 0
770
+ #endif
771
+ #if !defined(__has_feature)
772
+ # define __has_feature(x) 0
773
+ #endif
774
+ #if !defined(__has_warning)
775
+ # define __has_warning(x) 0
776
+ #endif
777
+
778
+ #if __has_include(<swift/objc-prologue.h>)
779
+ # include <swift/objc-prologue.h>
780
+ #endif
781
+
782
+ #pragma clang diagnostic ignored "-Wauto-import"
783
+ #if defined(__OBJC__)
784
+ #include <Foundation/Foundation.h>
785
+ #endif
786
+ #if defined(__cplusplus)
787
+ #include <cstdint>
788
+ #include <cstddef>
789
+ #include <cstdbool>
790
+ #include <cstring>
791
+ #include <stdlib.h>
792
+ #include <new>
793
+ #include <type_traits>
794
+ #else
795
+ #include <stdint.h>
796
+ #include <stddef.h>
797
+ #include <stdbool.h>
798
+ #include <string.h>
799
+ #endif
800
+ #if defined(__cplusplus)
801
+ #pragma clang diagnostic push
802
+ #pragma clang diagnostic ignored "-Wnon-modular-include-in-framework-module"
803
+ #if defined(__arm64e__) && __has_include(<ptrauth.h>)
804
+ # include <ptrauth.h>
805
+ #else
806
+ #pragma clang diagnostic push
807
+ #pragma clang diagnostic ignored "-Wreserved-macro-identifier"
808
+ # ifndef __ptrauth_swift_value_witness_function_pointer
809
+ # define __ptrauth_swift_value_witness_function_pointer(x)
810
+ # endif
811
+ # ifndef __ptrauth_swift_class_method_pointer
812
+ # define __ptrauth_swift_class_method_pointer(x)
813
+ # endif
814
+ #pragma clang diagnostic pop
815
+ #endif
816
+ #pragma clang diagnostic pop
817
+ #endif
818
+
819
+ #if !defined(SWIFT_TYPEDEFS)
820
+ # define SWIFT_TYPEDEFS 1
821
+ # if __has_include(<uchar.h>)
822
+ # include <uchar.h>
823
+ # elif !defined(__cplusplus)
824
+ typedef unsigned char char8_t;
825
+ typedef uint_least16_t char16_t;
826
+ typedef uint_least32_t char32_t;
827
+ # endif
828
+ typedef float swift_float2 __attribute__((__ext_vector_type__(2)));
829
+ typedef float swift_float3 __attribute__((__ext_vector_type__(3)));
830
+ typedef float swift_float4 __attribute__((__ext_vector_type__(4)));
831
+ typedef double swift_double2 __attribute__((__ext_vector_type__(2)));
832
+ typedef double swift_double3 __attribute__((__ext_vector_type__(3)));
833
+ typedef double swift_double4 __attribute__((__ext_vector_type__(4)));
834
+ typedef int swift_int2 __attribute__((__ext_vector_type__(2)));
835
+ typedef int swift_int3 __attribute__((__ext_vector_type__(3)));
836
+ typedef int swift_int4 __attribute__((__ext_vector_type__(4)));
837
+ typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2)));
838
+ typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3)));
839
+ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
840
+ #endif
841
+
842
+ #if !defined(SWIFT_PASTE)
843
+ # define SWIFT_PASTE_HELPER(x, y) x##y
844
+ # define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y)
845
+ #endif
846
+ #if !defined(SWIFT_METATYPE)
847
+ # define SWIFT_METATYPE(X) Class
848
+ #endif
849
+ #if !defined(SWIFT_CLASS_PROPERTY)
850
+ # if __has_feature(objc_class_property)
851
+ # define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__
852
+ # else
853
+ # define SWIFT_CLASS_PROPERTY(...)
854
+ # endif
855
+ #endif
856
+ #if !defined(SWIFT_RUNTIME_NAME)
857
+ # if __has_attribute(objc_runtime_name)
858
+ # define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
859
+ # else
860
+ # define SWIFT_RUNTIME_NAME(X)
861
+ # endif
862
+ #endif
863
+ #if !defined(SWIFT_COMPILE_NAME)
864
+ # if __has_attribute(swift_name)
865
+ # define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
866
+ # else
867
+ # define SWIFT_COMPILE_NAME(X)
868
+ # endif
869
+ #endif
870
+ #if !defined(SWIFT_METHOD_FAMILY)
871
+ # if __has_attribute(objc_method_family)
872
+ # define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
873
+ # else
874
+ # define SWIFT_METHOD_FAMILY(X)
875
+ # endif
876
+ #endif
877
+ #if !defined(SWIFT_NOESCAPE)
878
+ # if __has_attribute(noescape)
879
+ # define SWIFT_NOESCAPE __attribute__((noescape))
880
+ # else
881
+ # define SWIFT_NOESCAPE
882
+ # endif
883
+ #endif
884
+ #if !defined(SWIFT_RELEASES_ARGUMENT)
885
+ # if __has_attribute(ns_consumed)
886
+ # define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed))
887
+ # else
888
+ # define SWIFT_RELEASES_ARGUMENT
889
+ # endif
890
+ #endif
891
+ #if !defined(SWIFT_WARN_UNUSED_RESULT)
892
+ # if __has_attribute(warn_unused_result)
893
+ # define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
894
+ # else
895
+ # define SWIFT_WARN_UNUSED_RESULT
896
+ # endif
897
+ #endif
898
+ #if !defined(SWIFT_NORETURN)
899
+ # if __has_attribute(noreturn)
900
+ # define SWIFT_NORETURN __attribute__((noreturn))
901
+ # else
902
+ # define SWIFT_NORETURN
903
+ # endif
904
+ #endif
905
+ #if !defined(SWIFT_CLASS_EXTRA)
906
+ # define SWIFT_CLASS_EXTRA
907
+ #endif
908
+ #if !defined(SWIFT_PROTOCOL_EXTRA)
909
+ # define SWIFT_PROTOCOL_EXTRA
910
+ #endif
911
+ #if !defined(SWIFT_ENUM_EXTRA)
912
+ # define SWIFT_ENUM_EXTRA
913
+ #endif
914
+ #if !defined(SWIFT_CLASS)
915
+ # if __has_attribute(objc_subclassing_restricted)
916
+ # define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA
917
+ # define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
918
+ # else
919
+ # define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
920
+ # define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
921
+ # endif
922
+ #endif
923
+ #if !defined(SWIFT_RESILIENT_CLASS)
924
+ # if __has_attribute(objc_class_stub)
925
+ # define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub))
926
+ # define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME)
927
+ # else
928
+ # define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME)
929
+ # define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME)
930
+ # endif
931
+ #endif
932
+ #if !defined(SWIFT_PROTOCOL)
933
+ # define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
934
+ # define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
935
+ #endif
936
+ #if !defined(SWIFT_EXTENSION)
937
+ # define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__)
938
+ #endif
939
+ #if !defined(OBJC_DESIGNATED_INITIALIZER)
940
+ # if __has_attribute(objc_designated_initializer)
941
+ # define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
942
+ # else
943
+ # define OBJC_DESIGNATED_INITIALIZER
944
+ # endif
945
+ #endif
946
+ #if !defined(SWIFT_ENUM_ATTR)
947
+ # if __has_attribute(enum_extensibility)
948
+ # define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility)))
949
+ # else
950
+ # define SWIFT_ENUM_ATTR(_extensibility)
951
+ # endif
952
+ #endif
953
+ #if !defined(SWIFT_ENUM)
954
+ # define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
955
+ # if __has_feature(generalized_swift_name)
956
+ # define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
957
+ # else
958
+ # define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility)
959
+ # endif
960
+ #endif
961
+ #if !defined(SWIFT_UNAVAILABLE)
962
+ # define SWIFT_UNAVAILABLE __attribute__((unavailable))
963
+ #endif
964
+ #if !defined(SWIFT_UNAVAILABLE_MSG)
965
+ # define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg)))
966
+ #endif
967
+ #if !defined(SWIFT_AVAILABILITY)
968
+ # define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__)))
969
+ #endif
970
+ #if !defined(SWIFT_WEAK_IMPORT)
971
+ # define SWIFT_WEAK_IMPORT __attribute__((weak_import))
972
+ #endif
973
+ #if !defined(SWIFT_DEPRECATED)
974
+ # define SWIFT_DEPRECATED __attribute__((deprecated))
975
+ #endif
976
+ #if !defined(SWIFT_DEPRECATED_MSG)
977
+ # define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__)))
978
+ #endif
979
+ #if !defined(SWIFT_DEPRECATED_OBJC)
980
+ # if __has_feature(attribute_diagnose_if_objc)
981
+ # define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning")))
982
+ # else
983
+ # define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg)
984
+ # endif
985
+ #endif
986
+ #if defined(__OBJC__)
987
+ #if !defined(IBSegueAction)
988
+ # define IBSegueAction
989
+ #endif
990
+ #endif
991
+ #if !defined(SWIFT_EXTERN)
992
+ # if defined(__cplusplus)
993
+ # define SWIFT_EXTERN extern "C"
994
+ # else
995
+ # define SWIFT_EXTERN extern
996
+ # endif
997
+ #endif
998
+ #if !defined(SWIFT_CALL)
999
+ # define SWIFT_CALL __attribute__((swiftcall))
1000
+ #endif
1001
+ #if !defined(SWIFT_INDIRECT_RESULT)
1002
+ # define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result))
1003
+ #endif
1004
+ #if !defined(SWIFT_CONTEXT)
1005
+ # define SWIFT_CONTEXT __attribute__((swift_context))
1006
+ #endif
1007
+ #if !defined(SWIFT_ERROR_RESULT)
1008
+ # define SWIFT_ERROR_RESULT __attribute__((swift_error_result))
1009
+ #endif
1010
+ #if defined(__cplusplus)
1011
+ # define SWIFT_NOEXCEPT noexcept
1012
+ #else
1013
+ # define SWIFT_NOEXCEPT
1014
+ #endif
1015
+ #if !defined(SWIFT_C_INLINE_THUNK)
1016
+ # if __has_attribute(always_inline)
1017
+ # if __has_attribute(nodebug)
1018
+ # define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug))
1019
+ # else
1020
+ # define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline))
1021
+ # endif
1022
+ # else
1023
+ # define SWIFT_C_INLINE_THUNK inline
1024
+ # endif
1025
+ #endif
1026
+ #if defined(_WIN32)
1027
+ #if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
1028
+ # define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport)
1029
+ #endif
1030
+ #else
1031
+ #if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
1032
+ # define SWIFT_IMPORT_STDLIB_SYMBOL
1033
+ #endif
1034
+ #endif
1035
+ #if defined(__OBJC__)
1036
+ #if __has_feature(objc_modules)
1037
+ #if __has_warning("-Watimport-in-framework-header")
1038
+ #pragma clang diagnostic ignored "-Watimport-in-framework-header"
1039
+ #endif
1040
+ @import AVKit;
1041
+ @import CoreFoundation;
1042
+ @import Foundation;
1043
+ @import GoogleCast;
1044
+ @import UIKit;
1045
+ @import bbnativeshared;
1046
+ #endif
1047
+
1048
+ #endif
1049
+ #pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
1050
+ #pragma clang diagnostic ignored "-Wduplicate-method-arg"
1051
+ #if __has_warning("-Wpragma-clang-attribute")
1052
+ # pragma clang diagnostic ignored "-Wpragma-clang-attribute"
1053
+ #endif
1054
+ #pragma clang diagnostic ignored "-Wunknown-pragmas"
1055
+ #pragma clang diagnostic ignored "-Wnullability"
1056
+ #pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"
1057
+ #pragma clang diagnostic ignored "-Wunsafe-buffer-usage"
1058
+
1059
+ #if __has_attribute(external_source_symbol)
1060
+ # pragma push_macro("any")
1061
+ # undef any
1062
+ # pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="BBNativePlayerKit",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol))
1063
+ # pragma pop_macro("any")
1064
+ #endif
1065
+
1066
+ #if defined(__OBJC__)
1067
+
1068
+ @class CALayer;
1069
+ @class NSCoder;
1070
+ @class NSString;
1071
+ /// PlayerView used to play media from the Blue Billywig OVP
1072
+ SWIFT_CLASS("_TtC17BBNativePlayerKit18BBNativePlayerView")
1073
+ @interface BBNativePlayerView : UIView
1074
+ - (void)layoutSublayersOfLayer:(CALayer * _Nonnull)layer;
1075
+ - (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER;
1076
+ - (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE;
1077
+ /// :nodoc:
1078
+ - (void)observeValueForKeyPath:(NSString * _Nullable)keyPath ofObject:(id _Nullable)object change:(NSDictionary<NSKeyValueChangeKey, id> * _Nullable)change context:(void * _Nullable)context;
1079
+ /// :nodoc:
1080
+ - (void)removeFromSuperview;
1081
+ @end
1082
+
1083
+ @interface BBNativePlayerView (SWIFT_EXTENSION(BBNativePlayerKit)) <AVRoutePickerViewDelegate>
1084
+ @end
1085
+
1086
+ @class BbnativesharedEventName;
1087
+ @interface BBNativePlayerView (SWIFT_EXTENSION(BBNativePlayerKit)) <BbnativesharedEventListenerInterface>
1088
+ - (void)onEventEventType:(BbnativesharedEventName * _Nonnull)eventType data:(NSDictionary<NSString *, id> * _Nullable)data;
1089
+ @end
1090
+
1091
+ @class AVPlayerViewController;
1092
+ @protocol UIViewControllerTransitionCoordinator;
1093
+ @interface BBNativePlayerView (SWIFT_EXTENSION(BBNativePlayerKit)) <AVPlayerViewControllerDelegate>
1094
+ /// :nodoc:
1095
+ - (void)playerViewController:(AVPlayerViewController * _Nonnull)playerViewController willBeginFullScreenPresentationWithAnimationCoordinator:(id <UIViewControllerTransitionCoordinator> _Nonnull)coordinator;
1096
+ - (void)playerViewController:(AVPlayerViewController * _Nonnull)playerViewController willEndFullScreenPresentationWithAnimationCoordinator:(id <UIViewControllerTransitionCoordinator> _Nonnull)coordinator;
1097
+ @end
1098
+
1099
+ @class NSBundle;
1100
+ /// :nodoc:
1101
+ SWIFT_CLASS("_TtC17BBNativePlayerKit28BBNativePlayerViewController")
1102
+ @interface BBNativePlayerViewController : UIViewController
1103
+ - (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil SWIFT_UNAVAILABLE;
1104
+ - (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE;
1105
+ - (void)viewWillTransitionToSize:(CGSize)size withTransitionCoordinator:(id <UIViewControllerTransitionCoordinator> _Nonnull)coordinator;
1106
+ - (void)viewWillAppear:(BOOL)animated;
1107
+ - (void)viewDidAppear:(BOOL)animated;
1108
+ - (void)viewWillDisappear:(BOOL)animated;
1109
+ - (void)viewDidDisappear:(BOOL)animated;
1110
+ @property (nonatomic, readonly) BOOL shouldAutorotate;
1111
+ @property (nonatomic, readonly) UIInterfaceOrientationMask supportedInterfaceOrientations;
1112
+ @end
1113
+
1114
+ @interface BBNativePlayerViewController (SWIFT_EXTENSION(BBNativePlayerKit)) <GCKDiscoveryManagerListener>
1115
+ - (void)didUpdateDeviceList;
1116
+ @end
1117
+
1118
+ @interface BBNativePlayerViewController (SWIFT_EXTENSION(BBNativePlayerKit)) <BbnativesharedEventListenerInterface>
1119
+ - (void)onEventEventType:(BbnativesharedEventName * _Nonnull)eventType data:(NSDictionary<NSString *, id> * _Nullable)data;
1120
+ @end
1121
+
1122
+ @class UIGestureRecognizer;
1123
+ @class UITouch;
1124
+ @interface BBNativePlayerViewController (SWIFT_EXTENSION(BBNativePlayerKit)) <UIGestureRecognizerDelegate>
1125
+ - (BOOL)gestureRecognizer:(UIGestureRecognizer * _Nonnull)gestureRecognizer shouldRecognizeSimultaneouslyWithGestureRecognizer:(UIGestureRecognizer * _Nonnull)otherGestureRecognizer SWIFT_WARN_UNUSED_RESULT;
1126
+ - (BOOL)gestureRecognizer:(UIGestureRecognizer * _Nonnull)gestureRecognizer shouldReceiveTouch:(UITouch * _Nonnull)touch SWIFT_WARN_UNUSED_RESULT;
1127
+ @end
1128
+
1129
+ @class BbnativesharedMediaClip;
1130
+ @class BbnativesharedProject;
1131
+ @class BbnativesharedPhase;
1132
+ @class BbnativesharedState;
1133
+ SWIFT_PROTOCOL("_TtP17BBNativePlayerKit26BBNativePlayerViewDelegate_")
1134
+ @protocol BBNativePlayerViewDelegate
1135
+ @optional
1136
+ /// Player was setup with json
1137
+ /// \param playerView UIView
1138
+ ///
1139
+ /// \param url String
1140
+ ///
1141
+ - (void)bbNativePlayerViewWithPlayerView:(BBNativePlayerView * _Nonnull)playerView didSetupWithJsonUrl:(NSString * _Nullable)url;
1142
+ /// Player embed failed
1143
+ /// \param playerView UIView
1144
+ ///
1145
+ /// \param error String
1146
+ ///
1147
+ - (void)bbNativePlayerViewWithPlayerView:(BBNativePlayerView * _Nonnull)playerView didFailWithError:(NSString * _Nullable)error;
1148
+ /// MediaClip data was loaded.
1149
+ /// \param playerView UIView
1150
+ ///
1151
+ /// \param data MediaClip Object
1152
+ /// (for more information on data objects see the SAPI reference guide on the developer documentation website at: https://support.bluebillywig.com/topics/developers/)
1153
+ ///
1154
+ - (void)bbNativePlayerViewWithPlayerView:(BBNativePlayerView * _Nonnull)playerView didTriggerMediaClipLoaded:(BbnativesharedMediaClip * _Nonnull)data;
1155
+ /// The player api is ready to be used
1156
+ /// \param playerView UIView
1157
+ ///
1158
+ - (void)bbNativePlayerViewWithDidTriggerApiReady:(BBNativePlayerView * _Nonnull)playerView;
1159
+ /// The player view has started
1160
+ /// \param playerView UIView
1161
+ ///
1162
+ - (void)bbNativePlayerViewWithDidTriggerViewStarted:(BBNativePlayerView * _Nonnull)playerView;
1163
+ /// The player view has finished
1164
+ /// \param playerView UIView
1165
+ ///
1166
+ - (void)bbNativePlayerViewWithDidTriggerViewFinished:(BBNativePlayerView * _Nonnull)playerView;
1167
+ /// Project data was loaded.
1168
+ /// \param playerView UIView
1169
+ ///
1170
+ /// \param data Project Object
1171
+ /// (for more information on data objects see the SAPI reference guide on the developer documentation website at : https://support.bluebillywig.com/topics/developers/)
1172
+ ///
1173
+ - (void)bbNativePlayerViewWithPlayerView:(BBNativePlayerView * _Nonnull)playerView didTriggerProjectLoaded:(BbnativesharedProject * _Nonnull)data;
1174
+ /// The player is now ready to play.
1175
+ /// \param playerView UIView
1176
+ ///
1177
+ - (void)bbNativePlayerViewWithDidTriggerCanPlay:(BBNativePlayerView * _Nonnull)playerView;
1178
+ /// The duration of the media in the player has changed
1179
+ /// \param playerView UIView
1180
+ ///
1181
+ - (void)bbNativePlayerViewWithPlayerView:(BBNativePlayerView * _Nonnull)playerView didTriggerDurationChange:(double)duration;
1182
+ /// The volume or muted state has changed
1183
+ /// \param playerView UIView
1184
+ ///
1185
+ - (void)bbNativePlayerViewWithPlayerView:(BBNativePlayerView * _Nonnull)playerView didTriggerVolumeChange:(double)volume;
1186
+ /// The player has executed a play command.
1187
+ /// \param playerView UIView
1188
+ ///
1189
+ - (void)bbNativePlayerViewWithDidTriggerPlay:(BBNativePlayerView * _Nonnull)playerView;
1190
+ /// The player is now paused.
1191
+ /// \param playerView UIView
1192
+ ///
1193
+ - (void)bbNativePlayerViewWithDidTriggerPause:(BBNativePlayerView * _Nonnull)playerView;
1194
+ /// The player was paused externally
1195
+ /// \param playerView UIView
1196
+ ///
1197
+ - (void)bbNativePlayerViewWithDidTriggerAutoPause:(BBNativePlayerView * _Nonnull)playerView;
1198
+ /// The externally paused player is now playing.
1199
+ /// \param playerView UIView
1200
+ ///
1201
+ - (void)bbNativePlayerViewWithDidTriggerAutoPausePlay:(BBNativePlayerView * _Nonnull)playerView;
1202
+ /// The player is now playing.
1203
+ /// \param playerView UIView
1204
+ ///
1205
+ - (void)bbNativePlayerViewWithDidTriggerPlaying:(BBNativePlayerView * _Nonnull)playerView;
1206
+ /// Playing the media has ended (ads included!)
1207
+ /// \param playerView UIView
1208
+ ///
1209
+ - (void)bbNativePlayerViewWithDidTriggerEnded:(BBNativePlayerView * _Nonnull)playerView;
1210
+ /// The player is now seeking.
1211
+ /// \param playerView UIView
1212
+ ///
1213
+ - (void)bbNativePlayerViewWithDidTriggerSeeking:(BBNativePlayerView * _Nonnull)playerView;
1214
+ /// The current playback position has changed by the player as a result of a seek action.
1215
+ /// \param playerView UIView
1216
+ ///
1217
+ /// \param seekOffset Double
1218
+ ///
1219
+ - (void)bbNativePlayerViewWithPlayerView:(BBNativePlayerView * _Nonnull)playerView didTriggerSeeked:(double)seekOffset;
1220
+ /// The player is trying to fetch new media data, but is unable to retrieve it and continue playing.
1221
+ /// \param playerView UIView
1222
+ ///
1223
+ - (void)bbNativePlayerViewWithDidTriggerStall:(BBNativePlayerView * _Nonnull)playerView;
1224
+ /// The player has encountered an error which prevents it from playing the content further.
1225
+ /// \param playerView UIView
1226
+ ///
1227
+ - (void)bbNativePlayerViewWithDidTriggerMediaClipFailed:(BBNativePlayerView * _Nonnull)playerView;
1228
+ /// The player changed phase
1229
+ /// \param playerView UIView
1230
+ ///
1231
+ /// \param phase Phase Enum
1232
+ /// (for more information on phases, states and modes, see the developer documentation website at https://support.bluebillywig.com/player-api/events-modes-and-phases/)
1233
+ ///
1234
+ - (void)bbNativePlayerViewWithPlayerView:(BBNativePlayerView * _Nonnull)playerView didTriggerPhaseChange:(BbnativesharedPhase * _Nullable)phase;
1235
+ /// The player changed state
1236
+ /// \param playerView UIView
1237
+ ///
1238
+ /// \param state State Enum
1239
+ /// (for more information on phases, states and modes, see the developer documentation website at https://support.bluebillywig.com/player-api/events-modes-and-phases/)
1240
+ ///
1241
+ - (void)bbNativePlayerViewWithPlayerView:(BBNativePlayerView * _Nonnull)playerView didTriggerStateChange:(BbnativesharedState * _Nullable)state;
1242
+ /// The player changed mode
1243
+ /// \param playerView UIView
1244
+ ///
1245
+ /// \param mode String
1246
+ /// (for more information on phases, states and modes, see the developer documentation website at https://support.bluebillywig.com/player-api/events-modes-and-phases/)
1247
+ ///
1248
+ - (void)bbNativePlayerViewWithPlayerView:(BBNativePlayerView * _Nonnull)playerView didTriggerModeChange:(NSString * _Nullable)mode;
1249
+ /// The player went fullscreen.
1250
+ /// \param playerView UIView
1251
+ ///
1252
+ - (void)bbNativePlayerViewWithDidTriggerFullscreen:(BBNativePlayerView * _Nonnull)playerView;
1253
+ /// The player left fullscreen.
1254
+ /// \param playerView UIView
1255
+ ///
1256
+ - (void)bbNativePlayerViewWithDidTriggerRetractFullscreen:(BBNativePlayerView * _Nonnull)playerView;
1257
+ /// The player provided custom statistics
1258
+ /// \param playerView UIView
1259
+ ///
1260
+ /// \param ident String
1261
+ ///
1262
+ /// \param ev String
1263
+ ///
1264
+ /// \param aux [String : String]
1265
+ ///
1266
+ - (void)bbNativePlayerViewWithPlayerView:(BBNativePlayerView * _Nonnull)playerView didTriggerCustomStatistics:(NSString * _Nonnull)ident ev:(NSString * _Nonnull)ev aux:(NSDictionary<NSString *, NSString *> * _Nonnull)aux;
1267
+ /// The player is requesting a collapse, handle code appropriately
1268
+ /// \param playerView UIView
1269
+ ///
1270
+ - (void)bbNativePlayerViewWithDidRequestCollapse:(BBNativePlayerView * _Nonnull)playerView;
1271
+ /// The player is requesting an expand, handle code appropriately
1272
+ /// \param playerView UIView
1273
+ ///
1274
+ - (void)bbNativePlayerViewWithDidRequestExpand:(BBNativePlayerView * _Nonnull)playerView;
1275
+ /// An ad was loaded
1276
+ /// \param playerView UIView
1277
+ ///
1278
+ - (void)bbNativePlayerViewWithDidTriggerAdLoaded:(BBNativePlayerView * _Nonnull)playerView;
1279
+ /// An ad was not found
1280
+ /// \param playerView UIView
1281
+ ///
1282
+ - (void)bbNativePlayerViewWithDidTriggerAdNotFound:(BBNativePlayerView * _Nonnull)playerView;
1283
+ /// The advertisment provider encountered an error which prevents the ad from playing in the player.
1284
+ /// \param playerView UIView
1285
+ ///
1286
+ /// \param error String
1287
+ ///
1288
+ - (void)bbNativePlayerViewWithPlayerView:(BBNativePlayerView * _Nonnull)playerView didTriggerAdError:(NSString * _Nullable)error;
1289
+ /// An ad was started
1290
+ /// \param playerView UIView
1291
+ ///
1292
+ - (void)bbNativePlayerViewWithDidTriggerAdStarted:(BBNativePlayerView * _Nonnull)playerView;
1293
+ /// An ad reached the first quartile
1294
+ /// \param playerView UIView
1295
+ ///
1296
+ - (void)bbNativePlayerViewWithDidTriggerAdQuartile1:(BBNativePlayerView * _Nonnull)playerView;
1297
+ /// An ad reached the second quartile
1298
+ /// \param playerView UIView
1299
+ ///
1300
+ - (void)bbNativePlayerViewWithDidTriggerAdQuartile2:(BBNativePlayerView * _Nonnull)playerView;
1301
+ /// An ad reached the third quartile
1302
+ /// \param playerView UIView
1303
+ ///
1304
+ - (void)bbNativePlayerViewWithDidTriggerAdQuartile3:(BBNativePlayerView * _Nonnull)playerView;
1305
+ /// An ad finished
1306
+ /// \param playerView UIView
1307
+ ///
1308
+ - (void)bbNativePlayerViewWithDidTriggerAdFinished:(BBNativePlayerView * _Nonnull)playerView;
1309
+ /// An ads have finished
1310
+ /// \param playerView UIView
1311
+ ///
1312
+ - (void)bbNativePlayerViewWithDidTriggerAllAdsCompleted:(BBNativePlayerView * _Nonnull)playerView;
1313
+ /// The size of the player has changed
1314
+ /// \param playerView UIView
1315
+ ///
1316
+ /// \param width Int
1317
+ ///
1318
+ /// \param height Int
1319
+ ///
1320
+ - (void)bbNativePlayerViewWithPlayerView:(BBNativePlayerView * _Nonnull)playerView didTriggerResize:(NSInteger)width height:(NSInteger)height;
1321
+ /// User swiped left on ad
1322
+ /// \param playerView UIView
1323
+ ///
1324
+ - (void)bbNativePlayerViewWithDidTriggerAdSwipeLeft:(BBNativePlayerView * _Nonnull)playerView;
1325
+ /// User swiped right on ad
1326
+ /// \param playerView UIView
1327
+ ///
1328
+ - (void)bbNativePlayerViewWithDidTriggerAdSwipeRight:(BBNativePlayerView * _Nonnull)playerView;
1329
+ /// User swiped up on ad
1330
+ /// \param playerView UIView
1331
+ ///
1332
+ - (void)bbNativePlayerViewWithDidTriggerAdSwipeUp:(BBNativePlayerView * _Nonnull)playerView;
1333
+ /// User swiped down on ad
1334
+ /// \param playerView UIView
1335
+ ///
1336
+ - (void)bbNativePlayerViewWithDidTriggerAdSwipeDown:(BBNativePlayerView * _Nonnull)playerView;
1337
+ /// User use UIPangesture on player. Listen to this delegate to get pan movement on the player while playing Gesture blocking ads
1338
+ /// \param playerView UIView
1339
+ ///
1340
+ /// \param translation CGPoint
1341
+ ///
1342
+ /// \param velocity CGPoint
1343
+ ///
1344
+ /// \param location CGPoint
1345
+ ///
1346
+ /// \param state UIGestureRecognizer.State
1347
+ ///
1348
+ - (void)bbNativePlayerViewWithDidTriggerUIPanGesture:(BBNativePlayerView * _Nonnull)playerView translation:(CGPoint)translation velocity:(CGPoint)velocity location:(CGPoint)location state:(enum UIGestureRecognizerState)state;
1349
+ /// Modal player was closed (swipe-to-close or programmatic)
1350
+ /// \param playerView UIView
1351
+ ///
1352
+ - (void)bbNativePlayerViewWithDidCloseModalPlayer:(BBNativePlayerView * _Nonnull)playerView;
1353
+ @end
1354
+
1355
+ /// BBNativeRendererView used to display Blue Billywig Renderer
1356
+ SWIFT_CLASS("_TtC17BBNativePlayerKit20BBNativeRendererView")
1357
+ @interface BBNativeRendererView : UIView
1358
+ - (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE;
1359
+ - (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE;
1360
+ /// :nodoc:
1361
+ - (void)removeFromSuperview;
1362
+ @end
1363
+
1364
+ @interface BBNativeRendererView (SWIFT_EXTENSION(BBNativePlayerKit)) <BBNativePlayerViewDelegate>
1365
+ - (void)bbNativePlayerViewWithPlayerView:(BBNativePlayerView * _Nonnull)playerView didSetupWithJsonUrl:(NSString * _Nullable)url;
1366
+ @end
1367
+
1368
+ @interface BBNativeRendererView (SWIFT_EXTENSION(BBNativePlayerKit)) <BbnativesharedEventListenerInterface>
1369
+ - (void)onEventEventType:(BbnativesharedEventName * _Nonnull)eventType data:(NSDictionary<NSString *, id> * _Nullable)data;
1370
+ @end
1371
+
1372
+ SWIFT_CLASS("_TtC17BBNativePlayerKit30BBNativeRendererViewController")
1373
+ @interface BBNativeRendererViewController : UIViewController
1374
+ - (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil SWIFT_UNAVAILABLE;
1375
+ - (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE;
1376
+ @end
1377
+
1378
+ @interface BBNativeRendererViewController (SWIFT_EXTENSION(BBNativePlayerKit)) <BbnativesharedEventListenerInterface>
1379
+ - (void)onEventEventType:(BbnativesharedEventName * _Nonnull)eventType data:(NSDictionary<NSString *, id> * _Nullable)data;
1380
+ @end
1381
+
1382
+ SWIFT_PROTOCOL("_TtP17BBNativePlayerKit28BBNativeRendererViewDelegate_")
1383
+ @protocol BBNativeRendererViewDelegate
1384
+ @optional
1385
+ /// View was setup with json
1386
+ /// \param rendererView UIView
1387
+ ///
1388
+ /// \param url String
1389
+ ///
1390
+ - (void)bbNativeRendererViewWithRendererView:(BBNativeRendererView * _Nonnull)rendererView didSetupWithJsonUrl:(NSString * _Nullable)url;
1391
+ /// Renderer embed failed
1392
+ /// \param rendererView UIView
1393
+ ///
1394
+ /// \param error String
1395
+ ///
1396
+ - (void)bbNativeRendererViewWithRendererView:(BBNativeRendererView * _Nonnull)rendererView didFailWithError:(NSString * _Nullable)error;
1397
+ @end
1398
+
1399
+ /// ShortsView used to display Blue Billywig Shorts Experience
1400
+ SWIFT_CLASS("_TtC17BBNativePlayerKit18BBNativeShortsView")
1401
+ @interface BBNativeShortsView : UIView
1402
+ - (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE;
1403
+ - (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE;
1404
+ /// :nodoc:
1405
+ - (void)removeFromSuperview;
1406
+ @end
1407
+
1408
+ @interface BBNativeShortsView (SWIFT_EXTENSION(BBNativePlayerKit)) <BbnativesharedEventListenerInterface>
1409
+ - (void)onEventEventType:(BbnativesharedEventName * _Nonnull)eventType data:(NSDictionary<NSString *, id> * _Nullable)data;
1410
+ @end
1411
+
1412
+ @interface BBNativeShortsView (SWIFT_EXTENSION(BBNativePlayerKit)) <BBNativePlayerViewDelegate>
1413
+ - (void)bbNativePlayerViewWithPlayerView:(BBNativePlayerView * _Nonnull)playerView didSetupWithJsonUrl:(NSString * _Nullable)url;
1414
+ @end
1415
+
1416
+ /// :nodoc:
1417
+ SWIFT_CLASS("_TtC17BBNativePlayerKit28BBNativeShortsViewController")
1418
+ @interface BBNativeShortsViewController : UIViewController
1419
+ - (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil SWIFT_UNAVAILABLE;
1420
+ - (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE;
1421
+ - (void)viewWillTransitionToSize:(CGSize)size withTransitionCoordinator:(id <UIViewControllerTransitionCoordinator> _Nonnull)coordinator;
1422
+ - (void)viewWillAppear:(BOOL)animated;
1423
+ - (void)viewDidAppear:(BOOL)animated;
1424
+ - (void)viewWillDisappear:(BOOL)animated;
1425
+ - (void)viewDidDisappear:(BOOL)animated;
1426
+ @property (nonatomic, readonly) BOOL shouldAutorotate;
1427
+ @property (nonatomic, readonly) UIInterfaceOrientationMask supportedInterfaceOrientations;
1428
+ @end
1429
+
1430
+ @interface BBNativeShortsViewController (SWIFT_EXTENSION(BBNativePlayerKit)) <BbnativesharedEventListenerInterface>
1431
+ - (void)onEventEventType:(BbnativesharedEventName * _Nonnull)eventType data:(NSDictionary<NSString *, id> * _Nullable)data;
1432
+ @end
1433
+
1434
+ @interface BBNativeShortsViewController (SWIFT_EXTENSION(BBNativePlayerKit)) <UIGestureRecognizerDelegate>
1435
+ - (BOOL)gestureRecognizer:(UIGestureRecognizer * _Nonnull)gestureRecognizer shouldRecognizeSimultaneouslyWithGestureRecognizer:(UIGestureRecognizer * _Nonnull)otherGestureRecognizer SWIFT_WARN_UNUSED_RESULT;
1436
+ - (BOOL)gestureRecognizer:(UIGestureRecognizer * _Nonnull)gestureRecognizer shouldReceiveTouch:(UITouch * _Nonnull)touch SWIFT_WARN_UNUSED_RESULT;
1437
+ @end
1438
+
1439
+ SWIFT_PROTOCOL("_TtP17BBNativePlayerKit26BBNativeShortsViewDelegate_")
1440
+ @protocol BBNativeShortsViewDelegate
1441
+ @optional
1442
+ /// View was setup with json
1443
+ /// \param shortsView UIView
1444
+ ///
1445
+ /// \param url String
1446
+ ///
1447
+ - (void)bbNativeShortsViewWithShortsView:(BBNativeShortsView * _Nonnull)shortsView didSetupWithJsonUrl:(NSString * _Nullable)url;
1448
+ /// Player embed failed
1449
+ /// \param shortsView UIView
1450
+ ///
1451
+ /// \param error String
1452
+ ///
1453
+ - (void)bbNativeShortsViewWithShortsView:(BBNativeShortsView * _Nonnull)shortsView didFailWithError:(NSString * _Nullable)error;
1454
+ /// The size of the view has changed
1455
+ /// \param shortsView UIView
1456
+ ///
1457
+ /// \param width Int
1458
+ ///
1459
+ /// \param height Int
1460
+ ///
1461
+ - (void)bbNativeShortsViewWithShortsView:(BBNativeShortsView * _Nonnull)shortsView didTriggerResize:(NSInteger)width height:(NSInteger)height;
1462
+ @end
1463
+
1464
+ @class GCKSessionManager;
1465
+ @class GCKSession;
1466
+ @class GCKCastSession;
1467
+ @class GCKRequest;
1468
+ @class GCKUIMiniMediaControlsViewController;
1469
+ @class GCKRemoteMediaClient;
1470
+ @class GCKMediaStatus;
1471
+ /// :nodoc:
1472
+ SWIFT_CLASS_NAMED("ChromeCastViewController")
1473
+ @interface MediaViewController : UIViewController <GCKLoggerDelegate, GCKRemoteMediaClientListener, GCKRequestDelegate, GCKSessionManagerListener, GCKUIMiniMediaControlsViewControllerDelegate>
1474
+ - (void)viewDidLoad;
1475
+ - (void)sessionManager:(GCKSessionManager * _Nonnull)_ willStartSession:(GCKSession * _Nonnull)session;
1476
+ - (void)sessionManager:(GCKSessionManager * _Nonnull)_ didStartSession:(GCKSession * _Nonnull)session;
1477
+ - (void)sessionManager:(GCKSessionManager * _Nonnull)_ didResumeSession:(GCKSession * _Nonnull)session;
1478
+ - (void)sessionManager:(GCKSessionManager * _Nonnull)_ didEndSession:(GCKSession * _Nonnull)_ withError:(NSError * _Nullable)error;
1479
+ - (void)sessionManager:(GCKSessionManager * _Nonnull)_ didStartCastSession:(GCKCastSession * _Nonnull)session;
1480
+ - (void)logMessage:(NSString * _Nonnull)message atLevel:(GCKLoggerLevel)level fromFunction:(NSString * _Nonnull)function location:(NSString * _Nonnull)location;
1481
+ - (void)requestDidComplete:(GCKRequest * _Nonnull)request;
1482
+ - (void)miniMediaControlsViewController:(GCKUIMiniMediaControlsViewController * _Nonnull)miniMediaControlsViewController shouldAppear:(BOOL)shouldAppear;
1483
+ - (void)remoteMediaClient:(GCKRemoteMediaClient * _Nonnull)_ didUpdateMediaStatus:(GCKMediaStatus * _Nullable)mediaStatus;
1484
+ - (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil OBJC_DESIGNATED_INITIALIZER;
1485
+ - (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER;
1486
+ @end
1487
+
1488
+ /// :nodoc:
1489
+ SWIFT_PROTOCOL("_TtP17BBNativePlayerKit32ChromeCastViewControllerDelegate_")
1490
+ @protocol ChromeCastViewControllerDelegate
1491
+ - (void)chromeCastViewControllerWithChromeCastViewController:(MediaViewController * _Nonnull)chromeCastViewController sessionStarted:(GCKSession * _Nonnull)session;
1492
+ - (void)chromeCastViewControllerWithChromeCastViewController:(MediaViewController * _Nonnull)chromeCastViewController sessionResumed:(GCKSession * _Nonnull)session;
1493
+ - (void)chromeCastViewControllerWithChromeCastViewController:(MediaViewController * _Nonnull)chromeCastViewController sessionEnded:(BOOL)resumeInAVPlayer withError:(NSError * _Nullable)withError;
1494
+ - (void)chromeCastViewControllerWithChromeCastViewController:(MediaViewController * _Nonnull)chromeCastViewController sessionFailedToStart:(NSError * _Nullable)withError;
1495
+ - (void)chromeCastViewControllerWithChromeCastViewController:(MediaViewController * _Nonnull)chromeCastViewController sessionFailedToResume:(NSError * _Nullable)withError;
1496
+ - (void)chromeCastViewControllerWithMediaStatusStarted:(MediaViewController * _Nonnull)chromeCastViewController sessionId:(NSString * _Nonnull)sessionId;
1497
+ - (void)chromeCastViewControllerWithMediaStatusFinished:(MediaViewController * _Nonnull)chromeCastViewController;
1498
+ - (void)chromeCastViewControllerWithMediaStatusError:(MediaViewController * _Nonnull)chromeCastViewController;
1499
+ - (void)chromeCastViewControllerWithMediaStatusPlaying:(MediaViewController * _Nonnull)chromeCastViewController;
1500
+ - (void)chromeCastViewControllerWithMediaStatusPaused:(MediaViewController * _Nonnull)chromeCastViewController;
1501
+ - (void)chromeCastViewControllerWithChromeCastViewController:(MediaViewController * _Nonnull)chromeCastViewController mediaProgress:(float)position;
1502
+ - (void)chromeCastViewControllerWithDidRequestDirectCast:(MediaViewController * _Nonnull)chromeCastViewController;
1503
+ @end
1504
+
1505
+ #endif
1506
+ #if __has_attribute(external_source_symbol)
1507
+ # pragma clang attribute pop
1508
+ #endif
1509
+ #if defined(__cplusplus)
1510
+ #endif
1511
+ #pragma clang diagnostic pop
1512
+ #endif
1513
+
1514
+ #else
1515
+ #error unsupported Swift architecture
1516
+ #endif