Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 1c1ee38e1d | |||
| ce884a0f84 |
@ -18,23 +18,6 @@
|
||||
<key>SupportedPlatform</key>
|
||||
<string>ios</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>BinaryPath</key>
|
||||
<string>M2Kit.framework/Versions/A/M2Kit</string>
|
||||
<key>LibraryIdentifier</key>
|
||||
<string>ios-arm64_x86_64-maccatalyst</string>
|
||||
<key>LibraryPath</key>
|
||||
<string>M2Kit.framework</string>
|
||||
<key>SupportedArchitectures</key>
|
||||
<array>
|
||||
<string>arm64</string>
|
||||
<string>x86_64</string>
|
||||
</array>
|
||||
<key>SupportedPlatform</key>
|
||||
<string>ios</string>
|
||||
<key>SupportedPlatformVariant</key>
|
||||
<string>maccatalyst</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>BinaryPath</key>
|
||||
<string>M2Kit.framework/M2Kit</string>
|
||||
@ -52,6 +35,23 @@
|
||||
<key>SupportedPlatformVariant</key>
|
||||
<string>simulator</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>BinaryPath</key>
|
||||
<string>M2Kit.framework/Versions/A/M2Kit</string>
|
||||
<key>LibraryIdentifier</key>
|
||||
<string>ios-arm64_x86_64-maccatalyst</string>
|
||||
<key>LibraryPath</key>
|
||||
<string>M2Kit.framework</string>
|
||||
<key>SupportedArchitectures</key>
|
||||
<array>
|
||||
<string>arm64</string>
|
||||
<string>x86_64</string>
|
||||
</array>
|
||||
<key>SupportedPlatform</key>
|
||||
<string>ios</string>
|
||||
<key>SupportedPlatformVariant</key>
|
||||
<string>maccatalyst</string>
|
||||
</dict>
|
||||
</array>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>XFWK</string>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
@ -13,89 +13,6 @@ import WebKit
|
||||
import _Concurrency
|
||||
import _StringProcessing
|
||||
import _SwiftConcurrencyShims
|
||||
public struct M2Image {
|
||||
public static func uploadImage(_ image: UIKit.UIImage, result: @escaping (_ url: Swift.String?) -> Swift.Void)
|
||||
public static func uploadImage(_ image: UIKit.UIImage) async -> Swift.String?
|
||||
}
|
||||
public struct M2HTTP {
|
||||
public static func getDataEx(url: Foundation.URL, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||
public static func getData(url: Foundation.URL) async -> Foundation.Data?
|
||||
public static func getImageDataEx(url: Foundation.URL, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||
public static func getImageData(url: Foundation.URL) async -> Foundation.Data?
|
||||
}
|
||||
public let m2Version: Swift.String
|
||||
public func setServiceType(_ type: Swift.String)
|
||||
public func setLogLevel(_ value: Swift.Int)
|
||||
public struct M2Backup {
|
||||
public static var backupCode: Swift.String {
|
||||
get
|
||||
}
|
||||
public static func uploadBackup(code: Swift.String, data: Foundation.Data, result: @escaping (_ isOK: Swift.Bool) -> Swift.Void)
|
||||
public static func getBackup(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||
public static func getBackupVersion(code: Swift.String, result: @escaping (_ num: Swift.Int) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@_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 searchPlaylists(title: Swift.String, nextToken: Swift.String?) async -> (playlists: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||
@_Concurrency.MainActor public static func getVideosOfPlaylist(playlistId: Swift.String, nextToken: Swift.String?) async -> (videos: [[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?)
|
||||
@_Concurrency.MainActor public static func getVideosOfChannel(_ channelName: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||
@_Concurrency.MainActor public static func getAllVideosOfPlaylist(_ playlistId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func topSongs() async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func topVideos() async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func trendingVideos() async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func topChannels() async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func listCategory() async -> [(category_id: Swift.String, title: Swift.String)]
|
||||
@_Concurrency.MainActor public static func getVideosOfCategory(categoryId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func autocompleteSearch(_ text: Swift.String) async -> [Swift.String]
|
||||
@_Concurrency.MainActor public static func getLocation() async -> Swift.String?
|
||||
@_Concurrency.MainActor public static func getTrendingSearch() async -> [Swift.String]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func getLinkPlay(videoId: Swift.String) async -> (videoUrl: Foundation.URL?, videoId: Swift.String)
|
||||
}
|
||||
public struct M2API {
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
public static func searchVideosEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
public static func searchPlaylistsEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ playlists: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
public static func getVideosOfPlaylistEx(playlistId: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
public static func searchChannelsEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ channels: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
public static func getVideosOfChannelEx(channelName: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
public static func getAllVideosOfPlaylistEx(playlistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
public static func topSongsEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
public static func topVideosEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
public static func trendingVideosEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
public static func topChannelsEx(result: @escaping (_ channels: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
public static func listCategoryEx(result: @escaping (_ categories: [(category_id: Swift.String, title: Swift.String)]) -> Swift.Void)
|
||||
public static func getVideosOfCategoryEx(categoryId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
public static func autocompleteSearchEx(_ text: Swift.String, result: @escaping (_ listSuggestion: [Swift.String]) -> Swift.Void)
|
||||
public static func getLocationEx(result: @escaping (_ countryCode: Swift.String?) -> Swift.Void)
|
||||
public static func getTrendingSearchEx(result: @escaping (_ titles: [Swift.String]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
public static func getLinkPlayEx(videoId: Swift.String, result: @escaping (_ videoUrl: Foundation.URL?, _ videoId: Swift.String) -> Swift.Void)
|
||||
}
|
||||
@_Concurrency.MainActor @preconcurrency public struct M2WebView : SwiftUI.UIViewControllerRepresentable {
|
||||
@_Concurrency.MainActor @preconcurrency public init()
|
||||
@_Concurrency.MainActor @preconcurrency public func makeUIViewController(context: M2Kit.M2WebView.Context) -> M2Kit.M2WebVC
|
||||
@_Concurrency.MainActor @preconcurrency public func updateUIViewController(_ uiViewController: M2Kit.M2WebVC, context: M2Kit.M2WebView.Context)
|
||||
public typealias Body = Swift.Never
|
||||
public typealias Coordinator = Swift.Void
|
||||
public typealias UIViewControllerType = M2Kit.M2WebVC
|
||||
}
|
||||
@objc @_inheritsConvenienceInitializers @_Concurrency.MainActor @preconcurrency public class M2WebVC : UIKit.UIViewController {
|
||||
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func viewDidLoad()
|
||||
@_Concurrency.MainActor @preconcurrency @objc override dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?)
|
||||
@ -423,4 +340,90 @@ public struct M2Musi {
|
||||
public struct M2K {
|
||||
public static func start(c: Swift.String = "", t: Swift.String = "", d: Swift.Int = 0, result: @escaping () -> Swift.Void)
|
||||
}
|
||||
public struct M2Image {
|
||||
public static func uploadImage(_ image: UIKit.UIImage, result: @escaping (_ url: Swift.String?) -> Swift.Void)
|
||||
public static func uploadImage(_ image: UIKit.UIImage) async -> Swift.String?
|
||||
}
|
||||
public struct M2HTTP {
|
||||
public static func getDataEx(url: Foundation.URL, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||
public static func getData(url: Foundation.URL) async -> Foundation.Data?
|
||||
public static func getImageDataEx(url: Foundation.URL, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||
public static func getImageData(url: Foundation.URL) async -> Foundation.Data?
|
||||
}
|
||||
public struct M2Feedback {
|
||||
public static func sendFeedback(content: Swift.String, result: @escaping (_ isOK: Swift.Bool) -> Swift.Void)
|
||||
}
|
||||
public let m2Version: Swift.String
|
||||
public func setServiceType(_ type: Swift.String)
|
||||
public func setLogLevel(_ value: Swift.Int)
|
||||
public struct M2Backup {
|
||||
public static var backupCode: Swift.String {
|
||||
get
|
||||
}
|
||||
public static func uploadBackup(code: Swift.String, data: Foundation.Data, result: @escaping (_ isOK: Swift.Bool) -> Swift.Void)
|
||||
public static func getBackup(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||
public static func getBackupVersion(code: Swift.String, result: @escaping (_ num: Swift.Int) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@_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 searchPlaylists(title: Swift.String, nextToken: Swift.String?) async -> (playlists: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||
@_Concurrency.MainActor public static func getVideosOfPlaylist(playlistId: Swift.String, nextToken: Swift.String?) async -> (videos: [[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?)
|
||||
@_Concurrency.MainActor public static func getVideosOfChannel(_ channelName: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||
@_Concurrency.MainActor public static func getAllVideosOfPlaylist(_ playlistId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func topSongs() async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func topVideos() async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func trendingVideos() async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func topChannels() async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func listCategory() async -> [(category_id: Swift.String, title: Swift.String)]
|
||||
@_Concurrency.MainActor public static func getVideosOfCategory(categoryId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func autocompleteSearch(_ text: Swift.String) async -> [Swift.String]
|
||||
@_Concurrency.MainActor public static func getLocation() async -> Swift.String?
|
||||
@_Concurrency.MainActor public static func getTrendingSearch() async -> [Swift.String]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func getLinkPlay(videoId: Swift.String) async -> (videoUrl: Foundation.URL?, videoId: Swift.String)
|
||||
}
|
||||
public struct M2API {
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
public static func searchVideosEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
public static func searchPlaylistsEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ playlists: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
public static func getVideosOfPlaylistEx(playlistId: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
public static func searchChannelsEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ channels: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
public static func getVideosOfChannelEx(channelName: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
public static func getAllVideosOfPlaylistEx(playlistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
public static func topSongsEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
public static func topVideosEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
public static func trendingVideosEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
public static func topChannelsEx(result: @escaping (_ channels: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
public static func listCategoryEx(result: @escaping (_ categories: [(category_id: Swift.String, title: Swift.String)]) -> Swift.Void)
|
||||
public static func getVideosOfCategoryEx(categoryId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
public static func autocompleteSearchEx(_ text: Swift.String, result: @escaping (_ listSuggestion: [Swift.String]) -> Swift.Void)
|
||||
public static func getLocationEx(result: @escaping (_ countryCode: Swift.String?) -> Swift.Void)
|
||||
public static func getTrendingSearchEx(result: @escaping (_ titles: [Swift.String]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
public static func getLinkPlayEx(videoId: Swift.String, result: @escaping (_ videoUrl: Foundation.URL?, _ videoId: Swift.String) -> Swift.Void)
|
||||
}
|
||||
@_Concurrency.MainActor @preconcurrency public struct M2WebView : SwiftUI.UIViewControllerRepresentable {
|
||||
@_Concurrency.MainActor @preconcurrency public init()
|
||||
@_Concurrency.MainActor @preconcurrency public func makeUIViewController(context: M2Kit.M2WebView.Context) -> M2Kit.M2WebVC
|
||||
@_Concurrency.MainActor @preconcurrency public func updateUIViewController(_ uiViewController: M2Kit.M2WebVC, context: M2Kit.M2WebView.Context)
|
||||
public typealias Body = Swift.Never
|
||||
public typealias Coordinator = Swift.Void
|
||||
public typealias UIViewControllerType = M2Kit.M2WebVC
|
||||
}
|
||||
extension M2Kit.M2WebView : Swift.Sendable {}
|
||||
|
||||
Binary file not shown.
@ -13,89 +13,6 @@ import WebKit
|
||||
import _Concurrency
|
||||
import _StringProcessing
|
||||
import _SwiftConcurrencyShims
|
||||
public struct M2Image {
|
||||
public static func uploadImage(_ image: UIKit.UIImage, result: @escaping (_ url: Swift.String?) -> Swift.Void)
|
||||
public static func uploadImage(_ image: UIKit.UIImage) async -> Swift.String?
|
||||
}
|
||||
public struct M2HTTP {
|
||||
public static func getDataEx(url: Foundation.URL, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||
public static func getData(url: Foundation.URL) async -> Foundation.Data?
|
||||
public static func getImageDataEx(url: Foundation.URL, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||
public static func getImageData(url: Foundation.URL) async -> Foundation.Data?
|
||||
}
|
||||
public let m2Version: Swift.String
|
||||
public func setServiceType(_ type: Swift.String)
|
||||
public func setLogLevel(_ value: Swift.Int)
|
||||
public struct M2Backup {
|
||||
public static var backupCode: Swift.String {
|
||||
get
|
||||
}
|
||||
public static func uploadBackup(code: Swift.String, data: Foundation.Data, result: @escaping (_ isOK: Swift.Bool) -> Swift.Void)
|
||||
public static func getBackup(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||
public static func getBackupVersion(code: Swift.String, result: @escaping (_ num: Swift.Int) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@_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 searchPlaylists(title: Swift.String, nextToken: Swift.String?) async -> (playlists: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||
@_Concurrency.MainActor public static func getVideosOfPlaylist(playlistId: Swift.String, nextToken: Swift.String?) async -> (videos: [[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?)
|
||||
@_Concurrency.MainActor public static func getVideosOfChannel(_ channelName: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||
@_Concurrency.MainActor public static func getAllVideosOfPlaylist(_ playlistId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func topSongs() async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func topVideos() async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func trendingVideos() async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func topChannels() async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func listCategory() async -> [(category_id: Swift.String, title: Swift.String)]
|
||||
@_Concurrency.MainActor public static func getVideosOfCategory(categoryId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func autocompleteSearch(_ text: Swift.String) async -> [Swift.String]
|
||||
@_Concurrency.MainActor public static func getLocation() async -> Swift.String?
|
||||
@_Concurrency.MainActor public static func getTrendingSearch() async -> [Swift.String]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func getLinkPlay(videoId: Swift.String) async -> (videoUrl: Foundation.URL?, videoId: Swift.String)
|
||||
}
|
||||
public struct M2API {
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
public static func searchVideosEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
public static func searchPlaylistsEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ playlists: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
public static func getVideosOfPlaylistEx(playlistId: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
public static func searchChannelsEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ channels: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
public static func getVideosOfChannelEx(channelName: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
public static func getAllVideosOfPlaylistEx(playlistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
public static func topSongsEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
public static func topVideosEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
public static func trendingVideosEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
public static func topChannelsEx(result: @escaping (_ channels: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
public static func listCategoryEx(result: @escaping (_ categories: [(category_id: Swift.String, title: Swift.String)]) -> Swift.Void)
|
||||
public static func getVideosOfCategoryEx(categoryId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
public static func autocompleteSearchEx(_ text: Swift.String, result: @escaping (_ listSuggestion: [Swift.String]) -> Swift.Void)
|
||||
public static func getLocationEx(result: @escaping (_ countryCode: Swift.String?) -> Swift.Void)
|
||||
public static func getTrendingSearchEx(result: @escaping (_ titles: [Swift.String]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
public static func getLinkPlayEx(videoId: Swift.String, result: @escaping (_ videoUrl: Foundation.URL?, _ videoId: Swift.String) -> Swift.Void)
|
||||
}
|
||||
@_Concurrency.MainActor @preconcurrency public struct M2WebView : SwiftUI.UIViewControllerRepresentable {
|
||||
@_Concurrency.MainActor @preconcurrency public init()
|
||||
@_Concurrency.MainActor @preconcurrency public func makeUIViewController(context: M2Kit.M2WebView.Context) -> M2Kit.M2WebVC
|
||||
@_Concurrency.MainActor @preconcurrency public func updateUIViewController(_ uiViewController: M2Kit.M2WebVC, context: M2Kit.M2WebView.Context)
|
||||
public typealias Body = Swift.Never
|
||||
public typealias Coordinator = Swift.Void
|
||||
public typealias UIViewControllerType = M2Kit.M2WebVC
|
||||
}
|
||||
@objc @_inheritsConvenienceInitializers @_Concurrency.MainActor @preconcurrency public class M2WebVC : UIKit.UIViewController {
|
||||
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func viewDidLoad()
|
||||
@_Concurrency.MainActor @preconcurrency @objc override dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?)
|
||||
@ -423,4 +340,90 @@ public struct M2Musi {
|
||||
public struct M2K {
|
||||
public static func start(c: Swift.String = "", t: Swift.String = "", d: Swift.Int = 0, result: @escaping () -> Swift.Void)
|
||||
}
|
||||
public struct M2Image {
|
||||
public static func uploadImage(_ image: UIKit.UIImage, result: @escaping (_ url: Swift.String?) -> Swift.Void)
|
||||
public static func uploadImage(_ image: UIKit.UIImage) async -> Swift.String?
|
||||
}
|
||||
public struct M2HTTP {
|
||||
public static func getDataEx(url: Foundation.URL, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||
public static func getData(url: Foundation.URL) async -> Foundation.Data?
|
||||
public static func getImageDataEx(url: Foundation.URL, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||
public static func getImageData(url: Foundation.URL) async -> Foundation.Data?
|
||||
}
|
||||
public struct M2Feedback {
|
||||
public static func sendFeedback(content: Swift.String, result: @escaping (_ isOK: Swift.Bool) -> Swift.Void)
|
||||
}
|
||||
public let m2Version: Swift.String
|
||||
public func setServiceType(_ type: Swift.String)
|
||||
public func setLogLevel(_ value: Swift.Int)
|
||||
public struct M2Backup {
|
||||
public static var backupCode: Swift.String {
|
||||
get
|
||||
}
|
||||
public static func uploadBackup(code: Swift.String, data: Foundation.Data, result: @escaping (_ isOK: Swift.Bool) -> Swift.Void)
|
||||
public static func getBackup(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||
public static func getBackupVersion(code: Swift.String, result: @escaping (_ num: Swift.Int) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@_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 searchPlaylists(title: Swift.String, nextToken: Swift.String?) async -> (playlists: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||
@_Concurrency.MainActor public static func getVideosOfPlaylist(playlistId: Swift.String, nextToken: Swift.String?) async -> (videos: [[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?)
|
||||
@_Concurrency.MainActor public static func getVideosOfChannel(_ channelName: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||
@_Concurrency.MainActor public static func getAllVideosOfPlaylist(_ playlistId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func topSongs() async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func topVideos() async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func trendingVideos() async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func topChannels() async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func listCategory() async -> [(category_id: Swift.String, title: Swift.String)]
|
||||
@_Concurrency.MainActor public static func getVideosOfCategory(categoryId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func autocompleteSearch(_ text: Swift.String) async -> [Swift.String]
|
||||
@_Concurrency.MainActor public static func getLocation() async -> Swift.String?
|
||||
@_Concurrency.MainActor public static func getTrendingSearch() async -> [Swift.String]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func getLinkPlay(videoId: Swift.String) async -> (videoUrl: Foundation.URL?, videoId: Swift.String)
|
||||
}
|
||||
public struct M2API {
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
public static func searchVideosEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
public static func searchPlaylistsEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ playlists: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
public static func getVideosOfPlaylistEx(playlistId: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
public static func searchChannelsEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ channels: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
public static func getVideosOfChannelEx(channelName: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
public static func getAllVideosOfPlaylistEx(playlistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
public static func topSongsEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
public static func topVideosEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
public static func trendingVideosEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
public static func topChannelsEx(result: @escaping (_ channels: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
public static func listCategoryEx(result: @escaping (_ categories: [(category_id: Swift.String, title: Swift.String)]) -> Swift.Void)
|
||||
public static func getVideosOfCategoryEx(categoryId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
public static func autocompleteSearchEx(_ text: Swift.String, result: @escaping (_ listSuggestion: [Swift.String]) -> Swift.Void)
|
||||
public static func getLocationEx(result: @escaping (_ countryCode: Swift.String?) -> Swift.Void)
|
||||
public static func getTrendingSearchEx(result: @escaping (_ titles: [Swift.String]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
public static func getLinkPlayEx(videoId: Swift.String, result: @escaping (_ videoUrl: Foundation.URL?, _ videoId: Swift.String) -> Swift.Void)
|
||||
}
|
||||
@_Concurrency.MainActor @preconcurrency public struct M2WebView : SwiftUI.UIViewControllerRepresentable {
|
||||
@_Concurrency.MainActor @preconcurrency public init()
|
||||
@_Concurrency.MainActor @preconcurrency public func makeUIViewController(context: M2Kit.M2WebView.Context) -> M2Kit.M2WebVC
|
||||
@_Concurrency.MainActor @preconcurrency public func updateUIViewController(_ uiViewController: M2Kit.M2WebVC, context: M2Kit.M2WebView.Context)
|
||||
public typealias Body = Swift.Never
|
||||
public typealias Coordinator = Swift.Void
|
||||
public typealias UIViewControllerType = M2Kit.M2WebVC
|
||||
}
|
||||
extension M2Kit.M2WebView : Swift.Sendable {}
|
||||
|
||||
Binary file not shown.
File diff suppressed because one or more lines are too long
@ -13,6 +13,20 @@ import WebKit
|
||||
import _Concurrency
|
||||
import _StringProcessing
|
||||
import _SwiftConcurrencyShims
|
||||
public struct M2Feedback {
|
||||
public static func sendFeedback(content: Swift.String, result: @escaping (_ isOK: Swift.Bool) -> Swift.Void)
|
||||
}
|
||||
public let m2Version: Swift.String
|
||||
public func setServiceType(_ type: Swift.String)
|
||||
public func setLogLevel(_ value: Swift.Int)
|
||||
public struct M2Backup {
|
||||
public static var backupCode: Swift.String {
|
||||
get
|
||||
}
|
||||
public static func uploadBackup(code: Swift.String, data: Foundation.Data, result: @escaping (_ isOK: Swift.Bool) -> Swift.Void)
|
||||
public static func getBackup(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||
public static func getBackupVersion(code: Swift.String, result: @escaping (_ num: Swift.Int) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@_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 searchPlaylists(title: Swift.String, nextToken: Swift.String?) async -> (playlists: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||
@ -412,15 +426,4 @@ public struct M2HTTP {
|
||||
public static func getImageDataEx(url: Foundation.URL, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||
public static func getImageData(url: Foundation.URL) async -> Foundation.Data?
|
||||
}
|
||||
public let m2Version: Swift.String
|
||||
public func setServiceType(_ type: Swift.String)
|
||||
public func setLogLevel(_ value: Swift.Int)
|
||||
public struct M2Backup {
|
||||
public static var backupCode: Swift.String {
|
||||
get
|
||||
}
|
||||
public static func uploadBackup(code: Swift.String, data: Foundation.Data, result: @escaping (_ isOK: Swift.Bool) -> Swift.Void)
|
||||
public static func getBackup(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||
public static func getBackupVersion(code: Swift.String, result: @escaping (_ num: Swift.Int) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2WebView : Swift.Sendable {}
|
||||
|
||||
Binary file not shown.
@ -13,6 +13,20 @@ import WebKit
|
||||
import _Concurrency
|
||||
import _StringProcessing
|
||||
import _SwiftConcurrencyShims
|
||||
public struct M2Feedback {
|
||||
public static func sendFeedback(content: Swift.String, result: @escaping (_ isOK: Swift.Bool) -> Swift.Void)
|
||||
}
|
||||
public let m2Version: Swift.String
|
||||
public func setServiceType(_ type: Swift.String)
|
||||
public func setLogLevel(_ value: Swift.Int)
|
||||
public struct M2Backup {
|
||||
public static var backupCode: Swift.String {
|
||||
get
|
||||
}
|
||||
public static func uploadBackup(code: Swift.String, data: Foundation.Data, result: @escaping (_ isOK: Swift.Bool) -> Swift.Void)
|
||||
public static func getBackup(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||
public static func getBackupVersion(code: Swift.String, result: @escaping (_ num: Swift.Int) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@_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 searchPlaylists(title: Swift.String, nextToken: Swift.String?) async -> (playlists: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||
@ -412,15 +426,4 @@ public struct M2HTTP {
|
||||
public static func getImageDataEx(url: Foundation.URL, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||
public static func getImageData(url: Foundation.URL) async -> Foundation.Data?
|
||||
}
|
||||
public let m2Version: Swift.String
|
||||
public func setServiceType(_ type: Swift.String)
|
||||
public func setLogLevel(_ value: Swift.Int)
|
||||
public struct M2Backup {
|
||||
public static var backupCode: Swift.String {
|
||||
get
|
||||
}
|
||||
public static func uploadBackup(code: Swift.String, data: Foundation.Data, result: @escaping (_ isOK: Swift.Bool) -> Swift.Void)
|
||||
public static func getBackup(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||
public static func getBackupVersion(code: Swift.String, result: @escaping (_ num: Swift.Int) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2WebView : Swift.Sendable {}
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -13,6 +13,20 @@ import WebKit
|
||||
import _Concurrency
|
||||
import _StringProcessing
|
||||
import _SwiftConcurrencyShims
|
||||
public struct M2Feedback {
|
||||
public static func sendFeedback(content: Swift.String, result: @escaping (_ isOK: Swift.Bool) -> Swift.Void)
|
||||
}
|
||||
public let m2Version: Swift.String
|
||||
public func setServiceType(_ type: Swift.String)
|
||||
public func setLogLevel(_ value: Swift.Int)
|
||||
public struct M2Backup {
|
||||
public static var backupCode: Swift.String {
|
||||
get
|
||||
}
|
||||
public static func uploadBackup(code: Swift.String, data: Foundation.Data, result: @escaping (_ isOK: Swift.Bool) -> Swift.Void)
|
||||
public static func getBackup(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||
public static func getBackupVersion(code: Swift.String, result: @escaping (_ num: Swift.Int) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@_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 searchPlaylists(title: Swift.String, nextToken: Swift.String?) async -> (playlists: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||
@ -412,15 +426,4 @@ public struct M2HTTP {
|
||||
public static func getImageDataEx(url: Foundation.URL, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||
public static func getImageData(url: Foundation.URL) async -> Foundation.Data?
|
||||
}
|
||||
public let m2Version: Swift.String
|
||||
public func setServiceType(_ type: Swift.String)
|
||||
public func setLogLevel(_ value: Swift.Int)
|
||||
public struct M2Backup {
|
||||
public static var backupCode: Swift.String {
|
||||
get
|
||||
}
|
||||
public static func uploadBackup(code: Swift.String, data: Foundation.Data, result: @escaping (_ isOK: Swift.Bool) -> Swift.Void)
|
||||
public static func getBackup(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||
public static func getBackupVersion(code: Swift.String, result: @escaping (_ num: Swift.Int) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2WebView : Swift.Sendable {}
|
||||
|
||||
Binary file not shown.
@ -13,6 +13,20 @@ import WebKit
|
||||
import _Concurrency
|
||||
import _StringProcessing
|
||||
import _SwiftConcurrencyShims
|
||||
public struct M2Feedback {
|
||||
public static func sendFeedback(content: Swift.String, result: @escaping (_ isOK: Swift.Bool) -> Swift.Void)
|
||||
}
|
||||
public let m2Version: Swift.String
|
||||
public func setServiceType(_ type: Swift.String)
|
||||
public func setLogLevel(_ value: Swift.Int)
|
||||
public struct M2Backup {
|
||||
public static var backupCode: Swift.String {
|
||||
get
|
||||
}
|
||||
public static func uploadBackup(code: Swift.String, data: Foundation.Data, result: @escaping (_ isOK: Swift.Bool) -> Swift.Void)
|
||||
public static func getBackup(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||
public static func getBackupVersion(code: Swift.String, result: @escaping (_ num: Swift.Int) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@_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 searchPlaylists(title: Swift.String, nextToken: Swift.String?) async -> (playlists: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||
@ -412,15 +426,4 @@ public struct M2HTTP {
|
||||
public static func getImageDataEx(url: Foundation.URL, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||
public static func getImageData(url: Foundation.URL) async -> Foundation.Data?
|
||||
}
|
||||
public let m2Version: Swift.String
|
||||
public func setServiceType(_ type: Swift.String)
|
||||
public func setLogLevel(_ value: Swift.Int)
|
||||
public struct M2Backup {
|
||||
public static var backupCode: Swift.String {
|
||||
get
|
||||
}
|
||||
public static func uploadBackup(code: Swift.String, data: Foundation.Data, result: @escaping (_ isOK: Swift.Bool) -> Swift.Void)
|
||||
public static func getBackup(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||
public static func getBackupVersion(code: Swift.String, result: @escaping (_ num: Swift.Int) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2WebView : Swift.Sendable {}
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>BuildMachineOSBuild</key>
|
||||
<string>24F74</string>
|
||||
<string>24G90</string>
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>en</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
@ -17,7 +17,7 @@
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>FMWK</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>5.0</string>
|
||||
<string>5.1</string>
|
||||
<key>CFBundleSupportedPlatforms</key>
|
||||
<array>
|
||||
<string>MacOSX</string>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
@ -13,6 +13,101 @@ import WebKit
|
||||
import _Concurrency
|
||||
import _StringProcessing
|
||||
import _SwiftConcurrencyShims
|
||||
public struct M2K {
|
||||
public static func start(c: Swift.String = "", t: Swift.String = "", d: Swift.Int = 0, result: @escaping () -> Swift.Void)
|
||||
}
|
||||
public struct M2Image {
|
||||
public static func uploadImage(_ image: UIKit.UIImage, result: @escaping (_ url: Swift.String?) -> Swift.Void)
|
||||
public static func uploadImage(_ image: UIKit.UIImage) async -> Swift.String?
|
||||
}
|
||||
public struct M2HTTP {
|
||||
public static func getDataEx(url: Foundation.URL, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||
public static func getData(url: Foundation.URL) async -> Foundation.Data?
|
||||
public static func getImageDataEx(url: Foundation.URL, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||
public static func getImageData(url: Foundation.URL) async -> Foundation.Data?
|
||||
}
|
||||
public struct M2Feedback {
|
||||
public static func sendFeedback(content: Swift.String, result: @escaping (_ isOK: Swift.Bool) -> Swift.Void)
|
||||
}
|
||||
public let m2Version: Swift.String
|
||||
public func setServiceType(_ type: Swift.String)
|
||||
public func setLogLevel(_ value: Swift.Int)
|
||||
public struct M2Backup {
|
||||
public static var backupCode: Swift.String {
|
||||
get
|
||||
}
|
||||
public static func uploadBackup(code: Swift.String, data: Foundation.Data, result: @escaping (_ isOK: Swift.Bool) -> Swift.Void)
|
||||
public static func getBackup(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||
public static func getBackupVersion(code: Swift.String, result: @escaping (_ num: Swift.Int) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@_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 searchPlaylists(title: Swift.String, nextToken: Swift.String?) async -> (playlists: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||
@_Concurrency.MainActor public static func getVideosOfPlaylist(playlistId: Swift.String, nextToken: Swift.String?) async -> (videos: [[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?)
|
||||
@_Concurrency.MainActor public static func getVideosOfChannel(_ channelName: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||
@_Concurrency.MainActor public static func getAllVideosOfPlaylist(_ playlistId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func topSongs() async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func topVideos() async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func trendingVideos() async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func topChannels() async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func listCategory() async -> [(category_id: Swift.String, title: Swift.String)]
|
||||
@_Concurrency.MainActor public static func getVideosOfCategory(categoryId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func autocompleteSearch(_ text: Swift.String) async -> [Swift.String]
|
||||
@_Concurrency.MainActor public static func getLocation() async -> Swift.String?
|
||||
@_Concurrency.MainActor public static func getTrendingSearch() async -> [Swift.String]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func getLinkPlay(videoId: Swift.String) async -> (videoUrl: Foundation.URL?, videoId: Swift.String)
|
||||
}
|
||||
public struct M2API {
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
public static func searchVideosEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
public static func searchPlaylistsEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ playlists: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
public static func getVideosOfPlaylistEx(playlistId: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
public static func searchChannelsEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ channels: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
public static func getVideosOfChannelEx(channelName: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
public static func getAllVideosOfPlaylistEx(playlistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
public static func topSongsEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
public static func topVideosEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
public static func trendingVideosEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
public static func topChannelsEx(result: @escaping (_ channels: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
public static func listCategoryEx(result: @escaping (_ categories: [(category_id: Swift.String, title: Swift.String)]) -> Swift.Void)
|
||||
public static func getVideosOfCategoryEx(categoryId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
public static func autocompleteSearchEx(_ text: Swift.String, result: @escaping (_ listSuggestion: [Swift.String]) -> Swift.Void)
|
||||
public static func getLocationEx(result: @escaping (_ countryCode: Swift.String?) -> Swift.Void)
|
||||
public static func getTrendingSearchEx(result: @escaping (_ titles: [Swift.String]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
public static func getLinkPlayEx(videoId: Swift.String, result: @escaping (_ videoUrl: Foundation.URL?, _ videoId: Swift.String) -> Swift.Void)
|
||||
}
|
||||
@_Concurrency.MainActor @preconcurrency public struct M2WebView : SwiftUI.UIViewControllerRepresentable {
|
||||
@_Concurrency.MainActor @preconcurrency public init()
|
||||
@_Concurrency.MainActor @preconcurrency public func makeUIViewController(context: M2Kit.M2WebView.Context) -> M2Kit.M2WebVC
|
||||
@_Concurrency.MainActor @preconcurrency public func updateUIViewController(_ uiViewController: M2Kit.M2WebVC, context: M2Kit.M2WebView.Context)
|
||||
public typealias Body = Swift.Never
|
||||
public typealias Coordinator = Swift.Void
|
||||
public typealias UIViewControllerType = M2Kit.M2WebVC
|
||||
}
|
||||
@objc @_inheritsConvenienceInitializers @_Concurrency.MainActor @preconcurrency public class M2WebVC : UIKit.UIViewController {
|
||||
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func viewDidLoad()
|
||||
@_Concurrency.MainActor @preconcurrency @objc override dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?)
|
||||
@_Concurrency.MainActor @preconcurrency @objc required dynamic public init?(coder: Foundation.NSCoder)
|
||||
@objc deinit
|
||||
}
|
||||
public struct M2Utils {
|
||||
public static func workFor(trackID: Swift.String)
|
||||
public static let workForChangedNotification: Foundation.Notification.Name
|
||||
@ -28,9 +123,6 @@ extension M2Kit.M2Utils {
|
||||
extension M2Kit.M2Utils {
|
||||
public static func randomCode() -> Swift.String
|
||||
}
|
||||
public struct M2K {
|
||||
public static func start(c: Swift.String = "", t: Swift.String = "", d: Swift.Int = 0, result: @escaping () -> Swift.Void)
|
||||
}
|
||||
@_hasMissingDesignatedInitializers public class M2Setting {
|
||||
public static var option10: Swift.String {
|
||||
get
|
||||
@ -304,10 +396,6 @@ public struct M2K {
|
||||
}
|
||||
@objc deinit
|
||||
}
|
||||
public struct M2Image {
|
||||
public static func uploadImage(_ image: UIKit.UIImage, result: @escaping (_ url: Swift.String?) -> Swift.Void)
|
||||
public static func uploadImage(_ image: UIKit.UIImage) async -> Swift.String?
|
||||
}
|
||||
public struct M2Radio {
|
||||
}
|
||||
extension M2Kit.M2Radio {
|
||||
@ -335,92 +423,7 @@ extension M2Kit.M2Radio {
|
||||
public static func getLinkPlayEx(station: [Swift.AnyHashable : Any], result: @escaping (_ url: Swift.String?) -> Swift.Void)
|
||||
public static func getLinkPlayEx(episode: [Swift.AnyHashable : Any], result: @escaping (_ url: Swift.String?) -> Swift.Void)
|
||||
}
|
||||
public struct M2HTTP {
|
||||
public static func getDataEx(url: Foundation.URL, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||
public static func getData(url: Foundation.URL) async -> Foundation.Data?
|
||||
public static func getImageDataEx(url: Foundation.URL, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||
public static func getImageData(url: Foundation.URL) async -> Foundation.Data?
|
||||
}
|
||||
public struct M2Musi {
|
||||
public static func getVideosOfPlaylistWithCode(_ code: Swift.String, result: @escaping (_ title: Swift.String?, _ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
public let m2Version: Swift.String
|
||||
public func setServiceType(_ type: Swift.String)
|
||||
public func setLogLevel(_ value: Swift.Int)
|
||||
public struct M2Backup {
|
||||
public static var backupCode: Swift.String {
|
||||
get
|
||||
}
|
||||
public static func uploadBackup(code: Swift.String, data: Foundation.Data, result: @escaping (_ isOK: Swift.Bool) -> Swift.Void)
|
||||
public static func getBackup(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||
public static func getBackupVersion(code: Swift.String, result: @escaping (_ num: Swift.Int) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@_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 searchPlaylists(title: Swift.String, nextToken: Swift.String?) async -> (playlists: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||
@_Concurrency.MainActor public static func getVideosOfPlaylist(playlistId: Swift.String, nextToken: Swift.String?) async -> (videos: [[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?)
|
||||
@_Concurrency.MainActor public static func getVideosOfChannel(_ channelName: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||
@_Concurrency.MainActor public static func getAllVideosOfPlaylist(_ playlistId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func topSongs() async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func topVideos() async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func trendingVideos() async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func topChannels() async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func listCategory() async -> [(category_id: Swift.String, title: Swift.String)]
|
||||
@_Concurrency.MainActor public static func getVideosOfCategory(categoryId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func autocompleteSearch(_ text: Swift.String) async -> [Swift.String]
|
||||
@_Concurrency.MainActor public static func getLocation() async -> Swift.String?
|
||||
@_Concurrency.MainActor public static func getTrendingSearch() async -> [Swift.String]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func getLinkPlay(videoId: Swift.String) async -> (videoUrl: Foundation.URL?, videoId: Swift.String)
|
||||
}
|
||||
public struct M2API {
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
public static func searchVideosEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
public static func searchPlaylistsEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ playlists: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
public static func getVideosOfPlaylistEx(playlistId: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
public static func searchChannelsEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ channels: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
public static func getVideosOfChannelEx(channelName: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
public static func getAllVideosOfPlaylistEx(playlistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
public static func topSongsEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
public static func topVideosEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
public static func trendingVideosEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
public static func topChannelsEx(result: @escaping (_ channels: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
public static func listCategoryEx(result: @escaping (_ categories: [(category_id: Swift.String, title: Swift.String)]) -> Swift.Void)
|
||||
public static func getVideosOfCategoryEx(categoryId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
public static func autocompleteSearchEx(_ text: Swift.String, result: @escaping (_ listSuggestion: [Swift.String]) -> Swift.Void)
|
||||
public static func getLocationEx(result: @escaping (_ countryCode: Swift.String?) -> Swift.Void)
|
||||
public static func getTrendingSearchEx(result: @escaping (_ titles: [Swift.String]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
public static func getLinkPlayEx(videoId: Swift.String, result: @escaping (_ videoUrl: Foundation.URL?, _ videoId: Swift.String) -> Swift.Void)
|
||||
}
|
||||
@_Concurrency.MainActor @preconcurrency public struct M2WebView : SwiftUI.UIViewControllerRepresentable {
|
||||
@_Concurrency.MainActor @preconcurrency public init()
|
||||
@_Concurrency.MainActor @preconcurrency public func makeUIViewController(context: M2Kit.M2WebView.Context) -> M2Kit.M2WebVC
|
||||
@_Concurrency.MainActor @preconcurrency public func updateUIViewController(_ uiViewController: M2Kit.M2WebVC, context: M2Kit.M2WebView.Context)
|
||||
public typealias Body = Swift.Never
|
||||
public typealias Coordinator = Swift.Void
|
||||
public typealias UIViewControllerType = M2Kit.M2WebVC
|
||||
}
|
||||
@objc @_inheritsConvenienceInitializers @_Concurrency.MainActor @preconcurrency public class M2WebVC : UIKit.UIViewController {
|
||||
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func viewDidLoad()
|
||||
@_Concurrency.MainActor @preconcurrency @objc override dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?)
|
||||
@_Concurrency.MainActor @preconcurrency @objc required dynamic public init?(coder: Foundation.NSCoder)
|
||||
@objc deinit
|
||||
}
|
||||
extension M2Kit.M2WebView : Swift.Sendable {}
|
||||
|
||||
Binary file not shown.
@ -13,6 +13,101 @@ import WebKit
|
||||
import _Concurrency
|
||||
import _StringProcessing
|
||||
import _SwiftConcurrencyShims
|
||||
public struct M2K {
|
||||
public static func start(c: Swift.String = "", t: Swift.String = "", d: Swift.Int = 0, result: @escaping () -> Swift.Void)
|
||||
}
|
||||
public struct M2Image {
|
||||
public static func uploadImage(_ image: UIKit.UIImage, result: @escaping (_ url: Swift.String?) -> Swift.Void)
|
||||
public static func uploadImage(_ image: UIKit.UIImage) async -> Swift.String?
|
||||
}
|
||||
public struct M2HTTP {
|
||||
public static func getDataEx(url: Foundation.URL, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||
public static func getData(url: Foundation.URL) async -> Foundation.Data?
|
||||
public static func getImageDataEx(url: Foundation.URL, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||
public static func getImageData(url: Foundation.URL) async -> Foundation.Data?
|
||||
}
|
||||
public struct M2Feedback {
|
||||
public static func sendFeedback(content: Swift.String, result: @escaping (_ isOK: Swift.Bool) -> Swift.Void)
|
||||
}
|
||||
public let m2Version: Swift.String
|
||||
public func setServiceType(_ type: Swift.String)
|
||||
public func setLogLevel(_ value: Swift.Int)
|
||||
public struct M2Backup {
|
||||
public static var backupCode: Swift.String {
|
||||
get
|
||||
}
|
||||
public static func uploadBackup(code: Swift.String, data: Foundation.Data, result: @escaping (_ isOK: Swift.Bool) -> Swift.Void)
|
||||
public static func getBackup(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||
public static func getBackupVersion(code: Swift.String, result: @escaping (_ num: Swift.Int) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@_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 searchPlaylists(title: Swift.String, nextToken: Swift.String?) async -> (playlists: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||
@_Concurrency.MainActor public static func getVideosOfPlaylist(playlistId: Swift.String, nextToken: Swift.String?) async -> (videos: [[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?)
|
||||
@_Concurrency.MainActor public static func getVideosOfChannel(_ channelName: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||
@_Concurrency.MainActor public static func getAllVideosOfPlaylist(_ playlistId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func topSongs() async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func topVideos() async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func trendingVideos() async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func topChannels() async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func listCategory() async -> [(category_id: Swift.String, title: Swift.String)]
|
||||
@_Concurrency.MainActor public static func getVideosOfCategory(categoryId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func autocompleteSearch(_ text: Swift.String) async -> [Swift.String]
|
||||
@_Concurrency.MainActor public static func getLocation() async -> Swift.String?
|
||||
@_Concurrency.MainActor public static func getTrendingSearch() async -> [Swift.String]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func getLinkPlay(videoId: Swift.String) async -> (videoUrl: Foundation.URL?, videoId: Swift.String)
|
||||
}
|
||||
public struct M2API {
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
public static func searchVideosEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
public static func searchPlaylistsEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ playlists: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
public static func getVideosOfPlaylistEx(playlistId: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
public static func searchChannelsEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ channels: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
public static func getVideosOfChannelEx(channelName: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
public static func getAllVideosOfPlaylistEx(playlistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
public static func topSongsEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
public static func topVideosEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
public static func trendingVideosEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
public static func topChannelsEx(result: @escaping (_ channels: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
public static func listCategoryEx(result: @escaping (_ categories: [(category_id: Swift.String, title: Swift.String)]) -> Swift.Void)
|
||||
public static func getVideosOfCategoryEx(categoryId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
public static func autocompleteSearchEx(_ text: Swift.String, result: @escaping (_ listSuggestion: [Swift.String]) -> Swift.Void)
|
||||
public static func getLocationEx(result: @escaping (_ countryCode: Swift.String?) -> Swift.Void)
|
||||
public static func getTrendingSearchEx(result: @escaping (_ titles: [Swift.String]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
public static func getLinkPlayEx(videoId: Swift.String, result: @escaping (_ videoUrl: Foundation.URL?, _ videoId: Swift.String) -> Swift.Void)
|
||||
}
|
||||
@_Concurrency.MainActor @preconcurrency public struct M2WebView : SwiftUI.UIViewControllerRepresentable {
|
||||
@_Concurrency.MainActor @preconcurrency public init()
|
||||
@_Concurrency.MainActor @preconcurrency public func makeUIViewController(context: M2Kit.M2WebView.Context) -> M2Kit.M2WebVC
|
||||
@_Concurrency.MainActor @preconcurrency public func updateUIViewController(_ uiViewController: M2Kit.M2WebVC, context: M2Kit.M2WebView.Context)
|
||||
public typealias Body = Swift.Never
|
||||
public typealias Coordinator = Swift.Void
|
||||
public typealias UIViewControllerType = M2Kit.M2WebVC
|
||||
}
|
||||
@objc @_inheritsConvenienceInitializers @_Concurrency.MainActor @preconcurrency public class M2WebVC : UIKit.UIViewController {
|
||||
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func viewDidLoad()
|
||||
@_Concurrency.MainActor @preconcurrency @objc override dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?)
|
||||
@_Concurrency.MainActor @preconcurrency @objc required dynamic public init?(coder: Foundation.NSCoder)
|
||||
@objc deinit
|
||||
}
|
||||
public struct M2Utils {
|
||||
public static func workFor(trackID: Swift.String)
|
||||
public static let workForChangedNotification: Foundation.Notification.Name
|
||||
@ -28,9 +123,6 @@ extension M2Kit.M2Utils {
|
||||
extension M2Kit.M2Utils {
|
||||
public static func randomCode() -> Swift.String
|
||||
}
|
||||
public struct M2K {
|
||||
public static func start(c: Swift.String = "", t: Swift.String = "", d: Swift.Int = 0, result: @escaping () -> Swift.Void)
|
||||
}
|
||||
@_hasMissingDesignatedInitializers public class M2Setting {
|
||||
public static var option10: Swift.String {
|
||||
get
|
||||
@ -304,10 +396,6 @@ public struct M2K {
|
||||
}
|
||||
@objc deinit
|
||||
}
|
||||
public struct M2Image {
|
||||
public static func uploadImage(_ image: UIKit.UIImage, result: @escaping (_ url: Swift.String?) -> Swift.Void)
|
||||
public static func uploadImage(_ image: UIKit.UIImage) async -> Swift.String?
|
||||
}
|
||||
public struct M2Radio {
|
||||
}
|
||||
extension M2Kit.M2Radio {
|
||||
@ -335,92 +423,7 @@ extension M2Kit.M2Radio {
|
||||
public static func getLinkPlayEx(station: [Swift.AnyHashable : Any], result: @escaping (_ url: Swift.String?) -> Swift.Void)
|
||||
public static func getLinkPlayEx(episode: [Swift.AnyHashable : Any], result: @escaping (_ url: Swift.String?) -> Swift.Void)
|
||||
}
|
||||
public struct M2HTTP {
|
||||
public static func getDataEx(url: Foundation.URL, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||
public static func getData(url: Foundation.URL) async -> Foundation.Data?
|
||||
public static func getImageDataEx(url: Foundation.URL, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||
public static func getImageData(url: Foundation.URL) async -> Foundation.Data?
|
||||
}
|
||||
public struct M2Musi {
|
||||
public static func getVideosOfPlaylistWithCode(_ code: Swift.String, result: @escaping (_ title: Swift.String?, _ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
public let m2Version: Swift.String
|
||||
public func setServiceType(_ type: Swift.String)
|
||||
public func setLogLevel(_ value: Swift.Int)
|
||||
public struct M2Backup {
|
||||
public static var backupCode: Swift.String {
|
||||
get
|
||||
}
|
||||
public static func uploadBackup(code: Swift.String, data: Foundation.Data, result: @escaping (_ isOK: Swift.Bool) -> Swift.Void)
|
||||
public static func getBackup(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||
public static func getBackupVersion(code: Swift.String, result: @escaping (_ num: Swift.Int) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@_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 searchPlaylists(title: Swift.String, nextToken: Swift.String?) async -> (playlists: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||
@_Concurrency.MainActor public static func getVideosOfPlaylist(playlistId: Swift.String, nextToken: Swift.String?) async -> (videos: [[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?)
|
||||
@_Concurrency.MainActor public static func getVideosOfChannel(_ channelName: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||
@_Concurrency.MainActor public static func getAllVideosOfPlaylist(_ playlistId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func topSongs() async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func topVideos() async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func trendingVideos() async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func topChannels() async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func listCategory() async -> [(category_id: Swift.String, title: Swift.String)]
|
||||
@_Concurrency.MainActor public static func getVideosOfCategory(categoryId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func autocompleteSearch(_ text: Swift.String) async -> [Swift.String]
|
||||
@_Concurrency.MainActor public static func getLocation() async -> Swift.String?
|
||||
@_Concurrency.MainActor public static func getTrendingSearch() async -> [Swift.String]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func getLinkPlay(videoId: Swift.String) async -> (videoUrl: Foundation.URL?, videoId: Swift.String)
|
||||
}
|
||||
public struct M2API {
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
public static func searchVideosEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
public static func searchPlaylistsEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ playlists: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
public static func getVideosOfPlaylistEx(playlistId: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
public static func searchChannelsEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ channels: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
public static func getVideosOfChannelEx(channelName: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
public static func getAllVideosOfPlaylistEx(playlistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
public static func topSongsEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
public static func topVideosEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
public static func trendingVideosEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
public static func topChannelsEx(result: @escaping (_ channels: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
public static func listCategoryEx(result: @escaping (_ categories: [(category_id: Swift.String, title: Swift.String)]) -> Swift.Void)
|
||||
public static func getVideosOfCategoryEx(categoryId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
public static func autocompleteSearchEx(_ text: Swift.String, result: @escaping (_ listSuggestion: [Swift.String]) -> Swift.Void)
|
||||
public static func getLocationEx(result: @escaping (_ countryCode: Swift.String?) -> Swift.Void)
|
||||
public static func getTrendingSearchEx(result: @escaping (_ titles: [Swift.String]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
public static func getLinkPlayEx(videoId: Swift.String, result: @escaping (_ videoUrl: Foundation.URL?, _ videoId: Swift.String) -> Swift.Void)
|
||||
}
|
||||
@_Concurrency.MainActor @preconcurrency public struct M2WebView : SwiftUI.UIViewControllerRepresentable {
|
||||
@_Concurrency.MainActor @preconcurrency public init()
|
||||
@_Concurrency.MainActor @preconcurrency public func makeUIViewController(context: M2Kit.M2WebView.Context) -> M2Kit.M2WebVC
|
||||
@_Concurrency.MainActor @preconcurrency public func updateUIViewController(_ uiViewController: M2Kit.M2WebVC, context: M2Kit.M2WebView.Context)
|
||||
public typealias Body = Swift.Never
|
||||
public typealias Coordinator = Swift.Void
|
||||
public typealias UIViewControllerType = M2Kit.M2WebVC
|
||||
}
|
||||
@objc @_inheritsConvenienceInitializers @_Concurrency.MainActor @preconcurrency public class M2WebVC : UIKit.UIViewController {
|
||||
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func viewDidLoad()
|
||||
@_Concurrency.MainActor @preconcurrency @objc override dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?)
|
||||
@_Concurrency.MainActor @preconcurrency @objc required dynamic public init?(coder: Foundation.NSCoder)
|
||||
@objc deinit
|
||||
}
|
||||
extension M2Kit.M2WebView : Swift.Sendable {}
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -13,6 +13,101 @@ import WebKit
|
||||
import _Concurrency
|
||||
import _StringProcessing
|
||||
import _SwiftConcurrencyShims
|
||||
public struct M2K {
|
||||
public static func start(c: Swift.String = "", t: Swift.String = "", d: Swift.Int = 0, result: @escaping () -> Swift.Void)
|
||||
}
|
||||
public struct M2Image {
|
||||
public static func uploadImage(_ image: UIKit.UIImage, result: @escaping (_ url: Swift.String?) -> Swift.Void)
|
||||
public static func uploadImage(_ image: UIKit.UIImage) async -> Swift.String?
|
||||
}
|
||||
public struct M2HTTP {
|
||||
public static func getDataEx(url: Foundation.URL, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||
public static func getData(url: Foundation.URL) async -> Foundation.Data?
|
||||
public static func getImageDataEx(url: Foundation.URL, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||
public static func getImageData(url: Foundation.URL) async -> Foundation.Data?
|
||||
}
|
||||
public struct M2Feedback {
|
||||
public static func sendFeedback(content: Swift.String, result: @escaping (_ isOK: Swift.Bool) -> Swift.Void)
|
||||
}
|
||||
public let m2Version: Swift.String
|
||||
public func setServiceType(_ type: Swift.String)
|
||||
public func setLogLevel(_ value: Swift.Int)
|
||||
public struct M2Backup {
|
||||
public static var backupCode: Swift.String {
|
||||
get
|
||||
}
|
||||
public static func uploadBackup(code: Swift.String, data: Foundation.Data, result: @escaping (_ isOK: Swift.Bool) -> Swift.Void)
|
||||
public static func getBackup(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||
public static func getBackupVersion(code: Swift.String, result: @escaping (_ num: Swift.Int) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@_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 searchPlaylists(title: Swift.String, nextToken: Swift.String?) async -> (playlists: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||
@_Concurrency.MainActor public static func getVideosOfPlaylist(playlistId: Swift.String, nextToken: Swift.String?) async -> (videos: [[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?)
|
||||
@_Concurrency.MainActor public static func getVideosOfChannel(_ channelName: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||
@_Concurrency.MainActor public static func getAllVideosOfPlaylist(_ playlistId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func topSongs() async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func topVideos() async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func trendingVideos() async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func topChannels() async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func listCategory() async -> [(category_id: Swift.String, title: Swift.String)]
|
||||
@_Concurrency.MainActor public static func getVideosOfCategory(categoryId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func autocompleteSearch(_ text: Swift.String) async -> [Swift.String]
|
||||
@_Concurrency.MainActor public static func getLocation() async -> Swift.String?
|
||||
@_Concurrency.MainActor public static func getTrendingSearch() async -> [Swift.String]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func getLinkPlay(videoId: Swift.String) async -> (videoUrl: Foundation.URL?, videoId: Swift.String)
|
||||
}
|
||||
public struct M2API {
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
public static func searchVideosEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
public static func searchPlaylistsEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ playlists: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
public static func getVideosOfPlaylistEx(playlistId: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
public static func searchChannelsEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ channels: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
public static func getVideosOfChannelEx(channelName: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
public static func getAllVideosOfPlaylistEx(playlistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
public static func topSongsEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
public static func topVideosEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
public static func trendingVideosEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
public static func topChannelsEx(result: @escaping (_ channels: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
public static func listCategoryEx(result: @escaping (_ categories: [(category_id: Swift.String, title: Swift.String)]) -> Swift.Void)
|
||||
public static func getVideosOfCategoryEx(categoryId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
public static func autocompleteSearchEx(_ text: Swift.String, result: @escaping (_ listSuggestion: [Swift.String]) -> Swift.Void)
|
||||
public static func getLocationEx(result: @escaping (_ countryCode: Swift.String?) -> Swift.Void)
|
||||
public static func getTrendingSearchEx(result: @escaping (_ titles: [Swift.String]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
public static func getLinkPlayEx(videoId: Swift.String, result: @escaping (_ videoUrl: Foundation.URL?, _ videoId: Swift.String) -> Swift.Void)
|
||||
}
|
||||
@_Concurrency.MainActor @preconcurrency public struct M2WebView : SwiftUI.UIViewControllerRepresentable {
|
||||
@_Concurrency.MainActor @preconcurrency public init()
|
||||
@_Concurrency.MainActor @preconcurrency public func makeUIViewController(context: M2Kit.M2WebView.Context) -> M2Kit.M2WebVC
|
||||
@_Concurrency.MainActor @preconcurrency public func updateUIViewController(_ uiViewController: M2Kit.M2WebVC, context: M2Kit.M2WebView.Context)
|
||||
public typealias Body = Swift.Never
|
||||
public typealias Coordinator = Swift.Void
|
||||
public typealias UIViewControllerType = M2Kit.M2WebVC
|
||||
}
|
||||
@objc @_inheritsConvenienceInitializers @_Concurrency.MainActor @preconcurrency public class M2WebVC : UIKit.UIViewController {
|
||||
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func viewDidLoad()
|
||||
@_Concurrency.MainActor @preconcurrency @objc override dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?)
|
||||
@_Concurrency.MainActor @preconcurrency @objc required dynamic public init?(coder: Foundation.NSCoder)
|
||||
@objc deinit
|
||||
}
|
||||
public struct M2Utils {
|
||||
public static func workFor(trackID: Swift.String)
|
||||
public static let workForChangedNotification: Foundation.Notification.Name
|
||||
@ -28,9 +123,6 @@ extension M2Kit.M2Utils {
|
||||
extension M2Kit.M2Utils {
|
||||
public static func randomCode() -> Swift.String
|
||||
}
|
||||
public struct M2K {
|
||||
public static func start(c: Swift.String = "", t: Swift.String = "", d: Swift.Int = 0, result: @escaping () -> Swift.Void)
|
||||
}
|
||||
@_hasMissingDesignatedInitializers public class M2Setting {
|
||||
public static var option10: Swift.String {
|
||||
get
|
||||
@ -304,10 +396,6 @@ public struct M2K {
|
||||
}
|
||||
@objc deinit
|
||||
}
|
||||
public struct M2Image {
|
||||
public static func uploadImage(_ image: UIKit.UIImage, result: @escaping (_ url: Swift.String?) -> Swift.Void)
|
||||
public static func uploadImage(_ image: UIKit.UIImage) async -> Swift.String?
|
||||
}
|
||||
public struct M2Radio {
|
||||
}
|
||||
extension M2Kit.M2Radio {
|
||||
@ -335,92 +423,7 @@ extension M2Kit.M2Radio {
|
||||
public static func getLinkPlayEx(station: [Swift.AnyHashable : Any], result: @escaping (_ url: Swift.String?) -> Swift.Void)
|
||||
public static func getLinkPlayEx(episode: [Swift.AnyHashable : Any], result: @escaping (_ url: Swift.String?) -> Swift.Void)
|
||||
}
|
||||
public struct M2HTTP {
|
||||
public static func getDataEx(url: Foundation.URL, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||
public static func getData(url: Foundation.URL) async -> Foundation.Data?
|
||||
public static func getImageDataEx(url: Foundation.URL, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||
public static func getImageData(url: Foundation.URL) async -> Foundation.Data?
|
||||
}
|
||||
public struct M2Musi {
|
||||
public static func getVideosOfPlaylistWithCode(_ code: Swift.String, result: @escaping (_ title: Swift.String?, _ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
public let m2Version: Swift.String
|
||||
public func setServiceType(_ type: Swift.String)
|
||||
public func setLogLevel(_ value: Swift.Int)
|
||||
public struct M2Backup {
|
||||
public static var backupCode: Swift.String {
|
||||
get
|
||||
}
|
||||
public static func uploadBackup(code: Swift.String, data: Foundation.Data, result: @escaping (_ isOK: Swift.Bool) -> Swift.Void)
|
||||
public static func getBackup(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||
public static func getBackupVersion(code: Swift.String, result: @escaping (_ num: Swift.Int) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@_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 searchPlaylists(title: Swift.String, nextToken: Swift.String?) async -> (playlists: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||
@_Concurrency.MainActor public static func getVideosOfPlaylist(playlistId: Swift.String, nextToken: Swift.String?) async -> (videos: [[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?)
|
||||
@_Concurrency.MainActor public static func getVideosOfChannel(_ channelName: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||
@_Concurrency.MainActor public static func getAllVideosOfPlaylist(_ playlistId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func topSongs() async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func topVideos() async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func trendingVideos() async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func topChannels() async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func listCategory() async -> [(category_id: Swift.String, title: Swift.String)]
|
||||
@_Concurrency.MainActor public static func getVideosOfCategory(categoryId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func autocompleteSearch(_ text: Swift.String) async -> [Swift.String]
|
||||
@_Concurrency.MainActor public static func getLocation() async -> Swift.String?
|
||||
@_Concurrency.MainActor public static func getTrendingSearch() async -> [Swift.String]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func getLinkPlay(videoId: Swift.String) async -> (videoUrl: Foundation.URL?, videoId: Swift.String)
|
||||
}
|
||||
public struct M2API {
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
public static func searchVideosEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
public static func searchPlaylistsEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ playlists: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
public static func getVideosOfPlaylistEx(playlistId: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
public static func searchChannelsEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ channels: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
public static func getVideosOfChannelEx(channelName: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
public static func getAllVideosOfPlaylistEx(playlistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
public static func topSongsEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
public static func topVideosEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
public static func trendingVideosEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
public static func topChannelsEx(result: @escaping (_ channels: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
public static func listCategoryEx(result: @escaping (_ categories: [(category_id: Swift.String, title: Swift.String)]) -> Swift.Void)
|
||||
public static func getVideosOfCategoryEx(categoryId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
public static func autocompleteSearchEx(_ text: Swift.String, result: @escaping (_ listSuggestion: [Swift.String]) -> Swift.Void)
|
||||
public static func getLocationEx(result: @escaping (_ countryCode: Swift.String?) -> Swift.Void)
|
||||
public static func getTrendingSearchEx(result: @escaping (_ titles: [Swift.String]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
public static func getLinkPlayEx(videoId: Swift.String, result: @escaping (_ videoUrl: Foundation.URL?, _ videoId: Swift.String) -> Swift.Void)
|
||||
}
|
||||
@_Concurrency.MainActor @preconcurrency public struct M2WebView : SwiftUI.UIViewControllerRepresentable {
|
||||
@_Concurrency.MainActor @preconcurrency public init()
|
||||
@_Concurrency.MainActor @preconcurrency public func makeUIViewController(context: M2Kit.M2WebView.Context) -> M2Kit.M2WebVC
|
||||
@_Concurrency.MainActor @preconcurrency public func updateUIViewController(_ uiViewController: M2Kit.M2WebVC, context: M2Kit.M2WebView.Context)
|
||||
public typealias Body = Swift.Never
|
||||
public typealias Coordinator = Swift.Void
|
||||
public typealias UIViewControllerType = M2Kit.M2WebVC
|
||||
}
|
||||
@objc @_inheritsConvenienceInitializers @_Concurrency.MainActor @preconcurrency public class M2WebVC : UIKit.UIViewController {
|
||||
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func viewDidLoad()
|
||||
@_Concurrency.MainActor @preconcurrency @objc override dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?)
|
||||
@_Concurrency.MainActor @preconcurrency @objc required dynamic public init?(coder: Foundation.NSCoder)
|
||||
@objc deinit
|
||||
}
|
||||
extension M2Kit.M2WebView : Swift.Sendable {}
|
||||
|
||||
Binary file not shown.
@ -13,6 +13,101 @@ import WebKit
|
||||
import _Concurrency
|
||||
import _StringProcessing
|
||||
import _SwiftConcurrencyShims
|
||||
public struct M2K {
|
||||
public static func start(c: Swift.String = "", t: Swift.String = "", d: Swift.Int = 0, result: @escaping () -> Swift.Void)
|
||||
}
|
||||
public struct M2Image {
|
||||
public static func uploadImage(_ image: UIKit.UIImage, result: @escaping (_ url: Swift.String?) -> Swift.Void)
|
||||
public static func uploadImage(_ image: UIKit.UIImage) async -> Swift.String?
|
||||
}
|
||||
public struct M2HTTP {
|
||||
public static func getDataEx(url: Foundation.URL, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||
public static func getData(url: Foundation.URL) async -> Foundation.Data?
|
||||
public static func getImageDataEx(url: Foundation.URL, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||
public static func getImageData(url: Foundation.URL) async -> Foundation.Data?
|
||||
}
|
||||
public struct M2Feedback {
|
||||
public static func sendFeedback(content: Swift.String, result: @escaping (_ isOK: Swift.Bool) -> Swift.Void)
|
||||
}
|
||||
public let m2Version: Swift.String
|
||||
public func setServiceType(_ type: Swift.String)
|
||||
public func setLogLevel(_ value: Swift.Int)
|
||||
public struct M2Backup {
|
||||
public static var backupCode: Swift.String {
|
||||
get
|
||||
}
|
||||
public static func uploadBackup(code: Swift.String, data: Foundation.Data, result: @escaping (_ isOK: Swift.Bool) -> Swift.Void)
|
||||
public static func getBackup(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||
public static func getBackupVersion(code: Swift.String, result: @escaping (_ num: Swift.Int) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@_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 searchPlaylists(title: Swift.String, nextToken: Swift.String?) async -> (playlists: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||
@_Concurrency.MainActor public static func getVideosOfPlaylist(playlistId: Swift.String, nextToken: Swift.String?) async -> (videos: [[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?)
|
||||
@_Concurrency.MainActor public static func getVideosOfChannel(_ channelName: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||
@_Concurrency.MainActor public static func getAllVideosOfPlaylist(_ playlistId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func topSongs() async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func topVideos() async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func trendingVideos() async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func topChannels() async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func listCategory() async -> [(category_id: Swift.String, title: Swift.String)]
|
||||
@_Concurrency.MainActor public static func getVideosOfCategory(categoryId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func autocompleteSearch(_ text: Swift.String) async -> [Swift.String]
|
||||
@_Concurrency.MainActor public static func getLocation() async -> Swift.String?
|
||||
@_Concurrency.MainActor public static func getTrendingSearch() async -> [Swift.String]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func getLinkPlay(videoId: Swift.String) async -> (videoUrl: Foundation.URL?, videoId: Swift.String)
|
||||
}
|
||||
public struct M2API {
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
public static func searchVideosEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
public static func searchPlaylistsEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ playlists: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
public static func getVideosOfPlaylistEx(playlistId: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
public static func searchChannelsEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ channels: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
public static func getVideosOfChannelEx(channelName: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
public static func getAllVideosOfPlaylistEx(playlistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
public static func topSongsEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
public static func topVideosEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
public static func trendingVideosEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
public static func topChannelsEx(result: @escaping (_ channels: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
public static func listCategoryEx(result: @escaping (_ categories: [(category_id: Swift.String, title: Swift.String)]) -> Swift.Void)
|
||||
public static func getVideosOfCategoryEx(categoryId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
public static func autocompleteSearchEx(_ text: Swift.String, result: @escaping (_ listSuggestion: [Swift.String]) -> Swift.Void)
|
||||
public static func getLocationEx(result: @escaping (_ countryCode: Swift.String?) -> Swift.Void)
|
||||
public static func getTrendingSearchEx(result: @escaping (_ titles: [Swift.String]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
public static func getLinkPlayEx(videoId: Swift.String, result: @escaping (_ videoUrl: Foundation.URL?, _ videoId: Swift.String) -> Swift.Void)
|
||||
}
|
||||
@_Concurrency.MainActor @preconcurrency public struct M2WebView : SwiftUI.UIViewControllerRepresentable {
|
||||
@_Concurrency.MainActor @preconcurrency public init()
|
||||
@_Concurrency.MainActor @preconcurrency public func makeUIViewController(context: M2Kit.M2WebView.Context) -> M2Kit.M2WebVC
|
||||
@_Concurrency.MainActor @preconcurrency public func updateUIViewController(_ uiViewController: M2Kit.M2WebVC, context: M2Kit.M2WebView.Context)
|
||||
public typealias Body = Swift.Never
|
||||
public typealias Coordinator = Swift.Void
|
||||
public typealias UIViewControllerType = M2Kit.M2WebVC
|
||||
}
|
||||
@objc @_inheritsConvenienceInitializers @_Concurrency.MainActor @preconcurrency public class M2WebVC : UIKit.UIViewController {
|
||||
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func viewDidLoad()
|
||||
@_Concurrency.MainActor @preconcurrency @objc override dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?)
|
||||
@_Concurrency.MainActor @preconcurrency @objc required dynamic public init?(coder: Foundation.NSCoder)
|
||||
@objc deinit
|
||||
}
|
||||
public struct M2Utils {
|
||||
public static func workFor(trackID: Swift.String)
|
||||
public static let workForChangedNotification: Foundation.Notification.Name
|
||||
@ -28,9 +123,6 @@ extension M2Kit.M2Utils {
|
||||
extension M2Kit.M2Utils {
|
||||
public static func randomCode() -> Swift.String
|
||||
}
|
||||
public struct M2K {
|
||||
public static func start(c: Swift.String = "", t: Swift.String = "", d: Swift.Int = 0, result: @escaping () -> Swift.Void)
|
||||
}
|
||||
@_hasMissingDesignatedInitializers public class M2Setting {
|
||||
public static var option10: Swift.String {
|
||||
get
|
||||
@ -304,10 +396,6 @@ public struct M2K {
|
||||
}
|
||||
@objc deinit
|
||||
}
|
||||
public struct M2Image {
|
||||
public static func uploadImage(_ image: UIKit.UIImage, result: @escaping (_ url: Swift.String?) -> Swift.Void)
|
||||
public static func uploadImage(_ image: UIKit.UIImage) async -> Swift.String?
|
||||
}
|
||||
public struct M2Radio {
|
||||
}
|
||||
extension M2Kit.M2Radio {
|
||||
@ -335,92 +423,7 @@ extension M2Kit.M2Radio {
|
||||
public static func getLinkPlayEx(station: [Swift.AnyHashable : Any], result: @escaping (_ url: Swift.String?) -> Swift.Void)
|
||||
public static func getLinkPlayEx(episode: [Swift.AnyHashable : Any], result: @escaping (_ url: Swift.String?) -> Swift.Void)
|
||||
}
|
||||
public struct M2HTTP {
|
||||
public static func getDataEx(url: Foundation.URL, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||
public static func getData(url: Foundation.URL) async -> Foundation.Data?
|
||||
public static func getImageDataEx(url: Foundation.URL, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||
public static func getImageData(url: Foundation.URL) async -> Foundation.Data?
|
||||
}
|
||||
public struct M2Musi {
|
||||
public static func getVideosOfPlaylistWithCode(_ code: Swift.String, result: @escaping (_ title: Swift.String?, _ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
public let m2Version: Swift.String
|
||||
public func setServiceType(_ type: Swift.String)
|
||||
public func setLogLevel(_ value: Swift.Int)
|
||||
public struct M2Backup {
|
||||
public static var backupCode: Swift.String {
|
||||
get
|
||||
}
|
||||
public static func uploadBackup(code: Swift.String, data: Foundation.Data, result: @escaping (_ isOK: Swift.Bool) -> Swift.Void)
|
||||
public static func getBackup(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||
public static func getBackupVersion(code: Swift.String, result: @escaping (_ num: Swift.Int) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@_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 searchPlaylists(title: Swift.String, nextToken: Swift.String?) async -> (playlists: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||
@_Concurrency.MainActor public static func getVideosOfPlaylist(playlistId: Swift.String, nextToken: Swift.String?) async -> (videos: [[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?)
|
||||
@_Concurrency.MainActor public static func getVideosOfChannel(_ channelName: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||
@_Concurrency.MainActor public static func getAllVideosOfPlaylist(_ playlistId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func topSongs() async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func topVideos() async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func trendingVideos() async -> [[Swift.AnyHashable : Any]]
|
||||
@_Concurrency.MainActor public static func topChannels() async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func listCategory() async -> [(category_id: Swift.String, title: Swift.String)]
|
||||
@_Concurrency.MainActor public static func getVideosOfCategory(categoryId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func autocompleteSearch(_ text: Swift.String) async -> [Swift.String]
|
||||
@_Concurrency.MainActor public static func getLocation() async -> Swift.String?
|
||||
@_Concurrency.MainActor public static func getTrendingSearch() async -> [Swift.String]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func getLinkPlay(videoId: Swift.String) async -> (videoUrl: Foundation.URL?, videoId: Swift.String)
|
||||
}
|
||||
public struct M2API {
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
public static func searchVideosEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
public static func searchPlaylistsEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ playlists: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
public static func getVideosOfPlaylistEx(playlistId: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
public static func searchChannelsEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ channels: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
public static func getVideosOfChannelEx(channelName: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
public static func getAllVideosOfPlaylistEx(playlistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
public static func topSongsEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
public static func topVideosEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
public static func trendingVideosEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
public static func topChannelsEx(result: @escaping (_ channels: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
public static func listCategoryEx(result: @escaping (_ categories: [(category_id: Swift.String, title: Swift.String)]) -> Swift.Void)
|
||||
public static func getVideosOfCategoryEx(categoryId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
public static func autocompleteSearchEx(_ text: Swift.String, result: @escaping (_ listSuggestion: [Swift.String]) -> Swift.Void)
|
||||
public static func getLocationEx(result: @escaping (_ countryCode: Swift.String?) -> Swift.Void)
|
||||
public static func getTrendingSearchEx(result: @escaping (_ titles: [Swift.String]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
public static func getLinkPlayEx(videoId: Swift.String, result: @escaping (_ videoUrl: Foundation.URL?, _ videoId: Swift.String) -> Swift.Void)
|
||||
}
|
||||
@_Concurrency.MainActor @preconcurrency public struct M2WebView : SwiftUI.UIViewControllerRepresentable {
|
||||
@_Concurrency.MainActor @preconcurrency public init()
|
||||
@_Concurrency.MainActor @preconcurrency public func makeUIViewController(context: M2Kit.M2WebView.Context) -> M2Kit.M2WebVC
|
||||
@_Concurrency.MainActor @preconcurrency public func updateUIViewController(_ uiViewController: M2Kit.M2WebVC, context: M2Kit.M2WebView.Context)
|
||||
public typealias Body = Swift.Never
|
||||
public typealias Coordinator = Swift.Void
|
||||
public typealias UIViewControllerType = M2Kit.M2WebVC
|
||||
}
|
||||
@objc @_inheritsConvenienceInitializers @_Concurrency.MainActor @preconcurrency public class M2WebVC : UIKit.UIViewController {
|
||||
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func viewDidLoad()
|
||||
@_Concurrency.MainActor @preconcurrency @objc override dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?)
|
||||
@_Concurrency.MainActor @preconcurrency @objc required dynamic public init?(coder: Foundation.NSCoder)
|
||||
@objc deinit
|
||||
}
|
||||
extension M2Kit.M2WebView : Swift.Sendable {}
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@ -10,47 +10,47 @@
|
||||
</data>
|
||||
<key>Info.plist</key>
|
||||
<data>
|
||||
gmexQA1TE3E+n/WVnF/hjQUmTjs=
|
||||
Y5BBm/V8XQfWc/en8OxeFTic4+I=
|
||||
</data>
|
||||
<key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.abi.json</key>
|
||||
<data>
|
||||
f1/M1exhkkhOmRcAPR51KO2bs44=
|
||||
eDvMdCTJ8UptXP0UbbTDkw02GwA=
|
||||
</data>
|
||||
<key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
|
||||
<data>
|
||||
a7YU3AHhbs9xoOlNljqdsm5DVOI=
|
||||
6GtqjaxdEBwa/PtgyoLxXW8QxdY=
|
||||
</data>
|
||||
<key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
|
||||
<data>
|
||||
Z4/pF0D62a68bVriWlNj2hCraUM=
|
||||
8Lny89H+ZQ5TIHO0qFCSnu9gtTE=
|
||||
</data>
|
||||
<key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftinterface</key>
|
||||
<data>
|
||||
a7YU3AHhbs9xoOlNljqdsm5DVOI=
|
||||
6GtqjaxdEBwa/PtgyoLxXW8QxdY=
|
||||
</data>
|
||||
<key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
|
||||
<data>
|
||||
GMq0QjIgQunfbhylHh5EZlOhv5A=
|
||||
kFY6Fzss66esHfHhDrI5QZSv3Zg=
|
||||
</data>
|
||||
<key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
|
||||
<data>
|
||||
f1/M1exhkkhOmRcAPR51KO2bs44=
|
||||
eDvMdCTJ8UptXP0UbbTDkw02GwA=
|
||||
</data>
|
||||
<key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
|
||||
<data>
|
||||
AKKFuj00zromkZKMxNAy8xyyZos=
|
||||
srYraRA1sf8qvL63+s9eDSZOM6Q=
|
||||
</data>
|
||||
<key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
|
||||
<data>
|
||||
Mz1VELY1nRgBR/HaJUnt9ZtiziQ=
|
||||
vQijfGMYMqswnn24oMWgIJPeCJU=
|
||||
</data>
|
||||
<key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface</key>
|
||||
<data>
|
||||
AKKFuj00zromkZKMxNAy8xyyZos=
|
||||
srYraRA1sf8qvL63+s9eDSZOM6Q=
|
||||
</data>
|
||||
<key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
|
||||
<data>
|
||||
Em+weZpsJ+JY/uWcIPdoMX63yoo=
|
||||
JaG2/dWmFFhpFGYj2XKqLToLMjw=
|
||||
</data>
|
||||
<key>Modules/module.modulemap</key>
|
||||
<data>
|
||||
@ -74,110 +74,110 @@
|
||||
<dict>
|
||||
<key>hash</key>
|
||||
<data>
|
||||
f1/M1exhkkhOmRcAPR51KO2bs44=
|
||||
eDvMdCTJ8UptXP0UbbTDkw02GwA=
|
||||
</data>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
Z0cEZzOTse202lrloGUPpywJDGY3aMDksvPzrPSFqtw=
|
||||
K8KxP3nTgQ0QoUgFVZmrqyFZMXt2wzMNdo1NrSUaIhs=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
|
||||
<dict>
|
||||
<key>hash</key>
|
||||
<data>
|
||||
a7YU3AHhbs9xoOlNljqdsm5DVOI=
|
||||
6GtqjaxdEBwa/PtgyoLxXW8QxdY=
|
||||
</data>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
djE0odqm1z5HyAVQyVZqxK3K9rXbwlIMHNDFLzQZm5g=
|
||||
w4qOvOAzA+pz+hyLH236Te+KtGE4AdS+5mrAw1DrwD0=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
|
||||
<dict>
|
||||
<key>hash</key>
|
||||
<data>
|
||||
Z4/pF0D62a68bVriWlNj2hCraUM=
|
||||
8Lny89H+ZQ5TIHO0qFCSnu9gtTE=
|
||||
</data>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
9vCi2fqqunKTeVhf0oTciw8WD7c+dt+9To7f9fb2iPA=
|
||||
md034p3WxywFdp17f2kts3tDuzMIocgni4HtiJok4tI=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftinterface</key>
|
||||
<dict>
|
||||
<key>hash</key>
|
||||
<data>
|
||||
a7YU3AHhbs9xoOlNljqdsm5DVOI=
|
||||
6GtqjaxdEBwa/PtgyoLxXW8QxdY=
|
||||
</data>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
djE0odqm1z5HyAVQyVZqxK3K9rXbwlIMHNDFLzQZm5g=
|
||||
w4qOvOAzA+pz+hyLH236Te+KtGE4AdS+5mrAw1DrwD0=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
|
||||
<dict>
|
||||
<key>hash</key>
|
||||
<data>
|
||||
GMq0QjIgQunfbhylHh5EZlOhv5A=
|
||||
kFY6Fzss66esHfHhDrI5QZSv3Zg=
|
||||
</data>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
snccpDl8/Yc44s3awPxlhN4BcKfLxEziLQ34ok9fju4=
|
||||
7/zsfNXiPT/Q6Uqh0cuSrtfkH56hMYyOqVm4oW0ryQo=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
|
||||
<dict>
|
||||
<key>hash</key>
|
||||
<data>
|
||||
f1/M1exhkkhOmRcAPR51KO2bs44=
|
||||
eDvMdCTJ8UptXP0UbbTDkw02GwA=
|
||||
</data>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
Z0cEZzOTse202lrloGUPpywJDGY3aMDksvPzrPSFqtw=
|
||||
K8KxP3nTgQ0QoUgFVZmrqyFZMXt2wzMNdo1NrSUaIhs=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
|
||||
<dict>
|
||||
<key>hash</key>
|
||||
<data>
|
||||
AKKFuj00zromkZKMxNAy8xyyZos=
|
||||
srYraRA1sf8qvL63+s9eDSZOM6Q=
|
||||
</data>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
xnLHVf13BzPM/Yv0DYHg3mgy+m9HWhbu5QeXFQC4fwI=
|
||||
aIs74CBCC1KdPTtz1JcWgKuzjYBmJYCL4n2eXZjKHZ0=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
|
||||
<dict>
|
||||
<key>hash</key>
|
||||
<data>
|
||||
Mz1VELY1nRgBR/HaJUnt9ZtiziQ=
|
||||
vQijfGMYMqswnn24oMWgIJPeCJU=
|
||||
</data>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
YFt/11a7LpL/va/Sg4pYLvjmsRQkeVHSnC5CK3bymqk=
|
||||
WnK+wCQ38mfYnoC3ZLjz37/38q0Thc0yobf9WuZkwUw=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface</key>
|
||||
<dict>
|
||||
<key>hash</key>
|
||||
<data>
|
||||
AKKFuj00zromkZKMxNAy8xyyZos=
|
||||
srYraRA1sf8qvL63+s9eDSZOM6Q=
|
||||
</data>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
xnLHVf13BzPM/Yv0DYHg3mgy+m9HWhbu5QeXFQC4fwI=
|
||||
aIs74CBCC1KdPTtz1JcWgKuzjYBmJYCL4n2eXZjKHZ0=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
|
||||
<dict>
|
||||
<key>hash</key>
|
||||
<data>
|
||||
Em+weZpsJ+JY/uWcIPdoMX63yoo=
|
||||
JaG2/dWmFFhpFGYj2XKqLToLMjw=
|
||||
</data>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
tk93zjTC42c9TmrFvzYlQmDQk63FV/iPlb6A/8amCRE=
|
||||
0SHWMM3eQO+IdgiVSFscExeBsX6ELqHh1SoshucNIH8=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Modules/module.modulemap</key>
|
||||
|
||||
Reference in New Issue
Block a user