@shortkitsdk/react-native 0.2.30 → 0.2.31
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.
- package/android/libs/shortkit-release.aar +0 -0
- package/ios/ShortKitFeedView.swift +1 -12
- package/ios/ShortKitSDK.xcframework/ios-arm64/ShortKitSDK.framework/Info.plist +2 -2
- package/ios/ShortKitSDK.xcframework/ios-arm64/ShortKitSDK.framework/Modules/ShortKitSDK.swiftmodule/arm64-apple-ios.abi.json +4646 -954
- package/ios/ShortKitSDK.xcframework/ios-arm64/ShortKitSDK.framework/Modules/ShortKitSDK.swiftmodule/arm64-apple-ios.private.swiftinterface +76 -7
- package/ios/ShortKitSDK.xcframework/ios-arm64/ShortKitSDK.framework/Modules/ShortKitSDK.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/ios/ShortKitSDK.xcframework/ios-arm64/ShortKitSDK.framework/Modules/ShortKitSDK.swiftmodule/arm64-apple-ios.swiftinterface +76 -7
- package/ios/ShortKitSDK.xcframework/ios-arm64/ShortKitSDK.framework/ShortKitSDK +0 -0
- package/ios/ShortKitSDK.xcframework/ios-arm64/ShortKitSDK.framework/_CodeSignature/CodeResources +9 -9
- package/ios/ShortKitSDK.xcframework/ios-arm64_x86_64-simulator/ShortKitSDK.framework/Info.plist +2 -2
- package/ios/ShortKitSDK.xcframework/ios-arm64_x86_64-simulator/ShortKitSDK.framework/Modules/ShortKitSDK.swiftmodule/arm64-apple-ios-simulator.abi.json +4646 -954
- package/ios/ShortKitSDK.xcframework/ios-arm64_x86_64-simulator/ShortKitSDK.framework/Modules/ShortKitSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +76 -7
- package/ios/ShortKitSDK.xcframework/ios-arm64_x86_64-simulator/ShortKitSDK.framework/Modules/ShortKitSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/ShortKitSDK.xcframework/ios-arm64_x86_64-simulator/ShortKitSDK.framework/Modules/ShortKitSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface +76 -7
- package/ios/ShortKitSDK.xcframework/ios-arm64_x86_64-simulator/ShortKitSDK.framework/Modules/ShortKitSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +4646 -954
- package/ios/ShortKitSDK.xcframework/ios-arm64_x86_64-simulator/ShortKitSDK.framework/Modules/ShortKitSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +76 -7
- package/ios/ShortKitSDK.xcframework/ios-arm64_x86_64-simulator/ShortKitSDK.framework/Modules/ShortKitSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/ShortKitSDK.xcframework/ios-arm64_x86_64-simulator/ShortKitSDK.framework/Modules/ShortKitSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +76 -7
- package/ios/ShortKitSDK.xcframework/ios-arm64_x86_64-simulator/ShortKitSDK.framework/ShortKitSDK +0 -0
- package/ios/ShortKitSDK.xcframework/ios-arm64_x86_64-simulator/ShortKitSDK.framework/_CodeSignature/CodeResources +17 -17
- package/ios/ShortKitWidgetNativeView.swift +23 -0
- package/ios/ShortKitWidgetNativeViewManager.mm +1 -0
- package/package.json +1 -1
- package/src/ShortKitWidget.tsx +47 -2
- package/src/specs/NativeShortKitModule.ts +7 -0
- package/src/specs/ShortKitWidgetViewNativeComponent.ts +6 -0
- package/src/types.ts +11 -0
- package/ios/DebugPanelView.swift +0 -302
|
@@ -59,6 +59,7 @@ final public class BandwidthMonitor : ShortKitSDK.BandwidthMonitorProtocol {
|
|
|
59
59
|
final public let segmentCache: any ShortKitSDK.SegmentCacheProtocol
|
|
60
60
|
final public var segmentServer: ShortKitSDK.SegmentHTTPServer?
|
|
61
61
|
public init(segmentCache: any ShortKitSDK.SegmentCacheProtocol, session: Foundation.URLSession = .shared)
|
|
62
|
+
@objc deinit
|
|
62
63
|
final public var urlMapping: [Foundation.URL : Foundation.URL] {
|
|
63
64
|
get
|
|
64
65
|
}
|
|
@@ -73,7 +74,6 @@ final public class BandwidthMonitor : ShortKitSDK.BandwidthMonitorProtocol {
|
|
|
73
74
|
final public func cachedRendition(for videoID: Swift.String) -> Swift.String?
|
|
74
75
|
@objc final public func resourceLoader(_ resourceLoader: AVFoundation.AVAssetResourceLoader, shouldWaitForLoadingOfRequestedResource loadingRequest: AVFoundation.AVAssetResourceLoadingRequest) -> Swift.Bool
|
|
75
76
|
@objc final public func resourceLoader(_ resourceLoader: AVFoundation.AVAssetResourceLoader, didCancel loadingRequest: AVFoundation.AVAssetResourceLoadingRequest)
|
|
76
|
-
@objc deinit
|
|
77
77
|
}
|
|
78
78
|
public protocol ColdStartManagerProtocol : Swift.Sendable {
|
|
79
79
|
func cachedFeedItems() -> [ShortKitSDK.FeedItem]
|
|
@@ -152,15 +152,11 @@ final public class SegmentHTTPServer {
|
|
|
152
152
|
}
|
|
153
153
|
public protocol SegmentPrefetcherProtocol : AnyObject {
|
|
154
154
|
func updateCurrentIndex(_ index: Swift.Int, feedItems: [ShortKitSDK.FeedItem])
|
|
155
|
-
func pause()
|
|
156
|
-
func resume()
|
|
157
155
|
}
|
|
158
|
-
final public class SegmentPrefetcher : ShortKitSDK.SegmentPrefetcherProtocol {
|
|
156
|
+
@_hasMissingDesignatedInitializers final public class SegmentPrefetcher : ShortKitSDK.SegmentPrefetcherProtocol {
|
|
159
157
|
public init(cache: any ShortKitSDK.SegmentCacheProtocol, monitor: any ShortKitSDK.BandwidthMonitorProtocol, session: Foundation.URLSession? = nil, targetRenditionHeight: Swift.Int = 720, maxCachedVideos: Swift.Int = 7)
|
|
160
|
-
final public func updateCurrentIndex(_ index: Swift.Int, feedItems: [ShortKitSDK.FeedItem])
|
|
161
|
-
final public func pause()
|
|
162
|
-
final public func resume()
|
|
163
158
|
@objc deinit
|
|
159
|
+
final public func updateCurrentIndex(_ index: Swift.Int, feedItems: [ShortKitSDK.FeedItem])
|
|
164
160
|
}
|
|
165
161
|
public struct CarouselCompletionEvent : Swift.Equatable, Swift.Sendable {
|
|
166
162
|
public let contentItem: ShortKitSDK.ContentItem
|
|
@@ -343,8 +339,46 @@ extension ShortKitSDK.LiveOverlayMode : Swift.Codable {
|
|
|
343
339
|
public init(from decoder: any Swift.Decoder) throws
|
|
344
340
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
345
341
|
}
|
|
342
|
+
public struct DebugAlert {
|
|
343
|
+
public enum Level {
|
|
344
|
+
case warning
|
|
345
|
+
public static func == (a: ShortKitSDK.DebugAlert.Level, b: ShortKitSDK.DebugAlert.Level) -> Swift.Bool
|
|
346
|
+
public func hash(into hasher: inout Swift.Hasher)
|
|
347
|
+
public var hashValue: Swift.Int {
|
|
348
|
+
get
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
public let level: ShortKitSDK.DebugAlert.Level
|
|
352
|
+
public let compactLabel: Swift.String
|
|
353
|
+
public let priority: Swift.Int
|
|
354
|
+
public init(level: ShortKitSDK.DebugAlert.Level, compactLabel: Swift.String, priority: Swift.Int)
|
|
355
|
+
}
|
|
356
|
+
public enum DebugAlerts {
|
|
357
|
+
public static func compute(_ m: ShortKitSDK.DebugMetrics) -> [ShortKitSDK.DebugAlert]
|
|
358
|
+
}
|
|
359
|
+
public enum DebugItemStatus {
|
|
360
|
+
case unknown
|
|
361
|
+
case readyToPlay
|
|
362
|
+
case failed
|
|
363
|
+
public static func == (a: ShortKitSDK.DebugItemStatus, b: ShortKitSDK.DebugItemStatus) -> Swift.Bool
|
|
364
|
+
public func hash(into hasher: inout Swift.Hasher)
|
|
365
|
+
public var hashValue: Swift.Int {
|
|
366
|
+
get
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
public enum DebugTimeControl {
|
|
370
|
+
case paused
|
|
371
|
+
case waitingToPlayAtSpecifiedRate
|
|
372
|
+
case playing
|
|
373
|
+
public static func == (a: ShortKitSDK.DebugTimeControl, b: ShortKitSDK.DebugTimeControl) -> Swift.Bool
|
|
374
|
+
public func hash(into hasher: inout Swift.Hasher)
|
|
375
|
+
public var hashValue: Swift.Int {
|
|
376
|
+
get
|
|
377
|
+
}
|
|
378
|
+
}
|
|
346
379
|
public struct DebugMetrics {
|
|
347
380
|
public var contentId: Swift.String?
|
|
381
|
+
public var playbackId: Swift.String?
|
|
348
382
|
public var feedIndex: Swift.Int
|
|
349
383
|
public var playerState: ShortKitSDK.PlayerState
|
|
350
384
|
public var intentToFrameMs: Swift.Int?
|
|
@@ -366,8 +400,35 @@ public struct DebugMetrics {
|
|
|
366
400
|
public var thumbnailVisible: Swift.Bool
|
|
367
401
|
public var thumbsCachedAhead: Swift.Int
|
|
368
402
|
public var metadataAhead: Swift.Int
|
|
403
|
+
public var itemStatus: ShortKitSDK.DebugItemStatus
|
|
404
|
+
public var playerErrorDescription: Swift.String?
|
|
405
|
+
public var failedItemUrl: Swift.String?
|
|
406
|
+
public var timeControlStatus: ShortKitSDK.DebugTimeControl
|
|
407
|
+
public var waitingReason: Swift.String?
|
|
408
|
+
public var hasCurrentItem: Swift.Bool
|
|
409
|
+
public var hasPlayerLayer: Swift.Bool?
|
|
410
|
+
public var isPlaybackBufferEmpty: Swift.Bool
|
|
411
|
+
public var isPlaybackLikelyToKeepUp: Swift.Bool
|
|
412
|
+
public var isPlaybackBufferFull: Swift.Bool
|
|
413
|
+
public var loadedTimeRangesCount: Swift.Int
|
|
414
|
+
public var loadedTimeRangesEnd: Swift.Double
|
|
415
|
+
public var poolSlotName: Swift.String?
|
|
416
|
+
public var poolReservedIndex: Swift.Int?
|
|
417
|
+
public var segmentServerPort: Swift.UInt16?
|
|
369
418
|
public init(contentId: Swift.String? = nil)
|
|
370
419
|
}
|
|
420
|
+
@objc @_inheritsConvenienceInitializers @_Concurrency.MainActor @preconcurrency final public class DebugPanelView : UIKit.UIView {
|
|
421
|
+
@_Concurrency.MainActor @preconcurrency public static let panelWidth: CoreFoundation.CGFloat
|
|
422
|
+
@_Concurrency.MainActor @preconcurrency public static let panelHeight: CoreFoundation.CGFloat
|
|
423
|
+
@_Concurrency.MainActor @preconcurrency public static let adjacentExpandedHeight: CoreFoundation.CGFloat
|
|
424
|
+
@_Concurrency.MainActor @preconcurrency public static let diagnosticsExpandedHeight: CoreFoundation.CGFloat
|
|
425
|
+
@_Concurrency.MainActor @preconcurrency public static let expandedExtraHeight: CoreFoundation.CGFloat
|
|
426
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public init(frame: CoreFoundation.CGRect)
|
|
427
|
+
@_Concurrency.MainActor @preconcurrency @objc required dynamic public init?(coder: Foundation.NSCoder)
|
|
428
|
+
@_Concurrency.MainActor @preconcurrency final public func subscribe(to subject: Combine.CurrentValueSubject<ShortKitSDK.DebugMetrics, Swift.Never>)
|
|
429
|
+
@_Concurrency.MainActor @preconcurrency final public func subscribeAdjacent(prev: Combine.CurrentValueSubject<ShortKitSDK.DebugMetrics, Swift.Never>, next: Combine.CurrentValueSubject<ShortKitSDK.DebugMetrics, Swift.Never>)
|
|
430
|
+
@objc deinit
|
|
431
|
+
}
|
|
371
432
|
public enum SwipeCurve : Swift.Int, Swift.CaseIterable {
|
|
372
433
|
case quarticOut
|
|
373
434
|
case quinticOut
|
|
@@ -1098,6 +1159,7 @@ final public class ShortKit {
|
|
|
1098
1159
|
final public let player: ShortKitSDK.ShortKitPlayer
|
|
1099
1160
|
final public let carousel: ShortKitSDK.ShortKitCarousel
|
|
1100
1161
|
final public let debugPanelEnabled: Swift.Bool
|
|
1162
|
+
public static let defaultDebugPanelFactory: (_ active: Combine.CurrentValueSubject<ShortKitSDK.DebugMetrics, Swift.Never>, _ prev: Combine.CurrentValueSubject<ShortKitSDK.DebugMetrics, Swift.Never>, _ next: Combine.CurrentValueSubject<ShortKitSDK.DebugMetrics, Swift.Never>) -> UIKit.UIView
|
|
1101
1163
|
weak final public var delegate: (any ShortKitSDK.ShortKitDelegate)?
|
|
1102
1164
|
weak final public var downloadDelegate: (any ShortKitSDK.ShortKitDownloadDelegate)?
|
|
1103
1165
|
final public var loadingViewProvider: (() -> UIKit.UIView)?
|
|
@@ -1159,6 +1221,7 @@ extension ShortKitSDK.ShortKitPlayerViewController : UIKit.UIViewControllerTrans
|
|
|
1159
1221
|
}
|
|
1160
1222
|
@objc @_hasMissingDesignatedInitializers @_Concurrency.MainActor @preconcurrency final public class ShortKitWidgetViewController : UIKit.UIViewController {
|
|
1161
1223
|
@_Concurrency.MainActor @preconcurrency final public var feedMask: ShortKitSDK.FeedMaskMode
|
|
1224
|
+
@_Concurrency.MainActor @preconcurrency final public var onCardTap: ((Swift.String, Swift.Int) -> Swift.Void)?
|
|
1162
1225
|
@_Concurrency.MainActor @preconcurrency public init(shortKit: ShortKitSDK.ShortKit, config: ShortKitSDK.WidgetConfig, items: [ShortKitSDK.WidgetInput] = [])
|
|
1163
1226
|
@_Concurrency.MainActor @preconcurrency final public func configure(with inputs: [ShortKitSDK.WidgetInput])
|
|
1164
1227
|
@_Concurrency.MainActor @preconcurrency @objc override final public func viewDidLoad()
|
|
@@ -1202,6 +1265,12 @@ extension ShortKitSDK.ScrollAxis : Swift.Hashable {}
|
|
|
1202
1265
|
extension ShortKitSDK.ScrollAxis : Swift.RawRepresentable {}
|
|
1203
1266
|
extension ShortKitSDK.FeedSource : Swift.Hashable {}
|
|
1204
1267
|
extension ShortKitSDK.FeedSource : Swift.RawRepresentable {}
|
|
1268
|
+
extension ShortKitSDK.DebugAlert.Level : Swift.Equatable {}
|
|
1269
|
+
extension ShortKitSDK.DebugAlert.Level : Swift.Hashable {}
|
|
1270
|
+
extension ShortKitSDK.DebugItemStatus : Swift.Equatable {}
|
|
1271
|
+
extension ShortKitSDK.DebugItemStatus : Swift.Hashable {}
|
|
1272
|
+
extension ShortKitSDK.DebugTimeControl : Swift.Equatable {}
|
|
1273
|
+
extension ShortKitSDK.DebugTimeControl : Swift.Hashable {}
|
|
1205
1274
|
extension ShortKitSDK.SwipeCurve : Swift.Equatable {}
|
|
1206
1275
|
extension ShortKitSDK.SwipeCurve : Swift.Hashable {}
|
|
1207
1276
|
extension ShortKitSDK.SwipeCurve : Swift.RawRepresentable {}
|
|
Binary file
|
|
@@ -59,6 +59,7 @@ final public class BandwidthMonitor : ShortKitSDK.BandwidthMonitorProtocol {
|
|
|
59
59
|
final public let segmentCache: any ShortKitSDK.SegmentCacheProtocol
|
|
60
60
|
final public var segmentServer: ShortKitSDK.SegmentHTTPServer?
|
|
61
61
|
public init(segmentCache: any ShortKitSDK.SegmentCacheProtocol, session: Foundation.URLSession = .shared)
|
|
62
|
+
@objc deinit
|
|
62
63
|
final public var urlMapping: [Foundation.URL : Foundation.URL] {
|
|
63
64
|
get
|
|
64
65
|
}
|
|
@@ -73,7 +74,6 @@ final public class BandwidthMonitor : ShortKitSDK.BandwidthMonitorProtocol {
|
|
|
73
74
|
final public func cachedRendition(for videoID: Swift.String) -> Swift.String?
|
|
74
75
|
@objc final public func resourceLoader(_ resourceLoader: AVFoundation.AVAssetResourceLoader, shouldWaitForLoadingOfRequestedResource loadingRequest: AVFoundation.AVAssetResourceLoadingRequest) -> Swift.Bool
|
|
75
76
|
@objc final public func resourceLoader(_ resourceLoader: AVFoundation.AVAssetResourceLoader, didCancel loadingRequest: AVFoundation.AVAssetResourceLoadingRequest)
|
|
76
|
-
@objc deinit
|
|
77
77
|
}
|
|
78
78
|
public protocol ColdStartManagerProtocol : Swift.Sendable {
|
|
79
79
|
func cachedFeedItems() -> [ShortKitSDK.FeedItem]
|
|
@@ -152,15 +152,11 @@ final public class SegmentHTTPServer {
|
|
|
152
152
|
}
|
|
153
153
|
public protocol SegmentPrefetcherProtocol : AnyObject {
|
|
154
154
|
func updateCurrentIndex(_ index: Swift.Int, feedItems: [ShortKitSDK.FeedItem])
|
|
155
|
-
func pause()
|
|
156
|
-
func resume()
|
|
157
155
|
}
|
|
158
|
-
final public class SegmentPrefetcher : ShortKitSDK.SegmentPrefetcherProtocol {
|
|
156
|
+
@_hasMissingDesignatedInitializers final public class SegmentPrefetcher : ShortKitSDK.SegmentPrefetcherProtocol {
|
|
159
157
|
public init(cache: any ShortKitSDK.SegmentCacheProtocol, monitor: any ShortKitSDK.BandwidthMonitorProtocol, session: Foundation.URLSession? = nil, targetRenditionHeight: Swift.Int = 720, maxCachedVideos: Swift.Int = 7)
|
|
160
|
-
final public func updateCurrentIndex(_ index: Swift.Int, feedItems: [ShortKitSDK.FeedItem])
|
|
161
|
-
final public func pause()
|
|
162
|
-
final public func resume()
|
|
163
158
|
@objc deinit
|
|
159
|
+
final public func updateCurrentIndex(_ index: Swift.Int, feedItems: [ShortKitSDK.FeedItem])
|
|
164
160
|
}
|
|
165
161
|
public struct CarouselCompletionEvent : Swift.Equatable, Swift.Sendable {
|
|
166
162
|
public let contentItem: ShortKitSDK.ContentItem
|
|
@@ -343,8 +339,46 @@ extension ShortKitSDK.LiveOverlayMode : Swift.Codable {
|
|
|
343
339
|
public init(from decoder: any Swift.Decoder) throws
|
|
344
340
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
345
341
|
}
|
|
342
|
+
public struct DebugAlert {
|
|
343
|
+
public enum Level {
|
|
344
|
+
case warning
|
|
345
|
+
public static func == (a: ShortKitSDK.DebugAlert.Level, b: ShortKitSDK.DebugAlert.Level) -> Swift.Bool
|
|
346
|
+
public func hash(into hasher: inout Swift.Hasher)
|
|
347
|
+
public var hashValue: Swift.Int {
|
|
348
|
+
get
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
public let level: ShortKitSDK.DebugAlert.Level
|
|
352
|
+
public let compactLabel: Swift.String
|
|
353
|
+
public let priority: Swift.Int
|
|
354
|
+
public init(level: ShortKitSDK.DebugAlert.Level, compactLabel: Swift.String, priority: Swift.Int)
|
|
355
|
+
}
|
|
356
|
+
public enum DebugAlerts {
|
|
357
|
+
public static func compute(_ m: ShortKitSDK.DebugMetrics) -> [ShortKitSDK.DebugAlert]
|
|
358
|
+
}
|
|
359
|
+
public enum DebugItemStatus {
|
|
360
|
+
case unknown
|
|
361
|
+
case readyToPlay
|
|
362
|
+
case failed
|
|
363
|
+
public static func == (a: ShortKitSDK.DebugItemStatus, b: ShortKitSDK.DebugItemStatus) -> Swift.Bool
|
|
364
|
+
public func hash(into hasher: inout Swift.Hasher)
|
|
365
|
+
public var hashValue: Swift.Int {
|
|
366
|
+
get
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
public enum DebugTimeControl {
|
|
370
|
+
case paused
|
|
371
|
+
case waitingToPlayAtSpecifiedRate
|
|
372
|
+
case playing
|
|
373
|
+
public static func == (a: ShortKitSDK.DebugTimeControl, b: ShortKitSDK.DebugTimeControl) -> Swift.Bool
|
|
374
|
+
public func hash(into hasher: inout Swift.Hasher)
|
|
375
|
+
public var hashValue: Swift.Int {
|
|
376
|
+
get
|
|
377
|
+
}
|
|
378
|
+
}
|
|
346
379
|
public struct DebugMetrics {
|
|
347
380
|
public var contentId: Swift.String?
|
|
381
|
+
public var playbackId: Swift.String?
|
|
348
382
|
public var feedIndex: Swift.Int
|
|
349
383
|
public var playerState: ShortKitSDK.PlayerState
|
|
350
384
|
public var intentToFrameMs: Swift.Int?
|
|
@@ -366,8 +400,35 @@ public struct DebugMetrics {
|
|
|
366
400
|
public var thumbnailVisible: Swift.Bool
|
|
367
401
|
public var thumbsCachedAhead: Swift.Int
|
|
368
402
|
public var metadataAhead: Swift.Int
|
|
403
|
+
public var itemStatus: ShortKitSDK.DebugItemStatus
|
|
404
|
+
public var playerErrorDescription: Swift.String?
|
|
405
|
+
public var failedItemUrl: Swift.String?
|
|
406
|
+
public var timeControlStatus: ShortKitSDK.DebugTimeControl
|
|
407
|
+
public var waitingReason: Swift.String?
|
|
408
|
+
public var hasCurrentItem: Swift.Bool
|
|
409
|
+
public var hasPlayerLayer: Swift.Bool?
|
|
410
|
+
public var isPlaybackBufferEmpty: Swift.Bool
|
|
411
|
+
public var isPlaybackLikelyToKeepUp: Swift.Bool
|
|
412
|
+
public var isPlaybackBufferFull: Swift.Bool
|
|
413
|
+
public var loadedTimeRangesCount: Swift.Int
|
|
414
|
+
public var loadedTimeRangesEnd: Swift.Double
|
|
415
|
+
public var poolSlotName: Swift.String?
|
|
416
|
+
public var poolReservedIndex: Swift.Int?
|
|
417
|
+
public var segmentServerPort: Swift.UInt16?
|
|
369
418
|
public init(contentId: Swift.String? = nil)
|
|
370
419
|
}
|
|
420
|
+
@objc @_inheritsConvenienceInitializers @_Concurrency.MainActor @preconcurrency final public class DebugPanelView : UIKit.UIView {
|
|
421
|
+
@_Concurrency.MainActor @preconcurrency public static let panelWidth: CoreFoundation.CGFloat
|
|
422
|
+
@_Concurrency.MainActor @preconcurrency public static let panelHeight: CoreFoundation.CGFloat
|
|
423
|
+
@_Concurrency.MainActor @preconcurrency public static let adjacentExpandedHeight: CoreFoundation.CGFloat
|
|
424
|
+
@_Concurrency.MainActor @preconcurrency public static let diagnosticsExpandedHeight: CoreFoundation.CGFloat
|
|
425
|
+
@_Concurrency.MainActor @preconcurrency public static let expandedExtraHeight: CoreFoundation.CGFloat
|
|
426
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public init(frame: CoreFoundation.CGRect)
|
|
427
|
+
@_Concurrency.MainActor @preconcurrency @objc required dynamic public init?(coder: Foundation.NSCoder)
|
|
428
|
+
@_Concurrency.MainActor @preconcurrency final public func subscribe(to subject: Combine.CurrentValueSubject<ShortKitSDK.DebugMetrics, Swift.Never>)
|
|
429
|
+
@_Concurrency.MainActor @preconcurrency final public func subscribeAdjacent(prev: Combine.CurrentValueSubject<ShortKitSDK.DebugMetrics, Swift.Never>, next: Combine.CurrentValueSubject<ShortKitSDK.DebugMetrics, Swift.Never>)
|
|
430
|
+
@objc deinit
|
|
431
|
+
}
|
|
371
432
|
public enum SwipeCurve : Swift.Int, Swift.CaseIterable {
|
|
372
433
|
case quarticOut
|
|
373
434
|
case quinticOut
|
|
@@ -1098,6 +1159,7 @@ final public class ShortKit {
|
|
|
1098
1159
|
final public let player: ShortKitSDK.ShortKitPlayer
|
|
1099
1160
|
final public let carousel: ShortKitSDK.ShortKitCarousel
|
|
1100
1161
|
final public let debugPanelEnabled: Swift.Bool
|
|
1162
|
+
public static let defaultDebugPanelFactory: (_ active: Combine.CurrentValueSubject<ShortKitSDK.DebugMetrics, Swift.Never>, _ prev: Combine.CurrentValueSubject<ShortKitSDK.DebugMetrics, Swift.Never>, _ next: Combine.CurrentValueSubject<ShortKitSDK.DebugMetrics, Swift.Never>) -> UIKit.UIView
|
|
1101
1163
|
weak final public var delegate: (any ShortKitSDK.ShortKitDelegate)?
|
|
1102
1164
|
weak final public var downloadDelegate: (any ShortKitSDK.ShortKitDownloadDelegate)?
|
|
1103
1165
|
final public var loadingViewProvider: (() -> UIKit.UIView)?
|
|
@@ -1159,6 +1221,7 @@ extension ShortKitSDK.ShortKitPlayerViewController : UIKit.UIViewControllerTrans
|
|
|
1159
1221
|
}
|
|
1160
1222
|
@objc @_hasMissingDesignatedInitializers @_Concurrency.MainActor @preconcurrency final public class ShortKitWidgetViewController : UIKit.UIViewController {
|
|
1161
1223
|
@_Concurrency.MainActor @preconcurrency final public var feedMask: ShortKitSDK.FeedMaskMode
|
|
1224
|
+
@_Concurrency.MainActor @preconcurrency final public var onCardTap: ((Swift.String, Swift.Int) -> Swift.Void)?
|
|
1162
1225
|
@_Concurrency.MainActor @preconcurrency public init(shortKit: ShortKitSDK.ShortKit, config: ShortKitSDK.WidgetConfig, items: [ShortKitSDK.WidgetInput] = [])
|
|
1163
1226
|
@_Concurrency.MainActor @preconcurrency final public func configure(with inputs: [ShortKitSDK.WidgetInput])
|
|
1164
1227
|
@_Concurrency.MainActor @preconcurrency @objc override final public func viewDidLoad()
|
|
@@ -1202,6 +1265,12 @@ extension ShortKitSDK.ScrollAxis : Swift.Hashable {}
|
|
|
1202
1265
|
extension ShortKitSDK.ScrollAxis : Swift.RawRepresentable {}
|
|
1203
1266
|
extension ShortKitSDK.FeedSource : Swift.Hashable {}
|
|
1204
1267
|
extension ShortKitSDK.FeedSource : Swift.RawRepresentable {}
|
|
1268
|
+
extension ShortKitSDK.DebugAlert.Level : Swift.Equatable {}
|
|
1269
|
+
extension ShortKitSDK.DebugAlert.Level : Swift.Hashable {}
|
|
1270
|
+
extension ShortKitSDK.DebugItemStatus : Swift.Equatable {}
|
|
1271
|
+
extension ShortKitSDK.DebugItemStatus : Swift.Hashable {}
|
|
1272
|
+
extension ShortKitSDK.DebugTimeControl : Swift.Equatable {}
|
|
1273
|
+
extension ShortKitSDK.DebugTimeControl : Swift.Hashable {}
|
|
1205
1274
|
extension ShortKitSDK.SwipeCurve : Swift.Equatable {}
|
|
1206
1275
|
extension ShortKitSDK.SwipeCurve : Swift.Hashable {}
|
|
1207
1276
|
extension ShortKitSDK.SwipeCurve : Swift.RawRepresentable {}
|