5.6
This commit is contained in:
File diff suppressed because one or more lines are too long
@ -148,11 +148,25 @@ public struct M2Musi {
|
||||
public static func getVideosOfPlaylistWithCode(_ code: Swift.String, result: @escaping (_ title: Swift.String?, _ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
#endif
|
||||
}
|
||||
public enum M2NetConnecttionType {
|
||||
case wifi
|
||||
case cellular
|
||||
case other
|
||||
case none
|
||||
public static func == (a: M2Kit.M2NetConnecttionType, b: M2Kit.M2NetConnecttionType) -> Swift.Bool
|
||||
public func hash(into hasher: inout Swift.Hasher)
|
||||
public var hashValue: Swift.Int {
|
||||
get
|
||||
}
|
||||
}
|
||||
public struct M2NetMonitor {
|
||||
public func start(monitorHandler: @escaping (_ isConnected: Swift.Bool) -> Swift.Void)
|
||||
public var isConnected: Swift.Bool {
|
||||
get
|
||||
}
|
||||
public var connectionType: M2Kit.M2NetConnecttionType {
|
||||
get
|
||||
}
|
||||
public func stop()
|
||||
}
|
||||
public struct M2Radio {
|
||||
@ -510,4 +524,28 @@ extension M2Kit.M2Utils {
|
||||
public typealias Coordinator = Swift.Void
|
||||
public typealias UIViewControllerType = M2Kit.M2WebVC
|
||||
}
|
||||
public enum M2YTIDType : Swift.String {
|
||||
case video
|
||||
case playlist
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
public init?(rawValue: Swift.String)
|
||||
#endif
|
||||
public typealias RawValue = Swift.String
|
||||
public var rawValue: Swift.String {
|
||||
get
|
||||
}
|
||||
}
|
||||
public struct M2YT {
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
public static func extractId(fromUrl: Swift.String) -> (id: Swift.String, type: M2Kit.M2YTIDType)?
|
||||
#endif
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
public static func getVideosOfPlaylistId(_ playlistId: Swift.String, result: @escaping (_ title: Swift.String?, _ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
#endif
|
||||
}
|
||||
extension M2Kit.M2NetConnecttionType : Swift.Equatable {}
|
||||
extension M2Kit.M2NetConnecttionType : Swift.Hashable {}
|
||||
extension M2Kit.M2WebView : Swift.Sendable {}
|
||||
extension M2Kit.M2YTIDType : Swift.Equatable {}
|
||||
extension M2Kit.M2YTIDType : Swift.Hashable {}
|
||||
extension M2Kit.M2YTIDType : Swift.RawRepresentable {}
|
||||
|
||||
@ -148,11 +148,25 @@ public struct M2Musi {
|
||||
public static func getVideosOfPlaylistWithCode(_ code: Swift.String, result: @escaping (_ title: Swift.String?, _ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
#endif
|
||||
}
|
||||
public enum M2NetConnecttionType {
|
||||
case wifi
|
||||
case cellular
|
||||
case other
|
||||
case none
|
||||
public static func == (a: M2Kit.M2NetConnecttionType, b: M2Kit.M2NetConnecttionType) -> Swift.Bool
|
||||
public func hash(into hasher: inout Swift.Hasher)
|
||||
public var hashValue: Swift.Int {
|
||||
get
|
||||
}
|
||||
}
|
||||
public struct M2NetMonitor {
|
||||
public func start(monitorHandler: @escaping (_ isConnected: Swift.Bool) -> Swift.Void)
|
||||
public var isConnected: Swift.Bool {
|
||||
get
|
||||
}
|
||||
public var connectionType: M2Kit.M2NetConnecttionType {
|
||||
get
|
||||
}
|
||||
public func stop()
|
||||
}
|
||||
public struct M2Radio {
|
||||
@ -510,4 +524,28 @@ extension M2Kit.M2Utils {
|
||||
public typealias Coordinator = Swift.Void
|
||||
public typealias UIViewControllerType = M2Kit.M2WebVC
|
||||
}
|
||||
public enum M2YTIDType : Swift.String {
|
||||
case video
|
||||
case playlist
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
public init?(rawValue: Swift.String)
|
||||
#endif
|
||||
public typealias RawValue = Swift.String
|
||||
public var rawValue: Swift.String {
|
||||
get
|
||||
}
|
||||
}
|
||||
public struct M2YT {
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
public static func extractId(fromUrl: Swift.String) -> (id: Swift.String, type: M2Kit.M2YTIDType)?
|
||||
#endif
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
public static func getVideosOfPlaylistId(_ playlistId: Swift.String, result: @escaping (_ title: Swift.String?, _ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
#endif
|
||||
}
|
||||
extension M2Kit.M2NetConnecttionType : Swift.Equatable {}
|
||||
extension M2Kit.M2NetConnecttionType : Swift.Hashable {}
|
||||
extension M2Kit.M2WebView : Swift.Sendable {}
|
||||
extension M2Kit.M2YTIDType : Swift.Equatable {}
|
||||
extension M2Kit.M2YTIDType : Swift.Hashable {}
|
||||
extension M2Kit.M2YTIDType : Swift.RawRepresentable {}
|
||||
|
||||
Reference in New Issue
Block a user