Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 32e26138f9 | |||
| 23a9ea0820 | |||
| 28534ab6aa | |||
| 11c95a7569 | |||
| 7a2ba658eb | |||
| 199a5be7c5 |
@ -6,17 +6,20 @@
|
|||||||
<array>
|
<array>
|
||||||
<dict>
|
<dict>
|
||||||
<key>BinaryPath</key>
|
<key>BinaryPath</key>
|
||||||
<string>M2Kit.framework/M2Kit</string>
|
<string>M2Kit.framework/Versions/A/M2Kit</string>
|
||||||
<key>LibraryIdentifier</key>
|
<key>LibraryIdentifier</key>
|
||||||
<string>ios-arm64</string>
|
<string>ios-arm64_x86_64-maccatalyst</string>
|
||||||
<key>LibraryPath</key>
|
<key>LibraryPath</key>
|
||||||
<string>M2Kit.framework</string>
|
<string>M2Kit.framework</string>
|
||||||
<key>SupportedArchitectures</key>
|
<key>SupportedArchitectures</key>
|
||||||
<array>
|
<array>
|
||||||
<string>arm64</string>
|
<string>arm64</string>
|
||||||
|
<string>x86_64</string>
|
||||||
</array>
|
</array>
|
||||||
<key>SupportedPlatform</key>
|
<key>SupportedPlatform</key>
|
||||||
<string>ios</string>
|
<string>ios</string>
|
||||||
|
<key>SupportedPlatformVariant</key>
|
||||||
|
<string>maccatalyst</string>
|
||||||
</dict>
|
</dict>
|
||||||
<dict>
|
<dict>
|
||||||
<key>BinaryPath</key>
|
<key>BinaryPath</key>
|
||||||
@ -37,20 +40,17 @@
|
|||||||
</dict>
|
</dict>
|
||||||
<dict>
|
<dict>
|
||||||
<key>BinaryPath</key>
|
<key>BinaryPath</key>
|
||||||
<string>M2Kit.framework/Versions/A/M2Kit</string>
|
<string>M2Kit.framework/M2Kit</string>
|
||||||
<key>LibraryIdentifier</key>
|
<key>LibraryIdentifier</key>
|
||||||
<string>ios-arm64_x86_64-maccatalyst</string>
|
<string>ios-arm64</string>
|
||||||
<key>LibraryPath</key>
|
<key>LibraryPath</key>
|
||||||
<string>M2Kit.framework</string>
|
<string>M2Kit.framework</string>
|
||||||
<key>SupportedArchitectures</key>
|
<key>SupportedArchitectures</key>
|
||||||
<array>
|
<array>
|
||||||
<string>arm64</string>
|
<string>arm64</string>
|
||||||
<string>x86_64</string>
|
|
||||||
</array>
|
</array>
|
||||||
<key>SupportedPlatform</key>
|
<key>SupportedPlatform</key>
|
||||||
<string>ios</string>
|
<string>ios</string>
|
||||||
<key>SupportedPlatformVariant</key>
|
|
||||||
<string>maccatalyst</string>
|
|
||||||
</dict>
|
</dict>
|
||||||
</array>
|
</array>
|
||||||
<key>CFBundlePackageType</key>
|
<key>CFBundlePackageType</key>
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
@ -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)
|
@_Concurrency.MainActor public static func searchChannelsEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ channels: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
#endif
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
#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)
|
@_Concurrency.MainActor public static func getVideosOfChannelEx(channelName: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
#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)
|
@_Concurrency.MainActor public static func getAllVideosOfPlaylistEx(playlistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
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)
|
@_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)
|
@_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)
|
@_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)
|
@_Concurrency.MainActor public static func topChannelsEx(result: @escaping (_ channels: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
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)
|
@_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)
|
@_Concurrency.MainActor public static func getVideosOfCategoryEx(categoryId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
@ -455,9 +465,26 @@ extension M2Kit.M2API {
|
|||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
#if compiler(>=5.3) && $NonescapableTypes
|
||||||
@_Concurrency.MainActor public static func getLinkPlayEx(videoId: Swift.String, result: @escaping (_ videoUrl: Foundation.URL?, _ videoId: Swift.String) -> Swift.Void)
|
@_Concurrency.MainActor public static func getLinkPlayEx(videoId: Swift.String, result: @escaping (_ videoUrl: Foundation.URL?, _ videoId: Swift.String, _ metadata: [Swift.AnyHashable : Any]?) -> Swift.Void)
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
extension M2Kit.M2API {
|
||||||
|
@_Concurrency.MainActor public static func kworbMusicVideoWWEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
|
@_Concurrency.MainActor public static func kworbMusicCategoryWWEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
|
@_Concurrency.MainActor public static func kworbGlobalTrendingEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
|
@_Concurrency.MainActor public static func kworbTopArtistsEx(result: @escaping (_ artists: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
|
@_Concurrency.MainActor public static func kworbArtistDetailEx(artistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
|
@_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 {
|
extension M2Kit.M2API {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
#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?)
|
@_Concurrency.MainActor public static func searchVideos(title: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||||
@ -472,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?)
|
@_Concurrency.MainActor public static func searchChannels(title: Swift.String, nextToken: Swift.String?) async -> (channels: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||||
#endif
|
#endif
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
#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
|
#endif
|
||||||
@_Concurrency.MainActor public static func getAllVideosOfPlaylist(_ playlistId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
@_Concurrency.MainActor public static func getAllVideosOfPlaylist(_ playlistId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
|
@available(*, deprecated, message: "Use ytSongs(countrycode) instead.")
|
||||||
@_Concurrency.MainActor public static func topSongs() async -> [[Swift.AnyHashable : Any]]
|
@_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]]
|
@_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]]
|
@_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]]
|
@_Concurrency.MainActor public static func topChannels() async -> [[Swift.AnyHashable : Any]]
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
|
@available(*, deprecated, message: "Old API, not used.")
|
||||||
@_Concurrency.MainActor public static func listCategory() async -> [(category_id: Swift.String, title: Swift.String)]
|
@_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]]
|
@_Concurrency.MainActor public static func getVideosOfCategory(categoryId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
@ -495,9 +532,26 @@ extension M2Kit.M2API {
|
|||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
#if compiler(>=5.3) && $NonescapableTypes
|
||||||
@_Concurrency.MainActor public static func getLinkPlay(videoId: Swift.String) async -> (videoUrl: Foundation.URL?, videoId: Swift.String)
|
@_Concurrency.MainActor public static func getLinkPlay(videoId: Swift.String) async -> (videoUrl: Foundation.URL?, videoId: Swift.String, metadata: [Swift.AnyHashable : Any]?)
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
extension M2Kit.M2API {
|
||||||
|
@_Concurrency.MainActor public static func kworbMusicVideoWW() async -> [[Swift.AnyHashable : Any]]
|
||||||
|
@_Concurrency.MainActor public static func kworbMusicCategoryWW() async -> [[Swift.AnyHashable : Any]]
|
||||||
|
@_Concurrency.MainActor public static func kworbGlobalTrending() async -> [[Swift.AnyHashable : Any]]
|
||||||
|
@_Concurrency.MainActor public static func kworbTopArtists() async -> [[Swift.AnyHashable : Any]]
|
||||||
|
@_Concurrency.MainActor public static func kworbArtistDetail(artistId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||||
|
@_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 struct M2Backup {
|
||||||
@_Concurrency.MainActor public static var backupCode: Swift.String {
|
@_Concurrency.MainActor public static var backupCode: Swift.String {
|
||||||
get
|
get
|
||||||
@ -521,7 +575,7 @@ extension M2Kit.M2API {
|
|||||||
@_Concurrency.MainActor public static func getBackupPlaylist(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getBackupPlaylist(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
@_Concurrency.MainActor public let m2Version: Swift.String
|
public let m2Version: Swift.String
|
||||||
@_Concurrency.MainActor public func setServiceType(_ type: Swift.String)
|
@_Concurrency.MainActor public func setServiceType(_ type: Swift.String)
|
||||||
@_Concurrency.MainActor public func setLogLevel(_ value: Swift.Int)
|
@_Concurrency.MainActor public func setLogLevel(_ value: Swift.Int)
|
||||||
@_Concurrency.MainActor public struct M2Feedback {
|
@_Concurrency.MainActor public struct M2Feedback {
|
||||||
|
|||||||
Binary file not shown.
@ -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)
|
@_Concurrency.MainActor public static func searchChannelsEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ channels: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
#endif
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
#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)
|
@_Concurrency.MainActor public static func getVideosOfChannelEx(channelName: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
#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)
|
@_Concurrency.MainActor public static func getAllVideosOfPlaylistEx(playlistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
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)
|
@_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)
|
@_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)
|
@_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)
|
@_Concurrency.MainActor public static func topChannelsEx(result: @escaping (_ channels: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
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)
|
@_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)
|
@_Concurrency.MainActor public static func getVideosOfCategoryEx(categoryId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
@ -455,9 +465,26 @@ extension M2Kit.M2API {
|
|||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
#if compiler(>=5.3) && $NonescapableTypes
|
||||||
@_Concurrency.MainActor public static func getLinkPlayEx(videoId: Swift.String, result: @escaping (_ videoUrl: Foundation.URL?, _ videoId: Swift.String) -> Swift.Void)
|
@_Concurrency.MainActor public static func getLinkPlayEx(videoId: Swift.String, result: @escaping (_ videoUrl: Foundation.URL?, _ videoId: Swift.String, _ metadata: [Swift.AnyHashable : Any]?) -> Swift.Void)
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
extension M2Kit.M2API {
|
||||||
|
@_Concurrency.MainActor public static func kworbMusicVideoWWEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
|
@_Concurrency.MainActor public static func kworbMusicCategoryWWEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
|
@_Concurrency.MainActor public static func kworbGlobalTrendingEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
|
@_Concurrency.MainActor public static func kworbTopArtistsEx(result: @escaping (_ artists: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
|
@_Concurrency.MainActor public static func kworbArtistDetailEx(artistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
|
@_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 {
|
extension M2Kit.M2API {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
#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?)
|
@_Concurrency.MainActor public static func searchVideos(title: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||||
@ -472,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?)
|
@_Concurrency.MainActor public static func searchChannels(title: Swift.String, nextToken: Swift.String?) async -> (channels: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||||
#endif
|
#endif
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
#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
|
#endif
|
||||||
@_Concurrency.MainActor public static func getAllVideosOfPlaylist(_ playlistId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
@_Concurrency.MainActor public static func getAllVideosOfPlaylist(_ playlistId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
|
@available(*, deprecated, message: "Use ytSongs(countrycode) instead.")
|
||||||
@_Concurrency.MainActor public static func topSongs() async -> [[Swift.AnyHashable : Any]]
|
@_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]]
|
@_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]]
|
@_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]]
|
@_Concurrency.MainActor public static func topChannels() async -> [[Swift.AnyHashable : Any]]
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
|
@available(*, deprecated, message: "Old API, not used.")
|
||||||
@_Concurrency.MainActor public static func listCategory() async -> [(category_id: Swift.String, title: Swift.String)]
|
@_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]]
|
@_Concurrency.MainActor public static func getVideosOfCategory(categoryId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
@ -495,9 +532,26 @@ extension M2Kit.M2API {
|
|||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
#if compiler(>=5.3) && $NonescapableTypes
|
||||||
@_Concurrency.MainActor public static func getLinkPlay(videoId: Swift.String) async -> (videoUrl: Foundation.URL?, videoId: Swift.String)
|
@_Concurrency.MainActor public static func getLinkPlay(videoId: Swift.String) async -> (videoUrl: Foundation.URL?, videoId: Swift.String, metadata: [Swift.AnyHashable : Any]?)
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
extension M2Kit.M2API {
|
||||||
|
@_Concurrency.MainActor public static func kworbMusicVideoWW() async -> [[Swift.AnyHashable : Any]]
|
||||||
|
@_Concurrency.MainActor public static func kworbMusicCategoryWW() async -> [[Swift.AnyHashable : Any]]
|
||||||
|
@_Concurrency.MainActor public static func kworbGlobalTrending() async -> [[Swift.AnyHashable : Any]]
|
||||||
|
@_Concurrency.MainActor public static func kworbTopArtists() async -> [[Swift.AnyHashable : Any]]
|
||||||
|
@_Concurrency.MainActor public static func kworbArtistDetail(artistId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||||
|
@_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 struct M2Backup {
|
||||||
@_Concurrency.MainActor public static var backupCode: Swift.String {
|
@_Concurrency.MainActor public static var backupCode: Swift.String {
|
||||||
get
|
get
|
||||||
@ -521,7 +575,7 @@ extension M2Kit.M2API {
|
|||||||
@_Concurrency.MainActor public static func getBackupPlaylist(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getBackupPlaylist(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
@_Concurrency.MainActor public let m2Version: Swift.String
|
public let m2Version: Swift.String
|
||||||
@_Concurrency.MainActor public func setServiceType(_ type: Swift.String)
|
@_Concurrency.MainActor public func setServiceType(_ type: Swift.String)
|
||||||
@_Concurrency.MainActor public func setLogLevel(_ value: Swift.Int)
|
@_Concurrency.MainActor public func setLogLevel(_ value: Swift.Int)
|
||||||
@_Concurrency.MainActor public struct M2Feedback {
|
@_Concurrency.MainActor public struct M2Feedback {
|
||||||
|
|||||||
Binary file not shown.
File diff suppressed because one or more lines are too long
@ -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)
|
@_Concurrency.MainActor public static func searchChannelsEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ channels: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
#endif
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
#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)
|
@_Concurrency.MainActor public static func getVideosOfChannelEx(channelName: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
#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)
|
@_Concurrency.MainActor public static func getAllVideosOfPlaylistEx(playlistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
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)
|
@_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)
|
@_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)
|
@_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)
|
@_Concurrency.MainActor public static func topChannelsEx(result: @escaping (_ channels: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
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)
|
@_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)
|
@_Concurrency.MainActor public static func getVideosOfCategoryEx(categoryId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
@ -455,9 +465,26 @@ extension M2Kit.M2API {
|
|||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
#if compiler(>=5.3) && $NonescapableTypes
|
||||||
@_Concurrency.MainActor public static func getLinkPlayEx(videoId: Swift.String, result: @escaping (_ videoUrl: Foundation.URL?, _ videoId: Swift.String) -> Swift.Void)
|
@_Concurrency.MainActor public static func getLinkPlayEx(videoId: Swift.String, result: @escaping (_ videoUrl: Foundation.URL?, _ videoId: Swift.String, _ metadata: [Swift.AnyHashable : Any]?) -> Swift.Void)
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
extension M2Kit.M2API {
|
||||||
|
@_Concurrency.MainActor public static func kworbMusicVideoWWEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
|
@_Concurrency.MainActor public static func kworbMusicCategoryWWEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
|
@_Concurrency.MainActor public static func kworbGlobalTrendingEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
|
@_Concurrency.MainActor public static func kworbTopArtistsEx(result: @escaping (_ artists: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
|
@_Concurrency.MainActor public static func kworbArtistDetailEx(artistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
|
@_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 {
|
extension M2Kit.M2API {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
#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?)
|
@_Concurrency.MainActor public static func searchVideos(title: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||||
@ -472,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?)
|
@_Concurrency.MainActor public static func searchChannels(title: Swift.String, nextToken: Swift.String?) async -> (channels: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||||
#endif
|
#endif
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
#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
|
#endif
|
||||||
@_Concurrency.MainActor public static func getAllVideosOfPlaylist(_ playlistId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
@_Concurrency.MainActor public static func getAllVideosOfPlaylist(_ playlistId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
|
@available(*, deprecated, message: "Use ytSongs(countrycode) instead.")
|
||||||
@_Concurrency.MainActor public static func topSongs() async -> [[Swift.AnyHashable : Any]]
|
@_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]]
|
@_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]]
|
@_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]]
|
@_Concurrency.MainActor public static func topChannels() async -> [[Swift.AnyHashable : Any]]
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
|
@available(*, deprecated, message: "Old API, not used.")
|
||||||
@_Concurrency.MainActor public static func listCategory() async -> [(category_id: Swift.String, title: Swift.String)]
|
@_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]]
|
@_Concurrency.MainActor public static func getVideosOfCategory(categoryId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
@ -495,9 +532,26 @@ extension M2Kit.M2API {
|
|||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
#if compiler(>=5.3) && $NonescapableTypes
|
||||||
@_Concurrency.MainActor public static func getLinkPlay(videoId: Swift.String) async -> (videoUrl: Foundation.URL?, videoId: Swift.String)
|
@_Concurrency.MainActor public static func getLinkPlay(videoId: Swift.String) async -> (videoUrl: Foundation.URL?, videoId: Swift.String, metadata: [Swift.AnyHashable : Any]?)
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
extension M2Kit.M2API {
|
||||||
|
@_Concurrency.MainActor public static func kworbMusicVideoWW() async -> [[Swift.AnyHashable : Any]]
|
||||||
|
@_Concurrency.MainActor public static func kworbMusicCategoryWW() async -> [[Swift.AnyHashable : Any]]
|
||||||
|
@_Concurrency.MainActor public static func kworbGlobalTrending() async -> [[Swift.AnyHashable : Any]]
|
||||||
|
@_Concurrency.MainActor public static func kworbTopArtists() async -> [[Swift.AnyHashable : Any]]
|
||||||
|
@_Concurrency.MainActor public static func kworbArtistDetail(artistId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||||
|
@_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 struct M2Backup {
|
||||||
@_Concurrency.MainActor public static var backupCode: Swift.String {
|
@_Concurrency.MainActor public static var backupCode: Swift.String {
|
||||||
get
|
get
|
||||||
@ -521,7 +575,7 @@ extension M2Kit.M2API {
|
|||||||
@_Concurrency.MainActor public static func getBackupPlaylist(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getBackupPlaylist(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
@_Concurrency.MainActor public let m2Version: Swift.String
|
public let m2Version: Swift.String
|
||||||
@_Concurrency.MainActor public func setServiceType(_ type: Swift.String)
|
@_Concurrency.MainActor public func setServiceType(_ type: Swift.String)
|
||||||
@_Concurrency.MainActor public func setLogLevel(_ value: Swift.Int)
|
@_Concurrency.MainActor public func setLogLevel(_ value: Swift.Int)
|
||||||
@_Concurrency.MainActor public struct M2Feedback {
|
@_Concurrency.MainActor public struct M2Feedback {
|
||||||
|
|||||||
Binary file not shown.
@ -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)
|
@_Concurrency.MainActor public static func searchChannelsEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ channels: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
#endif
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
#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)
|
@_Concurrency.MainActor public static func getVideosOfChannelEx(channelName: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
#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)
|
@_Concurrency.MainActor public static func getAllVideosOfPlaylistEx(playlistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
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)
|
@_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)
|
@_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)
|
@_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)
|
@_Concurrency.MainActor public static func topChannelsEx(result: @escaping (_ channels: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
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)
|
@_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)
|
@_Concurrency.MainActor public static func getVideosOfCategoryEx(categoryId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
@ -455,9 +465,26 @@ extension M2Kit.M2API {
|
|||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
#if compiler(>=5.3) && $NonescapableTypes
|
||||||
@_Concurrency.MainActor public static func getLinkPlayEx(videoId: Swift.String, result: @escaping (_ videoUrl: Foundation.URL?, _ videoId: Swift.String) -> Swift.Void)
|
@_Concurrency.MainActor public static func getLinkPlayEx(videoId: Swift.String, result: @escaping (_ videoUrl: Foundation.URL?, _ videoId: Swift.String, _ metadata: [Swift.AnyHashable : Any]?) -> Swift.Void)
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
extension M2Kit.M2API {
|
||||||
|
@_Concurrency.MainActor public static func kworbMusicVideoWWEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
|
@_Concurrency.MainActor public static func kworbMusicCategoryWWEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
|
@_Concurrency.MainActor public static func kworbGlobalTrendingEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
|
@_Concurrency.MainActor public static func kworbTopArtistsEx(result: @escaping (_ artists: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
|
@_Concurrency.MainActor public static func kworbArtistDetailEx(artistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
|
@_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 {
|
extension M2Kit.M2API {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
#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?)
|
@_Concurrency.MainActor public static func searchVideos(title: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||||
@ -472,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?)
|
@_Concurrency.MainActor public static func searchChannels(title: Swift.String, nextToken: Swift.String?) async -> (channels: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||||
#endif
|
#endif
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
#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
|
#endif
|
||||||
@_Concurrency.MainActor public static func getAllVideosOfPlaylist(_ playlistId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
@_Concurrency.MainActor public static func getAllVideosOfPlaylist(_ playlistId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
|
@available(*, deprecated, message: "Use ytSongs(countrycode) instead.")
|
||||||
@_Concurrency.MainActor public static func topSongs() async -> [[Swift.AnyHashable : Any]]
|
@_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]]
|
@_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]]
|
@_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]]
|
@_Concurrency.MainActor public static func topChannels() async -> [[Swift.AnyHashable : Any]]
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
|
@available(*, deprecated, message: "Old API, not used.")
|
||||||
@_Concurrency.MainActor public static func listCategory() async -> [(category_id: Swift.String, title: Swift.String)]
|
@_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]]
|
@_Concurrency.MainActor public static func getVideosOfCategory(categoryId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
@ -495,9 +532,26 @@ extension M2Kit.M2API {
|
|||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
#if compiler(>=5.3) && $NonescapableTypes
|
||||||
@_Concurrency.MainActor public static func getLinkPlay(videoId: Swift.String) async -> (videoUrl: Foundation.URL?, videoId: Swift.String)
|
@_Concurrency.MainActor public static func getLinkPlay(videoId: Swift.String) async -> (videoUrl: Foundation.URL?, videoId: Swift.String, metadata: [Swift.AnyHashable : Any]?)
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
extension M2Kit.M2API {
|
||||||
|
@_Concurrency.MainActor public static func kworbMusicVideoWW() async -> [[Swift.AnyHashable : Any]]
|
||||||
|
@_Concurrency.MainActor public static func kworbMusicCategoryWW() async -> [[Swift.AnyHashable : Any]]
|
||||||
|
@_Concurrency.MainActor public static func kworbGlobalTrending() async -> [[Swift.AnyHashable : Any]]
|
||||||
|
@_Concurrency.MainActor public static func kworbTopArtists() async -> [[Swift.AnyHashable : Any]]
|
||||||
|
@_Concurrency.MainActor public static func kworbArtistDetail(artistId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||||
|
@_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 struct M2Backup {
|
||||||
@_Concurrency.MainActor public static var backupCode: Swift.String {
|
@_Concurrency.MainActor public static var backupCode: Swift.String {
|
||||||
get
|
get
|
||||||
@ -521,7 +575,7 @@ extension M2Kit.M2API {
|
|||||||
@_Concurrency.MainActor public static func getBackupPlaylist(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getBackupPlaylist(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
@_Concurrency.MainActor public let m2Version: Swift.String
|
public let m2Version: Swift.String
|
||||||
@_Concurrency.MainActor public func setServiceType(_ type: Swift.String)
|
@_Concurrency.MainActor public func setServiceType(_ type: Swift.String)
|
||||||
@_Concurrency.MainActor public func setLogLevel(_ value: Swift.Int)
|
@_Concurrency.MainActor public func setLogLevel(_ value: Swift.Int)
|
||||||
@_Concurrency.MainActor public struct M2Feedback {
|
@_Concurrency.MainActor public struct M2Feedback {
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@ -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)
|
@_Concurrency.MainActor public static func searchChannelsEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ channels: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
#endif
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
#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)
|
@_Concurrency.MainActor public static func getVideosOfChannelEx(channelName: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
#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)
|
@_Concurrency.MainActor public static func getAllVideosOfPlaylistEx(playlistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
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)
|
@_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)
|
@_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)
|
@_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)
|
@_Concurrency.MainActor public static func topChannelsEx(result: @escaping (_ channels: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
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)
|
@_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)
|
@_Concurrency.MainActor public static func getVideosOfCategoryEx(categoryId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
@ -455,9 +465,26 @@ extension M2Kit.M2API {
|
|||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
#if compiler(>=5.3) && $NonescapableTypes
|
||||||
@_Concurrency.MainActor public static func getLinkPlayEx(videoId: Swift.String, result: @escaping (_ videoUrl: Foundation.URL?, _ videoId: Swift.String) -> Swift.Void)
|
@_Concurrency.MainActor public static func getLinkPlayEx(videoId: Swift.String, result: @escaping (_ videoUrl: Foundation.URL?, _ videoId: Swift.String, _ metadata: [Swift.AnyHashable : Any]?) -> Swift.Void)
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
extension M2Kit.M2API {
|
||||||
|
@_Concurrency.MainActor public static func kworbMusicVideoWWEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
|
@_Concurrency.MainActor public static func kworbMusicCategoryWWEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
|
@_Concurrency.MainActor public static func kworbGlobalTrendingEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
|
@_Concurrency.MainActor public static func kworbTopArtistsEx(result: @escaping (_ artists: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
|
@_Concurrency.MainActor public static func kworbArtistDetailEx(artistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
|
@_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 {
|
extension M2Kit.M2API {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
#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?)
|
@_Concurrency.MainActor public static func searchVideos(title: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||||
@ -472,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?)
|
@_Concurrency.MainActor public static func searchChannels(title: Swift.String, nextToken: Swift.String?) async -> (channels: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||||
#endif
|
#endif
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
#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
|
#endif
|
||||||
@_Concurrency.MainActor public static func getAllVideosOfPlaylist(_ playlistId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
@_Concurrency.MainActor public static func getAllVideosOfPlaylist(_ playlistId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
|
@available(*, deprecated, message: "Use ytSongs(countrycode) instead.")
|
||||||
@_Concurrency.MainActor public static func topSongs() async -> [[Swift.AnyHashable : Any]]
|
@_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]]
|
@_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]]
|
@_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]]
|
@_Concurrency.MainActor public static func topChannels() async -> [[Swift.AnyHashable : Any]]
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
|
@available(*, deprecated, message: "Old API, not used.")
|
||||||
@_Concurrency.MainActor public static func listCategory() async -> [(category_id: Swift.String, title: Swift.String)]
|
@_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]]
|
@_Concurrency.MainActor public static func getVideosOfCategory(categoryId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
@ -495,9 +532,26 @@ extension M2Kit.M2API {
|
|||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
#if compiler(>=5.3) && $NonescapableTypes
|
||||||
@_Concurrency.MainActor public static func getLinkPlay(videoId: Swift.String) async -> (videoUrl: Foundation.URL?, videoId: Swift.String)
|
@_Concurrency.MainActor public static func getLinkPlay(videoId: Swift.String) async -> (videoUrl: Foundation.URL?, videoId: Swift.String, metadata: [Swift.AnyHashable : Any]?)
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
extension M2Kit.M2API {
|
||||||
|
@_Concurrency.MainActor public static func kworbMusicVideoWW() async -> [[Swift.AnyHashable : Any]]
|
||||||
|
@_Concurrency.MainActor public static func kworbMusicCategoryWW() async -> [[Swift.AnyHashable : Any]]
|
||||||
|
@_Concurrency.MainActor public static func kworbGlobalTrending() async -> [[Swift.AnyHashable : Any]]
|
||||||
|
@_Concurrency.MainActor public static func kworbTopArtists() async -> [[Swift.AnyHashable : Any]]
|
||||||
|
@_Concurrency.MainActor public static func kworbArtistDetail(artistId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||||
|
@_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 struct M2Backup {
|
||||||
@_Concurrency.MainActor public static var backupCode: Swift.String {
|
@_Concurrency.MainActor public static var backupCode: Swift.String {
|
||||||
get
|
get
|
||||||
@ -521,7 +575,7 @@ extension M2Kit.M2API {
|
|||||||
@_Concurrency.MainActor public static func getBackupPlaylist(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getBackupPlaylist(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
@_Concurrency.MainActor public let m2Version: Swift.String
|
public let m2Version: Swift.String
|
||||||
@_Concurrency.MainActor public func setServiceType(_ type: Swift.String)
|
@_Concurrency.MainActor public func setServiceType(_ type: Swift.String)
|
||||||
@_Concurrency.MainActor public func setLogLevel(_ value: Swift.Int)
|
@_Concurrency.MainActor public func setLogLevel(_ value: Swift.Int)
|
||||||
@_Concurrency.MainActor public struct M2Feedback {
|
@_Concurrency.MainActor public struct M2Feedback {
|
||||||
|
|||||||
Binary file not shown.
@ -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)
|
@_Concurrency.MainActor public static func searchChannelsEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ channels: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
#endif
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
#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)
|
@_Concurrency.MainActor public static func getVideosOfChannelEx(channelName: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
#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)
|
@_Concurrency.MainActor public static func getAllVideosOfPlaylistEx(playlistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
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)
|
@_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)
|
@_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)
|
@_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)
|
@_Concurrency.MainActor public static func topChannelsEx(result: @escaping (_ channels: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
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)
|
@_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)
|
@_Concurrency.MainActor public static func getVideosOfCategoryEx(categoryId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
@ -455,9 +465,26 @@ extension M2Kit.M2API {
|
|||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
#if compiler(>=5.3) && $NonescapableTypes
|
||||||
@_Concurrency.MainActor public static func getLinkPlayEx(videoId: Swift.String, result: @escaping (_ videoUrl: Foundation.URL?, _ videoId: Swift.String) -> Swift.Void)
|
@_Concurrency.MainActor public static func getLinkPlayEx(videoId: Swift.String, result: @escaping (_ videoUrl: Foundation.URL?, _ videoId: Swift.String, _ metadata: [Swift.AnyHashable : Any]?) -> Swift.Void)
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
extension M2Kit.M2API {
|
||||||
|
@_Concurrency.MainActor public static func kworbMusicVideoWWEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
|
@_Concurrency.MainActor public static func kworbMusicCategoryWWEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
|
@_Concurrency.MainActor public static func kworbGlobalTrendingEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
|
@_Concurrency.MainActor public static func kworbTopArtistsEx(result: @escaping (_ artists: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
|
@_Concurrency.MainActor public static func kworbArtistDetailEx(artistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
|
@_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 {
|
extension M2Kit.M2API {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
#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?)
|
@_Concurrency.MainActor public static func searchVideos(title: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||||
@ -472,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?)
|
@_Concurrency.MainActor public static func searchChannels(title: Swift.String, nextToken: Swift.String?) async -> (channels: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||||
#endif
|
#endif
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
#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
|
#endif
|
||||||
@_Concurrency.MainActor public static func getAllVideosOfPlaylist(_ playlistId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
@_Concurrency.MainActor public static func getAllVideosOfPlaylist(_ playlistId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
|
@available(*, deprecated, message: "Use ytSongs(countrycode) instead.")
|
||||||
@_Concurrency.MainActor public static func topSongs() async -> [[Swift.AnyHashable : Any]]
|
@_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]]
|
@_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]]
|
@_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]]
|
@_Concurrency.MainActor public static func topChannels() async -> [[Swift.AnyHashable : Any]]
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
|
@available(*, deprecated, message: "Old API, not used.")
|
||||||
@_Concurrency.MainActor public static func listCategory() async -> [(category_id: Swift.String, title: Swift.String)]
|
@_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]]
|
@_Concurrency.MainActor public static func getVideosOfCategory(categoryId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
@ -495,9 +532,26 @@ extension M2Kit.M2API {
|
|||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
#if compiler(>=5.3) && $NonescapableTypes
|
||||||
@_Concurrency.MainActor public static func getLinkPlay(videoId: Swift.String) async -> (videoUrl: Foundation.URL?, videoId: Swift.String)
|
@_Concurrency.MainActor public static func getLinkPlay(videoId: Swift.String) async -> (videoUrl: Foundation.URL?, videoId: Swift.String, metadata: [Swift.AnyHashable : Any]?)
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
extension M2Kit.M2API {
|
||||||
|
@_Concurrency.MainActor public static func kworbMusicVideoWW() async -> [[Swift.AnyHashable : Any]]
|
||||||
|
@_Concurrency.MainActor public static func kworbMusicCategoryWW() async -> [[Swift.AnyHashable : Any]]
|
||||||
|
@_Concurrency.MainActor public static func kworbGlobalTrending() async -> [[Swift.AnyHashable : Any]]
|
||||||
|
@_Concurrency.MainActor public static func kworbTopArtists() async -> [[Swift.AnyHashable : Any]]
|
||||||
|
@_Concurrency.MainActor public static func kworbArtistDetail(artistId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||||
|
@_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 struct M2Backup {
|
||||||
@_Concurrency.MainActor public static var backupCode: Swift.String {
|
@_Concurrency.MainActor public static var backupCode: Swift.String {
|
||||||
get
|
get
|
||||||
@ -521,7 +575,7 @@ extension M2Kit.M2API {
|
|||||||
@_Concurrency.MainActor public static func getBackupPlaylist(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getBackupPlaylist(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
@_Concurrency.MainActor public let m2Version: Swift.String
|
public let m2Version: Swift.String
|
||||||
@_Concurrency.MainActor public func setServiceType(_ type: Swift.String)
|
@_Concurrency.MainActor public func setServiceType(_ type: Swift.String)
|
||||||
@_Concurrency.MainActor public func setLogLevel(_ value: Swift.Int)
|
@_Concurrency.MainActor public func setLogLevel(_ value: Swift.Int)
|
||||||
@_Concurrency.MainActor public struct M2Feedback {
|
@_Concurrency.MainActor public struct M2Feedback {
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
<plist version="1.0">
|
<plist version="1.0">
|
||||||
<dict>
|
<dict>
|
||||||
<key>BuildMachineOSBuild</key>
|
<key>BuildMachineOSBuild</key>
|
||||||
<string>25C56</string>
|
<string>25D125</string>
|
||||||
<key>CFBundleDevelopmentRegion</key>
|
<key>CFBundleDevelopmentRegion</key>
|
||||||
<string>en</string>
|
<string>en</string>
|
||||||
<key>CFBundleExecutable</key>
|
<key>CFBundleExecutable</key>
|
||||||
@ -17,7 +17,7 @@
|
|||||||
<key>CFBundlePackageType</key>
|
<key>CFBundlePackageType</key>
|
||||||
<string>FMWK</string>
|
<string>FMWK</string>
|
||||||
<key>CFBundleShortVersionString</key>
|
<key>CFBundleShortVersionString</key>
|
||||||
<string>5.15</string>
|
<string>5.21</string>
|
||||||
<key>CFBundleSupportedPlatforms</key>
|
<key>CFBundleSupportedPlatforms</key>
|
||||||
<array>
|
<array>
|
||||||
<string>MacOSX</string>
|
<string>MacOSX</string>
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
@ -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)
|
@_Concurrency.MainActor public static func searchChannelsEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ channels: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
#endif
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
#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)
|
@_Concurrency.MainActor public static func getVideosOfChannelEx(channelName: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
#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)
|
@_Concurrency.MainActor public static func getAllVideosOfPlaylistEx(playlistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
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)
|
@_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)
|
@_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)
|
@_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)
|
@_Concurrency.MainActor public static func topChannelsEx(result: @escaping (_ channels: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
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)
|
@_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)
|
@_Concurrency.MainActor public static func getVideosOfCategoryEx(categoryId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
@ -455,9 +465,26 @@ extension M2Kit.M2API {
|
|||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
#if compiler(>=5.3) && $NonescapableTypes
|
||||||
@_Concurrency.MainActor public static func getLinkPlayEx(videoId: Swift.String, result: @escaping (_ videoUrl: Foundation.URL?, _ videoId: Swift.String) -> Swift.Void)
|
@_Concurrency.MainActor public static func getLinkPlayEx(videoId: Swift.String, result: @escaping (_ videoUrl: Foundation.URL?, _ videoId: Swift.String, _ metadata: [Swift.AnyHashable : Any]?) -> Swift.Void)
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
extension M2Kit.M2API {
|
||||||
|
@_Concurrency.MainActor public static func kworbMusicVideoWWEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
|
@_Concurrency.MainActor public static func kworbMusicCategoryWWEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
|
@_Concurrency.MainActor public static func kworbGlobalTrendingEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
|
@_Concurrency.MainActor public static func kworbTopArtistsEx(result: @escaping (_ artists: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
|
@_Concurrency.MainActor public static func kworbArtistDetailEx(artistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
|
@_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 {
|
extension M2Kit.M2API {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
#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?)
|
@_Concurrency.MainActor public static func searchVideos(title: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||||
@ -472,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?)
|
@_Concurrency.MainActor public static func searchChannels(title: Swift.String, nextToken: Swift.String?) async -> (channels: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||||
#endif
|
#endif
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
#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
|
#endif
|
||||||
@_Concurrency.MainActor public static func getAllVideosOfPlaylist(_ playlistId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
@_Concurrency.MainActor public static func getAllVideosOfPlaylist(_ playlistId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
|
@available(*, deprecated, message: "Use ytSongs(countrycode) instead.")
|
||||||
@_Concurrency.MainActor public static func topSongs() async -> [[Swift.AnyHashable : Any]]
|
@_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]]
|
@_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]]
|
@_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]]
|
@_Concurrency.MainActor public static func topChannels() async -> [[Swift.AnyHashable : Any]]
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
|
@available(*, deprecated, message: "Old API, not used.")
|
||||||
@_Concurrency.MainActor public static func listCategory() async -> [(category_id: Swift.String, title: Swift.String)]
|
@_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]]
|
@_Concurrency.MainActor public static func getVideosOfCategory(categoryId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
@ -495,9 +532,26 @@ extension M2Kit.M2API {
|
|||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
#if compiler(>=5.3) && $NonescapableTypes
|
||||||
@_Concurrency.MainActor public static func getLinkPlay(videoId: Swift.String) async -> (videoUrl: Foundation.URL?, videoId: Swift.String)
|
@_Concurrency.MainActor public static func getLinkPlay(videoId: Swift.String) async -> (videoUrl: Foundation.URL?, videoId: Swift.String, metadata: [Swift.AnyHashable : Any]?)
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
extension M2Kit.M2API {
|
||||||
|
@_Concurrency.MainActor public static func kworbMusicVideoWW() async -> [[Swift.AnyHashable : Any]]
|
||||||
|
@_Concurrency.MainActor public static func kworbMusicCategoryWW() async -> [[Swift.AnyHashable : Any]]
|
||||||
|
@_Concurrency.MainActor public static func kworbGlobalTrending() async -> [[Swift.AnyHashable : Any]]
|
||||||
|
@_Concurrency.MainActor public static func kworbTopArtists() async -> [[Swift.AnyHashable : Any]]
|
||||||
|
@_Concurrency.MainActor public static func kworbArtistDetail(artistId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||||
|
@_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 struct M2Backup {
|
||||||
@_Concurrency.MainActor public static var backupCode: Swift.String {
|
@_Concurrency.MainActor public static var backupCode: Swift.String {
|
||||||
get
|
get
|
||||||
@ -521,7 +575,7 @@ extension M2Kit.M2API {
|
|||||||
@_Concurrency.MainActor public static func getBackupPlaylist(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getBackupPlaylist(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
@_Concurrency.MainActor public let m2Version: Swift.String
|
public let m2Version: Swift.String
|
||||||
@_Concurrency.MainActor public func setServiceType(_ type: Swift.String)
|
@_Concurrency.MainActor public func setServiceType(_ type: Swift.String)
|
||||||
@_Concurrency.MainActor public func setLogLevel(_ value: Swift.Int)
|
@_Concurrency.MainActor public func setLogLevel(_ value: Swift.Int)
|
||||||
@_Concurrency.MainActor public struct M2Feedback {
|
@_Concurrency.MainActor public struct M2Feedback {
|
||||||
|
|||||||
Binary file not shown.
@ -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)
|
@_Concurrency.MainActor public static func searchChannelsEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ channels: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
#endif
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
#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)
|
@_Concurrency.MainActor public static func getVideosOfChannelEx(channelName: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
#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)
|
@_Concurrency.MainActor public static func getAllVideosOfPlaylistEx(playlistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
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)
|
@_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)
|
@_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)
|
@_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)
|
@_Concurrency.MainActor public static func topChannelsEx(result: @escaping (_ channels: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
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)
|
@_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)
|
@_Concurrency.MainActor public static func getVideosOfCategoryEx(categoryId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
@ -455,9 +465,26 @@ extension M2Kit.M2API {
|
|||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
#if compiler(>=5.3) && $NonescapableTypes
|
||||||
@_Concurrency.MainActor public static func getLinkPlayEx(videoId: Swift.String, result: @escaping (_ videoUrl: Foundation.URL?, _ videoId: Swift.String) -> Swift.Void)
|
@_Concurrency.MainActor public static func getLinkPlayEx(videoId: Swift.String, result: @escaping (_ videoUrl: Foundation.URL?, _ videoId: Swift.String, _ metadata: [Swift.AnyHashable : Any]?) -> Swift.Void)
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
extension M2Kit.M2API {
|
||||||
|
@_Concurrency.MainActor public static func kworbMusicVideoWWEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
|
@_Concurrency.MainActor public static func kworbMusicCategoryWWEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
|
@_Concurrency.MainActor public static func kworbGlobalTrendingEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
|
@_Concurrency.MainActor public static func kworbTopArtistsEx(result: @escaping (_ artists: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
|
@_Concurrency.MainActor public static func kworbArtistDetailEx(artistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
|
@_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 {
|
extension M2Kit.M2API {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
#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?)
|
@_Concurrency.MainActor public static func searchVideos(title: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||||
@ -472,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?)
|
@_Concurrency.MainActor public static func searchChannels(title: Swift.String, nextToken: Swift.String?) async -> (channels: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||||
#endif
|
#endif
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
#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
|
#endif
|
||||||
@_Concurrency.MainActor public static func getAllVideosOfPlaylist(_ playlistId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
@_Concurrency.MainActor public static func getAllVideosOfPlaylist(_ playlistId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
|
@available(*, deprecated, message: "Use ytSongs(countrycode) instead.")
|
||||||
@_Concurrency.MainActor public static func topSongs() async -> [[Swift.AnyHashable : Any]]
|
@_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]]
|
@_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]]
|
@_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]]
|
@_Concurrency.MainActor public static func topChannels() async -> [[Swift.AnyHashable : Any]]
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
|
@available(*, deprecated, message: "Old API, not used.")
|
||||||
@_Concurrency.MainActor public static func listCategory() async -> [(category_id: Swift.String, title: Swift.String)]
|
@_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]]
|
@_Concurrency.MainActor public static func getVideosOfCategory(categoryId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
@ -495,9 +532,26 @@ extension M2Kit.M2API {
|
|||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
#if compiler(>=5.3) && $NonescapableTypes
|
||||||
@_Concurrency.MainActor public static func getLinkPlay(videoId: Swift.String) async -> (videoUrl: Foundation.URL?, videoId: Swift.String)
|
@_Concurrency.MainActor public static func getLinkPlay(videoId: Swift.String) async -> (videoUrl: Foundation.URL?, videoId: Swift.String, metadata: [Swift.AnyHashable : Any]?)
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
extension M2Kit.M2API {
|
||||||
|
@_Concurrency.MainActor public static func kworbMusicVideoWW() async -> [[Swift.AnyHashable : Any]]
|
||||||
|
@_Concurrency.MainActor public static func kworbMusicCategoryWW() async -> [[Swift.AnyHashable : Any]]
|
||||||
|
@_Concurrency.MainActor public static func kworbGlobalTrending() async -> [[Swift.AnyHashable : Any]]
|
||||||
|
@_Concurrency.MainActor public static func kworbTopArtists() async -> [[Swift.AnyHashable : Any]]
|
||||||
|
@_Concurrency.MainActor public static func kworbArtistDetail(artistId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||||
|
@_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 struct M2Backup {
|
||||||
@_Concurrency.MainActor public static var backupCode: Swift.String {
|
@_Concurrency.MainActor public static var backupCode: Swift.String {
|
||||||
get
|
get
|
||||||
@ -521,7 +575,7 @@ extension M2Kit.M2API {
|
|||||||
@_Concurrency.MainActor public static func getBackupPlaylist(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getBackupPlaylist(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
@_Concurrency.MainActor public let m2Version: Swift.String
|
public let m2Version: Swift.String
|
||||||
@_Concurrency.MainActor public func setServiceType(_ type: Swift.String)
|
@_Concurrency.MainActor public func setServiceType(_ type: Swift.String)
|
||||||
@_Concurrency.MainActor public func setLogLevel(_ value: Swift.Int)
|
@_Concurrency.MainActor public func setLogLevel(_ value: Swift.Int)
|
||||||
@_Concurrency.MainActor public struct M2Feedback {
|
@_Concurrency.MainActor public struct M2Feedback {
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@ -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)
|
@_Concurrency.MainActor public static func searchChannelsEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ channels: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
#endif
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
#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)
|
@_Concurrency.MainActor public static func getVideosOfChannelEx(channelName: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
#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)
|
@_Concurrency.MainActor public static func getAllVideosOfPlaylistEx(playlistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
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)
|
@_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)
|
@_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)
|
@_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)
|
@_Concurrency.MainActor public static func topChannelsEx(result: @escaping (_ channels: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
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)
|
@_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)
|
@_Concurrency.MainActor public static func getVideosOfCategoryEx(categoryId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
@ -455,9 +465,26 @@ extension M2Kit.M2API {
|
|||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
#if compiler(>=5.3) && $NonescapableTypes
|
||||||
@_Concurrency.MainActor public static func getLinkPlayEx(videoId: Swift.String, result: @escaping (_ videoUrl: Foundation.URL?, _ videoId: Swift.String) -> Swift.Void)
|
@_Concurrency.MainActor public static func getLinkPlayEx(videoId: Swift.String, result: @escaping (_ videoUrl: Foundation.URL?, _ videoId: Swift.String, _ metadata: [Swift.AnyHashable : Any]?) -> Swift.Void)
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
extension M2Kit.M2API {
|
||||||
|
@_Concurrency.MainActor public static func kworbMusicVideoWWEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
|
@_Concurrency.MainActor public static func kworbMusicCategoryWWEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
|
@_Concurrency.MainActor public static func kworbGlobalTrendingEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
|
@_Concurrency.MainActor public static func kworbTopArtistsEx(result: @escaping (_ artists: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
|
@_Concurrency.MainActor public static func kworbArtistDetailEx(artistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
|
@_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 {
|
extension M2Kit.M2API {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
#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?)
|
@_Concurrency.MainActor public static func searchVideos(title: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||||
@ -472,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?)
|
@_Concurrency.MainActor public static func searchChannels(title: Swift.String, nextToken: Swift.String?) async -> (channels: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||||
#endif
|
#endif
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
#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
|
#endif
|
||||||
@_Concurrency.MainActor public static func getAllVideosOfPlaylist(_ playlistId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
@_Concurrency.MainActor public static func getAllVideosOfPlaylist(_ playlistId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
|
@available(*, deprecated, message: "Use ytSongs(countrycode) instead.")
|
||||||
@_Concurrency.MainActor public static func topSongs() async -> [[Swift.AnyHashable : Any]]
|
@_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]]
|
@_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]]
|
@_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]]
|
@_Concurrency.MainActor public static func topChannels() async -> [[Swift.AnyHashable : Any]]
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
|
@available(*, deprecated, message: "Old API, not used.")
|
||||||
@_Concurrency.MainActor public static func listCategory() async -> [(category_id: Swift.String, title: Swift.String)]
|
@_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]]
|
@_Concurrency.MainActor public static func getVideosOfCategory(categoryId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
@ -495,9 +532,26 @@ extension M2Kit.M2API {
|
|||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
#if compiler(>=5.3) && $NonescapableTypes
|
||||||
@_Concurrency.MainActor public static func getLinkPlay(videoId: Swift.String) async -> (videoUrl: Foundation.URL?, videoId: Swift.String)
|
@_Concurrency.MainActor public static func getLinkPlay(videoId: Swift.String) async -> (videoUrl: Foundation.URL?, videoId: Swift.String, metadata: [Swift.AnyHashable : Any]?)
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
extension M2Kit.M2API {
|
||||||
|
@_Concurrency.MainActor public static func kworbMusicVideoWW() async -> [[Swift.AnyHashable : Any]]
|
||||||
|
@_Concurrency.MainActor public static func kworbMusicCategoryWW() async -> [[Swift.AnyHashable : Any]]
|
||||||
|
@_Concurrency.MainActor public static func kworbGlobalTrending() async -> [[Swift.AnyHashable : Any]]
|
||||||
|
@_Concurrency.MainActor public static func kworbTopArtists() async -> [[Swift.AnyHashable : Any]]
|
||||||
|
@_Concurrency.MainActor public static func kworbArtistDetail(artistId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||||
|
@_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 struct M2Backup {
|
||||||
@_Concurrency.MainActor public static var backupCode: Swift.String {
|
@_Concurrency.MainActor public static var backupCode: Swift.String {
|
||||||
get
|
get
|
||||||
@ -521,7 +575,7 @@ extension M2Kit.M2API {
|
|||||||
@_Concurrency.MainActor public static func getBackupPlaylist(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getBackupPlaylist(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
@_Concurrency.MainActor public let m2Version: Swift.String
|
public let m2Version: Swift.String
|
||||||
@_Concurrency.MainActor public func setServiceType(_ type: Swift.String)
|
@_Concurrency.MainActor public func setServiceType(_ type: Swift.String)
|
||||||
@_Concurrency.MainActor public func setLogLevel(_ value: Swift.Int)
|
@_Concurrency.MainActor public func setLogLevel(_ value: Swift.Int)
|
||||||
@_Concurrency.MainActor public struct M2Feedback {
|
@_Concurrency.MainActor public struct M2Feedback {
|
||||||
|
|||||||
Binary file not shown.
@ -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)
|
@_Concurrency.MainActor public static func searchChannelsEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ channels: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
#endif
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
#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)
|
@_Concurrency.MainActor public static func getVideosOfChannelEx(channelName: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
#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)
|
@_Concurrency.MainActor public static func getAllVideosOfPlaylistEx(playlistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
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)
|
@_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)
|
@_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)
|
@_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)
|
@_Concurrency.MainActor public static func topChannelsEx(result: @escaping (_ channels: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
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)
|
@_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)
|
@_Concurrency.MainActor public static func getVideosOfCategoryEx(categoryId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
@ -455,9 +465,26 @@ extension M2Kit.M2API {
|
|||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
#if compiler(>=5.3) && $NonescapableTypes
|
||||||
@_Concurrency.MainActor public static func getLinkPlayEx(videoId: Swift.String, result: @escaping (_ videoUrl: Foundation.URL?, _ videoId: Swift.String) -> Swift.Void)
|
@_Concurrency.MainActor public static func getLinkPlayEx(videoId: Swift.String, result: @escaping (_ videoUrl: Foundation.URL?, _ videoId: Swift.String, _ metadata: [Swift.AnyHashable : Any]?) -> Swift.Void)
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
extension M2Kit.M2API {
|
||||||
|
@_Concurrency.MainActor public static func kworbMusicVideoWWEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
|
@_Concurrency.MainActor public static func kworbMusicCategoryWWEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
|
@_Concurrency.MainActor public static func kworbGlobalTrendingEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
|
@_Concurrency.MainActor public static func kworbTopArtistsEx(result: @escaping (_ artists: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
|
@_Concurrency.MainActor public static func kworbArtistDetailEx(artistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
|
@_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 {
|
extension M2Kit.M2API {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
#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?)
|
@_Concurrency.MainActor public static func searchVideos(title: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||||
@ -472,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?)
|
@_Concurrency.MainActor public static func searchChannels(title: Swift.String, nextToken: Swift.String?) async -> (channels: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||||
#endif
|
#endif
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
#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
|
#endif
|
||||||
@_Concurrency.MainActor public static func getAllVideosOfPlaylist(_ playlistId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
@_Concurrency.MainActor public static func getAllVideosOfPlaylist(_ playlistId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
|
@available(*, deprecated, message: "Use ytSongs(countrycode) instead.")
|
||||||
@_Concurrency.MainActor public static func topSongs() async -> [[Swift.AnyHashable : Any]]
|
@_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]]
|
@_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]]
|
@_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]]
|
@_Concurrency.MainActor public static func topChannels() async -> [[Swift.AnyHashable : Any]]
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
|
@available(*, deprecated, message: "Old API, not used.")
|
||||||
@_Concurrency.MainActor public static func listCategory() async -> [(category_id: Swift.String, title: Swift.String)]
|
@_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]]
|
@_Concurrency.MainActor public static func getVideosOfCategory(categoryId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
@ -495,9 +532,26 @@ extension M2Kit.M2API {
|
|||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
#if compiler(>=5.3) && $NonescapableTypes
|
||||||
@_Concurrency.MainActor public static func getLinkPlay(videoId: Swift.String) async -> (videoUrl: Foundation.URL?, videoId: Swift.String)
|
@_Concurrency.MainActor public static func getLinkPlay(videoId: Swift.String) async -> (videoUrl: Foundation.URL?, videoId: Swift.String, metadata: [Swift.AnyHashable : Any]?)
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
extension M2Kit.M2API {
|
||||||
|
@_Concurrency.MainActor public static func kworbMusicVideoWW() async -> [[Swift.AnyHashable : Any]]
|
||||||
|
@_Concurrency.MainActor public static func kworbMusicCategoryWW() async -> [[Swift.AnyHashable : Any]]
|
||||||
|
@_Concurrency.MainActor public static func kworbGlobalTrending() async -> [[Swift.AnyHashable : Any]]
|
||||||
|
@_Concurrency.MainActor public static func kworbTopArtists() async -> [[Swift.AnyHashable : Any]]
|
||||||
|
@_Concurrency.MainActor public static func kworbArtistDetail(artistId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||||
|
@_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 struct M2Backup {
|
||||||
@_Concurrency.MainActor public static var backupCode: Swift.String {
|
@_Concurrency.MainActor public static var backupCode: Swift.String {
|
||||||
get
|
get
|
||||||
@ -521,7 +575,7 @@ extension M2Kit.M2API {
|
|||||||
@_Concurrency.MainActor public static func getBackupPlaylist(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getBackupPlaylist(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
@_Concurrency.MainActor public let m2Version: Swift.String
|
public let m2Version: Swift.String
|
||||||
@_Concurrency.MainActor public func setServiceType(_ type: Swift.String)
|
@_Concurrency.MainActor public func setServiceType(_ type: Swift.String)
|
||||||
@_Concurrency.MainActor public func setLogLevel(_ value: Swift.Int)
|
@_Concurrency.MainActor public func setLogLevel(_ value: Swift.Int)
|
||||||
@_Concurrency.MainActor public struct M2Feedback {
|
@_Concurrency.MainActor public struct M2Feedback {
|
||||||
|
|||||||
Binary file not shown.
@ -10,47 +10,47 @@
|
|||||||
</data>
|
</data>
|
||||||
<key>Info.plist</key>
|
<key>Info.plist</key>
|
||||||
<data>
|
<data>
|
||||||
DAuUiirg7SLXZSP2oUEelGmxarA=
|
5ad3DMtvSy+UiEqQL5L3IpvbNwM=
|
||||||
</data>
|
</data>
|
||||||
<key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.abi.json</key>
|
<key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.abi.json</key>
|
||||||
<data>
|
<data>
|
||||||
d+QKInsXkMkQjeWJa7k1CiTBw4U=
|
TC+vEsyjaMZg96UqgISIGVuGq7E=
|
||||||
</data>
|
</data>
|
||||||
<key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
|
<key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
|
||||||
<data>
|
<data>
|
||||||
T7BVtNYbAepYBrvIC7FwWYfWAtY=
|
ZNnL2sIUmJOqPgBhQbE6NTkaP2Y=
|
||||||
</data>
|
</data>
|
||||||
<key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
|
<key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
|
||||||
<data>
|
<data>
|
||||||
VJyjo22UtSSbm9C2Ok3I3iplq34=
|
L1ZE0uPSnnbndRLRBhX27frrO1o=
|
||||||
</data>
|
</data>
|
||||||
<key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftinterface</key>
|
<key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftinterface</key>
|
||||||
<data>
|
<data>
|
||||||
T7BVtNYbAepYBrvIC7FwWYfWAtY=
|
ZNnL2sIUmJOqPgBhQbE6NTkaP2Y=
|
||||||
</data>
|
</data>
|
||||||
<key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
|
<key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
|
||||||
<data>
|
<data>
|
||||||
HGE+y64I4KJWLKlSL/kFjAuP07E=
|
CU2iSq/IfDqQUDZrsSO2gtOd4g8=
|
||||||
</data>
|
</data>
|
||||||
<key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
|
<key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
|
||||||
<data>
|
<data>
|
||||||
d+QKInsXkMkQjeWJa7k1CiTBw4U=
|
TC+vEsyjaMZg96UqgISIGVuGq7E=
|
||||||
</data>
|
</data>
|
||||||
<key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
|
<key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
|
||||||
<data>
|
<data>
|
||||||
FcnYejEVzE71T4GDveSVVdXeEtY=
|
XHVDZHBijtnz9qSt5ZU+wpNNpsI=
|
||||||
</data>
|
</data>
|
||||||
<key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
|
<key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
|
||||||
<data>
|
<data>
|
||||||
sqPQ02ilaz7rQN5t6DDpRJIupBQ=
|
HK2TtOyJP2OIxypINN+SN8Y+Cvg=
|
||||||
</data>
|
</data>
|
||||||
<key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface</key>
|
<key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface</key>
|
||||||
<data>
|
<data>
|
||||||
FcnYejEVzE71T4GDveSVVdXeEtY=
|
XHVDZHBijtnz9qSt5ZU+wpNNpsI=
|
||||||
</data>
|
</data>
|
||||||
<key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
|
<key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
|
||||||
<data>
|
<data>
|
||||||
kmTdY2UbqOWi1SFlifIbvcrfyhk=
|
6zXDMD4fnoXg1MDldV4x7OTqbmw=
|
||||||
</data>
|
</data>
|
||||||
<key>Modules/module.modulemap</key>
|
<key>Modules/module.modulemap</key>
|
||||||
<data>
|
<data>
|
||||||
@ -70,70 +70,70 @@
|
|||||||
<dict>
|
<dict>
|
||||||
<key>hash2</key>
|
<key>hash2</key>
|
||||||
<data>
|
<data>
|
||||||
nXTsZZ2zJnb3C9EeaPVxTcKjamKBSJa9rGnzUgcqv0E=
|
JktVC2KBC3JPg8VWOZLvCJhvWj4JHHUNfBfzNqsyfDY=
|
||||||
</data>
|
</data>
|
||||||
</dict>
|
</dict>
|
||||||
<key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
|
<key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
|
||||||
<dict>
|
<dict>
|
||||||
<key>hash2</key>
|
<key>hash2</key>
|
||||||
<data>
|
<data>
|
||||||
GDXDoe9UwdaFnE9AV4BV6Mnaf3uqJjUhHkVCUJgAT88=
|
d3iNWU0sljx2dtRpvXfvRekNgrvPo0NyXOyVgjEBhWg=
|
||||||
</data>
|
</data>
|
||||||
</dict>
|
</dict>
|
||||||
<key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
|
<key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
|
||||||
<dict>
|
<dict>
|
||||||
<key>hash2</key>
|
<key>hash2</key>
|
||||||
<data>
|
<data>
|
||||||
zc4mUUXwGR/EJ66Oxe3HzQEwlhQN2nsSdK1dvAurUDM=
|
Hj6cXoyFvKFEZFb+nynmECAto2DJHn/6OQE34s9Upmw=
|
||||||
</data>
|
</data>
|
||||||
</dict>
|
</dict>
|
||||||
<key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftinterface</key>
|
<key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftinterface</key>
|
||||||
<dict>
|
<dict>
|
||||||
<key>hash2</key>
|
<key>hash2</key>
|
||||||
<data>
|
<data>
|
||||||
GDXDoe9UwdaFnE9AV4BV6Mnaf3uqJjUhHkVCUJgAT88=
|
d3iNWU0sljx2dtRpvXfvRekNgrvPo0NyXOyVgjEBhWg=
|
||||||
</data>
|
</data>
|
||||||
</dict>
|
</dict>
|
||||||
<key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
|
<key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
|
||||||
<dict>
|
<dict>
|
||||||
<key>hash2</key>
|
<key>hash2</key>
|
||||||
<data>
|
<data>
|
||||||
VD9hkXZ8Xm6asXv4zSfALUlDaBYlAENWi0o7hecLeXk=
|
fTxQB2cpLY0xhLwpZ5Fa0uvc/byVoQfdPiaejua86ts=
|
||||||
</data>
|
</data>
|
||||||
</dict>
|
</dict>
|
||||||
<key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
|
<key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
|
||||||
<dict>
|
<dict>
|
||||||
<key>hash2</key>
|
<key>hash2</key>
|
||||||
<data>
|
<data>
|
||||||
nXTsZZ2zJnb3C9EeaPVxTcKjamKBSJa9rGnzUgcqv0E=
|
JktVC2KBC3JPg8VWOZLvCJhvWj4JHHUNfBfzNqsyfDY=
|
||||||
</data>
|
</data>
|
||||||
</dict>
|
</dict>
|
||||||
<key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
|
<key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
|
||||||
<dict>
|
<dict>
|
||||||
<key>hash2</key>
|
<key>hash2</key>
|
||||||
<data>
|
<data>
|
||||||
VjRcASjCge/ykpmZBR8NmvWdE0SgV7zwqy4QMM74juM=
|
xOw7fMNaRORUv3s7HbNx/ZlZSWICl3p+IvlHUwZDhkI=
|
||||||
</data>
|
</data>
|
||||||
</dict>
|
</dict>
|
||||||
<key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
|
<key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
|
||||||
<dict>
|
<dict>
|
||||||
<key>hash2</key>
|
<key>hash2</key>
|
||||||
<data>
|
<data>
|
||||||
Ww1czHXnbrAq2NoZnKCasDXNV6Gwkj9tcEvQfBnXqD4=
|
90gsLAcPijC4sB5B5DyX1RGcthuvJ/JvWLpEF23dE20=
|
||||||
</data>
|
</data>
|
||||||
</dict>
|
</dict>
|
||||||
<key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface</key>
|
<key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface</key>
|
||||||
<dict>
|
<dict>
|
||||||
<key>hash2</key>
|
<key>hash2</key>
|
||||||
<data>
|
<data>
|
||||||
VjRcASjCge/ykpmZBR8NmvWdE0SgV7zwqy4QMM74juM=
|
xOw7fMNaRORUv3s7HbNx/ZlZSWICl3p+IvlHUwZDhkI=
|
||||||
</data>
|
</data>
|
||||||
</dict>
|
</dict>
|
||||||
<key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
|
<key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
|
||||||
<dict>
|
<dict>
|
||||||
<key>hash2</key>
|
<key>hash2</key>
|
||||||
<data>
|
<data>
|
||||||
d06DdEepR0+WMO8ATCiIaI5uzHADbKLsRws+Y5jzMyQ=
|
IujFwsfIWwBQ5nma1tFW4VVG1xBgHoM7wg+8ZVPWn3s=
|
||||||
</data>
|
</data>
|
||||||
</dict>
|
</dict>
|
||||||
<key>Modules/module.modulemap</key>
|
<key>Modules/module.modulemap</key>
|
||||||
|
|||||||
Reference in New Issue
Block a user