@shortkitsdk/react-native 0.2.48 → 0.2.50
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/ShortKitSDK.xcframework/Info.plist +5 -5
- 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 +112 -682
- package/ios/ShortKitSDK.xcframework/ios-arm64/ShortKitSDK.framework/Modules/ShortKitSDK.swiftmodule/arm64-apple-ios.private.swiftinterface +3 -18
- 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 +3 -18
- 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 +112 -682
- package/ios/ShortKitSDK.xcframework/ios-arm64_x86_64-simulator/ShortKitSDK.framework/Modules/ShortKitSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +3 -18
- 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 +3 -18
- package/ios/ShortKitSDK.xcframework/ios-arm64_x86_64-simulator/ShortKitSDK.framework/Modules/ShortKitSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +112 -682
- package/ios/ShortKitSDK.xcframework/ios-arm64_x86_64-simulator/ShortKitSDK.framework/Modules/ShortKitSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +3 -18
- 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 +3 -18
- 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/package.json +1 -1
|
@@ -5,9 +5,6 @@
|
|
|
5
5
|
import AVFoundation
|
|
6
6
|
import Combine
|
|
7
7
|
import CoreGraphics
|
|
8
|
-
import CoreImage
|
|
9
|
-
import CoreMedia
|
|
10
|
-
import CoreVideo
|
|
11
8
|
import Foundation
|
|
12
9
|
import Network
|
|
13
10
|
import QuartzCore
|
|
@@ -480,8 +477,6 @@ extension ShortKitSDK.ShortKitDelegate {
|
|
|
480
477
|
}
|
|
481
478
|
public enum DownloadPhase : Swift.String, Swift.Sendable {
|
|
482
479
|
case downloading
|
|
483
|
-
case compositing
|
|
484
|
-
case finalizing
|
|
485
480
|
public init?(rawValue: Swift.String)
|
|
486
481
|
public typealias RawValue = Swift.String
|
|
487
482
|
public var rawValue: Swift.String {
|
|
@@ -511,23 +506,12 @@ public enum DownloadMode {
|
|
|
511
506
|
get
|
|
512
507
|
}
|
|
513
508
|
}
|
|
514
|
-
public enum DownloadOverlayMode {
|
|
515
|
-
case none
|
|
516
|
-
case staticSnapshot(source: any UIKit.UIView & ShortKitSDK.FeedOverlay)
|
|
517
|
-
}
|
|
518
|
-
public protocol ExportableFeedOverlay : AnyObject {
|
|
519
|
-
func prepareForExport(duration: Foundation.TimeInterval, size: CoreFoundation.CGSize) async
|
|
520
|
-
func snapshotAtTime(_ time: Foundation.TimeInterval) async -> UIKit.UIImage?
|
|
521
|
-
func tearDownAfterExport()
|
|
522
|
-
}
|
|
523
509
|
public enum ShortKitDownloadError : Swift.Error, Foundation.LocalizedError {
|
|
524
510
|
case downloadNotAvailable
|
|
525
511
|
case downloadInProgress
|
|
526
512
|
case networkError(any Swift.Error)
|
|
527
513
|
case httpError(statusCode: Swift.Int)
|
|
528
514
|
case cancelled
|
|
529
|
-
case exportFailed(underlying: any Swift.Error)
|
|
530
|
-
case overlayNotVisibleForSnapshot
|
|
531
515
|
public var errorDescription: Swift.String? {
|
|
532
516
|
get
|
|
533
517
|
}
|
|
@@ -710,6 +694,7 @@ public enum LiveStreamStatus : Swift.String, Swift.Codable, Swift.Equatable, Swi
|
|
|
710
694
|
case idle
|
|
711
695
|
case active
|
|
712
696
|
case ended
|
|
697
|
+
case dvr
|
|
713
698
|
public init?(rawValue: Swift.String)
|
|
714
699
|
public typealias RawValue = Swift.String
|
|
715
700
|
public var rawValue: Swift.String {
|
|
@@ -763,7 +748,6 @@ public enum FeedInput : Swift.Sendable {
|
|
|
763
748
|
case liveStream(playbackId: Swift.String)
|
|
764
749
|
case imageCarousel(ShortKitSDK.ImageCarouselItem)
|
|
765
750
|
case videoCarousel(ShortKitSDK.VideoCarouselInput)
|
|
766
|
-
case videoCarouselItem(ShortKitSDK.VideoCarouselItem)
|
|
767
751
|
}
|
|
768
752
|
public enum FeedItem : Swift.Sendable {
|
|
769
753
|
case content(ShortKitSDK.ContentItem)
|
|
@@ -1189,6 +1173,7 @@ public enum ContentSignal : Swift.Equatable, Swift.Sendable {
|
|
|
1189
1173
|
final public func selectCaptionTrack(language: Swift.String)
|
|
1190
1174
|
final public func setFeedScrollEnabled(_ enabled: Swift.Bool)
|
|
1191
1175
|
final public func dismissLiveRoom()
|
|
1176
|
+
final public func downloadCurrentItem(mode: ShortKitSDK.DownloadMode = .nonInterruptive) async throws -> Foundation.URL
|
|
1192
1177
|
final public func seekThumbnail(at time: Swift.Double) -> UIKit.UIImage?
|
|
1193
1178
|
@objc deinit
|
|
1194
1179
|
}
|
|
@@ -1243,7 +1228,7 @@ final public class ShortKit {
|
|
|
1243
1228
|
final public func clearUserId()
|
|
1244
1229
|
@_Concurrency.MainActor final public func setColdStartQueue(_ items: [ShortKitSDK.FeedInput])
|
|
1245
1230
|
final public func clearColdStartCache()
|
|
1246
|
-
final public func downloadVideo(_ item: ShortKitSDK.ContentItem, mode: ShortKitSDK.DownloadMode = .nonInterruptive
|
|
1231
|
+
final public func downloadVideo(_ item: ShortKitSDK.ContentItem, mode: ShortKitSDK.DownloadMode = .nonInterruptive) async throws -> Foundation.URL
|
|
1247
1232
|
final public func cancelDownload()
|
|
1248
1233
|
@objc deinit
|
|
1249
1234
|
}
|
|
Binary file
|
|
@@ -5,9 +5,6 @@
|
|
|
5
5
|
import AVFoundation
|
|
6
6
|
import Combine
|
|
7
7
|
import CoreGraphics
|
|
8
|
-
import CoreImage
|
|
9
|
-
import CoreMedia
|
|
10
|
-
import CoreVideo
|
|
11
8
|
import Foundation
|
|
12
9
|
import Network
|
|
13
10
|
import QuartzCore
|
|
@@ -480,8 +477,6 @@ extension ShortKitSDK.ShortKitDelegate {
|
|
|
480
477
|
}
|
|
481
478
|
public enum DownloadPhase : Swift.String, Swift.Sendable {
|
|
482
479
|
case downloading
|
|
483
|
-
case compositing
|
|
484
|
-
case finalizing
|
|
485
480
|
public init?(rawValue: Swift.String)
|
|
486
481
|
public typealias RawValue = Swift.String
|
|
487
482
|
public var rawValue: Swift.String {
|
|
@@ -511,23 +506,12 @@ public enum DownloadMode {
|
|
|
511
506
|
get
|
|
512
507
|
}
|
|
513
508
|
}
|
|
514
|
-
public enum DownloadOverlayMode {
|
|
515
|
-
case none
|
|
516
|
-
case staticSnapshot(source: any UIKit.UIView & ShortKitSDK.FeedOverlay)
|
|
517
|
-
}
|
|
518
|
-
public protocol ExportableFeedOverlay : AnyObject {
|
|
519
|
-
func prepareForExport(duration: Foundation.TimeInterval, size: CoreFoundation.CGSize) async
|
|
520
|
-
func snapshotAtTime(_ time: Foundation.TimeInterval) async -> UIKit.UIImage?
|
|
521
|
-
func tearDownAfterExport()
|
|
522
|
-
}
|
|
523
509
|
public enum ShortKitDownloadError : Swift.Error, Foundation.LocalizedError {
|
|
524
510
|
case downloadNotAvailable
|
|
525
511
|
case downloadInProgress
|
|
526
512
|
case networkError(any Swift.Error)
|
|
527
513
|
case httpError(statusCode: Swift.Int)
|
|
528
514
|
case cancelled
|
|
529
|
-
case exportFailed(underlying: any Swift.Error)
|
|
530
|
-
case overlayNotVisibleForSnapshot
|
|
531
515
|
public var errorDescription: Swift.String? {
|
|
532
516
|
get
|
|
533
517
|
}
|
|
@@ -710,6 +694,7 @@ public enum LiveStreamStatus : Swift.String, Swift.Codable, Swift.Equatable, Swi
|
|
|
710
694
|
case idle
|
|
711
695
|
case active
|
|
712
696
|
case ended
|
|
697
|
+
case dvr
|
|
713
698
|
public init?(rawValue: Swift.String)
|
|
714
699
|
public typealias RawValue = Swift.String
|
|
715
700
|
public var rawValue: Swift.String {
|
|
@@ -763,7 +748,6 @@ public enum FeedInput : Swift.Sendable {
|
|
|
763
748
|
case liveStream(playbackId: Swift.String)
|
|
764
749
|
case imageCarousel(ShortKitSDK.ImageCarouselItem)
|
|
765
750
|
case videoCarousel(ShortKitSDK.VideoCarouselInput)
|
|
766
|
-
case videoCarouselItem(ShortKitSDK.VideoCarouselItem)
|
|
767
751
|
}
|
|
768
752
|
public enum FeedItem : Swift.Sendable {
|
|
769
753
|
case content(ShortKitSDK.ContentItem)
|
|
@@ -1189,6 +1173,7 @@ public enum ContentSignal : Swift.Equatable, Swift.Sendable {
|
|
|
1189
1173
|
final public func selectCaptionTrack(language: Swift.String)
|
|
1190
1174
|
final public func setFeedScrollEnabled(_ enabled: Swift.Bool)
|
|
1191
1175
|
final public func dismissLiveRoom()
|
|
1176
|
+
final public func downloadCurrentItem(mode: ShortKitSDK.DownloadMode = .nonInterruptive) async throws -> Foundation.URL
|
|
1192
1177
|
final public func seekThumbnail(at time: Swift.Double) -> UIKit.UIImage?
|
|
1193
1178
|
@objc deinit
|
|
1194
1179
|
}
|
|
@@ -1243,7 +1228,7 @@ final public class ShortKit {
|
|
|
1243
1228
|
final public func clearUserId()
|
|
1244
1229
|
@_Concurrency.MainActor final public func setColdStartQueue(_ items: [ShortKitSDK.FeedInput])
|
|
1245
1230
|
final public func clearColdStartCache()
|
|
1246
|
-
final public func downloadVideo(_ item: ShortKitSDK.ContentItem, mode: ShortKitSDK.DownloadMode = .nonInterruptive
|
|
1231
|
+
final public func downloadVideo(_ item: ShortKitSDK.ContentItem, mode: ShortKitSDK.DownloadMode = .nonInterruptive) async throws -> Foundation.URL
|
|
1247
1232
|
final public func cancelDownload()
|
|
1248
1233
|
@objc deinit
|
|
1249
1234
|
}
|