Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| affc334c65 | |||
| 32e26138f9 | |||
| 23a9ea0820 | |||
| 28534ab6aa | |||
| 11c95a7569 | |||
| 7a2ba658eb |
@ -4,23 +4,6 @@
|
||||
<dict>
|
||||
<key>AvailableLibraries</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>BinaryPath</key>
|
||||
<string>M2Kit.framework/M2Kit</string>
|
||||
<key>LibraryIdentifier</key>
|
||||
<string>ios-arm64_x86_64-simulator</string>
|
||||
<key>LibraryPath</key>
|
||||
<string>M2Kit.framework</string>
|
||||
<key>SupportedArchitectures</key>
|
||||
<array>
|
||||
<string>arm64</string>
|
||||
<string>x86_64</string>
|
||||
</array>
|
||||
<key>SupportedPlatform</key>
|
||||
<string>ios</string>
|
||||
<key>SupportedPlatformVariant</key>
|
||||
<string>simulator</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>BinaryPath</key>
|
||||
<string>M2Kit.framework/Versions/A/M2Kit</string>
|
||||
@ -52,6 +35,23 @@
|
||||
<key>SupportedPlatform</key>
|
||||
<string>ios</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>BinaryPath</key>
|
||||
<string>M2Kit.framework/M2Kit</string>
|
||||
<key>LibraryIdentifier</key>
|
||||
<string>ios-arm64_x86_64-simulator</string>
|
||||
<key>LibraryPath</key>
|
||||
<string>M2Kit.framework</string>
|
||||
<key>SupportedArchitectures</key>
|
||||
<array>
|
||||
<string>arm64</string>
|
||||
<string>x86_64</string>
|
||||
</array>
|
||||
<key>SupportedPlatform</key>
|
||||
<string>ios</string>
|
||||
<key>SupportedPlatformVariant</key>
|
||||
<string>simulator</string>
|
||||
</dict>
|
||||
</array>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>XFWK</string>
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
#if 0
|
||||
#elif defined(__arm64__) && __arm64__
|
||||
// Generated by Apple Swift version 6.2.3 effective-5.10 (swiftlang-6.2.3.3.21 clang-1700.6.3.2)
|
||||
// Generated by Apple Swift version 6.2.4 effective-5.10 (swiftlang-6.2.4.1.4 clang-1700.6.4.2)
|
||||
#ifndef M2KIT_SWIFT_H
|
||||
#define M2KIT_SWIFT_H
|
||||
#pragma clang diagnostic push
|
||||
|
||||
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
@ -1,7 +1,7 @@
|
||||
// swift-interface-format-version: 1.0
|
||||
// swift-compiler-version: Apple Swift version 6.2.3 effective-5.10 (swiftlang-6.2.3.3.21 clang-1700.6.3.2)
|
||||
// swift-compiler-version: Apple Swift version 6.2.4 effective-5.10 (swiftlang-6.2.4.1.4 clang-1700.6.4.2)
|
||||
// swift-module-flags: -target arm64-apple-ios16.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name M2Kit
|
||||
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.2.3
|
||||
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.2.4
|
||||
import Combine
|
||||
import CommonCrypto
|
||||
import Foundation
|
||||
@ -432,18 +432,28 @@ extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func searchChannelsEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ channels: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
#endif
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
@available(*, deprecated, message: "Use getVideosOfChannelEx(channelId:nextToken:result:) instead.")
|
||||
@_Concurrency.MainActor public static func getVideosOfChannelEx(channelName: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
#endif
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
@_Concurrency.MainActor public static func getVideosOfChannelEx(channelId: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
#endif
|
||||
@_Concurrency.MainActor public static func getAllVideosOfPlaylistEx(playlistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@available(*, deprecated, message: "Use ytSongsEx(countrycode:result:) instead.")
|
||||
@_Concurrency.MainActor public static func topSongsEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@available(*, deprecated, message: "Use ytMusicVideosEx(countrycode:result:) instead.")
|
||||
@_Concurrency.MainActor public static func topVideosEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@available(*, deprecated, message: "Use ytTrendingEx(countrycode:result:) instead.")
|
||||
@_Concurrency.MainActor public static func trendingVideosEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@available(*, deprecated, message: "Use ytArtistsEx(countrycode:result:) instead.")
|
||||
@_Concurrency.MainActor public static func topChannelsEx(result: @escaping (_ channels: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@available(*, deprecated, message: "Old API, not used.")
|
||||
@_Concurrency.MainActor public static func listCategoryEx(result: @escaping (_ categories: [(category_id: Swift.String, title: Swift.String)]) -> Swift.Void)
|
||||
@available(*, deprecated, message: "Old API, not used.")
|
||||
@_Concurrency.MainActor public static func getVideosOfCategoryEx(categoryId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@ -467,6 +477,14 @@ extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func kworbListCountriesEx(result: @escaping (_ countries: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func kworbLocalTrendingEx(countryCode: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func ytListCountriesEx(result: @escaping (_ countries: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func ytTrendingEx(countryCode: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func ytMusicVideosEx(countryCode: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func ytSongsEx(countryCode: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func ytArtistsEx(countryCode: Swift.String, result: @escaping (_ artists: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func ytArtistDetailEx(artistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
@_Concurrency.MainActor public static func searchVideos(title: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||
@ -481,18 +499,28 @@ extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func searchChannels(title: Swift.String, nextToken: Swift.String?) async -> (channels: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||
#endif
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
@_Concurrency.MainActor public static func getVideosOfChannel(_ channelName: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||
@available(*, deprecated, message: "Use getVideosOfChannel(channelId:nextToken:) instead.")
|
||||
@_Concurrency.MainActor public static func getVideosOfChannel(channelName: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||
#endif
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
@_Concurrency.MainActor public static func getVideosOfChannel(channelId: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||
#endif
|
||||
@_Concurrency.MainActor public static func getAllVideosOfPlaylist(_ playlistId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@available(*, deprecated, message: "Use ytSongs(countrycode) instead.")
|
||||
@_Concurrency.MainActor public static func topSongs() async -> [[Swift.AnyHashable : Any]]
|
||||
@available(*, deprecated, message: "Use ytMusicVideosEx(countrycode) instead.")
|
||||
@_Concurrency.MainActor public static func topVideos() async -> [[Swift.AnyHashable : Any]]
|
||||
@available(*, deprecated, message: "Use ytTrendingEx(countrycode) instead.")
|
||||
@_Concurrency.MainActor public static func trendingVideos() async -> [[Swift.AnyHashable : Any]]
|
||||
@available(*, deprecated, message: "Use ytArtistsEx(countrycode) instead.")
|
||||
@_Concurrency.MainActor public static func topChannels() async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@available(*, deprecated, message: "Old API, not used.")
|
||||
@_Concurrency.MainActor public static func listCategory() async -> [(category_id: Swift.String, title: Swift.String)]
|
||||
@available(*, deprecated, message: "Old API, not used.")
|
||||
@_Concurrency.MainActor public static func getVideosOfCategory(categoryId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@ -516,6 +544,14 @@ extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func kworbListCountries() async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func kworbLocalTrending(countryCode: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func ytListCountries() async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func ytTrending(countryCode: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func ytMusicVideos(countryCode: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func ytSongs(countryCode: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func ytArtists(countryCode: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func ytArtistDetail(artistId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
@_Concurrency.MainActor public struct M2Backup {
|
||||
@_Concurrency.MainActor public static var backupCode: Swift.String {
|
||||
get
|
||||
@ -923,10 +959,22 @@ extension M2Kit.M2Radio {
|
||||
}
|
||||
@objc deinit
|
||||
}
|
||||
public enum M2VideoStatus {
|
||||
case none
|
||||
case queueing
|
||||
case loading
|
||||
case done
|
||||
public static func == (a: M2Kit.M2VideoStatus, b: M2Kit.M2VideoStatus) -> Swift.Bool
|
||||
public func hash(into hasher: inout Swift.Hasher)
|
||||
public var hashValue: Swift.Int {
|
||||
get
|
||||
}
|
||||
}
|
||||
@_Concurrency.MainActor public struct M2Utils {
|
||||
@_Concurrency.MainActor public static func workFor(trackID: Swift.String)
|
||||
@_Concurrency.MainActor public static let workForChangedNotification: Foundation.Notification.Name
|
||||
@_Concurrency.MainActor public static func checkExisted(trackID: Swift.String) -> Swift.Bool
|
||||
@_Concurrency.MainActor public static func checkStatus(trackID: Swift.String) -> M2Kit.M2VideoStatus
|
||||
@_Concurrency.MainActor public static func deleteDataOf(trackID: Swift.String)
|
||||
@_Concurrency.MainActor public static func filePathOf(trackID: Swift.String) -> Swift.String
|
||||
}
|
||||
@ -996,6 +1044,8 @@ extension M2Kit.M2NetConnecttionType : Swift.Equatable {}
|
||||
extension M2Kit.M2NetConnecttionType : Swift.Hashable {}
|
||||
extension M2Kit.M2NetMonitor : Swift.Sendable {}
|
||||
extension M2Kit.M2Radio : Swift.Sendable {}
|
||||
extension M2Kit.M2VideoStatus : Swift.Equatable {}
|
||||
extension M2Kit.M2VideoStatus : Swift.Hashable {}
|
||||
extension M2Kit.M2Utils : Swift.Sendable {}
|
||||
extension M2Kit.M2WebView : Swift.Sendable {}
|
||||
extension M2Kit.M2YTIDType : Swift.Equatable {}
|
||||
|
||||
Binary file not shown.
@ -1,7 +1,7 @@
|
||||
// swift-interface-format-version: 1.0
|
||||
// swift-compiler-version: Apple Swift version 6.2.3 effective-5.10 (swiftlang-6.2.3.3.21 clang-1700.6.3.2)
|
||||
// swift-compiler-version: Apple Swift version 6.2.4 effective-5.10 (swiftlang-6.2.4.1.4 clang-1700.6.4.2)
|
||||
// swift-module-flags: -target arm64-apple-ios16.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name M2Kit
|
||||
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.2.3
|
||||
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.2.4
|
||||
import Combine
|
||||
import CommonCrypto
|
||||
import Foundation
|
||||
@ -432,18 +432,28 @@ extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func searchChannelsEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ channels: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
#endif
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
@available(*, deprecated, message: "Use getVideosOfChannelEx(channelId:nextToken:result:) instead.")
|
||||
@_Concurrency.MainActor public static func getVideosOfChannelEx(channelName: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
#endif
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
@_Concurrency.MainActor public static func getVideosOfChannelEx(channelId: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
#endif
|
||||
@_Concurrency.MainActor public static func getAllVideosOfPlaylistEx(playlistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@available(*, deprecated, message: "Use ytSongsEx(countrycode:result:) instead.")
|
||||
@_Concurrency.MainActor public static func topSongsEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@available(*, deprecated, message: "Use ytMusicVideosEx(countrycode:result:) instead.")
|
||||
@_Concurrency.MainActor public static func topVideosEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@available(*, deprecated, message: "Use ytTrendingEx(countrycode:result:) instead.")
|
||||
@_Concurrency.MainActor public static func trendingVideosEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@available(*, deprecated, message: "Use ytArtistsEx(countrycode:result:) instead.")
|
||||
@_Concurrency.MainActor public static func topChannelsEx(result: @escaping (_ channels: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@available(*, deprecated, message: "Old API, not used.")
|
||||
@_Concurrency.MainActor public static func listCategoryEx(result: @escaping (_ categories: [(category_id: Swift.String, title: Swift.String)]) -> Swift.Void)
|
||||
@available(*, deprecated, message: "Old API, not used.")
|
||||
@_Concurrency.MainActor public static func getVideosOfCategoryEx(categoryId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@ -467,6 +477,14 @@ extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func kworbListCountriesEx(result: @escaping (_ countries: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func kworbLocalTrendingEx(countryCode: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func ytListCountriesEx(result: @escaping (_ countries: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func ytTrendingEx(countryCode: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func ytMusicVideosEx(countryCode: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func ytSongsEx(countryCode: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func ytArtistsEx(countryCode: Swift.String, result: @escaping (_ artists: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func ytArtistDetailEx(artistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
@_Concurrency.MainActor public static func searchVideos(title: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||
@ -481,18 +499,28 @@ extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func searchChannels(title: Swift.String, nextToken: Swift.String?) async -> (channels: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||
#endif
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
@_Concurrency.MainActor public static func getVideosOfChannel(_ channelName: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||
@available(*, deprecated, message: "Use getVideosOfChannel(channelId:nextToken:) instead.")
|
||||
@_Concurrency.MainActor public static func getVideosOfChannel(channelName: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||
#endif
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
@_Concurrency.MainActor public static func getVideosOfChannel(channelId: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||
#endif
|
||||
@_Concurrency.MainActor public static func getAllVideosOfPlaylist(_ playlistId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@available(*, deprecated, message: "Use ytSongs(countrycode) instead.")
|
||||
@_Concurrency.MainActor public static func topSongs() async -> [[Swift.AnyHashable : Any]]
|
||||
@available(*, deprecated, message: "Use ytMusicVideosEx(countrycode) instead.")
|
||||
@_Concurrency.MainActor public static func topVideos() async -> [[Swift.AnyHashable : Any]]
|
||||
@available(*, deprecated, message: "Use ytTrendingEx(countrycode) instead.")
|
||||
@_Concurrency.MainActor public static func trendingVideos() async -> [[Swift.AnyHashable : Any]]
|
||||
@available(*, deprecated, message: "Use ytArtistsEx(countrycode) instead.")
|
||||
@_Concurrency.MainActor public static func topChannels() async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@available(*, deprecated, message: "Old API, not used.")
|
||||
@_Concurrency.MainActor public static func listCategory() async -> [(category_id: Swift.String, title: Swift.String)]
|
||||
@available(*, deprecated, message: "Old API, not used.")
|
||||
@_Concurrency.MainActor public static func getVideosOfCategory(categoryId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@ -516,6 +544,14 @@ extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func kworbListCountries() async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func kworbLocalTrending(countryCode: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func ytListCountries() async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func ytTrending(countryCode: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func ytMusicVideos(countryCode: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func ytSongs(countryCode: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func ytArtists(countryCode: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func ytArtistDetail(artistId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
@_Concurrency.MainActor public struct M2Backup {
|
||||
@_Concurrency.MainActor public static var backupCode: Swift.String {
|
||||
get
|
||||
@ -923,10 +959,22 @@ extension M2Kit.M2Radio {
|
||||
}
|
||||
@objc deinit
|
||||
}
|
||||
public enum M2VideoStatus {
|
||||
case none
|
||||
case queueing
|
||||
case loading
|
||||
case done
|
||||
public static func == (a: M2Kit.M2VideoStatus, b: M2Kit.M2VideoStatus) -> Swift.Bool
|
||||
public func hash(into hasher: inout Swift.Hasher)
|
||||
public var hashValue: Swift.Int {
|
||||
get
|
||||
}
|
||||
}
|
||||
@_Concurrency.MainActor public struct M2Utils {
|
||||
@_Concurrency.MainActor public static func workFor(trackID: Swift.String)
|
||||
@_Concurrency.MainActor public static let workForChangedNotification: Foundation.Notification.Name
|
||||
@_Concurrency.MainActor public static func checkExisted(trackID: Swift.String) -> Swift.Bool
|
||||
@_Concurrency.MainActor public static func checkStatus(trackID: Swift.String) -> M2Kit.M2VideoStatus
|
||||
@_Concurrency.MainActor public static func deleteDataOf(trackID: Swift.String)
|
||||
@_Concurrency.MainActor public static func filePathOf(trackID: Swift.String) -> Swift.String
|
||||
}
|
||||
@ -996,6 +1044,8 @@ extension M2Kit.M2NetConnecttionType : Swift.Equatable {}
|
||||
extension M2Kit.M2NetConnecttionType : Swift.Hashable {}
|
||||
extension M2Kit.M2NetMonitor : Swift.Sendable {}
|
||||
extension M2Kit.M2Radio : Swift.Sendable {}
|
||||
extension M2Kit.M2VideoStatus : Swift.Equatable {}
|
||||
extension M2Kit.M2VideoStatus : Swift.Hashable {}
|
||||
extension M2Kit.M2Utils : Swift.Sendable {}
|
||||
extension M2Kit.M2WebView : Swift.Sendable {}
|
||||
extension M2Kit.M2YTIDType : Swift.Equatable {}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
#if 0
|
||||
#elif defined(__arm64__) && __arm64__
|
||||
// Generated by Apple Swift version 6.2.3 effective-5.10 (swiftlang-6.2.3.3.21 clang-1700.6.3.2)
|
||||
// Generated by Apple Swift version 6.2.4 effective-5.10 (swiftlang-6.2.4.1.4 clang-1700.6.4.2)
|
||||
#ifndef M2KIT_SWIFT_H
|
||||
#define M2KIT_SWIFT_H
|
||||
#pragma clang diagnostic push
|
||||
@ -324,7 +324,7 @@ SWIFT_CLASS("_TtC5M2Kit7M2WebVC")
|
||||
#endif
|
||||
|
||||
#elif defined(__x86_64__) && __x86_64__
|
||||
// Generated by Apple Swift version 6.2.3 effective-5.10 (swiftlang-6.2.3.3.21 clang-1700.6.3.2)
|
||||
// Generated by Apple Swift version 6.2.4 effective-5.10 (swiftlang-6.2.4.1.4 clang-1700.6.4.2)
|
||||
#ifndef M2KIT_SWIFT_H
|
||||
#define M2KIT_SWIFT_H
|
||||
#pragma clang diagnostic push
|
||||
|
||||
Binary file not shown.
File diff suppressed because one or more lines are too long
@ -1,7 +1,7 @@
|
||||
// swift-interface-format-version: 1.0
|
||||
// swift-compiler-version: Apple Swift version 6.2.3 effective-5.10 (swiftlang-6.2.3.3.21 clang-1700.6.3.2)
|
||||
// swift-compiler-version: Apple Swift version 6.2.4 effective-5.10 (swiftlang-6.2.4.1.4 clang-1700.6.4.2)
|
||||
// swift-module-flags: -target arm64-apple-ios16.0-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name M2Kit
|
||||
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.2.3
|
||||
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.2.4
|
||||
import Combine
|
||||
import CommonCrypto
|
||||
import Foundation
|
||||
@ -432,18 +432,28 @@ extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func searchChannelsEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ channels: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
#endif
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
@available(*, deprecated, message: "Use getVideosOfChannelEx(channelId:nextToken:result:) instead.")
|
||||
@_Concurrency.MainActor public static func getVideosOfChannelEx(channelName: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
#endif
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
@_Concurrency.MainActor public static func getVideosOfChannelEx(channelId: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
#endif
|
||||
@_Concurrency.MainActor public static func getAllVideosOfPlaylistEx(playlistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@available(*, deprecated, message: "Use ytSongsEx(countrycode:result:) instead.")
|
||||
@_Concurrency.MainActor public static func topSongsEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@available(*, deprecated, message: "Use ytMusicVideosEx(countrycode:result:) instead.")
|
||||
@_Concurrency.MainActor public static func topVideosEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@available(*, deprecated, message: "Use ytTrendingEx(countrycode:result:) instead.")
|
||||
@_Concurrency.MainActor public static func trendingVideosEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@available(*, deprecated, message: "Use ytArtistsEx(countrycode:result:) instead.")
|
||||
@_Concurrency.MainActor public static func topChannelsEx(result: @escaping (_ channels: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@available(*, deprecated, message: "Old API, not used.")
|
||||
@_Concurrency.MainActor public static func listCategoryEx(result: @escaping (_ categories: [(category_id: Swift.String, title: Swift.String)]) -> Swift.Void)
|
||||
@available(*, deprecated, message: "Old API, not used.")
|
||||
@_Concurrency.MainActor public static func getVideosOfCategoryEx(categoryId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@ -467,6 +477,14 @@ extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func kworbListCountriesEx(result: @escaping (_ countries: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func kworbLocalTrendingEx(countryCode: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func ytListCountriesEx(result: @escaping (_ countries: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func ytTrendingEx(countryCode: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func ytMusicVideosEx(countryCode: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func ytSongsEx(countryCode: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func ytArtistsEx(countryCode: Swift.String, result: @escaping (_ artists: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func ytArtistDetailEx(artistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
@_Concurrency.MainActor public static func searchVideos(title: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||
@ -481,18 +499,28 @@ extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func searchChannels(title: Swift.String, nextToken: Swift.String?) async -> (channels: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||
#endif
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
@_Concurrency.MainActor public static func getVideosOfChannel(_ channelName: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||
@available(*, deprecated, message: "Use getVideosOfChannel(channelId:nextToken:) instead.")
|
||||
@_Concurrency.MainActor public static func getVideosOfChannel(channelName: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||
#endif
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
@_Concurrency.MainActor public static func getVideosOfChannel(channelId: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||
#endif
|
||||
@_Concurrency.MainActor public static func getAllVideosOfPlaylist(_ playlistId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@available(*, deprecated, message: "Use ytSongs(countrycode) instead.")
|
||||
@_Concurrency.MainActor public static func topSongs() async -> [[Swift.AnyHashable : Any]]
|
||||
@available(*, deprecated, message: "Use ytMusicVideosEx(countrycode) instead.")
|
||||
@_Concurrency.MainActor public static func topVideos() async -> [[Swift.AnyHashable : Any]]
|
||||
@available(*, deprecated, message: "Use ytTrendingEx(countrycode) instead.")
|
||||
@_Concurrency.MainActor public static func trendingVideos() async -> [[Swift.AnyHashable : Any]]
|
||||
@available(*, deprecated, message: "Use ytArtistsEx(countrycode) instead.")
|
||||
@_Concurrency.MainActor public static func topChannels() async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@available(*, deprecated, message: "Old API, not used.")
|
||||
@_Concurrency.MainActor public static func listCategory() async -> [(category_id: Swift.String, title: Swift.String)]
|
||||
@available(*, deprecated, message: "Old API, not used.")
|
||||
@_Concurrency.MainActor public static func getVideosOfCategory(categoryId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@ -516,6 +544,14 @@ extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func kworbListCountries() async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func kworbLocalTrending(countryCode: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func ytListCountries() async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func ytTrending(countryCode: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func ytMusicVideos(countryCode: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func ytSongs(countryCode: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func ytArtists(countryCode: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func ytArtistDetail(artistId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
@_Concurrency.MainActor public struct M2Backup {
|
||||
@_Concurrency.MainActor public static var backupCode: Swift.String {
|
||||
get
|
||||
@ -923,10 +959,22 @@ extension M2Kit.M2Radio {
|
||||
}
|
||||
@objc deinit
|
||||
}
|
||||
public enum M2VideoStatus {
|
||||
case none
|
||||
case queueing
|
||||
case loading
|
||||
case done
|
||||
public static func == (a: M2Kit.M2VideoStatus, b: M2Kit.M2VideoStatus) -> Swift.Bool
|
||||
public func hash(into hasher: inout Swift.Hasher)
|
||||
public var hashValue: Swift.Int {
|
||||
get
|
||||
}
|
||||
}
|
||||
@_Concurrency.MainActor public struct M2Utils {
|
||||
@_Concurrency.MainActor public static func workFor(trackID: Swift.String)
|
||||
@_Concurrency.MainActor public static let workForChangedNotification: Foundation.Notification.Name
|
||||
@_Concurrency.MainActor public static func checkExisted(trackID: Swift.String) -> Swift.Bool
|
||||
@_Concurrency.MainActor public static func checkStatus(trackID: Swift.String) -> M2Kit.M2VideoStatus
|
||||
@_Concurrency.MainActor public static func deleteDataOf(trackID: Swift.String)
|
||||
@_Concurrency.MainActor public static func filePathOf(trackID: Swift.String) -> Swift.String
|
||||
}
|
||||
@ -996,6 +1044,8 @@ extension M2Kit.M2NetConnecttionType : Swift.Equatable {}
|
||||
extension M2Kit.M2NetConnecttionType : Swift.Hashable {}
|
||||
extension M2Kit.M2NetMonitor : Swift.Sendable {}
|
||||
extension M2Kit.M2Radio : Swift.Sendable {}
|
||||
extension M2Kit.M2VideoStatus : Swift.Equatable {}
|
||||
extension M2Kit.M2VideoStatus : Swift.Hashable {}
|
||||
extension M2Kit.M2Utils : Swift.Sendable {}
|
||||
extension M2Kit.M2WebView : Swift.Sendable {}
|
||||
extension M2Kit.M2YTIDType : Swift.Equatable {}
|
||||
|
||||
Binary file not shown.
@ -1,7 +1,7 @@
|
||||
// swift-interface-format-version: 1.0
|
||||
// swift-compiler-version: Apple Swift version 6.2.3 effective-5.10 (swiftlang-6.2.3.3.21 clang-1700.6.3.2)
|
||||
// swift-compiler-version: Apple Swift version 6.2.4 effective-5.10 (swiftlang-6.2.4.1.4 clang-1700.6.4.2)
|
||||
// swift-module-flags: -target arm64-apple-ios16.0-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name M2Kit
|
||||
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.2.3
|
||||
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.2.4
|
||||
import Combine
|
||||
import CommonCrypto
|
||||
import Foundation
|
||||
@ -432,18 +432,28 @@ extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func searchChannelsEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ channels: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
#endif
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
@available(*, deprecated, message: "Use getVideosOfChannelEx(channelId:nextToken:result:) instead.")
|
||||
@_Concurrency.MainActor public static func getVideosOfChannelEx(channelName: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
#endif
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
@_Concurrency.MainActor public static func getVideosOfChannelEx(channelId: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
#endif
|
||||
@_Concurrency.MainActor public static func getAllVideosOfPlaylistEx(playlistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@available(*, deprecated, message: "Use ytSongsEx(countrycode:result:) instead.")
|
||||
@_Concurrency.MainActor public static func topSongsEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@available(*, deprecated, message: "Use ytMusicVideosEx(countrycode:result:) instead.")
|
||||
@_Concurrency.MainActor public static func topVideosEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@available(*, deprecated, message: "Use ytTrendingEx(countrycode:result:) instead.")
|
||||
@_Concurrency.MainActor public static func trendingVideosEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@available(*, deprecated, message: "Use ytArtistsEx(countrycode:result:) instead.")
|
||||
@_Concurrency.MainActor public static func topChannelsEx(result: @escaping (_ channels: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@available(*, deprecated, message: "Old API, not used.")
|
||||
@_Concurrency.MainActor public static func listCategoryEx(result: @escaping (_ categories: [(category_id: Swift.String, title: Swift.String)]) -> Swift.Void)
|
||||
@available(*, deprecated, message: "Old API, not used.")
|
||||
@_Concurrency.MainActor public static func getVideosOfCategoryEx(categoryId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@ -467,6 +477,14 @@ extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func kworbListCountriesEx(result: @escaping (_ countries: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func kworbLocalTrendingEx(countryCode: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func ytListCountriesEx(result: @escaping (_ countries: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func ytTrendingEx(countryCode: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func ytMusicVideosEx(countryCode: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func ytSongsEx(countryCode: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func ytArtistsEx(countryCode: Swift.String, result: @escaping (_ artists: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func ytArtistDetailEx(artistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
@_Concurrency.MainActor public static func searchVideos(title: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||
@ -481,18 +499,28 @@ extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func searchChannels(title: Swift.String, nextToken: Swift.String?) async -> (channels: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||
#endif
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
@_Concurrency.MainActor public static func getVideosOfChannel(_ channelName: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||
@available(*, deprecated, message: "Use getVideosOfChannel(channelId:nextToken:) instead.")
|
||||
@_Concurrency.MainActor public static func getVideosOfChannel(channelName: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||
#endif
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
@_Concurrency.MainActor public static func getVideosOfChannel(channelId: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||
#endif
|
||||
@_Concurrency.MainActor public static func getAllVideosOfPlaylist(_ playlistId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@available(*, deprecated, message: "Use ytSongs(countrycode) instead.")
|
||||
@_Concurrency.MainActor public static func topSongs() async -> [[Swift.AnyHashable : Any]]
|
||||
@available(*, deprecated, message: "Use ytMusicVideosEx(countrycode) instead.")
|
||||
@_Concurrency.MainActor public static func topVideos() async -> [[Swift.AnyHashable : Any]]
|
||||
@available(*, deprecated, message: "Use ytTrendingEx(countrycode) instead.")
|
||||
@_Concurrency.MainActor public static func trendingVideos() async -> [[Swift.AnyHashable : Any]]
|
||||
@available(*, deprecated, message: "Use ytArtistsEx(countrycode) instead.")
|
||||
@_Concurrency.MainActor public static func topChannels() async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@available(*, deprecated, message: "Old API, not used.")
|
||||
@_Concurrency.MainActor public static func listCategory() async -> [(category_id: Swift.String, title: Swift.String)]
|
||||
@available(*, deprecated, message: "Old API, not used.")
|
||||
@_Concurrency.MainActor public static func getVideosOfCategory(categoryId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@ -516,6 +544,14 @@ extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func kworbListCountries() async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func kworbLocalTrending(countryCode: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func ytListCountries() async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func ytTrending(countryCode: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func ytMusicVideos(countryCode: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func ytSongs(countryCode: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func ytArtists(countryCode: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func ytArtistDetail(artistId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
@_Concurrency.MainActor public struct M2Backup {
|
||||
@_Concurrency.MainActor public static var backupCode: Swift.String {
|
||||
get
|
||||
@ -923,10 +959,22 @@ extension M2Kit.M2Radio {
|
||||
}
|
||||
@objc deinit
|
||||
}
|
||||
public enum M2VideoStatus {
|
||||
case none
|
||||
case queueing
|
||||
case loading
|
||||
case done
|
||||
public static func == (a: M2Kit.M2VideoStatus, b: M2Kit.M2VideoStatus) -> Swift.Bool
|
||||
public func hash(into hasher: inout Swift.Hasher)
|
||||
public var hashValue: Swift.Int {
|
||||
get
|
||||
}
|
||||
}
|
||||
@_Concurrency.MainActor public struct M2Utils {
|
||||
@_Concurrency.MainActor public static func workFor(trackID: Swift.String)
|
||||
@_Concurrency.MainActor public static let workForChangedNotification: Foundation.Notification.Name
|
||||
@_Concurrency.MainActor public static func checkExisted(trackID: Swift.String) -> Swift.Bool
|
||||
@_Concurrency.MainActor public static func checkStatus(trackID: Swift.String) -> M2Kit.M2VideoStatus
|
||||
@_Concurrency.MainActor public static func deleteDataOf(trackID: Swift.String)
|
||||
@_Concurrency.MainActor public static func filePathOf(trackID: Swift.String) -> Swift.String
|
||||
}
|
||||
@ -996,6 +1044,8 @@ extension M2Kit.M2NetConnecttionType : Swift.Equatable {}
|
||||
extension M2Kit.M2NetConnecttionType : Swift.Hashable {}
|
||||
extension M2Kit.M2NetMonitor : Swift.Sendable {}
|
||||
extension M2Kit.M2Radio : Swift.Sendable {}
|
||||
extension M2Kit.M2VideoStatus : Swift.Equatable {}
|
||||
extension M2Kit.M2VideoStatus : Swift.Hashable {}
|
||||
extension M2Kit.M2Utils : Swift.Sendable {}
|
||||
extension M2Kit.M2WebView : Swift.Sendable {}
|
||||
extension M2Kit.M2YTIDType : Swift.Equatable {}
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -1,7 +1,7 @@
|
||||
// swift-interface-format-version: 1.0
|
||||
// swift-compiler-version: Apple Swift version 6.2.3 effective-5.10 (swiftlang-6.2.3.3.21 clang-1700.6.3.2)
|
||||
// swift-compiler-version: Apple Swift version 6.2.4 effective-5.10 (swiftlang-6.2.4.1.4 clang-1700.6.4.2)
|
||||
// swift-module-flags: -target x86_64-apple-ios16.0-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name M2Kit
|
||||
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.2.3
|
||||
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.2.4
|
||||
import Combine
|
||||
import CommonCrypto
|
||||
import Foundation
|
||||
@ -432,18 +432,28 @@ extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func searchChannelsEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ channels: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
#endif
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
@available(*, deprecated, message: "Use getVideosOfChannelEx(channelId:nextToken:result:) instead.")
|
||||
@_Concurrency.MainActor public static func getVideosOfChannelEx(channelName: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
#endif
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
@_Concurrency.MainActor public static func getVideosOfChannelEx(channelId: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
#endif
|
||||
@_Concurrency.MainActor public static func getAllVideosOfPlaylistEx(playlistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@available(*, deprecated, message: "Use ytSongsEx(countrycode:result:) instead.")
|
||||
@_Concurrency.MainActor public static func topSongsEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@available(*, deprecated, message: "Use ytMusicVideosEx(countrycode:result:) instead.")
|
||||
@_Concurrency.MainActor public static func topVideosEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@available(*, deprecated, message: "Use ytTrendingEx(countrycode:result:) instead.")
|
||||
@_Concurrency.MainActor public static func trendingVideosEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@available(*, deprecated, message: "Use ytArtistsEx(countrycode:result:) instead.")
|
||||
@_Concurrency.MainActor public static func topChannelsEx(result: @escaping (_ channels: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@available(*, deprecated, message: "Old API, not used.")
|
||||
@_Concurrency.MainActor public static func listCategoryEx(result: @escaping (_ categories: [(category_id: Swift.String, title: Swift.String)]) -> Swift.Void)
|
||||
@available(*, deprecated, message: "Old API, not used.")
|
||||
@_Concurrency.MainActor public static func getVideosOfCategoryEx(categoryId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@ -467,6 +477,14 @@ extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func kworbListCountriesEx(result: @escaping (_ countries: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func kworbLocalTrendingEx(countryCode: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func ytListCountriesEx(result: @escaping (_ countries: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func ytTrendingEx(countryCode: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func ytMusicVideosEx(countryCode: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func ytSongsEx(countryCode: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func ytArtistsEx(countryCode: Swift.String, result: @escaping (_ artists: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func ytArtistDetailEx(artistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
@_Concurrency.MainActor public static func searchVideos(title: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||
@ -481,18 +499,28 @@ extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func searchChannels(title: Swift.String, nextToken: Swift.String?) async -> (channels: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||
#endif
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
@_Concurrency.MainActor public static func getVideosOfChannel(_ channelName: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||
@available(*, deprecated, message: "Use getVideosOfChannel(channelId:nextToken:) instead.")
|
||||
@_Concurrency.MainActor public static func getVideosOfChannel(channelName: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||
#endif
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
@_Concurrency.MainActor public static func getVideosOfChannel(channelId: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||
#endif
|
||||
@_Concurrency.MainActor public static func getAllVideosOfPlaylist(_ playlistId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@available(*, deprecated, message: "Use ytSongs(countrycode) instead.")
|
||||
@_Concurrency.MainActor public static func topSongs() async -> [[Swift.AnyHashable : Any]]
|
||||
@available(*, deprecated, message: "Use ytMusicVideosEx(countrycode) instead.")
|
||||
@_Concurrency.MainActor public static func topVideos() async -> [[Swift.AnyHashable : Any]]
|
||||
@available(*, deprecated, message: "Use ytTrendingEx(countrycode) instead.")
|
||||
@_Concurrency.MainActor public static func trendingVideos() async -> [[Swift.AnyHashable : Any]]
|
||||
@available(*, deprecated, message: "Use ytArtistsEx(countrycode) instead.")
|
||||
@_Concurrency.MainActor public static func topChannels() async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@available(*, deprecated, message: "Old API, not used.")
|
||||
@_Concurrency.MainActor public static func listCategory() async -> [(category_id: Swift.String, title: Swift.String)]
|
||||
@available(*, deprecated, message: "Old API, not used.")
|
||||
@_Concurrency.MainActor public static func getVideosOfCategory(categoryId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@ -516,6 +544,14 @@ extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func kworbListCountries() async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func kworbLocalTrending(countryCode: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func ytListCountries() async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func ytTrending(countryCode: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func ytMusicVideos(countryCode: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func ytSongs(countryCode: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func ytArtists(countryCode: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func ytArtistDetail(artistId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
@_Concurrency.MainActor public struct M2Backup {
|
||||
@_Concurrency.MainActor public static var backupCode: Swift.String {
|
||||
get
|
||||
@ -923,10 +959,22 @@ extension M2Kit.M2Radio {
|
||||
}
|
||||
@objc deinit
|
||||
}
|
||||
public enum M2VideoStatus {
|
||||
case none
|
||||
case queueing
|
||||
case loading
|
||||
case done
|
||||
public static func == (a: M2Kit.M2VideoStatus, b: M2Kit.M2VideoStatus) -> Swift.Bool
|
||||
public func hash(into hasher: inout Swift.Hasher)
|
||||
public var hashValue: Swift.Int {
|
||||
get
|
||||
}
|
||||
}
|
||||
@_Concurrency.MainActor public struct M2Utils {
|
||||
@_Concurrency.MainActor public static func workFor(trackID: Swift.String)
|
||||
@_Concurrency.MainActor public static let workForChangedNotification: Foundation.Notification.Name
|
||||
@_Concurrency.MainActor public static func checkExisted(trackID: Swift.String) -> Swift.Bool
|
||||
@_Concurrency.MainActor public static func checkStatus(trackID: Swift.String) -> M2Kit.M2VideoStatus
|
||||
@_Concurrency.MainActor public static func deleteDataOf(trackID: Swift.String)
|
||||
@_Concurrency.MainActor public static func filePathOf(trackID: Swift.String) -> Swift.String
|
||||
}
|
||||
@ -996,6 +1044,8 @@ extension M2Kit.M2NetConnecttionType : Swift.Equatable {}
|
||||
extension M2Kit.M2NetConnecttionType : Swift.Hashable {}
|
||||
extension M2Kit.M2NetMonitor : Swift.Sendable {}
|
||||
extension M2Kit.M2Radio : Swift.Sendable {}
|
||||
extension M2Kit.M2VideoStatus : Swift.Equatable {}
|
||||
extension M2Kit.M2VideoStatus : Swift.Hashable {}
|
||||
extension M2Kit.M2Utils : Swift.Sendable {}
|
||||
extension M2Kit.M2WebView : Swift.Sendable {}
|
||||
extension M2Kit.M2YTIDType : Swift.Equatable {}
|
||||
|
||||
Binary file not shown.
@ -1,7 +1,7 @@
|
||||
// swift-interface-format-version: 1.0
|
||||
// swift-compiler-version: Apple Swift version 6.2.3 effective-5.10 (swiftlang-6.2.3.3.21 clang-1700.6.3.2)
|
||||
// swift-compiler-version: Apple Swift version 6.2.4 effective-5.10 (swiftlang-6.2.4.1.4 clang-1700.6.4.2)
|
||||
// swift-module-flags: -target x86_64-apple-ios16.0-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name M2Kit
|
||||
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.2.3
|
||||
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.2.4
|
||||
import Combine
|
||||
import CommonCrypto
|
||||
import Foundation
|
||||
@ -432,18 +432,28 @@ extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func searchChannelsEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ channels: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
#endif
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
@available(*, deprecated, message: "Use getVideosOfChannelEx(channelId:nextToken:result:) instead.")
|
||||
@_Concurrency.MainActor public static func getVideosOfChannelEx(channelName: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
#endif
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
@_Concurrency.MainActor public static func getVideosOfChannelEx(channelId: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
#endif
|
||||
@_Concurrency.MainActor public static func getAllVideosOfPlaylistEx(playlistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@available(*, deprecated, message: "Use ytSongsEx(countrycode:result:) instead.")
|
||||
@_Concurrency.MainActor public static func topSongsEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@available(*, deprecated, message: "Use ytMusicVideosEx(countrycode:result:) instead.")
|
||||
@_Concurrency.MainActor public static func topVideosEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@available(*, deprecated, message: "Use ytTrendingEx(countrycode:result:) instead.")
|
||||
@_Concurrency.MainActor public static func trendingVideosEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@available(*, deprecated, message: "Use ytArtistsEx(countrycode:result:) instead.")
|
||||
@_Concurrency.MainActor public static func topChannelsEx(result: @escaping (_ channels: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@available(*, deprecated, message: "Old API, not used.")
|
||||
@_Concurrency.MainActor public static func listCategoryEx(result: @escaping (_ categories: [(category_id: Swift.String, title: Swift.String)]) -> Swift.Void)
|
||||
@available(*, deprecated, message: "Old API, not used.")
|
||||
@_Concurrency.MainActor public static func getVideosOfCategoryEx(categoryId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@ -467,6 +477,14 @@ extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func kworbListCountriesEx(result: @escaping (_ countries: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func kworbLocalTrendingEx(countryCode: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func ytListCountriesEx(result: @escaping (_ countries: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func ytTrendingEx(countryCode: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func ytMusicVideosEx(countryCode: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func ytSongsEx(countryCode: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func ytArtistsEx(countryCode: Swift.String, result: @escaping (_ artists: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func ytArtistDetailEx(artistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
@_Concurrency.MainActor public static func searchVideos(title: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||
@ -481,18 +499,28 @@ extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func searchChannels(title: Swift.String, nextToken: Swift.String?) async -> (channels: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||
#endif
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
@_Concurrency.MainActor public static func getVideosOfChannel(_ channelName: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||
@available(*, deprecated, message: "Use getVideosOfChannel(channelId:nextToken:) instead.")
|
||||
@_Concurrency.MainActor public static func getVideosOfChannel(channelName: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||
#endif
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
@_Concurrency.MainActor public static func getVideosOfChannel(channelId: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||
#endif
|
||||
@_Concurrency.MainActor public static func getAllVideosOfPlaylist(_ playlistId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@available(*, deprecated, message: "Use ytSongs(countrycode) instead.")
|
||||
@_Concurrency.MainActor public static func topSongs() async -> [[Swift.AnyHashable : Any]]
|
||||
@available(*, deprecated, message: "Use ytMusicVideosEx(countrycode) instead.")
|
||||
@_Concurrency.MainActor public static func topVideos() async -> [[Swift.AnyHashable : Any]]
|
||||
@available(*, deprecated, message: "Use ytTrendingEx(countrycode) instead.")
|
||||
@_Concurrency.MainActor public static func trendingVideos() async -> [[Swift.AnyHashable : Any]]
|
||||
@available(*, deprecated, message: "Use ytArtistsEx(countrycode) instead.")
|
||||
@_Concurrency.MainActor public static func topChannels() async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@available(*, deprecated, message: "Old API, not used.")
|
||||
@_Concurrency.MainActor public static func listCategory() async -> [(category_id: Swift.String, title: Swift.String)]
|
||||
@available(*, deprecated, message: "Old API, not used.")
|
||||
@_Concurrency.MainActor public static func getVideosOfCategory(categoryId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@ -516,6 +544,14 @@ extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func kworbListCountries() async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func kworbLocalTrending(countryCode: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func ytListCountries() async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func ytTrending(countryCode: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func ytMusicVideos(countryCode: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func ytSongs(countryCode: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func ytArtists(countryCode: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func ytArtistDetail(artistId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
@_Concurrency.MainActor public struct M2Backup {
|
||||
@_Concurrency.MainActor public static var backupCode: Swift.String {
|
||||
get
|
||||
@ -923,10 +959,22 @@ extension M2Kit.M2Radio {
|
||||
}
|
||||
@objc deinit
|
||||
}
|
||||
public enum M2VideoStatus {
|
||||
case none
|
||||
case queueing
|
||||
case loading
|
||||
case done
|
||||
public static func == (a: M2Kit.M2VideoStatus, b: M2Kit.M2VideoStatus) -> Swift.Bool
|
||||
public func hash(into hasher: inout Swift.Hasher)
|
||||
public var hashValue: Swift.Int {
|
||||
get
|
||||
}
|
||||
}
|
||||
@_Concurrency.MainActor public struct M2Utils {
|
||||
@_Concurrency.MainActor public static func workFor(trackID: Swift.String)
|
||||
@_Concurrency.MainActor public static let workForChangedNotification: Foundation.Notification.Name
|
||||
@_Concurrency.MainActor public static func checkExisted(trackID: Swift.String) -> Swift.Bool
|
||||
@_Concurrency.MainActor public static func checkStatus(trackID: Swift.String) -> M2Kit.M2VideoStatus
|
||||
@_Concurrency.MainActor public static func deleteDataOf(trackID: Swift.String)
|
||||
@_Concurrency.MainActor public static func filePathOf(trackID: Swift.String) -> Swift.String
|
||||
}
|
||||
@ -996,6 +1044,8 @@ extension M2Kit.M2NetConnecttionType : Swift.Equatable {}
|
||||
extension M2Kit.M2NetConnecttionType : Swift.Hashable {}
|
||||
extension M2Kit.M2NetMonitor : Swift.Sendable {}
|
||||
extension M2Kit.M2Radio : Swift.Sendable {}
|
||||
extension M2Kit.M2VideoStatus : Swift.Equatable {}
|
||||
extension M2Kit.M2VideoStatus : Swift.Hashable {}
|
||||
extension M2Kit.M2Utils : Swift.Sendable {}
|
||||
extension M2Kit.M2WebView : Swift.Sendable {}
|
||||
extension M2Kit.M2YTIDType : Swift.Equatable {}
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>BuildMachineOSBuild</key>
|
||||
<string>25C56</string>
|
||||
<string>25D125</string>
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>en</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
@ -17,7 +17,7 @@
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>FMWK</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>5.16</string>
|
||||
<string>5.22</string>
|
||||
<key>CFBundleSupportedPlatforms</key>
|
||||
<array>
|
||||
<string>MacOSX</string>
|
||||
@ -27,19 +27,19 @@
|
||||
<key>DTCompiler</key>
|
||||
<string>com.apple.compilers.llvm.clang.1_0</string>
|
||||
<key>DTPlatformBuild</key>
|
||||
<string>25C57</string>
|
||||
<string>25C58</string>
|
||||
<key>DTPlatformName</key>
|
||||
<string>macosx</string>
|
||||
<key>DTPlatformVersion</key>
|
||||
<string>26.2</string>
|
||||
<key>DTSDKBuild</key>
|
||||
<string>25C57</string>
|
||||
<string>25C58</string>
|
||||
<key>DTSDKName</key>
|
||||
<string>macosx26.2</string>
|
||||
<key>DTXcode</key>
|
||||
<string>2620</string>
|
||||
<string>2630</string>
|
||||
<key>DTXcodeBuild</key>
|
||||
<string>17C52</string>
|
||||
<string>17C529</string>
|
||||
<key>LSMinimumSystemVersion</key>
|
||||
<string>13.0</string>
|
||||
<key>UIDeviceFamily</key>
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
#if 0
|
||||
#elif defined(__arm64__) && __arm64__
|
||||
// Generated by Apple Swift version 6.2.3 effective-5.10 (swiftlang-6.2.3.3.21 clang-1700.6.3.2)
|
||||
// Generated by Apple Swift version 6.2.4 effective-5.10 (swiftlang-6.2.4.1.4 clang-1700.6.4.2)
|
||||
#ifndef M2KIT_SWIFT_H
|
||||
#define M2KIT_SWIFT_H
|
||||
#pragma clang diagnostic push
|
||||
@ -324,7 +324,7 @@ SWIFT_CLASS("_TtC5M2Kit7M2WebVC")
|
||||
#endif
|
||||
|
||||
#elif defined(__x86_64__) && __x86_64__
|
||||
// Generated by Apple Swift version 6.2.3 effective-5.10 (swiftlang-6.2.3.3.21 clang-1700.6.3.2)
|
||||
// Generated by Apple Swift version 6.2.4 effective-5.10 (swiftlang-6.2.4.1.4 clang-1700.6.4.2)
|
||||
#ifndef M2KIT_SWIFT_H
|
||||
#define M2KIT_SWIFT_H
|
||||
#pragma clang diagnostic push
|
||||
|
||||
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
@ -1,7 +1,7 @@
|
||||
// swift-interface-format-version: 1.0
|
||||
// swift-compiler-version: Apple Swift version 6.2.3 effective-5.10 (swiftlang-6.2.3.3.21 clang-1700.6.3.2)
|
||||
// swift-compiler-version: Apple Swift version 6.2.4 effective-5.10 (swiftlang-6.2.4.1.4 clang-1700.6.4.2)
|
||||
// swift-module-flags: -target arm64-apple-ios16.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name M2Kit
|
||||
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.2.3
|
||||
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.2.4
|
||||
import Combine
|
||||
import CommonCrypto
|
||||
import Foundation
|
||||
@ -432,18 +432,28 @@ extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func searchChannelsEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ channels: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
#endif
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
@available(*, deprecated, message: "Use getVideosOfChannelEx(channelId:nextToken:result:) instead.")
|
||||
@_Concurrency.MainActor public static func getVideosOfChannelEx(channelName: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
#endif
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
@_Concurrency.MainActor public static func getVideosOfChannelEx(channelId: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
#endif
|
||||
@_Concurrency.MainActor public static func getAllVideosOfPlaylistEx(playlistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@available(*, deprecated, message: "Use ytSongsEx(countrycode:result:) instead.")
|
||||
@_Concurrency.MainActor public static func topSongsEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@available(*, deprecated, message: "Use ytMusicVideosEx(countrycode:result:) instead.")
|
||||
@_Concurrency.MainActor public static func topVideosEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@available(*, deprecated, message: "Use ytTrendingEx(countrycode:result:) instead.")
|
||||
@_Concurrency.MainActor public static func trendingVideosEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@available(*, deprecated, message: "Use ytArtistsEx(countrycode:result:) instead.")
|
||||
@_Concurrency.MainActor public static func topChannelsEx(result: @escaping (_ channels: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@available(*, deprecated, message: "Old API, not used.")
|
||||
@_Concurrency.MainActor public static func listCategoryEx(result: @escaping (_ categories: [(category_id: Swift.String, title: Swift.String)]) -> Swift.Void)
|
||||
@available(*, deprecated, message: "Old API, not used.")
|
||||
@_Concurrency.MainActor public static func getVideosOfCategoryEx(categoryId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@ -467,6 +477,14 @@ extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func kworbListCountriesEx(result: @escaping (_ countries: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func kworbLocalTrendingEx(countryCode: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func ytListCountriesEx(result: @escaping (_ countries: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func ytTrendingEx(countryCode: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func ytMusicVideosEx(countryCode: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func ytSongsEx(countryCode: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func ytArtistsEx(countryCode: Swift.String, result: @escaping (_ artists: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func ytArtistDetailEx(artistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
@_Concurrency.MainActor public static func searchVideos(title: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||
@ -481,18 +499,28 @@ extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func searchChannels(title: Swift.String, nextToken: Swift.String?) async -> (channels: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||
#endif
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
@_Concurrency.MainActor public static func getVideosOfChannel(_ channelName: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||
@available(*, deprecated, message: "Use getVideosOfChannel(channelId:nextToken:) instead.")
|
||||
@_Concurrency.MainActor public static func getVideosOfChannel(channelName: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||
#endif
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
@_Concurrency.MainActor public static func getVideosOfChannel(channelId: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||
#endif
|
||||
@_Concurrency.MainActor public static func getAllVideosOfPlaylist(_ playlistId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@available(*, deprecated, message: "Use ytSongs(countrycode) instead.")
|
||||
@_Concurrency.MainActor public static func topSongs() async -> [[Swift.AnyHashable : Any]]
|
||||
@available(*, deprecated, message: "Use ytMusicVideosEx(countrycode) instead.")
|
||||
@_Concurrency.MainActor public static func topVideos() async -> [[Swift.AnyHashable : Any]]
|
||||
@available(*, deprecated, message: "Use ytTrendingEx(countrycode) instead.")
|
||||
@_Concurrency.MainActor public static func trendingVideos() async -> [[Swift.AnyHashable : Any]]
|
||||
@available(*, deprecated, message: "Use ytArtistsEx(countrycode) instead.")
|
||||
@_Concurrency.MainActor public static func topChannels() async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@available(*, deprecated, message: "Old API, not used.")
|
||||
@_Concurrency.MainActor public static func listCategory() async -> [(category_id: Swift.String, title: Swift.String)]
|
||||
@available(*, deprecated, message: "Old API, not used.")
|
||||
@_Concurrency.MainActor public static func getVideosOfCategory(categoryId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@ -516,6 +544,14 @@ extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func kworbListCountries() async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func kworbLocalTrending(countryCode: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func ytListCountries() async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func ytTrending(countryCode: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func ytMusicVideos(countryCode: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func ytSongs(countryCode: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func ytArtists(countryCode: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func ytArtistDetail(artistId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
@_Concurrency.MainActor public struct M2Backup {
|
||||
@_Concurrency.MainActor public static var backupCode: Swift.String {
|
||||
get
|
||||
@ -923,10 +959,22 @@ extension M2Kit.M2Radio {
|
||||
}
|
||||
@objc deinit
|
||||
}
|
||||
public enum M2VideoStatus {
|
||||
case none
|
||||
case queueing
|
||||
case loading
|
||||
case done
|
||||
public static func == (a: M2Kit.M2VideoStatus, b: M2Kit.M2VideoStatus) -> Swift.Bool
|
||||
public func hash(into hasher: inout Swift.Hasher)
|
||||
public var hashValue: Swift.Int {
|
||||
get
|
||||
}
|
||||
}
|
||||
@_Concurrency.MainActor public struct M2Utils {
|
||||
@_Concurrency.MainActor public static func workFor(trackID: Swift.String)
|
||||
@_Concurrency.MainActor public static let workForChangedNotification: Foundation.Notification.Name
|
||||
@_Concurrency.MainActor public static func checkExisted(trackID: Swift.String) -> Swift.Bool
|
||||
@_Concurrency.MainActor public static func checkStatus(trackID: Swift.String) -> M2Kit.M2VideoStatus
|
||||
@_Concurrency.MainActor public static func deleteDataOf(trackID: Swift.String)
|
||||
@_Concurrency.MainActor public static func filePathOf(trackID: Swift.String) -> Swift.String
|
||||
}
|
||||
@ -996,6 +1044,8 @@ extension M2Kit.M2NetConnecttionType : Swift.Equatable {}
|
||||
extension M2Kit.M2NetConnecttionType : Swift.Hashable {}
|
||||
extension M2Kit.M2NetMonitor : Swift.Sendable {}
|
||||
extension M2Kit.M2Radio : Swift.Sendable {}
|
||||
extension M2Kit.M2VideoStatus : Swift.Equatable {}
|
||||
extension M2Kit.M2VideoStatus : Swift.Hashable {}
|
||||
extension M2Kit.M2Utils : Swift.Sendable {}
|
||||
extension M2Kit.M2WebView : Swift.Sendable {}
|
||||
extension M2Kit.M2YTIDType : Swift.Equatable {}
|
||||
|
||||
Binary file not shown.
@ -1,7 +1,7 @@
|
||||
// swift-interface-format-version: 1.0
|
||||
// swift-compiler-version: Apple Swift version 6.2.3 effective-5.10 (swiftlang-6.2.3.3.21 clang-1700.6.3.2)
|
||||
// swift-compiler-version: Apple Swift version 6.2.4 effective-5.10 (swiftlang-6.2.4.1.4 clang-1700.6.4.2)
|
||||
// swift-module-flags: -target arm64-apple-ios16.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name M2Kit
|
||||
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.2.3
|
||||
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.2.4
|
||||
import Combine
|
||||
import CommonCrypto
|
||||
import Foundation
|
||||
@ -432,18 +432,28 @@ extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func searchChannelsEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ channels: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
#endif
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
@available(*, deprecated, message: "Use getVideosOfChannelEx(channelId:nextToken:result:) instead.")
|
||||
@_Concurrency.MainActor public static func getVideosOfChannelEx(channelName: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
#endif
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
@_Concurrency.MainActor public static func getVideosOfChannelEx(channelId: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
#endif
|
||||
@_Concurrency.MainActor public static func getAllVideosOfPlaylistEx(playlistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@available(*, deprecated, message: "Use ytSongsEx(countrycode:result:) instead.")
|
||||
@_Concurrency.MainActor public static func topSongsEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@available(*, deprecated, message: "Use ytMusicVideosEx(countrycode:result:) instead.")
|
||||
@_Concurrency.MainActor public static func topVideosEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@available(*, deprecated, message: "Use ytTrendingEx(countrycode:result:) instead.")
|
||||
@_Concurrency.MainActor public static func trendingVideosEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@available(*, deprecated, message: "Use ytArtistsEx(countrycode:result:) instead.")
|
||||
@_Concurrency.MainActor public static func topChannelsEx(result: @escaping (_ channels: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@available(*, deprecated, message: "Old API, not used.")
|
||||
@_Concurrency.MainActor public static func listCategoryEx(result: @escaping (_ categories: [(category_id: Swift.String, title: Swift.String)]) -> Swift.Void)
|
||||
@available(*, deprecated, message: "Old API, not used.")
|
||||
@_Concurrency.MainActor public static func getVideosOfCategoryEx(categoryId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@ -467,6 +477,14 @@ extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func kworbListCountriesEx(result: @escaping (_ countries: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func kworbLocalTrendingEx(countryCode: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func ytListCountriesEx(result: @escaping (_ countries: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func ytTrendingEx(countryCode: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func ytMusicVideosEx(countryCode: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func ytSongsEx(countryCode: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func ytArtistsEx(countryCode: Swift.String, result: @escaping (_ artists: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func ytArtistDetailEx(artistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
@_Concurrency.MainActor public static func searchVideos(title: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||
@ -481,18 +499,28 @@ extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func searchChannels(title: Swift.String, nextToken: Swift.String?) async -> (channels: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||
#endif
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
@_Concurrency.MainActor public static func getVideosOfChannel(_ channelName: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||
@available(*, deprecated, message: "Use getVideosOfChannel(channelId:nextToken:) instead.")
|
||||
@_Concurrency.MainActor public static func getVideosOfChannel(channelName: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||
#endif
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
@_Concurrency.MainActor public static func getVideosOfChannel(channelId: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||
#endif
|
||||
@_Concurrency.MainActor public static func getAllVideosOfPlaylist(_ playlistId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@available(*, deprecated, message: "Use ytSongs(countrycode) instead.")
|
||||
@_Concurrency.MainActor public static func topSongs() async -> [[Swift.AnyHashable : Any]]
|
||||
@available(*, deprecated, message: "Use ytMusicVideosEx(countrycode) instead.")
|
||||
@_Concurrency.MainActor public static func topVideos() async -> [[Swift.AnyHashable : Any]]
|
||||
@available(*, deprecated, message: "Use ytTrendingEx(countrycode) instead.")
|
||||
@_Concurrency.MainActor public static func trendingVideos() async -> [[Swift.AnyHashable : Any]]
|
||||
@available(*, deprecated, message: "Use ytArtistsEx(countrycode) instead.")
|
||||
@_Concurrency.MainActor public static func topChannels() async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@available(*, deprecated, message: "Old API, not used.")
|
||||
@_Concurrency.MainActor public static func listCategory() async -> [(category_id: Swift.String, title: Swift.String)]
|
||||
@available(*, deprecated, message: "Old API, not used.")
|
||||
@_Concurrency.MainActor public static func getVideosOfCategory(categoryId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@ -516,6 +544,14 @@ extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func kworbListCountries() async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func kworbLocalTrending(countryCode: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func ytListCountries() async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func ytTrending(countryCode: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func ytMusicVideos(countryCode: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func ytSongs(countryCode: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func ytArtists(countryCode: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func ytArtistDetail(artistId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
@_Concurrency.MainActor public struct M2Backup {
|
||||
@_Concurrency.MainActor public static var backupCode: Swift.String {
|
||||
get
|
||||
@ -923,10 +959,22 @@ extension M2Kit.M2Radio {
|
||||
}
|
||||
@objc deinit
|
||||
}
|
||||
public enum M2VideoStatus {
|
||||
case none
|
||||
case queueing
|
||||
case loading
|
||||
case done
|
||||
public static func == (a: M2Kit.M2VideoStatus, b: M2Kit.M2VideoStatus) -> Swift.Bool
|
||||
public func hash(into hasher: inout Swift.Hasher)
|
||||
public var hashValue: Swift.Int {
|
||||
get
|
||||
}
|
||||
}
|
||||
@_Concurrency.MainActor public struct M2Utils {
|
||||
@_Concurrency.MainActor public static func workFor(trackID: Swift.String)
|
||||
@_Concurrency.MainActor public static let workForChangedNotification: Foundation.Notification.Name
|
||||
@_Concurrency.MainActor public static func checkExisted(trackID: Swift.String) -> Swift.Bool
|
||||
@_Concurrency.MainActor public static func checkStatus(trackID: Swift.String) -> M2Kit.M2VideoStatus
|
||||
@_Concurrency.MainActor public static func deleteDataOf(trackID: Swift.String)
|
||||
@_Concurrency.MainActor public static func filePathOf(trackID: Swift.String) -> Swift.String
|
||||
}
|
||||
@ -996,6 +1044,8 @@ extension M2Kit.M2NetConnecttionType : Swift.Equatable {}
|
||||
extension M2Kit.M2NetConnecttionType : Swift.Hashable {}
|
||||
extension M2Kit.M2NetMonitor : Swift.Sendable {}
|
||||
extension M2Kit.M2Radio : Swift.Sendable {}
|
||||
extension M2Kit.M2VideoStatus : Swift.Equatable {}
|
||||
extension M2Kit.M2VideoStatus : Swift.Hashable {}
|
||||
extension M2Kit.M2Utils : Swift.Sendable {}
|
||||
extension M2Kit.M2WebView : Swift.Sendable {}
|
||||
extension M2Kit.M2YTIDType : Swift.Equatable {}
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -1,7 +1,7 @@
|
||||
// swift-interface-format-version: 1.0
|
||||
// swift-compiler-version: Apple Swift version 6.2.3 effective-5.10 (swiftlang-6.2.3.3.21 clang-1700.6.3.2)
|
||||
// swift-compiler-version: Apple Swift version 6.2.4 effective-5.10 (swiftlang-6.2.4.1.4 clang-1700.6.4.2)
|
||||
// swift-module-flags: -target x86_64-apple-ios16.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name M2Kit
|
||||
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.2.3
|
||||
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.2.4
|
||||
import Combine
|
||||
import CommonCrypto
|
||||
import Foundation
|
||||
@ -432,18 +432,28 @@ extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func searchChannelsEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ channels: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
#endif
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
@available(*, deprecated, message: "Use getVideosOfChannelEx(channelId:nextToken:result:) instead.")
|
||||
@_Concurrency.MainActor public static func getVideosOfChannelEx(channelName: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
#endif
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
@_Concurrency.MainActor public static func getVideosOfChannelEx(channelId: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
#endif
|
||||
@_Concurrency.MainActor public static func getAllVideosOfPlaylistEx(playlistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@available(*, deprecated, message: "Use ytSongsEx(countrycode:result:) instead.")
|
||||
@_Concurrency.MainActor public static func topSongsEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@available(*, deprecated, message: "Use ytMusicVideosEx(countrycode:result:) instead.")
|
||||
@_Concurrency.MainActor public static func topVideosEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@available(*, deprecated, message: "Use ytTrendingEx(countrycode:result:) instead.")
|
||||
@_Concurrency.MainActor public static func trendingVideosEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@available(*, deprecated, message: "Use ytArtistsEx(countrycode:result:) instead.")
|
||||
@_Concurrency.MainActor public static func topChannelsEx(result: @escaping (_ channels: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@available(*, deprecated, message: "Old API, not used.")
|
||||
@_Concurrency.MainActor public static func listCategoryEx(result: @escaping (_ categories: [(category_id: Swift.String, title: Swift.String)]) -> Swift.Void)
|
||||
@available(*, deprecated, message: "Old API, not used.")
|
||||
@_Concurrency.MainActor public static func getVideosOfCategoryEx(categoryId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@ -467,6 +477,14 @@ extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func kworbListCountriesEx(result: @escaping (_ countries: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func kworbLocalTrendingEx(countryCode: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func ytListCountriesEx(result: @escaping (_ countries: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func ytTrendingEx(countryCode: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func ytMusicVideosEx(countryCode: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func ytSongsEx(countryCode: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func ytArtistsEx(countryCode: Swift.String, result: @escaping (_ artists: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func ytArtistDetailEx(artistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
@_Concurrency.MainActor public static func searchVideos(title: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||
@ -481,18 +499,28 @@ extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func searchChannels(title: Swift.String, nextToken: Swift.String?) async -> (channels: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||
#endif
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
@_Concurrency.MainActor public static func getVideosOfChannel(_ channelName: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||
@available(*, deprecated, message: "Use getVideosOfChannel(channelId:nextToken:) instead.")
|
||||
@_Concurrency.MainActor public static func getVideosOfChannel(channelName: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||
#endif
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
@_Concurrency.MainActor public static func getVideosOfChannel(channelId: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||
#endif
|
||||
@_Concurrency.MainActor public static func getAllVideosOfPlaylist(_ playlistId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@available(*, deprecated, message: "Use ytSongs(countrycode) instead.")
|
||||
@_Concurrency.MainActor public static func topSongs() async -> [[Swift.AnyHashable : Any]]
|
||||
@available(*, deprecated, message: "Use ytMusicVideosEx(countrycode) instead.")
|
||||
@_Concurrency.MainActor public static func topVideos() async -> [[Swift.AnyHashable : Any]]
|
||||
@available(*, deprecated, message: "Use ytTrendingEx(countrycode) instead.")
|
||||
@_Concurrency.MainActor public static func trendingVideos() async -> [[Swift.AnyHashable : Any]]
|
||||
@available(*, deprecated, message: "Use ytArtistsEx(countrycode) instead.")
|
||||
@_Concurrency.MainActor public static func topChannels() async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@available(*, deprecated, message: "Old API, not used.")
|
||||
@_Concurrency.MainActor public static func listCategory() async -> [(category_id: Swift.String, title: Swift.String)]
|
||||
@available(*, deprecated, message: "Old API, not used.")
|
||||
@_Concurrency.MainActor public static func getVideosOfCategory(categoryId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@ -516,6 +544,14 @@ extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func kworbListCountries() async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func kworbLocalTrending(countryCode: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func ytListCountries() async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func ytTrending(countryCode: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func ytMusicVideos(countryCode: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func ytSongs(countryCode: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func ytArtists(countryCode: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func ytArtistDetail(artistId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
@_Concurrency.MainActor public struct M2Backup {
|
||||
@_Concurrency.MainActor public static var backupCode: Swift.String {
|
||||
get
|
||||
@ -923,10 +959,22 @@ extension M2Kit.M2Radio {
|
||||
}
|
||||
@objc deinit
|
||||
}
|
||||
public enum M2VideoStatus {
|
||||
case none
|
||||
case queueing
|
||||
case loading
|
||||
case done
|
||||
public static func == (a: M2Kit.M2VideoStatus, b: M2Kit.M2VideoStatus) -> Swift.Bool
|
||||
public func hash(into hasher: inout Swift.Hasher)
|
||||
public var hashValue: Swift.Int {
|
||||
get
|
||||
}
|
||||
}
|
||||
@_Concurrency.MainActor public struct M2Utils {
|
||||
@_Concurrency.MainActor public static func workFor(trackID: Swift.String)
|
||||
@_Concurrency.MainActor public static let workForChangedNotification: Foundation.Notification.Name
|
||||
@_Concurrency.MainActor public static func checkExisted(trackID: Swift.String) -> Swift.Bool
|
||||
@_Concurrency.MainActor public static func checkStatus(trackID: Swift.String) -> M2Kit.M2VideoStatus
|
||||
@_Concurrency.MainActor public static func deleteDataOf(trackID: Swift.String)
|
||||
@_Concurrency.MainActor public static func filePathOf(trackID: Swift.String) -> Swift.String
|
||||
}
|
||||
@ -996,6 +1044,8 @@ extension M2Kit.M2NetConnecttionType : Swift.Equatable {}
|
||||
extension M2Kit.M2NetConnecttionType : Swift.Hashable {}
|
||||
extension M2Kit.M2NetMonitor : Swift.Sendable {}
|
||||
extension M2Kit.M2Radio : Swift.Sendable {}
|
||||
extension M2Kit.M2VideoStatus : Swift.Equatable {}
|
||||
extension M2Kit.M2VideoStatus : Swift.Hashable {}
|
||||
extension M2Kit.M2Utils : Swift.Sendable {}
|
||||
extension M2Kit.M2WebView : Swift.Sendable {}
|
||||
extension M2Kit.M2YTIDType : Swift.Equatable {}
|
||||
|
||||
Binary file not shown.
@ -1,7 +1,7 @@
|
||||
// swift-interface-format-version: 1.0
|
||||
// swift-compiler-version: Apple Swift version 6.2.3 effective-5.10 (swiftlang-6.2.3.3.21 clang-1700.6.3.2)
|
||||
// swift-compiler-version: Apple Swift version 6.2.4 effective-5.10 (swiftlang-6.2.4.1.4 clang-1700.6.4.2)
|
||||
// swift-module-flags: -target x86_64-apple-ios16.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name M2Kit
|
||||
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.2.3
|
||||
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.2.4
|
||||
import Combine
|
||||
import CommonCrypto
|
||||
import Foundation
|
||||
@ -432,18 +432,28 @@ extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func searchChannelsEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ channels: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
#endif
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
@available(*, deprecated, message: "Use getVideosOfChannelEx(channelId:nextToken:result:) instead.")
|
||||
@_Concurrency.MainActor public static func getVideosOfChannelEx(channelName: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
#endif
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
@_Concurrency.MainActor public static func getVideosOfChannelEx(channelId: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
#endif
|
||||
@_Concurrency.MainActor public static func getAllVideosOfPlaylistEx(playlistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@available(*, deprecated, message: "Use ytSongsEx(countrycode:result:) instead.")
|
||||
@_Concurrency.MainActor public static func topSongsEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@available(*, deprecated, message: "Use ytMusicVideosEx(countrycode:result:) instead.")
|
||||
@_Concurrency.MainActor public static func topVideosEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@available(*, deprecated, message: "Use ytTrendingEx(countrycode:result:) instead.")
|
||||
@_Concurrency.MainActor public static func trendingVideosEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@available(*, deprecated, message: "Use ytArtistsEx(countrycode:result:) instead.")
|
||||
@_Concurrency.MainActor public static func topChannelsEx(result: @escaping (_ channels: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@available(*, deprecated, message: "Old API, not used.")
|
||||
@_Concurrency.MainActor public static func listCategoryEx(result: @escaping (_ categories: [(category_id: Swift.String, title: Swift.String)]) -> Swift.Void)
|
||||
@available(*, deprecated, message: "Old API, not used.")
|
||||
@_Concurrency.MainActor public static func getVideosOfCategoryEx(categoryId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@ -467,6 +477,14 @@ extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func kworbListCountriesEx(result: @escaping (_ countries: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func kworbLocalTrendingEx(countryCode: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func ytListCountriesEx(result: @escaping (_ countries: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func ytTrendingEx(countryCode: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func ytMusicVideosEx(countryCode: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func ytSongsEx(countryCode: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func ytArtistsEx(countryCode: Swift.String, result: @escaping (_ artists: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func ytArtistDetailEx(artistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
@_Concurrency.MainActor public static func searchVideos(title: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||
@ -481,18 +499,28 @@ extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func searchChannels(title: Swift.String, nextToken: Swift.String?) async -> (channels: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||
#endif
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
@_Concurrency.MainActor public static func getVideosOfChannel(_ channelName: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||
@available(*, deprecated, message: "Use getVideosOfChannel(channelId:nextToken:) instead.")
|
||||
@_Concurrency.MainActor public static func getVideosOfChannel(channelName: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||
#endif
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
@_Concurrency.MainActor public static func getVideosOfChannel(channelId: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||
#endif
|
||||
@_Concurrency.MainActor public static func getAllVideosOfPlaylist(_ playlistId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@available(*, deprecated, message: "Use ytSongs(countrycode) instead.")
|
||||
@_Concurrency.MainActor public static func topSongs() async -> [[Swift.AnyHashable : Any]]
|
||||
@available(*, deprecated, message: "Use ytMusicVideosEx(countrycode) instead.")
|
||||
@_Concurrency.MainActor public static func topVideos() async -> [[Swift.AnyHashable : Any]]
|
||||
@available(*, deprecated, message: "Use ytTrendingEx(countrycode) instead.")
|
||||
@_Concurrency.MainActor public static func trendingVideos() async -> [[Swift.AnyHashable : Any]]
|
||||
@available(*, deprecated, message: "Use ytArtistsEx(countrycode) instead.")
|
||||
@_Concurrency.MainActor public static func topChannels() async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@available(*, deprecated, message: "Old API, not used.")
|
||||
@_Concurrency.MainActor public static func listCategory() async -> [(category_id: Swift.String, title: Swift.String)]
|
||||
@available(*, deprecated, message: "Old API, not used.")
|
||||
@_Concurrency.MainActor public static func getVideosOfCategory(categoryId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@ -516,6 +544,14 @@ extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func kworbListCountries() async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func kworbLocalTrending(countryCode: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func ytListCountries() async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func ytTrending(countryCode: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func ytMusicVideos(countryCode: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func ytSongs(countryCode: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func ytArtists(countryCode: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func ytArtistDetail(artistId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
@_Concurrency.MainActor public struct M2Backup {
|
||||
@_Concurrency.MainActor public static var backupCode: Swift.String {
|
||||
get
|
||||
@ -923,10 +959,22 @@ extension M2Kit.M2Radio {
|
||||
}
|
||||
@objc deinit
|
||||
}
|
||||
public enum M2VideoStatus {
|
||||
case none
|
||||
case queueing
|
||||
case loading
|
||||
case done
|
||||
public static func == (a: M2Kit.M2VideoStatus, b: M2Kit.M2VideoStatus) -> Swift.Bool
|
||||
public func hash(into hasher: inout Swift.Hasher)
|
||||
public var hashValue: Swift.Int {
|
||||
get
|
||||
}
|
||||
}
|
||||
@_Concurrency.MainActor public struct M2Utils {
|
||||
@_Concurrency.MainActor public static func workFor(trackID: Swift.String)
|
||||
@_Concurrency.MainActor public static let workForChangedNotification: Foundation.Notification.Name
|
||||
@_Concurrency.MainActor public static func checkExisted(trackID: Swift.String) -> Swift.Bool
|
||||
@_Concurrency.MainActor public static func checkStatus(trackID: Swift.String) -> M2Kit.M2VideoStatus
|
||||
@_Concurrency.MainActor public static func deleteDataOf(trackID: Swift.String)
|
||||
@_Concurrency.MainActor public static func filePathOf(trackID: Swift.String) -> Swift.String
|
||||
}
|
||||
@ -996,6 +1044,8 @@ extension M2Kit.M2NetConnecttionType : Swift.Equatable {}
|
||||
extension M2Kit.M2NetConnecttionType : Swift.Hashable {}
|
||||
extension M2Kit.M2NetMonitor : Swift.Sendable {}
|
||||
extension M2Kit.M2Radio : Swift.Sendable {}
|
||||
extension M2Kit.M2VideoStatus : Swift.Equatable {}
|
||||
extension M2Kit.M2VideoStatus : Swift.Hashable {}
|
||||
extension M2Kit.M2Utils : Swift.Sendable {}
|
||||
extension M2Kit.M2WebView : Swift.Sendable {}
|
||||
extension M2Kit.M2YTIDType : Swift.Equatable {}
|
||||
|
||||
Binary file not shown.
@ -6,51 +6,51 @@
|
||||
<dict>
|
||||
<key>Headers/M2Kit-Swift.h</key>
|
||||
<data>
|
||||
7Rdmc7huiI6sKd5bwPLEoLlkiYc=
|
||||
r4kMFN4LP5jD9hkwECNbiaNfYuE=
|
||||
</data>
|
||||
<key>Info.plist</key>
|
||||
<data>
|
||||
cgewhzYiR3ByRYNCV0Op3xjjBXI=
|
||||
LfA0nTwFtHFBnEoBU6rIouNEWig=
|
||||
</data>
|
||||
<key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.abi.json</key>
|
||||
<data>
|
||||
4Roa07eGyyTThSGcpCl02C3H9/k=
|
||||
Al409eWlcygW+cadIEPE5YaIHsk=
|
||||
</data>
|
||||
<key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
|
||||
<data>
|
||||
oXmlM/D0AXEkB9y/jjMnnasNdeg=
|
||||
xPT6AKzGduUiWCNmhOUXz6AJPlY=
|
||||
</data>
|
||||
<key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
|
||||
<data>
|
||||
/cJzyM6x0Xe0EZhd9knrMyb2QMM=
|
||||
7zUGoWcOGxcgDXh4tnMB+TM8Fso=
|
||||
</data>
|
||||
<key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftinterface</key>
|
||||
<data>
|
||||
oXmlM/D0AXEkB9y/jjMnnasNdeg=
|
||||
xPT6AKzGduUiWCNmhOUXz6AJPlY=
|
||||
</data>
|
||||
<key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
|
||||
<data>
|
||||
6/lYtYM2bwoAhDvACcnQc8aEe1I=
|
||||
1YXWu7DVrCRBqTh0gr9xujOCMQE=
|
||||
</data>
|
||||
<key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
|
||||
<data>
|
||||
4Roa07eGyyTThSGcpCl02C3H9/k=
|
||||
Al409eWlcygW+cadIEPE5YaIHsk=
|
||||
</data>
|
||||
<key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
|
||||
<data>
|
||||
i9DGF6Wv0u8Qi8rc2czOHi+m+r4=
|
||||
cHnxnfX22fOv4xH3d+qFGT8YpVY=
|
||||
</data>
|
||||
<key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
|
||||
<data>
|
||||
7pSt4yTLPawE8H9Bsi10+6jYHkA=
|
||||
NvmPpZAxo4QvjCiueKIoWjJcULc=
|
||||
</data>
|
||||
<key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface</key>
|
||||
<data>
|
||||
i9DGF6Wv0u8Qi8rc2czOHi+m+r4=
|
||||
cHnxnfX22fOv4xH3d+qFGT8YpVY=
|
||||
</data>
|
||||
<key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
|
||||
<data>
|
||||
nGotADHXdG782FPDppfg0/NIJXs=
|
||||
uIzU7Q0cGJzF1HAF1uWQe00F068=
|
||||
</data>
|
||||
<key>Modules/module.modulemap</key>
|
||||
<data>
|
||||
@ -63,77 +63,77 @@
|
||||
<dict>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
SzL7aZykET1tYTLu2DE+CPYFwYoxjE/pNa2/+qsMmJk=
|
||||
Dszwi9Eu7vRHTMDU7owRRrAavROd3MDCuhnT6y51K6I=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.abi.json</key>
|
||||
<dict>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
4J8qjKA6fz+kp6CxJAF3XuY95Lii3KzdhV8ppVzYGcc=
|
||||
FEDN8OdF9+BeGeF/Hacl7L0Q4vTlhIHWI6P3m8WYCRA=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
|
||||
<dict>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
ggOJoWqYB68lWxGpXX93VFO7L9/Pgf05WKyUX6/+P/o=
|
||||
kC2yPuZqoL8BO4agX7ewsCUSNoQo8hpJ4Oo0mTrGSfU=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
|
||||
<dict>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
kmZt3gg4oX1N8/rzRmpwVRez4P6ngTEY0DbUXnzSCqs=
|
||||
PBwNjIF+EjLCxabdGUPE7n0NiuEp3GgzONhj7M+apOo=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftinterface</key>
|
||||
<dict>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
ggOJoWqYB68lWxGpXX93VFO7L9/Pgf05WKyUX6/+P/o=
|
||||
kC2yPuZqoL8BO4agX7ewsCUSNoQo8hpJ4Oo0mTrGSfU=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
|
||||
<dict>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
/I5o6Ggsshd/AGdSpaafStcbjfPFRNd3p91GO7s/r10=
|
||||
0+dD1mAcQ/904E7SCgAqFElAwU5H3h3xrIbn/rrKMZ8=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
|
||||
<dict>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
4J8qjKA6fz+kp6CxJAF3XuY95Lii3KzdhV8ppVzYGcc=
|
||||
FEDN8OdF9+BeGeF/Hacl7L0Q4vTlhIHWI6P3m8WYCRA=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
|
||||
<dict>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
L374EOPPjGl1Aq5Z5nBqFdPhzup/Cny40EmL3Awwtrw=
|
||||
2Bh/EWqgIP/Bx2t0Xw0UWYBRCBZJ1LE9+nKKwKj+svY=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
|
||||
<dict>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
G3Bktu5JUqrIDUH/PMBHGyTrWya5rJJb6VToDvk853g=
|
||||
DFt9TXzprLPBGoKJFFqRQyYPxDfV2IzMUFzIwxtMxGo=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface</key>
|
||||
<dict>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
L374EOPPjGl1Aq5Z5nBqFdPhzup/Cny40EmL3Awwtrw=
|
||||
2Bh/EWqgIP/Bx2t0Xw0UWYBRCBZJ1LE9+nKKwKj+svY=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
|
||||
<dict>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
2QK/FakStjaEjWG75cdqvIf1j9EEBw9edoyAPP+ROUY=
|
||||
d6rIQTXSflc0U8LWd9typ2JH4p4OdRHzN+WkoH3SBfk=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Modules/module.modulemap</key>
|
||||
|
||||
Reference in New Issue
Block a user