5.9
This commit is contained in:
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@ -97,6 +97,7 @@ extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func getLinkPlay(videoId: Swift.String) async -> (videoUrl: Foundation.URL?, videoId: Swift.String)
|
||||
#endif
|
||||
}
|
||||
@available(*, deprecated, message: "M2Backup is deprecated. Use M2Backup instead.")
|
||||
public struct M2Backup {
|
||||
public static var backupCode: Swift.String {
|
||||
get
|
||||
@ -113,6 +114,19 @@ public struct M2Backup {
|
||||
#endif
|
||||
}
|
||||
public struct M2Backup2 {
|
||||
public static var backupCode: Swift.String {
|
||||
get
|
||||
}
|
||||
public static func uploadBackup(code: Swift.String, data: Foundation.Data, result: @escaping (_ isOK: Swift.Bool) -> Swift.Void)
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
public static func getBackup(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||
#endif
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
public static func getBackupVersion(code: Swift.String, result: @escaping (_ num: Swift.Int?) -> Swift.Void)
|
||||
#endif
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
public static func getBackupVersions(codes: [Swift.String], result: @escaping (_ results: [Swift.String : Swift.Int?]) -> Swift.Void)
|
||||
#endif
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
public static func uploadBackupPlaylist(code: Swift.String, data: Foundation.Data, result: @escaping (_ url: Swift.String?, _ version: Swift.Int) -> Swift.Void)
|
||||
#endif
|
||||
@ -160,6 +174,11 @@ public struct M2Image2 {
|
||||
public struct M2K {
|
||||
public static func start(c: Swift.String = "", t: Swift.String = "", d: Swift.Int = 0, result: @escaping () -> Swift.Void)
|
||||
}
|
||||
public struct M2Log {
|
||||
public static func send(event: Swift.String, count: Swift.Int = 1, result: @escaping (_ isOK: Swift.Bool) -> Swift.Void)
|
||||
public static func lazyLog(event: Swift.String, count: Swift.Int = 1)
|
||||
public static func sendAllEvents(result: @escaping (_ isOK: Swift.Bool) -> Swift.Void)
|
||||
}
|
||||
public struct M2Musi {
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
public static func getVideosOfPlaylistWithCode(_ code: Swift.String, result: @escaping (_ title: Swift.String?, _ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
|
||||
Binary file not shown.
@ -97,6 +97,7 @@ extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func getLinkPlay(videoId: Swift.String) async -> (videoUrl: Foundation.URL?, videoId: Swift.String)
|
||||
#endif
|
||||
}
|
||||
@available(*, deprecated, message: "M2Backup is deprecated. Use M2Backup instead.")
|
||||
public struct M2Backup {
|
||||
public static var backupCode: Swift.String {
|
||||
get
|
||||
@ -113,6 +114,19 @@ public struct M2Backup {
|
||||
#endif
|
||||
}
|
||||
public struct M2Backup2 {
|
||||
public static var backupCode: Swift.String {
|
||||
get
|
||||
}
|
||||
public static func uploadBackup(code: Swift.String, data: Foundation.Data, result: @escaping (_ isOK: Swift.Bool) -> Swift.Void)
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
public static func getBackup(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||
#endif
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
public static func getBackupVersion(code: Swift.String, result: @escaping (_ num: Swift.Int?) -> Swift.Void)
|
||||
#endif
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
public static func getBackupVersions(codes: [Swift.String], result: @escaping (_ results: [Swift.String : Swift.Int?]) -> Swift.Void)
|
||||
#endif
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
public static func uploadBackupPlaylist(code: Swift.String, data: Foundation.Data, result: @escaping (_ url: Swift.String?, _ version: Swift.Int) -> Swift.Void)
|
||||
#endif
|
||||
@ -160,6 +174,11 @@ public struct M2Image2 {
|
||||
public struct M2K {
|
||||
public static func start(c: Swift.String = "", t: Swift.String = "", d: Swift.Int = 0, result: @escaping () -> Swift.Void)
|
||||
}
|
||||
public struct M2Log {
|
||||
public static func send(event: Swift.String, count: Swift.Int = 1, result: @escaping (_ isOK: Swift.Bool) -> Swift.Void)
|
||||
public static func lazyLog(event: Swift.String, count: Swift.Int = 1)
|
||||
public static func sendAllEvents(result: @escaping (_ isOK: Swift.Bool) -> Swift.Void)
|
||||
}
|
||||
public struct M2Musi {
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
public static func getVideosOfPlaylistWithCode(_ code: Swift.String, result: @escaping (_ title: Swift.String?, _ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
|
||||
Reference in New Issue
Block a user