5.2
This commit is contained in:
@ -4,23 +4,6 @@
|
|||||||
<dict>
|
<dict>
|
||||||
<key>AvailableLibraries</key>
|
<key>AvailableLibraries</key>
|
||||||
<array>
|
<array>
|
||||||
<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>
|
<dict>
|
||||||
<key>BinaryPath</key>
|
<key>BinaryPath</key>
|
||||||
<string>M2Kit.framework/M2Kit</string>
|
<string>M2Kit.framework/M2Kit</string>
|
||||||
@ -52,6 +35,23 @@
|
|||||||
<key>SupportedPlatformVariant</key>
|
<key>SupportedPlatformVariant</key>
|
||||||
<string>simulator</string>
|
<string>simulator</string>
|
||||||
</dict>
|
</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>
|
</array>
|
||||||
<key>CFBundlePackageType</key>
|
<key>CFBundlePackageType</key>
|
||||||
<string>XFWK</string>
|
<string>XFWK</string>
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
@ -13,122 +13,6 @@ import WebKit
|
|||||||
import _Concurrency
|
import _Concurrency
|
||||||
import _StringProcessing
|
import _StringProcessing
|
||||||
import _SwiftConcurrencyShims
|
import _SwiftConcurrencyShims
|
||||||
public struct M2Radio {
|
|
||||||
}
|
|
||||||
extension M2Kit.M2Radio {
|
|
||||||
public static func countriesSupported(result: @escaping (_ countries: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
|
||||||
public static func getHTTPHeaderMT() -> [Swift.String : Swift.String]
|
|
||||||
public static func changeRadioCountryCode(_ code: Swift.String)
|
|
||||||
public static func getCurrentRadioCountryCode() -> Swift.String
|
|
||||||
}
|
|
||||||
extension M2Kit.M2Radio {
|
|
||||||
public static func searchStationsEx(title: Swift.String, token: Swift.String?, result: @escaping (_ stations: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
|
||||||
public static func topStationsEx(token: Swift.String?, result: @escaping (_ stations: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
|
||||||
public static func listGenresForRadioEx(result: @escaping (_ genres: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
|
||||||
public static func listStationsByGenresEx(genre: [Swift.AnyHashable : Any], token: Swift.String?, result: @escaping (_ stations: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
|
||||||
public static func stationInfoEx(station: [Swift.AnyHashable : Any], result: @escaping (_ info: Swift.String?) -> Swift.Void)
|
|
||||||
}
|
|
||||||
extension M2Kit.M2Radio {
|
|
||||||
public static func searchPodcastsEx(title: Swift.String, token: Swift.String?, result: @escaping (_ podcasts: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
|
||||||
public static func listEpisodesOfPodcastEx(podcast: [Swift.AnyHashable : Any], token: Swift.String?, result: @escaping (_ episodes: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
|
||||||
public static func topPodcastsEx(token: Swift.String?, result: @escaping (_ podcasts: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
|
||||||
public static func listGenresForPodcastEx(result: @escaping (_ genres: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
|
||||||
public static func listPodcastsByGenreEx(genre: [Swift.AnyHashable : Any], token: Swift.String?, result: @escaping (_ podcasts: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
|
||||||
public static func podcastInfoEx(podcast: [Swift.AnyHashable : Any], result: @escaping (_ info: Swift.String?) -> Swift.Void)
|
|
||||||
}
|
|
||||||
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 M2Musi {
|
|
||||||
public static func getVideosOfPlaylistWithCode(_ code: Swift.String, result: @escaping (_ title: Swift.String?, _ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
|
||||||
}
|
|
||||||
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 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)
|
|
||||||
}
|
|
||||||
@_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
|
|
||||||
}
|
|
||||||
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)
|
|
||||||
}
|
|
||||||
@objc @_inheritsConvenienceInitializers @_Concurrency.MainActor @preconcurrency public class M2WebVC : UIKit.UIViewController {
|
@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 func viewDidLoad()
|
||||||
@_Concurrency.MainActor @preconcurrency @objc override dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?)
|
@_Concurrency.MainActor @preconcurrency @objc override dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?)
|
||||||
@ -423,4 +307,123 @@ extension M2Kit.M2Utils {
|
|||||||
}
|
}
|
||||||
@objc deinit
|
@objc deinit
|
||||||
}
|
}
|
||||||
|
public struct M2Radio {
|
||||||
|
}
|
||||||
|
extension M2Kit.M2Radio {
|
||||||
|
public static func countriesSupported(result: @escaping (_ countries: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
|
public static func getHTTPHeaderMT() -> [Swift.String : Swift.String]
|
||||||
|
public static func changeRadioCountryCode(_ code: Swift.String)
|
||||||
|
public static func getCurrentRadioCountryCode() -> Swift.String
|
||||||
|
}
|
||||||
|
extension M2Kit.M2Radio {
|
||||||
|
public static func searchStationsEx(title: Swift.String, token: Swift.String?, result: @escaping (_ stations: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
|
public static func topStationsEx(token: Swift.String?, result: @escaping (_ stations: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
|
public static func listGenresForRadioEx(result: @escaping (_ genres: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
|
public static func listStationsByGenresEx(genre: [Swift.AnyHashable : Any], token: Swift.String?, result: @escaping (_ stations: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
|
public static func stationInfoEx(station: [Swift.AnyHashable : Any], result: @escaping (_ info: Swift.String?) -> Swift.Void)
|
||||||
|
}
|
||||||
|
extension M2Kit.M2Radio {
|
||||||
|
public static func searchPodcastsEx(title: Swift.String, token: Swift.String?, result: @escaping (_ podcasts: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
|
public static func listEpisodesOfPodcastEx(podcast: [Swift.AnyHashable : Any], token: Swift.String?, result: @escaping (_ episodes: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
|
public static func topPodcastsEx(token: Swift.String?, result: @escaping (_ podcasts: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
|
public static func listGenresForPodcastEx(result: @escaping (_ genres: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
|
public static func listPodcastsByGenreEx(genre: [Swift.AnyHashable : Any], token: Swift.String?, result: @escaping (_ podcasts: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
|
public static func podcastInfoEx(podcast: [Swift.AnyHashable : Any], result: @escaping (_ info: Swift.String?) -> Swift.Void)
|
||||||
|
}
|
||||||
|
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 M2Musi {
|
||||||
|
public static func getVideosOfPlaylistWithCode(_ code: Swift.String, result: @escaping (_ title: Swift.String?, _ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
|
}
|
||||||
|
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 {}
|
extension M2Kit.M2WebView : Swift.Sendable {}
|
||||||
|
|||||||
Binary file not shown.
@ -13,122 +13,6 @@ import WebKit
|
|||||||
import _Concurrency
|
import _Concurrency
|
||||||
import _StringProcessing
|
import _StringProcessing
|
||||||
import _SwiftConcurrencyShims
|
import _SwiftConcurrencyShims
|
||||||
public struct M2Radio {
|
|
||||||
}
|
|
||||||
extension M2Kit.M2Radio {
|
|
||||||
public static func countriesSupported(result: @escaping (_ countries: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
|
||||||
public static func getHTTPHeaderMT() -> [Swift.String : Swift.String]
|
|
||||||
public static func changeRadioCountryCode(_ code: Swift.String)
|
|
||||||
public static func getCurrentRadioCountryCode() -> Swift.String
|
|
||||||
}
|
|
||||||
extension M2Kit.M2Radio {
|
|
||||||
public static func searchStationsEx(title: Swift.String, token: Swift.String?, result: @escaping (_ stations: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
|
||||||
public static func topStationsEx(token: Swift.String?, result: @escaping (_ stations: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
|
||||||
public static func listGenresForRadioEx(result: @escaping (_ genres: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
|
||||||
public static func listStationsByGenresEx(genre: [Swift.AnyHashable : Any], token: Swift.String?, result: @escaping (_ stations: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
|
||||||
public static func stationInfoEx(station: [Swift.AnyHashable : Any], result: @escaping (_ info: Swift.String?) -> Swift.Void)
|
|
||||||
}
|
|
||||||
extension M2Kit.M2Radio {
|
|
||||||
public static func searchPodcastsEx(title: Swift.String, token: Swift.String?, result: @escaping (_ podcasts: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
|
||||||
public static func listEpisodesOfPodcastEx(podcast: [Swift.AnyHashable : Any], token: Swift.String?, result: @escaping (_ episodes: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
|
||||||
public static func topPodcastsEx(token: Swift.String?, result: @escaping (_ podcasts: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
|
||||||
public static func listGenresForPodcastEx(result: @escaping (_ genres: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
|
||||||
public static func listPodcastsByGenreEx(genre: [Swift.AnyHashable : Any], token: Swift.String?, result: @escaping (_ podcasts: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
|
||||||
public static func podcastInfoEx(podcast: [Swift.AnyHashable : Any], result: @escaping (_ info: Swift.String?) -> Swift.Void)
|
|
||||||
}
|
|
||||||
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 M2Musi {
|
|
||||||
public static func getVideosOfPlaylistWithCode(_ code: Swift.String, result: @escaping (_ title: Swift.String?, _ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
|
||||||
}
|
|
||||||
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 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)
|
|
||||||
}
|
|
||||||
@_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
|
|
||||||
}
|
|
||||||
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)
|
|
||||||
}
|
|
||||||
@objc @_inheritsConvenienceInitializers @_Concurrency.MainActor @preconcurrency public class M2WebVC : UIKit.UIViewController {
|
@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 func viewDidLoad()
|
||||||
@_Concurrency.MainActor @preconcurrency @objc override dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?)
|
@_Concurrency.MainActor @preconcurrency @objc override dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?)
|
||||||
@ -423,4 +307,123 @@ extension M2Kit.M2Utils {
|
|||||||
}
|
}
|
||||||
@objc deinit
|
@objc deinit
|
||||||
}
|
}
|
||||||
|
public struct M2Radio {
|
||||||
|
}
|
||||||
|
extension M2Kit.M2Radio {
|
||||||
|
public static func countriesSupported(result: @escaping (_ countries: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
|
public static func getHTTPHeaderMT() -> [Swift.String : Swift.String]
|
||||||
|
public static func changeRadioCountryCode(_ code: Swift.String)
|
||||||
|
public static func getCurrentRadioCountryCode() -> Swift.String
|
||||||
|
}
|
||||||
|
extension M2Kit.M2Radio {
|
||||||
|
public static func searchStationsEx(title: Swift.String, token: Swift.String?, result: @escaping (_ stations: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
|
public static func topStationsEx(token: Swift.String?, result: @escaping (_ stations: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
|
public static func listGenresForRadioEx(result: @escaping (_ genres: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
|
public static func listStationsByGenresEx(genre: [Swift.AnyHashable : Any], token: Swift.String?, result: @escaping (_ stations: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
|
public static func stationInfoEx(station: [Swift.AnyHashable : Any], result: @escaping (_ info: Swift.String?) -> Swift.Void)
|
||||||
|
}
|
||||||
|
extension M2Kit.M2Radio {
|
||||||
|
public static func searchPodcastsEx(title: Swift.String, token: Swift.String?, result: @escaping (_ podcasts: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
|
public static func listEpisodesOfPodcastEx(podcast: [Swift.AnyHashable : Any], token: Swift.String?, result: @escaping (_ episodes: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
|
public static func topPodcastsEx(token: Swift.String?, result: @escaping (_ podcasts: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
|
public static func listGenresForPodcastEx(result: @escaping (_ genres: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
|
public static func listPodcastsByGenreEx(genre: [Swift.AnyHashable : Any], token: Swift.String?, result: @escaping (_ podcasts: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
|
public static func podcastInfoEx(podcast: [Swift.AnyHashable : Any], result: @escaping (_ info: Swift.String?) -> Swift.Void)
|
||||||
|
}
|
||||||
|
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 M2Musi {
|
||||||
|
public static func getVideosOfPlaylistWithCode(_ code: Swift.String, result: @escaping (_ title: Swift.String?, _ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
|
}
|
||||||
|
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 {}
|
extension M2Kit.M2WebView : Swift.Sendable {}
|
||||||
|
|||||||
Binary file not shown.
File diff suppressed because one or more lines are too long
@ -13,48 +13,8 @@ import WebKit
|
|||||||
import _Concurrency
|
import _Concurrency
|
||||||
import _StringProcessing
|
import _StringProcessing
|
||||||
import _SwiftConcurrencyShims
|
import _SwiftConcurrencyShims
|
||||||
public struct M2Radio {
|
public struct M2Feedback {
|
||||||
}
|
public static func sendFeedback(content: Swift.String, result: @escaping (_ isOK: Swift.Bool) -> Swift.Void)
|
||||||
extension M2Kit.M2Radio {
|
|
||||||
public static func countriesSupported(result: @escaping (_ countries: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
|
||||||
public static func getHTTPHeaderMT() -> [Swift.String : Swift.String]
|
|
||||||
public static func changeRadioCountryCode(_ code: Swift.String)
|
|
||||||
public static func getCurrentRadioCountryCode() -> Swift.String
|
|
||||||
}
|
|
||||||
extension M2Kit.M2Radio {
|
|
||||||
public static func searchStationsEx(title: Swift.String, token: Swift.String?, result: @escaping (_ stations: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
|
||||||
public static func topStationsEx(token: Swift.String?, result: @escaping (_ stations: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
|
||||||
public static func listGenresForRadioEx(result: @escaping (_ genres: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
|
||||||
public static func listStationsByGenresEx(genre: [Swift.AnyHashable : Any], token: Swift.String?, result: @escaping (_ stations: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
|
||||||
public static func stationInfoEx(station: [Swift.AnyHashable : Any], result: @escaping (_ info: Swift.String?) -> Swift.Void)
|
|
||||||
}
|
|
||||||
extension M2Kit.M2Radio {
|
|
||||||
public static func searchPodcastsEx(title: Swift.String, token: Swift.String?, result: @escaping (_ podcasts: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
|
||||||
public static func listEpisodesOfPodcastEx(podcast: [Swift.AnyHashable : Any], token: Swift.String?, result: @escaping (_ episodes: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
|
||||||
public static func topPodcastsEx(token: Swift.String?, result: @escaping (_ podcasts: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
|
||||||
public static func listGenresForPodcastEx(result: @escaping (_ genres: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
|
||||||
public static func listPodcastsByGenreEx(genre: [Swift.AnyHashable : Any], token: Swift.String?, result: @escaping (_ podcasts: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
|
||||||
public static func podcastInfoEx(podcast: [Swift.AnyHashable : Any], result: @escaping (_ info: Swift.String?) -> Swift.Void)
|
|
||||||
}
|
|
||||||
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 M2Musi {
|
|
||||||
public static func getVideosOfPlaylistWithCode(_ code: Swift.String, result: @escaping (_ title: Swift.String?, _ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
|
||||||
}
|
|
||||||
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 let m2Version: Swift.String
|
public let m2Version: Swift.String
|
||||||
public func setServiceType(_ type: Swift.String)
|
public func setServiceType(_ type: Swift.String)
|
||||||
@ -423,4 +383,47 @@ extension M2Kit.M2Utils {
|
|||||||
}
|
}
|
||||||
@objc deinit
|
@objc deinit
|
||||||
}
|
}
|
||||||
|
public struct M2Radio {
|
||||||
|
}
|
||||||
|
extension M2Kit.M2Radio {
|
||||||
|
public static func countriesSupported(result: @escaping (_ countries: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
|
public static func getHTTPHeaderMT() -> [Swift.String : Swift.String]
|
||||||
|
public static func changeRadioCountryCode(_ code: Swift.String)
|
||||||
|
public static func getCurrentRadioCountryCode() -> Swift.String
|
||||||
|
}
|
||||||
|
extension M2Kit.M2Radio {
|
||||||
|
public static func searchStationsEx(title: Swift.String, token: Swift.String?, result: @escaping (_ stations: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
|
public static func topStationsEx(token: Swift.String?, result: @escaping (_ stations: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
|
public static func listGenresForRadioEx(result: @escaping (_ genres: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
|
public static func listStationsByGenresEx(genre: [Swift.AnyHashable : Any], token: Swift.String?, result: @escaping (_ stations: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
|
public static func stationInfoEx(station: [Swift.AnyHashable : Any], result: @escaping (_ info: Swift.String?) -> Swift.Void)
|
||||||
|
}
|
||||||
|
extension M2Kit.M2Radio {
|
||||||
|
public static func searchPodcastsEx(title: Swift.String, token: Swift.String?, result: @escaping (_ podcasts: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
|
public static func listEpisodesOfPodcastEx(podcast: [Swift.AnyHashable : Any], token: Swift.String?, result: @escaping (_ episodes: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
|
public static func topPodcastsEx(token: Swift.String?, result: @escaping (_ podcasts: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
|
public static func listGenresForPodcastEx(result: @escaping (_ genres: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
|
public static func listPodcastsByGenreEx(genre: [Swift.AnyHashable : Any], token: Swift.String?, result: @escaping (_ podcasts: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
|
public static func podcastInfoEx(podcast: [Swift.AnyHashable : Any], result: @escaping (_ info: Swift.String?) -> Swift.Void)
|
||||||
|
}
|
||||||
|
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 M2Musi {
|
||||||
|
public static func getVideosOfPlaylistWithCode(_ code: Swift.String, result: @escaping (_ title: Swift.String?, _ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
|
}
|
||||||
|
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?
|
||||||
|
}
|
||||||
extension M2Kit.M2WebView : Swift.Sendable {}
|
extension M2Kit.M2WebView : Swift.Sendable {}
|
||||||
|
|||||||
Binary file not shown.
@ -13,48 +13,8 @@ import WebKit
|
|||||||
import _Concurrency
|
import _Concurrency
|
||||||
import _StringProcessing
|
import _StringProcessing
|
||||||
import _SwiftConcurrencyShims
|
import _SwiftConcurrencyShims
|
||||||
public struct M2Radio {
|
public struct M2Feedback {
|
||||||
}
|
public static func sendFeedback(content: Swift.String, result: @escaping (_ isOK: Swift.Bool) -> Swift.Void)
|
||||||
extension M2Kit.M2Radio {
|
|
||||||
public static func countriesSupported(result: @escaping (_ countries: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
|
||||||
public static func getHTTPHeaderMT() -> [Swift.String : Swift.String]
|
|
||||||
public static func changeRadioCountryCode(_ code: Swift.String)
|
|
||||||
public static func getCurrentRadioCountryCode() -> Swift.String
|
|
||||||
}
|
|
||||||
extension M2Kit.M2Radio {
|
|
||||||
public static func searchStationsEx(title: Swift.String, token: Swift.String?, result: @escaping (_ stations: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
|
||||||
public static func topStationsEx(token: Swift.String?, result: @escaping (_ stations: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
|
||||||
public static func listGenresForRadioEx(result: @escaping (_ genres: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
|
||||||
public static func listStationsByGenresEx(genre: [Swift.AnyHashable : Any], token: Swift.String?, result: @escaping (_ stations: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
|
||||||
public static func stationInfoEx(station: [Swift.AnyHashable : Any], result: @escaping (_ info: Swift.String?) -> Swift.Void)
|
|
||||||
}
|
|
||||||
extension M2Kit.M2Radio {
|
|
||||||
public static func searchPodcastsEx(title: Swift.String, token: Swift.String?, result: @escaping (_ podcasts: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
|
||||||
public static func listEpisodesOfPodcastEx(podcast: [Swift.AnyHashable : Any], token: Swift.String?, result: @escaping (_ episodes: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
|
||||||
public static func topPodcastsEx(token: Swift.String?, result: @escaping (_ podcasts: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
|
||||||
public static func listGenresForPodcastEx(result: @escaping (_ genres: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
|
||||||
public static func listPodcastsByGenreEx(genre: [Swift.AnyHashable : Any], token: Swift.String?, result: @escaping (_ podcasts: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
|
||||||
public static func podcastInfoEx(podcast: [Swift.AnyHashable : Any], result: @escaping (_ info: Swift.String?) -> Swift.Void)
|
|
||||||
}
|
|
||||||
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 M2Musi {
|
|
||||||
public static func getVideosOfPlaylistWithCode(_ code: Swift.String, result: @escaping (_ title: Swift.String?, _ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
|
||||||
}
|
|
||||||
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 let m2Version: Swift.String
|
public let m2Version: Swift.String
|
||||||
public func setServiceType(_ type: Swift.String)
|
public func setServiceType(_ type: Swift.String)
|
||||||
@ -423,4 +383,47 @@ extension M2Kit.M2Utils {
|
|||||||
}
|
}
|
||||||
@objc deinit
|
@objc deinit
|
||||||
}
|
}
|
||||||
|
public struct M2Radio {
|
||||||
|
}
|
||||||
|
extension M2Kit.M2Radio {
|
||||||
|
public static func countriesSupported(result: @escaping (_ countries: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
|
public static func getHTTPHeaderMT() -> [Swift.String : Swift.String]
|
||||||
|
public static func changeRadioCountryCode(_ code: Swift.String)
|
||||||
|
public static func getCurrentRadioCountryCode() -> Swift.String
|
||||||
|
}
|
||||||
|
extension M2Kit.M2Radio {
|
||||||
|
public static func searchStationsEx(title: Swift.String, token: Swift.String?, result: @escaping (_ stations: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
|
public static func topStationsEx(token: Swift.String?, result: @escaping (_ stations: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
|
public static func listGenresForRadioEx(result: @escaping (_ genres: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
|
public static func listStationsByGenresEx(genre: [Swift.AnyHashable : Any], token: Swift.String?, result: @escaping (_ stations: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
|
public static func stationInfoEx(station: [Swift.AnyHashable : Any], result: @escaping (_ info: Swift.String?) -> Swift.Void)
|
||||||
|
}
|
||||||
|
extension M2Kit.M2Radio {
|
||||||
|
public static func searchPodcastsEx(title: Swift.String, token: Swift.String?, result: @escaping (_ podcasts: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
|
public static func listEpisodesOfPodcastEx(podcast: [Swift.AnyHashable : Any], token: Swift.String?, result: @escaping (_ episodes: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
|
public static func topPodcastsEx(token: Swift.String?, result: @escaping (_ podcasts: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
|
public static func listGenresForPodcastEx(result: @escaping (_ genres: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
|
public static func listPodcastsByGenreEx(genre: [Swift.AnyHashable : Any], token: Swift.String?, result: @escaping (_ podcasts: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
|
public static func podcastInfoEx(podcast: [Swift.AnyHashable : Any], result: @escaping (_ info: Swift.String?) -> Swift.Void)
|
||||||
|
}
|
||||||
|
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 M2Musi {
|
||||||
|
public static func getVideosOfPlaylistWithCode(_ code: Swift.String, result: @escaping (_ title: Swift.String?, _ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
|
}
|
||||||
|
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?
|
||||||
|
}
|
||||||
extension M2Kit.M2WebView : Swift.Sendable {}
|
extension M2Kit.M2WebView : Swift.Sendable {}
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@ -13,48 +13,8 @@ import WebKit
|
|||||||
import _Concurrency
|
import _Concurrency
|
||||||
import _StringProcessing
|
import _StringProcessing
|
||||||
import _SwiftConcurrencyShims
|
import _SwiftConcurrencyShims
|
||||||
public struct M2Radio {
|
public struct M2Feedback {
|
||||||
}
|
public static func sendFeedback(content: Swift.String, result: @escaping (_ isOK: Swift.Bool) -> Swift.Void)
|
||||||
extension M2Kit.M2Radio {
|
|
||||||
public static func countriesSupported(result: @escaping (_ countries: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
|
||||||
public static func getHTTPHeaderMT() -> [Swift.String : Swift.String]
|
|
||||||
public static func changeRadioCountryCode(_ code: Swift.String)
|
|
||||||
public static func getCurrentRadioCountryCode() -> Swift.String
|
|
||||||
}
|
|
||||||
extension M2Kit.M2Radio {
|
|
||||||
public static func searchStationsEx(title: Swift.String, token: Swift.String?, result: @escaping (_ stations: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
|
||||||
public static func topStationsEx(token: Swift.String?, result: @escaping (_ stations: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
|
||||||
public static func listGenresForRadioEx(result: @escaping (_ genres: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
|
||||||
public static func listStationsByGenresEx(genre: [Swift.AnyHashable : Any], token: Swift.String?, result: @escaping (_ stations: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
|
||||||
public static func stationInfoEx(station: [Swift.AnyHashable : Any], result: @escaping (_ info: Swift.String?) -> Swift.Void)
|
|
||||||
}
|
|
||||||
extension M2Kit.M2Radio {
|
|
||||||
public static func searchPodcastsEx(title: Swift.String, token: Swift.String?, result: @escaping (_ podcasts: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
|
||||||
public static func listEpisodesOfPodcastEx(podcast: [Swift.AnyHashable : Any], token: Swift.String?, result: @escaping (_ episodes: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
|
||||||
public static func topPodcastsEx(token: Swift.String?, result: @escaping (_ podcasts: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
|
||||||
public static func listGenresForPodcastEx(result: @escaping (_ genres: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
|
||||||
public static func listPodcastsByGenreEx(genre: [Swift.AnyHashable : Any], token: Swift.String?, result: @escaping (_ podcasts: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
|
||||||
public static func podcastInfoEx(podcast: [Swift.AnyHashable : Any], result: @escaping (_ info: Swift.String?) -> Swift.Void)
|
|
||||||
}
|
|
||||||
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 M2Musi {
|
|
||||||
public static func getVideosOfPlaylistWithCode(_ code: Swift.String, result: @escaping (_ title: Swift.String?, _ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
|
||||||
}
|
|
||||||
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 let m2Version: Swift.String
|
public let m2Version: Swift.String
|
||||||
public func setServiceType(_ type: Swift.String)
|
public func setServiceType(_ type: Swift.String)
|
||||||
@ -423,4 +383,47 @@ extension M2Kit.M2Utils {
|
|||||||
}
|
}
|
||||||
@objc deinit
|
@objc deinit
|
||||||
}
|
}
|
||||||
|
public struct M2Radio {
|
||||||
|
}
|
||||||
|
extension M2Kit.M2Radio {
|
||||||
|
public static func countriesSupported(result: @escaping (_ countries: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
|
public static func getHTTPHeaderMT() -> [Swift.String : Swift.String]
|
||||||
|
public static func changeRadioCountryCode(_ code: Swift.String)
|
||||||
|
public static func getCurrentRadioCountryCode() -> Swift.String
|
||||||
|
}
|
||||||
|
extension M2Kit.M2Radio {
|
||||||
|
public static func searchStationsEx(title: Swift.String, token: Swift.String?, result: @escaping (_ stations: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
|
public static func topStationsEx(token: Swift.String?, result: @escaping (_ stations: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
|
public static func listGenresForRadioEx(result: @escaping (_ genres: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
|
public static func listStationsByGenresEx(genre: [Swift.AnyHashable : Any], token: Swift.String?, result: @escaping (_ stations: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
|
public static func stationInfoEx(station: [Swift.AnyHashable : Any], result: @escaping (_ info: Swift.String?) -> Swift.Void)
|
||||||
|
}
|
||||||
|
extension M2Kit.M2Radio {
|
||||||
|
public static func searchPodcastsEx(title: Swift.String, token: Swift.String?, result: @escaping (_ podcasts: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
|
public static func listEpisodesOfPodcastEx(podcast: [Swift.AnyHashable : Any], token: Swift.String?, result: @escaping (_ episodes: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
|
public static func topPodcastsEx(token: Swift.String?, result: @escaping (_ podcasts: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
|
public static func listGenresForPodcastEx(result: @escaping (_ genres: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
|
public static func listPodcastsByGenreEx(genre: [Swift.AnyHashable : Any], token: Swift.String?, result: @escaping (_ podcasts: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
|
public static func podcastInfoEx(podcast: [Swift.AnyHashable : Any], result: @escaping (_ info: Swift.String?) -> Swift.Void)
|
||||||
|
}
|
||||||
|
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 M2Musi {
|
||||||
|
public static func getVideosOfPlaylistWithCode(_ code: Swift.String, result: @escaping (_ title: Swift.String?, _ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
|
}
|
||||||
|
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?
|
||||||
|
}
|
||||||
extension M2Kit.M2WebView : Swift.Sendable {}
|
extension M2Kit.M2WebView : Swift.Sendable {}
|
||||||
|
|||||||
Binary file not shown.
@ -13,48 +13,8 @@ import WebKit
|
|||||||
import _Concurrency
|
import _Concurrency
|
||||||
import _StringProcessing
|
import _StringProcessing
|
||||||
import _SwiftConcurrencyShims
|
import _SwiftConcurrencyShims
|
||||||
public struct M2Radio {
|
public struct M2Feedback {
|
||||||
}
|
public static func sendFeedback(content: Swift.String, result: @escaping (_ isOK: Swift.Bool) -> Swift.Void)
|
||||||
extension M2Kit.M2Radio {
|
|
||||||
public static func countriesSupported(result: @escaping (_ countries: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
|
||||||
public static func getHTTPHeaderMT() -> [Swift.String : Swift.String]
|
|
||||||
public static func changeRadioCountryCode(_ code: Swift.String)
|
|
||||||
public static func getCurrentRadioCountryCode() -> Swift.String
|
|
||||||
}
|
|
||||||
extension M2Kit.M2Radio {
|
|
||||||
public static func searchStationsEx(title: Swift.String, token: Swift.String?, result: @escaping (_ stations: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
|
||||||
public static func topStationsEx(token: Swift.String?, result: @escaping (_ stations: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
|
||||||
public static func listGenresForRadioEx(result: @escaping (_ genres: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
|
||||||
public static func listStationsByGenresEx(genre: [Swift.AnyHashable : Any], token: Swift.String?, result: @escaping (_ stations: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
|
||||||
public static func stationInfoEx(station: [Swift.AnyHashable : Any], result: @escaping (_ info: Swift.String?) -> Swift.Void)
|
|
||||||
}
|
|
||||||
extension M2Kit.M2Radio {
|
|
||||||
public static func searchPodcastsEx(title: Swift.String, token: Swift.String?, result: @escaping (_ podcasts: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
|
||||||
public static func listEpisodesOfPodcastEx(podcast: [Swift.AnyHashable : Any], token: Swift.String?, result: @escaping (_ episodes: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
|
||||||
public static func topPodcastsEx(token: Swift.String?, result: @escaping (_ podcasts: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
|
||||||
public static func listGenresForPodcastEx(result: @escaping (_ genres: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
|
||||||
public static func listPodcastsByGenreEx(genre: [Swift.AnyHashable : Any], token: Swift.String?, result: @escaping (_ podcasts: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
|
||||||
public static func podcastInfoEx(podcast: [Swift.AnyHashable : Any], result: @escaping (_ info: Swift.String?) -> Swift.Void)
|
|
||||||
}
|
|
||||||
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 M2Musi {
|
|
||||||
public static func getVideosOfPlaylistWithCode(_ code: Swift.String, result: @escaping (_ title: Swift.String?, _ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
|
||||||
}
|
|
||||||
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 let m2Version: Swift.String
|
public let m2Version: Swift.String
|
||||||
public func setServiceType(_ type: Swift.String)
|
public func setServiceType(_ type: Swift.String)
|
||||||
@ -423,4 +383,47 @@ extension M2Kit.M2Utils {
|
|||||||
}
|
}
|
||||||
@objc deinit
|
@objc deinit
|
||||||
}
|
}
|
||||||
|
public struct M2Radio {
|
||||||
|
}
|
||||||
|
extension M2Kit.M2Radio {
|
||||||
|
public static func countriesSupported(result: @escaping (_ countries: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
|
public static func getHTTPHeaderMT() -> [Swift.String : Swift.String]
|
||||||
|
public static func changeRadioCountryCode(_ code: Swift.String)
|
||||||
|
public static func getCurrentRadioCountryCode() -> Swift.String
|
||||||
|
}
|
||||||
|
extension M2Kit.M2Radio {
|
||||||
|
public static func searchStationsEx(title: Swift.String, token: Swift.String?, result: @escaping (_ stations: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
|
public static func topStationsEx(token: Swift.String?, result: @escaping (_ stations: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
|
public static func listGenresForRadioEx(result: @escaping (_ genres: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
|
public static func listStationsByGenresEx(genre: [Swift.AnyHashable : Any], token: Swift.String?, result: @escaping (_ stations: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
|
public static func stationInfoEx(station: [Swift.AnyHashable : Any], result: @escaping (_ info: Swift.String?) -> Swift.Void)
|
||||||
|
}
|
||||||
|
extension M2Kit.M2Radio {
|
||||||
|
public static func searchPodcastsEx(title: Swift.String, token: Swift.String?, result: @escaping (_ podcasts: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
|
public static func listEpisodesOfPodcastEx(podcast: [Swift.AnyHashable : Any], token: Swift.String?, result: @escaping (_ episodes: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
|
public static func topPodcastsEx(token: Swift.String?, result: @escaping (_ podcasts: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
|
public static func listGenresForPodcastEx(result: @escaping (_ genres: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
|
public static func listPodcastsByGenreEx(genre: [Swift.AnyHashable : Any], token: Swift.String?, result: @escaping (_ podcasts: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
|
public static func podcastInfoEx(podcast: [Swift.AnyHashable : Any], result: @escaping (_ info: Swift.String?) -> Swift.Void)
|
||||||
|
}
|
||||||
|
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 M2Musi {
|
||||||
|
public static func getVideosOfPlaylistWithCode(_ code: Swift.String, result: @escaping (_ title: Swift.String?, _ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
|
}
|
||||||
|
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?
|
||||||
|
}
|
||||||
extension M2Kit.M2WebView : Swift.Sendable {}
|
extension M2Kit.M2WebView : Swift.Sendable {}
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
<plist version="1.0">
|
<plist version="1.0">
|
||||||
<dict>
|
<dict>
|
||||||
<key>BuildMachineOSBuild</key>
|
<key>BuildMachineOSBuild</key>
|
||||||
<string>24G84</string>
|
<string>24G90</string>
|
||||||
<key>CFBundleDevelopmentRegion</key>
|
<key>CFBundleDevelopmentRegion</key>
|
||||||
<string>en</string>
|
<string>en</string>
|
||||||
<key>CFBundleExecutable</key>
|
<key>CFBundleExecutable</key>
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
@ -13,6 +13,95 @@ import WebKit
|
|||||||
import _Concurrency
|
import _Concurrency
|
||||||
import _StringProcessing
|
import _StringProcessing
|
||||||
import _SwiftConcurrencyShims
|
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 {
|
@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 func viewDidLoad()
|
||||||
@_Concurrency.MainActor @preconcurrency @objc override dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?)
|
@_Concurrency.MainActor @preconcurrency @objc override dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?)
|
||||||
@ -337,90 +426,4 @@ extension M2Kit.M2Radio {
|
|||||||
public struct M2Musi {
|
public struct M2Musi {
|
||||||
public static func getVideosOfPlaylistWithCode(_ code: Swift.String, result: @escaping (_ title: Swift.String?, _ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
public static func getVideosOfPlaylistWithCode(_ code: Swift.String, result: @escaping (_ title: Swift.String?, _ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
}
|
}
|
||||||
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 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 {}
|
extension M2Kit.M2WebView : Swift.Sendable {}
|
||||||
|
|||||||
Binary file not shown.
@ -13,6 +13,95 @@ import WebKit
|
|||||||
import _Concurrency
|
import _Concurrency
|
||||||
import _StringProcessing
|
import _StringProcessing
|
||||||
import _SwiftConcurrencyShims
|
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 {
|
@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 func viewDidLoad()
|
||||||
@_Concurrency.MainActor @preconcurrency @objc override dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?)
|
@_Concurrency.MainActor @preconcurrency @objc override dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?)
|
||||||
@ -337,90 +426,4 @@ extension M2Kit.M2Radio {
|
|||||||
public struct M2Musi {
|
public struct M2Musi {
|
||||||
public static func getVideosOfPlaylistWithCode(_ code: Swift.String, result: @escaping (_ title: Swift.String?, _ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
public static func getVideosOfPlaylistWithCode(_ code: Swift.String, result: @escaping (_ title: Swift.String?, _ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
}
|
}
|
||||||
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 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 {}
|
extension M2Kit.M2WebView : Swift.Sendable {}
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@ -13,6 +13,95 @@ import WebKit
|
|||||||
import _Concurrency
|
import _Concurrency
|
||||||
import _StringProcessing
|
import _StringProcessing
|
||||||
import _SwiftConcurrencyShims
|
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 {
|
@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 func viewDidLoad()
|
||||||
@_Concurrency.MainActor @preconcurrency @objc override dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?)
|
@_Concurrency.MainActor @preconcurrency @objc override dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?)
|
||||||
@ -337,90 +426,4 @@ extension M2Kit.M2Radio {
|
|||||||
public struct M2Musi {
|
public struct M2Musi {
|
||||||
public static func getVideosOfPlaylistWithCode(_ code: Swift.String, result: @escaping (_ title: Swift.String?, _ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
public static func getVideosOfPlaylistWithCode(_ code: Swift.String, result: @escaping (_ title: Swift.String?, _ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
}
|
}
|
||||||
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 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 {}
|
extension M2Kit.M2WebView : Swift.Sendable {}
|
||||||
|
|||||||
Binary file not shown.
@ -13,6 +13,95 @@ import WebKit
|
|||||||
import _Concurrency
|
import _Concurrency
|
||||||
import _StringProcessing
|
import _StringProcessing
|
||||||
import _SwiftConcurrencyShims
|
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 {
|
@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 func viewDidLoad()
|
||||||
@_Concurrency.MainActor @preconcurrency @objc override dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?)
|
@_Concurrency.MainActor @preconcurrency @objc override dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?)
|
||||||
@ -337,90 +426,4 @@ extension M2Kit.M2Radio {
|
|||||||
public struct M2Musi {
|
public struct M2Musi {
|
||||||
public static func getVideosOfPlaylistWithCode(_ code: Swift.String, result: @escaping (_ title: Swift.String?, _ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
public static func getVideosOfPlaylistWithCode(_ code: Swift.String, result: @escaping (_ title: Swift.String?, _ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
}
|
}
|
||||||
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 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 {}
|
extension M2Kit.M2WebView : Swift.Sendable {}
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
@ -10,47 +10,47 @@
|
|||||||
</data>
|
</data>
|
||||||
<key>Info.plist</key>
|
<key>Info.plist</key>
|
||||||
<data>
|
<data>
|
||||||
LbBZk70wB+jfsC+gTurSs4SHqSU=
|
Y5BBm/V8XQfWc/en8OxeFTic4+I=
|
||||||
</data>
|
</data>
|
||||||
<key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.abi.json</key>
|
<key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.abi.json</key>
|
||||||
<data>
|
<data>
|
||||||
j5YYaqfBYb/AJ9p348OPG0C/yeQ=
|
eDvMdCTJ8UptXP0UbbTDkw02GwA=
|
||||||
</data>
|
</data>
|
||||||
<key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
|
<key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
|
||||||
<data>
|
<data>
|
||||||
3WO0DNGZdJg1B+34CNLRTCK4nZc=
|
6GtqjaxdEBwa/PtgyoLxXW8QxdY=
|
||||||
</data>
|
</data>
|
||||||
<key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
|
<key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
|
||||||
<data>
|
<data>
|
||||||
DkEVovRDl6IiI9eBQHkeGu1lo2U=
|
8Lny89H+ZQ5TIHO0qFCSnu9gtTE=
|
||||||
</data>
|
</data>
|
||||||
<key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftinterface</key>
|
<key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftinterface</key>
|
||||||
<data>
|
<data>
|
||||||
3WO0DNGZdJg1B+34CNLRTCK4nZc=
|
6GtqjaxdEBwa/PtgyoLxXW8QxdY=
|
||||||
</data>
|
</data>
|
||||||
<key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
|
<key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
|
||||||
<data>
|
<data>
|
||||||
umn+1h6dU2BLqFIpYUdumXKfCnE=
|
kFY6Fzss66esHfHhDrI5QZSv3Zg=
|
||||||
</data>
|
</data>
|
||||||
<key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
|
<key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
|
||||||
<data>
|
<data>
|
||||||
j5YYaqfBYb/AJ9p348OPG0C/yeQ=
|
eDvMdCTJ8UptXP0UbbTDkw02GwA=
|
||||||
</data>
|
</data>
|
||||||
<key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
|
<key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
|
||||||
<data>
|
<data>
|
||||||
Zt6Tw42rOVlCXB52/SP8xkuDxzM=
|
srYraRA1sf8qvL63+s9eDSZOM6Q=
|
||||||
</data>
|
</data>
|
||||||
<key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
|
<key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
|
||||||
<data>
|
<data>
|
||||||
QjBBNrL6g84Uzi3hZTYH5aawRqI=
|
vQijfGMYMqswnn24oMWgIJPeCJU=
|
||||||
</data>
|
</data>
|
||||||
<key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface</key>
|
<key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface</key>
|
||||||
<data>
|
<data>
|
||||||
Zt6Tw42rOVlCXB52/SP8xkuDxzM=
|
srYraRA1sf8qvL63+s9eDSZOM6Q=
|
||||||
</data>
|
</data>
|
||||||
<key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
|
<key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
|
||||||
<data>
|
<data>
|
||||||
fqzILLmexKTaGHGvsD6ok+4jcXE=
|
JaG2/dWmFFhpFGYj2XKqLToLMjw=
|
||||||
</data>
|
</data>
|
||||||
<key>Modules/module.modulemap</key>
|
<key>Modules/module.modulemap</key>
|
||||||
<data>
|
<data>
|
||||||
@ -74,110 +74,110 @@
|
|||||||
<dict>
|
<dict>
|
||||||
<key>hash</key>
|
<key>hash</key>
|
||||||
<data>
|
<data>
|
||||||
j5YYaqfBYb/AJ9p348OPG0C/yeQ=
|
eDvMdCTJ8UptXP0UbbTDkw02GwA=
|
||||||
</data>
|
</data>
|
||||||
<key>hash2</key>
|
<key>hash2</key>
|
||||||
<data>
|
<data>
|
||||||
gtB3CN1HmKWxS0QJa+dXmBppzZ5swBZPLu7hKKIsiXQ=
|
K8KxP3nTgQ0QoUgFVZmrqyFZMXt2wzMNdo1NrSUaIhs=
|
||||||
</data>
|
</data>
|
||||||
</dict>
|
</dict>
|
||||||
<key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
|
<key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
|
||||||
<dict>
|
<dict>
|
||||||
<key>hash</key>
|
<key>hash</key>
|
||||||
<data>
|
<data>
|
||||||
3WO0DNGZdJg1B+34CNLRTCK4nZc=
|
6GtqjaxdEBwa/PtgyoLxXW8QxdY=
|
||||||
</data>
|
</data>
|
||||||
<key>hash2</key>
|
<key>hash2</key>
|
||||||
<data>
|
<data>
|
||||||
/JNF8rbROKfWUMwtK4jo8v2cDvjHTlILqPkUt0zVKdA=
|
w4qOvOAzA+pz+hyLH236Te+KtGE4AdS+5mrAw1DrwD0=
|
||||||
</data>
|
</data>
|
||||||
</dict>
|
</dict>
|
||||||
<key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
|
<key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
|
||||||
<dict>
|
<dict>
|
||||||
<key>hash</key>
|
<key>hash</key>
|
||||||
<data>
|
<data>
|
||||||
DkEVovRDl6IiI9eBQHkeGu1lo2U=
|
8Lny89H+ZQ5TIHO0qFCSnu9gtTE=
|
||||||
</data>
|
</data>
|
||||||
<key>hash2</key>
|
<key>hash2</key>
|
||||||
<data>
|
<data>
|
||||||
K6nDDolGYV4JdHuBjfKcZTqeprVJRihcJ2GMTyVuLr0=
|
md034p3WxywFdp17f2kts3tDuzMIocgni4HtiJok4tI=
|
||||||
</data>
|
</data>
|
||||||
</dict>
|
</dict>
|
||||||
<key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftinterface</key>
|
<key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftinterface</key>
|
||||||
<dict>
|
<dict>
|
||||||
<key>hash</key>
|
<key>hash</key>
|
||||||
<data>
|
<data>
|
||||||
3WO0DNGZdJg1B+34CNLRTCK4nZc=
|
6GtqjaxdEBwa/PtgyoLxXW8QxdY=
|
||||||
</data>
|
</data>
|
||||||
<key>hash2</key>
|
<key>hash2</key>
|
||||||
<data>
|
<data>
|
||||||
/JNF8rbROKfWUMwtK4jo8v2cDvjHTlILqPkUt0zVKdA=
|
w4qOvOAzA+pz+hyLH236Te+KtGE4AdS+5mrAw1DrwD0=
|
||||||
</data>
|
</data>
|
||||||
</dict>
|
</dict>
|
||||||
<key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
|
<key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
|
||||||
<dict>
|
<dict>
|
||||||
<key>hash</key>
|
<key>hash</key>
|
||||||
<data>
|
<data>
|
||||||
umn+1h6dU2BLqFIpYUdumXKfCnE=
|
kFY6Fzss66esHfHhDrI5QZSv3Zg=
|
||||||
</data>
|
</data>
|
||||||
<key>hash2</key>
|
<key>hash2</key>
|
||||||
<data>
|
<data>
|
||||||
7/DBX/SJYPnvbEAettSSPXq4gHeY7/s94y7kiKOIaGI=
|
7/zsfNXiPT/Q6Uqh0cuSrtfkH56hMYyOqVm4oW0ryQo=
|
||||||
</data>
|
</data>
|
||||||
</dict>
|
</dict>
|
||||||
<key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
|
<key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
|
||||||
<dict>
|
<dict>
|
||||||
<key>hash</key>
|
<key>hash</key>
|
||||||
<data>
|
<data>
|
||||||
j5YYaqfBYb/AJ9p348OPG0C/yeQ=
|
eDvMdCTJ8UptXP0UbbTDkw02GwA=
|
||||||
</data>
|
</data>
|
||||||
<key>hash2</key>
|
<key>hash2</key>
|
||||||
<data>
|
<data>
|
||||||
gtB3CN1HmKWxS0QJa+dXmBppzZ5swBZPLu7hKKIsiXQ=
|
K8KxP3nTgQ0QoUgFVZmrqyFZMXt2wzMNdo1NrSUaIhs=
|
||||||
</data>
|
</data>
|
||||||
</dict>
|
</dict>
|
||||||
<key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
|
<key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
|
||||||
<dict>
|
<dict>
|
||||||
<key>hash</key>
|
<key>hash</key>
|
||||||
<data>
|
<data>
|
||||||
Zt6Tw42rOVlCXB52/SP8xkuDxzM=
|
srYraRA1sf8qvL63+s9eDSZOM6Q=
|
||||||
</data>
|
</data>
|
||||||
<key>hash2</key>
|
<key>hash2</key>
|
||||||
<data>
|
<data>
|
||||||
bs4U7MnWjHjJ5dOSMrhQoY/Lm8wSiiYBwSJZ+Dyq0VQ=
|
aIs74CBCC1KdPTtz1JcWgKuzjYBmJYCL4n2eXZjKHZ0=
|
||||||
</data>
|
</data>
|
||||||
</dict>
|
</dict>
|
||||||
<key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
|
<key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
|
||||||
<dict>
|
<dict>
|
||||||
<key>hash</key>
|
<key>hash</key>
|
||||||
<data>
|
<data>
|
||||||
QjBBNrL6g84Uzi3hZTYH5aawRqI=
|
vQijfGMYMqswnn24oMWgIJPeCJU=
|
||||||
</data>
|
</data>
|
||||||
<key>hash2</key>
|
<key>hash2</key>
|
||||||
<data>
|
<data>
|
||||||
ilW9uqpQve2PkMEKY/KDVeCUV7VvHXTPSp3jYu+67SI=
|
WnK+wCQ38mfYnoC3ZLjz37/38q0Thc0yobf9WuZkwUw=
|
||||||
</data>
|
</data>
|
||||||
</dict>
|
</dict>
|
||||||
<key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface</key>
|
<key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface</key>
|
||||||
<dict>
|
<dict>
|
||||||
<key>hash</key>
|
<key>hash</key>
|
||||||
<data>
|
<data>
|
||||||
Zt6Tw42rOVlCXB52/SP8xkuDxzM=
|
srYraRA1sf8qvL63+s9eDSZOM6Q=
|
||||||
</data>
|
</data>
|
||||||
<key>hash2</key>
|
<key>hash2</key>
|
||||||
<data>
|
<data>
|
||||||
bs4U7MnWjHjJ5dOSMrhQoY/Lm8wSiiYBwSJZ+Dyq0VQ=
|
aIs74CBCC1KdPTtz1JcWgKuzjYBmJYCL4n2eXZjKHZ0=
|
||||||
</data>
|
</data>
|
||||||
</dict>
|
</dict>
|
||||||
<key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
|
<key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
|
||||||
<dict>
|
<dict>
|
||||||
<key>hash</key>
|
<key>hash</key>
|
||||||
<data>
|
<data>
|
||||||
fqzILLmexKTaGHGvsD6ok+4jcXE=
|
JaG2/dWmFFhpFGYj2XKqLToLMjw=
|
||||||
</data>
|
</data>
|
||||||
<key>hash2</key>
|
<key>hash2</key>
|
||||||
<data>
|
<data>
|
||||||
dDWvgJM1BKPyoV7PJIEb5smHFCQ1m7efph8Ntr2Af44=
|
0SHWMM3eQO+IdgiVSFscExeBsX6ELqHh1SoshucNIH8=
|
||||||
</data>
|
</data>
|
||||||
</dict>
|
</dict>
|
||||||
<key>Modules/module.modulemap</key>
|
<key>Modules/module.modulemap</key>
|
||||||
|
|||||||
Reference in New Issue
Block a user