5.4
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@ -15,29 +15,16 @@ import WebKit
|
||||
import _Concurrency
|
||||
import _StringProcessing
|
||||
import _SwiftConcurrencyShims
|
||||
@_Concurrency.MainActor public struct M2Image {
|
||||
@_Concurrency.MainActor public static func uploadImage(_ image: UIKit.UIImage, result: @escaping (_ url: Swift.String?) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func uploadImage(_ image: UIKit.UIImage) async -> Swift.String?
|
||||
}
|
||||
@_Concurrency.MainActor public struct M2HTTP {
|
||||
@_Concurrency.MainActor public static func getDataEx(url: Foundation.URL, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func getData(url: Foundation.URL) async -> Foundation.Data?
|
||||
@_Concurrency.MainActor public static func getImageDataEx(url: Foundation.URL, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func getImageData(url: Foundation.URL) async -> Foundation.Data?
|
||||
}
|
||||
@_Concurrency.MainActor public struct M2Feedback {
|
||||
@_Concurrency.MainActor public static func sendFeedback(content: Swift.String, result: @escaping (_ isOK: Swift.Bool) -> Swift.Void)
|
||||
}
|
||||
public let m2Version: Swift.String
|
||||
@_Concurrency.MainActor public func setServiceType(_ type: Swift.String)
|
||||
@_Concurrency.MainActor public func setLogLevel(_ value: Swift.Int)
|
||||
@_Concurrency.MainActor public struct M2Backup {
|
||||
@_Concurrency.MainActor public static var backupCode: Swift.String {
|
||||
public struct M2Backup {
|
||||
public static var backupCode: Swift.String {
|
||||
get
|
||||
}
|
||||
@_Concurrency.MainActor public static func uploadBackup(code: Swift.String, data: Foundation.Data, result: @escaping (_ isOK: Swift.Bool) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func getBackup(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func getBackupVersion(code: Swift.String, result: @escaping (_ num: Swift.Int) -> Swift.Void)
|
||||
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?)
|
||||
@ -93,34 +80,34 @@ extension M2Kit.M2API {
|
||||
extension M2Kit.M2API {
|
||||
public static func getLinkPlayEx(videoId: Swift.String, result: @escaping (_ videoUrl: Foundation.URL?, _ videoId: Swift.String) -> Swift.Void)
|
||||
}
|
||||
@_Concurrency.MainActor public struct M2WebView : SwiftUI.UIViewControllerRepresentable {
|
||||
@_Concurrency.MainActor public init()
|
||||
@_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 public class M2WebVC : UIKit.UIViewController {
|
||||
@_Concurrency.MainActor @objc override dynamic public func viewDidLoad()
|
||||
@_Concurrency.MainActor @objc override dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?)
|
||||
@_Concurrency.MainActor @objc required dynamic public init?(coder: Foundation.NSCoder)
|
||||
@objc @_inheritsConvenienceInitializers @_Concurrency.MainActor @preconcurrency public class M2WebVC : UIKit.UIViewController {
|
||||
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func viewDidLoad()
|
||||
@_Concurrency.MainActor @preconcurrency @objc override dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?)
|
||||
@_Concurrency.MainActor @preconcurrency @objc required dynamic public init?(coder: Foundation.NSCoder)
|
||||
@objc deinit
|
||||
}
|
||||
@_Concurrency.MainActor public struct M2Utils {
|
||||
@_Concurrency.MainActor public static func workFor(trackID: Swift.String)
|
||||
@_Concurrency.MainActor public static let workForChangedNotification: Foundation.Notification.Name
|
||||
@_Concurrency.MainActor public static func checkExisted(trackID: Swift.String) -> Swift.Bool
|
||||
@_Concurrency.MainActor public static func deleteDataOf(trackID: Swift.String)
|
||||
@_Concurrency.MainActor public static func filePathOf(trackID: Swift.String) -> Swift.String
|
||||
public struct M2Utils {
|
||||
public static func workFor(trackID: Swift.String)
|
||||
public static let workForChangedNotification: Foundation.Notification.Name
|
||||
public static func checkExisted(trackID: Swift.String) -> Swift.Bool
|
||||
public static func deleteDataOf(trackID: Swift.String)
|
||||
public static func filePathOf(trackID: Swift.String) -> Swift.String
|
||||
}
|
||||
extension M2Kit.M2Utils {
|
||||
@_Concurrency.MainActor public static var countryCode: Swift.String {
|
||||
public static var countryCode: Swift.String {
|
||||
get
|
||||
}
|
||||
}
|
||||
extension M2Kit.M2Utils {
|
||||
@_Concurrency.MainActor public static func randomCode() -> Swift.String
|
||||
public static func randomCode() -> Swift.String
|
||||
}
|
||||
@_hasMissingDesignatedInitializers public class M2Setting {
|
||||
public static var option10: Swift.String {
|
||||
@ -395,53 +382,57 @@ extension M2Kit.M2Utils {
|
||||
}
|
||||
@objc deinit
|
||||
}
|
||||
@_Concurrency.MainActor public struct M2Radio {
|
||||
public struct M2Radio {
|
||||
}
|
||||
extension M2Kit.M2Radio {
|
||||
@_Concurrency.MainActor public static func countriesSupported(result: @escaping (_ countries: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func getHTTPHeaderMT() -> [Swift.String : Swift.String]
|
||||
@_Concurrency.MainActor public static func changeRadioCountryCode(_ code: Swift.String)
|
||||
@_Concurrency.MainActor public static func getCurrentRadioCountryCode() -> Swift.String
|
||||
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 {
|
||||
@_Concurrency.MainActor public static func searchStationsEx(title: Swift.String, token: Swift.String?, result: @escaping (_ stations: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func topStationsEx(token: Swift.String?, result: @escaping (_ stations: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func listGenresForRadioEx(result: @escaping (_ genres: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func listStationsByGenresEx(genre: [Swift.AnyHashable : Any], token: Swift.String?, result: @escaping (_ stations: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func stationInfoEx(station: [Swift.AnyHashable : Any], result: @escaping (_ info: Swift.String?) -> Swift.Void)
|
||||
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 {
|
||||
@_Concurrency.MainActor public static func searchPodcastsEx(title: Swift.String, token: Swift.String?, result: @escaping (_ podcasts: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func listEpisodesOfPodcastEx(podcast: [Swift.AnyHashable : Any], token: Swift.String?, result: @escaping (_ episodes: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func topPodcastsEx(token: Swift.String?, result: @escaping (_ podcasts: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func listGenresForPodcastEx(result: @escaping (_ genres: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func listPodcastsByGenreEx(genre: [Swift.AnyHashable : Any], token: Swift.String?, result: @escaping (_ podcasts: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func podcastInfoEx(podcast: [Swift.AnyHashable : Any], result: @escaping (_ info: Swift.String?) -> Swift.Void)
|
||||
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 {
|
||||
@_Concurrency.MainActor public static func getLinkPlayEx(station: [Swift.AnyHashable : Any], result: @escaping (_ url: Swift.String?) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func getLinkPlayEx(episode: [Swift.AnyHashable : Any], result: @escaping (_ url: Swift.String?) -> Swift.Void)
|
||||
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)
|
||||
}
|
||||
@_Concurrency.MainActor public struct M2NetMonitor {
|
||||
@_Concurrency.MainActor public func start(monitorHandler: @escaping (_ isConnected: Swift.Bool) -> Swift.Void)
|
||||
@_Concurrency.MainActor public var isConnected: Swift.Bool {
|
||||
public struct M2NetMonitor {
|
||||
public func start(monitorHandler: @escaping (_ isConnected: Swift.Bool) -> Swift.Void)
|
||||
public var isConnected: Swift.Bool {
|
||||
get
|
||||
}
|
||||
@_Concurrency.MainActor public func stop()
|
||||
public func stop()
|
||||
}
|
||||
@_Concurrency.MainActor public struct M2Musi {
|
||||
@_Concurrency.MainActor public static func getVideosOfPlaylistWithCode(_ code: Swift.String, result: @escaping (_ title: Swift.String?, _ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
public struct M2Musi {
|
||||
public static func getVideosOfPlaylistWithCode(_ code: Swift.String, result: @escaping (_ title: Swift.String?, _ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
@_Concurrency.MainActor public struct M2K {
|
||||
@_Concurrency.MainActor public static func start(c: Swift.String = "", t: Swift.String = "", d: Swift.Int = 0, result: @escaping () -> 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)
|
||||
}
|
||||
extension M2Kit.M2Image : Swift.Sendable {}
|
||||
extension M2Kit.M2HTTP : Swift.Sendable {}
|
||||
extension M2Kit.M2Feedback : Swift.Sendable {}
|
||||
extension M2Kit.M2Backup : Swift.Sendable {}
|
||||
extension M2Kit.M2WebView : Swift.Sendable {}
|
||||
extension M2Kit.M2Utils : Swift.Sendable {}
|
||||
extension M2Kit.M2Radio : Swift.Sendable {}
|
||||
extension M2Kit.M2NetMonitor : Swift.Sendable {}
|
||||
extension M2Kit.M2Musi : Swift.Sendable {}
|
||||
extension M2Kit.M2K : Swift.Sendable {}
|
||||
|
||||
Binary file not shown.
@ -15,29 +15,16 @@ import WebKit
|
||||
import _Concurrency
|
||||
import _StringProcessing
|
||||
import _SwiftConcurrencyShims
|
||||
@_Concurrency.MainActor public struct M2Image {
|
||||
@_Concurrency.MainActor public static func uploadImage(_ image: UIKit.UIImage, result: @escaping (_ url: Swift.String?) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func uploadImage(_ image: UIKit.UIImage) async -> Swift.String?
|
||||
}
|
||||
@_Concurrency.MainActor public struct M2HTTP {
|
||||
@_Concurrency.MainActor public static func getDataEx(url: Foundation.URL, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func getData(url: Foundation.URL) async -> Foundation.Data?
|
||||
@_Concurrency.MainActor public static func getImageDataEx(url: Foundation.URL, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func getImageData(url: Foundation.URL) async -> Foundation.Data?
|
||||
}
|
||||
@_Concurrency.MainActor public struct M2Feedback {
|
||||
@_Concurrency.MainActor public static func sendFeedback(content: Swift.String, result: @escaping (_ isOK: Swift.Bool) -> Swift.Void)
|
||||
}
|
||||
public let m2Version: Swift.String
|
||||
@_Concurrency.MainActor public func setServiceType(_ type: Swift.String)
|
||||
@_Concurrency.MainActor public func setLogLevel(_ value: Swift.Int)
|
||||
@_Concurrency.MainActor public struct M2Backup {
|
||||
@_Concurrency.MainActor public static var backupCode: Swift.String {
|
||||
public struct M2Backup {
|
||||
public static var backupCode: Swift.String {
|
||||
get
|
||||
}
|
||||
@_Concurrency.MainActor public static func uploadBackup(code: Swift.String, data: Foundation.Data, result: @escaping (_ isOK: Swift.Bool) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func getBackup(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func getBackupVersion(code: Swift.String, result: @escaping (_ num: Swift.Int) -> Swift.Void)
|
||||
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?)
|
||||
@ -93,34 +80,34 @@ extension M2Kit.M2API {
|
||||
extension M2Kit.M2API {
|
||||
public static func getLinkPlayEx(videoId: Swift.String, result: @escaping (_ videoUrl: Foundation.URL?, _ videoId: Swift.String) -> Swift.Void)
|
||||
}
|
||||
@_Concurrency.MainActor public struct M2WebView : SwiftUI.UIViewControllerRepresentable {
|
||||
@_Concurrency.MainActor public init()
|
||||
@_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 public class M2WebVC : UIKit.UIViewController {
|
||||
@_Concurrency.MainActor @objc override dynamic public func viewDidLoad()
|
||||
@_Concurrency.MainActor @objc override dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?)
|
||||
@_Concurrency.MainActor @objc required dynamic public init?(coder: Foundation.NSCoder)
|
||||
@objc @_inheritsConvenienceInitializers @_Concurrency.MainActor @preconcurrency public class M2WebVC : UIKit.UIViewController {
|
||||
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func viewDidLoad()
|
||||
@_Concurrency.MainActor @preconcurrency @objc override dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?)
|
||||
@_Concurrency.MainActor @preconcurrency @objc required dynamic public init?(coder: Foundation.NSCoder)
|
||||
@objc deinit
|
||||
}
|
||||
@_Concurrency.MainActor public struct M2Utils {
|
||||
@_Concurrency.MainActor public static func workFor(trackID: Swift.String)
|
||||
@_Concurrency.MainActor public static let workForChangedNotification: Foundation.Notification.Name
|
||||
@_Concurrency.MainActor public static func checkExisted(trackID: Swift.String) -> Swift.Bool
|
||||
@_Concurrency.MainActor public static func deleteDataOf(trackID: Swift.String)
|
||||
@_Concurrency.MainActor public static func filePathOf(trackID: Swift.String) -> Swift.String
|
||||
public struct M2Utils {
|
||||
public static func workFor(trackID: Swift.String)
|
||||
public static let workForChangedNotification: Foundation.Notification.Name
|
||||
public static func checkExisted(trackID: Swift.String) -> Swift.Bool
|
||||
public static func deleteDataOf(trackID: Swift.String)
|
||||
public static func filePathOf(trackID: Swift.String) -> Swift.String
|
||||
}
|
||||
extension M2Kit.M2Utils {
|
||||
@_Concurrency.MainActor public static var countryCode: Swift.String {
|
||||
public static var countryCode: Swift.String {
|
||||
get
|
||||
}
|
||||
}
|
||||
extension M2Kit.M2Utils {
|
||||
@_Concurrency.MainActor public static func randomCode() -> Swift.String
|
||||
public static func randomCode() -> Swift.String
|
||||
}
|
||||
@_hasMissingDesignatedInitializers public class M2Setting {
|
||||
public static var option10: Swift.String {
|
||||
@ -395,53 +382,57 @@ extension M2Kit.M2Utils {
|
||||
}
|
||||
@objc deinit
|
||||
}
|
||||
@_Concurrency.MainActor public struct M2Radio {
|
||||
public struct M2Radio {
|
||||
}
|
||||
extension M2Kit.M2Radio {
|
||||
@_Concurrency.MainActor public static func countriesSupported(result: @escaping (_ countries: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func getHTTPHeaderMT() -> [Swift.String : Swift.String]
|
||||
@_Concurrency.MainActor public static func changeRadioCountryCode(_ code: Swift.String)
|
||||
@_Concurrency.MainActor public static func getCurrentRadioCountryCode() -> Swift.String
|
||||
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 {
|
||||
@_Concurrency.MainActor public static func searchStationsEx(title: Swift.String, token: Swift.String?, result: @escaping (_ stations: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func topStationsEx(token: Swift.String?, result: @escaping (_ stations: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func listGenresForRadioEx(result: @escaping (_ genres: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func listStationsByGenresEx(genre: [Swift.AnyHashable : Any], token: Swift.String?, result: @escaping (_ stations: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func stationInfoEx(station: [Swift.AnyHashable : Any], result: @escaping (_ info: Swift.String?) -> Swift.Void)
|
||||
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 {
|
||||
@_Concurrency.MainActor public static func searchPodcastsEx(title: Swift.String, token: Swift.String?, result: @escaping (_ podcasts: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func listEpisodesOfPodcastEx(podcast: [Swift.AnyHashable : Any], token: Swift.String?, result: @escaping (_ episodes: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func topPodcastsEx(token: Swift.String?, result: @escaping (_ podcasts: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func listGenresForPodcastEx(result: @escaping (_ genres: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func listPodcastsByGenreEx(genre: [Swift.AnyHashable : Any], token: Swift.String?, result: @escaping (_ podcasts: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func podcastInfoEx(podcast: [Swift.AnyHashable : Any], result: @escaping (_ info: Swift.String?) -> Swift.Void)
|
||||
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 {
|
||||
@_Concurrency.MainActor public static func getLinkPlayEx(station: [Swift.AnyHashable : Any], result: @escaping (_ url: Swift.String?) -> Swift.Void)
|
||||
@_Concurrency.MainActor public static func getLinkPlayEx(episode: [Swift.AnyHashable : Any], result: @escaping (_ url: Swift.String?) -> Swift.Void)
|
||||
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)
|
||||
}
|
||||
@_Concurrency.MainActor public struct M2NetMonitor {
|
||||
@_Concurrency.MainActor public func start(monitorHandler: @escaping (_ isConnected: Swift.Bool) -> Swift.Void)
|
||||
@_Concurrency.MainActor public var isConnected: Swift.Bool {
|
||||
public struct M2NetMonitor {
|
||||
public func start(monitorHandler: @escaping (_ isConnected: Swift.Bool) -> Swift.Void)
|
||||
public var isConnected: Swift.Bool {
|
||||
get
|
||||
}
|
||||
@_Concurrency.MainActor public func stop()
|
||||
public func stop()
|
||||
}
|
||||
@_Concurrency.MainActor public struct M2Musi {
|
||||
@_Concurrency.MainActor public static func getVideosOfPlaylistWithCode(_ code: Swift.String, result: @escaping (_ title: Swift.String?, _ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
public struct M2Musi {
|
||||
public static func getVideosOfPlaylistWithCode(_ code: Swift.String, result: @escaping (_ title: Swift.String?, _ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
@_Concurrency.MainActor public struct M2K {
|
||||
@_Concurrency.MainActor public static func start(c: Swift.String = "", t: Swift.String = "", d: Swift.Int = 0, result: @escaping () -> 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)
|
||||
}
|
||||
extension M2Kit.M2Image : Swift.Sendable {}
|
||||
extension M2Kit.M2HTTP : Swift.Sendable {}
|
||||
extension M2Kit.M2Feedback : Swift.Sendable {}
|
||||
extension M2Kit.M2Backup : Swift.Sendable {}
|
||||
extension M2Kit.M2WebView : Swift.Sendable {}
|
||||
extension M2Kit.M2Utils : Swift.Sendable {}
|
||||
extension M2Kit.M2Radio : Swift.Sendable {}
|
||||
extension M2Kit.M2NetMonitor : Swift.Sendable {}
|
||||
extension M2Kit.M2Musi : Swift.Sendable {}
|
||||
extension M2Kit.M2K : Swift.Sendable {}
|
||||
|
||||
Reference in New Issue
Block a user