Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 4fc9504766 | |||
| c6664ebf22 | |||
| f53ed7d815 | |||
| cd16fd3ce3 | |||
| e6c206197c |
@ -1,6 +1,6 @@
|
|||||||
#if 0
|
#if 0
|
||||||
#elif defined(__arm64__) && __arm64__
|
#elif defined(__arm64__) && __arm64__
|
||||||
// Generated by Apple Swift version 6.2.4 effective-5.10 (swiftlang-6.2.4.1.4 clang-1700.6.4.2)
|
// Generated by Apple Swift version 6.3 effective-5.10 (swiftlang-6.3.0.123.5 clang-2100.0.123.102)
|
||||||
#ifndef M2KIT_SWIFT_H
|
#ifndef M2KIT_SWIFT_H
|
||||||
#define M2KIT_SWIFT_H
|
#define M2KIT_SWIFT_H
|
||||||
#pragma clang diagnostic push
|
#pragma clang diagnostic push
|
||||||
@ -26,7 +26,7 @@
|
|||||||
#pragma clang diagnostic ignored "-Wauto-import"
|
#pragma clang diagnostic ignored "-Wauto-import"
|
||||||
#if defined(__OBJC__)
|
#if defined(__OBJC__)
|
||||||
#include <Foundation/Foundation.h>
|
#include <Foundation/Foundation.h>
|
||||||
#endif
|
#endif // defined(__OBJC__)
|
||||||
#if defined(__cplusplus)
|
#if defined(__cplusplus)
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
#include <cstddef>
|
#include <cstddef>
|
||||||
@ -195,13 +195,32 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
#if !defined(SWIFT_ENUM)
|
#if !defined(SWIFT_ENUM)
|
||||||
# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
|
# if (defined(__cplusplus) && __cplusplus >= 201103L) || (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L) || __has_feature(objc_fixed_enum)
|
||||||
# if __has_feature(generalized_swift_name)
|
# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
|
||||||
# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
|
# if __has_feature(generalized_swift_name)
|
||||||
|
# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
|
||||||
|
# else
|
||||||
|
# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility)
|
||||||
|
# endif
|
||||||
# else
|
# else
|
||||||
|
# define SWIFT_ENUM(_type, _name, _extensibility) _type _name; enum
|
||||||
# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility)
|
# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility)
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
#if !defined(SWIFT_ENUM_TAG)
|
||||||
|
# if (defined(__cplusplus) && __cplusplus >= 201103L) || (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L) || __has_feature(objc_fixed_enum)
|
||||||
|
# define SWIFT_ENUM_TAG enum
|
||||||
|
# else
|
||||||
|
# define SWIFT_ENUM_TAG
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
|
#if !defined(SWIFT_ENUM_FWD_DECL)
|
||||||
|
# if (defined(__cplusplus) && __cplusplus >= 201103L) || (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L) || __has_feature(objc_fixed_enum)
|
||||||
|
# define SWIFT_ENUM_FWD_DECL(_type, _name) enum _name : _type;
|
||||||
|
# else
|
||||||
|
# define SWIFT_ENUM_FWD_DECL(_type, _name) typedef _type _name;
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
#if !defined(SWIFT_UNAVAILABLE)
|
#if !defined(SWIFT_UNAVAILABLE)
|
||||||
# define SWIFT_UNAVAILABLE __attribute__((unavailable))
|
# define SWIFT_UNAVAILABLE __attribute__((unavailable))
|
||||||
#endif
|
#endif
|
||||||
@ -211,6 +230,9 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|||||||
#if !defined(SWIFT_AVAILABILITY)
|
#if !defined(SWIFT_AVAILABILITY)
|
||||||
# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__)))
|
# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__)))
|
||||||
#endif
|
#endif
|
||||||
|
#if !defined(SWIFT_AVAILABILITY_DOMAIN)
|
||||||
|
# define SWIFT_AVAILABILITY_DOMAIN(dom, ...) __attribute__((availability(domain: dom, __VA_ARGS__)))
|
||||||
|
#endif
|
||||||
#if !defined(SWIFT_WEAK_IMPORT)
|
#if !defined(SWIFT_WEAK_IMPORT)
|
||||||
# define SWIFT_WEAK_IMPORT __attribute__((weak_import))
|
# define SWIFT_WEAK_IMPORT __attribute__((weak_import))
|
||||||
#endif
|
#endif
|
||||||
@ -276,6 +298,49 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|||||||
# define SWIFT_IMPORT_STDLIB_SYMBOL
|
# define SWIFT_IMPORT_STDLIB_SYMBOL
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
#if !__has_feature(nullability)
|
||||||
|
# define _Nonnull
|
||||||
|
# define _Nullable
|
||||||
|
# define _Null_unspecified
|
||||||
|
#elif !defined(__OBJC__)
|
||||||
|
# pragma clang diagnostic ignored "-Wnullability-extension"
|
||||||
|
#endif
|
||||||
|
#if !__has_feature(nullability_nullable_result)
|
||||||
|
# define _Nullable_result _Nullable
|
||||||
|
#endif
|
||||||
|
#if __has_feature(objc_modules)
|
||||||
|
#if __has_warning("-Watimport-in-framework-header")
|
||||||
|
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
|
||||||
|
#pragma clang diagnostic ignored "-Wduplicate-method-arg"
|
||||||
|
#if __has_warning("-Wpragma-clang-attribute")
|
||||||
|
# pragma clang diagnostic ignored "-Wpragma-clang-attribute"
|
||||||
|
#endif
|
||||||
|
#pragma clang diagnostic ignored "-Wunknown-pragmas"
|
||||||
|
#pragma clang diagnostic ignored "-Wnullability"
|
||||||
|
#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"
|
||||||
|
#pragma clang diagnostic ignored "-Wunsafe-buffer-usage"
|
||||||
|
|
||||||
|
#if __has_attribute(external_source_symbol)
|
||||||
|
# pragma push_macro("any")
|
||||||
|
# undef any
|
||||||
|
# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="M2Kit",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol))
|
||||||
|
# pragma pop_macro("any")
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(__cplusplus)
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(__cplusplus)
|
||||||
|
} // extern "C"
|
||||||
|
#endif
|
||||||
|
#if __has_attribute(external_source_symbol)
|
||||||
|
# pragma clang attribute pop
|
||||||
|
#endif
|
||||||
#if defined(__OBJC__)
|
#if defined(__OBJC__)
|
||||||
#if __has_feature(objc_modules)
|
#if __has_feature(objc_modules)
|
||||||
#if __has_warning("-Watimport-in-framework-header")
|
#if __has_warning("-Watimport-in-framework-header")
|
||||||
@ -284,7 +349,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|||||||
@import UIKit;
|
@import UIKit;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif // defined(__OBJC__)
|
||||||
#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
|
#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
|
||||||
#pragma clang diagnostic ignored "-Wduplicate-method-arg"
|
#pragma clang diagnostic ignored "-Wduplicate-method-arg"
|
||||||
#if __has_warning("-Wpragma-clang-attribute")
|
#if __has_warning("-Wpragma-clang-attribute")
|
||||||
@ -314,7 +379,7 @@ SWIFT_CLASS("_TtC5M2Kit7M2WebVC")
|
|||||||
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER;
|
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER;
|
||||||
@end
|
@end
|
||||||
|
|
||||||
#endif
|
#endif // defined(__OBJC__)
|
||||||
#if __has_attribute(external_source_symbol)
|
#if __has_attribute(external_source_symbol)
|
||||||
# pragma clang attribute pop
|
# pragma clang attribute pop
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
@ -1,7 +1,7 @@
|
|||||||
// swift-interface-format-version: 1.0
|
// swift-interface-format-version: 1.0
|
||||||
// swift-compiler-version: Apple Swift version 6.2.4 effective-5.10 (swiftlang-6.2.4.1.4 clang-1700.6.4.2)
|
// swift-compiler-version: Apple Swift version 6.3 effective-5.10 (swiftlang-6.3.0.123.5 clang-2100.0.123.102)
|
||||||
// swift-module-flags: -target arm64-apple-ios16.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name M2Kit
|
// swift-module-flags: -target arm64-apple-ios16.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name M2Kit
|
||||||
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.2.4
|
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3
|
||||||
import Combine
|
import Combine
|
||||||
import CommonCrypto
|
import CommonCrypto
|
||||||
import Foundation
|
import Foundation
|
||||||
@ -22,9 +22,7 @@ public enum SwiftyJSONError : Swift.Int, Swift.Error {
|
|||||||
case wrongType
|
case wrongType
|
||||||
case notExist
|
case notExist
|
||||||
case invalidJSON
|
case invalidJSON
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public init?(rawValue: Swift.Int)
|
public init?(rawValue: Swift.Int)
|
||||||
#endif
|
|
||||||
public typealias RawValue = Swift.Int
|
public typealias RawValue = Swift.Int
|
||||||
public var rawValue: Swift.Int {
|
public var rawValue: Swift.Int {
|
||||||
get
|
get
|
||||||
@ -49,9 +47,7 @@ public enum Type : Swift.Int {
|
|||||||
case dictionary
|
case dictionary
|
||||||
case null
|
case null
|
||||||
case unknown
|
case unknown
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public init?(rawValue: Swift.Int)
|
public init?(rawValue: Swift.Int)
|
||||||
#endif
|
|
||||||
public typealias RawValue = Swift.Int
|
public typealias RawValue = Swift.Int
|
||||||
public var rawValue: Swift.Int {
|
public var rawValue: Swift.Int {
|
||||||
get
|
get
|
||||||
@ -164,19 +160,13 @@ extension M2Kit.JSON : Swift.ExpressibleByArrayLiteral {
|
|||||||
public typealias ArrayLiteralElement = Any
|
public typealias ArrayLiteralElement = Any
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON : Swift.RawRepresentable {
|
extension M2Kit.JSON : Swift.RawRepresentable {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public init?(rawValue: Any)
|
public init?(rawValue: Any)
|
||||||
#endif
|
|
||||||
public var rawValue: Any {
|
public var rawValue: Any {
|
||||||
get
|
get
|
||||||
}
|
}
|
||||||
public func rawData(options opt: Foundation.JSONSerialization.WritingOptions = JSONSerialization.WritingOptions(rawValue: 0)) throws -> Foundation.Data
|
public func rawData(options opt: Foundation.JSONSerialization.WritingOptions = JSONSerialization.WritingOptions(rawValue: 0)) throws -> Foundation.Data
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public func rawString(_ encoding: Swift.String.Encoding = .utf8, options opt: Foundation.JSONSerialization.WritingOptions = .prettyPrinted) -> Swift.String?
|
public func rawString(_ encoding: Swift.String.Encoding = .utf8, options opt: Foundation.JSONSerialization.WritingOptions = .prettyPrinted) -> Swift.String?
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public func rawString(_ options: [M2Kit.writingOptionsKeys : Any]) -> Swift.String?
|
public func rawString(_ options: [M2Kit.writingOptionsKeys : Any]) -> Swift.String?
|
||||||
#endif
|
|
||||||
public typealias RawValue = Any
|
public typealias RawValue = Any
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON : Swift.CustomStringConvertible, Swift.CustomDebugStringConvertible {
|
extension M2Kit.JSON : Swift.CustomStringConvertible, Swift.CustomDebugStringConvertible {
|
||||||
@ -188,207 +178,165 @@ extension M2Kit.JSON : Swift.CustomStringConvertible, Swift.CustomDebugStringCon
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON {
|
extension M2Kit.JSON {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var array: [M2Kit.JSON]? {
|
public var array: [M2Kit.JSON]? {
|
||||||
get
|
get
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var arrayValue: [M2Kit.JSON] {
|
public var arrayValue: [M2Kit.JSON] {
|
||||||
get
|
get
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var arrayObject: [Any]? {
|
public var arrayObject: [Any]? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON {
|
extension M2Kit.JSON {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var dictionary: [Swift.String : M2Kit.JSON]? {
|
public var dictionary: [Swift.String : M2Kit.JSON]? {
|
||||||
get
|
get
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var dictionaryValue: [Swift.String : M2Kit.JSON] {
|
public var dictionaryValue: [Swift.String : M2Kit.JSON] {
|
||||||
get
|
get
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var dictionaryObject: [Swift.String : Any]? {
|
public var dictionaryObject: [Swift.String : Any]? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON {
|
extension M2Kit.JSON {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var bool: Swift.Bool? {
|
public var bool: Swift.Bool? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var boolValue: Swift.Bool {
|
public var boolValue: Swift.Bool {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON {
|
extension M2Kit.JSON {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var string: Swift.String? {
|
public var string: Swift.String? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var stringValue: Swift.String {
|
public var stringValue: Swift.String {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON {
|
extension M2Kit.JSON {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var number: Foundation.NSNumber? {
|
public var number: Foundation.NSNumber? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var numberValue: Foundation.NSNumber {
|
public var numberValue: Foundation.NSNumber {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON {
|
extension M2Kit.JSON {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var null: Foundation.NSNull? {
|
public var null: Foundation.NSNull? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public func exists() -> Swift.Bool
|
public func exists() -> Swift.Bool
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON {
|
extension M2Kit.JSON {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var url: Foundation.URL? {
|
public var url: Foundation.URL? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON {
|
extension M2Kit.JSON {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var double: Swift.Double? {
|
public var double: Swift.Double? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var doubleValue: Swift.Double {
|
public var doubleValue: Swift.Double {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var float: Swift.Float? {
|
public var float: Swift.Float? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var floatValue: Swift.Float {
|
public var floatValue: Swift.Float {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var int: Swift.Int? {
|
public var int: Swift.Int? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var intValue: Swift.Int {
|
public var intValue: Swift.Int {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var uInt: Swift.UInt? {
|
public var uInt: Swift.UInt? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var uIntValue: Swift.UInt {
|
public var uIntValue: Swift.UInt {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var int8: Swift.Int8? {
|
public var int8: Swift.Int8? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var int8Value: Swift.Int8 {
|
public var int8Value: Swift.Int8 {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var uInt8: Swift.UInt8? {
|
public var uInt8: Swift.UInt8? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var uInt8Value: Swift.UInt8 {
|
public var uInt8Value: Swift.UInt8 {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var int16: Swift.Int16? {
|
public var int16: Swift.Int16? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var int16Value: Swift.Int16 {
|
public var int16Value: Swift.Int16 {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var uInt16: Swift.UInt16? {
|
public var uInt16: Swift.UInt16? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var uInt16Value: Swift.UInt16 {
|
public var uInt16Value: Swift.UInt16 {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var int32: Swift.Int32? {
|
public var int32: Swift.Int32? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var int32Value: Swift.Int32 {
|
public var int32Value: Swift.Int32 {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var uInt32: Swift.UInt32? {
|
public var uInt32: Swift.UInt32? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var uInt32Value: Swift.UInt32 {
|
public var uInt32Value: Swift.UInt32 {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var int64: Swift.Int64? {
|
public var int64: Swift.Int64? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var int64Value: Swift.Int64 {
|
public var int64Value: Swift.Int64 {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var uInt64: Swift.UInt64? {
|
public var uInt64: Swift.UInt64? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var uInt64Value: Swift.UInt64 {
|
public var uInt64Value: Swift.UInt64 {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
@ -419,25 +367,13 @@ extension M2Kit.JSON : Swift.Codable {
|
|||||||
@_Concurrency.MainActor public struct M2API {
|
@_Concurrency.MainActor public struct M2API {
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func searchVideosEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func searchVideosEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func searchPlaylistsEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ playlists: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func searchPlaylistsEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ playlists: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getVideosOfPlaylistEx(playlistId: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getVideosOfPlaylistEx(playlistId: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func searchChannelsEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ channels: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func searchChannelsEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ channels: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@available(*, deprecated, message: "Use getVideosOfChannelEx(channelId:nextToken:result:) instead.")
|
@available(*, deprecated, message: "Use getVideosOfChannelEx(channelId:nextToken:result:) instead.")
|
||||||
@_Concurrency.MainActor public static func getVideosOfChannelEx(channelName: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getVideosOfChannelEx(channelName: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getVideosOfChannelEx(channelId: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getVideosOfChannelEx(channelId: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
@_Concurrency.MainActor public static func getAllVideosOfPlaylistEx(playlistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
@_Concurrency.MainActor public static func getAllVideosOfPlaylistEx(playlistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
@ -458,15 +394,11 @@ extension M2Kit.M2API {
|
|||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
@_Concurrency.MainActor public static func autocompleteSearchEx(_ text: Swift.String, result: @escaping (_ listSuggestion: [Swift.String]) -> Swift.Void)
|
@_Concurrency.MainActor public static func autocompleteSearchEx(_ text: Swift.String, result: @escaping (_ listSuggestion: [Swift.String]) -> Swift.Void)
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getLocationEx(result: @escaping (_ countryCode: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getLocationEx(result: @escaping (_ countryCode: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
@_Concurrency.MainActor public static func getTrendingSearchEx(result: @escaping (_ titles: [Swift.String]) -> Swift.Void)
|
@_Concurrency.MainActor public static func getTrendingSearchEx(result: @escaping (_ titles: [Swift.String]) -> Swift.Void)
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getLinkPlayEx(videoId: Swift.String, result: @escaping (_ videoUrl: Foundation.URL?, _ videoId: Swift.String, _ metadata: [Swift.AnyHashable : Any]?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getLinkPlayEx(videoId: Swift.String, result: @escaping (_ videoUrl: Foundation.URL?, _ videoId: Swift.String, _ metadata: [Swift.AnyHashable : Any]?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
@_Concurrency.MainActor public static func kworbMusicVideoWWEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
@_Concurrency.MainActor public static func kworbMusicVideoWWEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
@ -486,25 +418,13 @@ extension M2Kit.M2API {
|
|||||||
@_Concurrency.MainActor public static func ytArtistDetailEx(artistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
@_Concurrency.MainActor public static func ytArtistDetailEx(artistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 searchVideos(title: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 searchPlaylists(title: Swift.String, nextToken: Swift.String?) async -> (playlists: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 getVideosOfPlaylist(playlistId: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 searchChannels(title: Swift.String, nextToken: Swift.String?) async -> (channels: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@available(*, deprecated, message: "Use getVideosOfChannel(channelId:nextToken:) instead.")
|
@available(*, deprecated, message: "Use getVideosOfChannel(channelId:nextToken:) instead.")
|
||||||
@_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 getVideosOfChannel(channelName: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getVideosOfChannel(channelId: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
@_Concurrency.MainActor public static func getVideosOfChannel(channelId: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||||
#endif
|
|
||||||
@_Concurrency.MainActor public static func getAllVideosOfPlaylist(_ playlistId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
@_Concurrency.MainActor public static func getAllVideosOfPlaylist(_ playlistId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
@ -525,15 +445,11 @@ extension M2Kit.M2API {
|
|||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
@_Concurrency.MainActor public static func autocompleteSearch(_ text: Swift.String) async -> [Swift.String]
|
@_Concurrency.MainActor public static func autocompleteSearch(_ text: Swift.String) async -> [Swift.String]
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getLocation() async -> Swift.String?
|
@_Concurrency.MainActor public static func getLocation() async -> Swift.String?
|
||||||
#endif
|
|
||||||
@_Concurrency.MainActor public static func getTrendingSearch() async -> [Swift.String]
|
@_Concurrency.MainActor public static func getTrendingSearch() async -> [Swift.String]
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getLinkPlay(videoId: Swift.String) async -> (videoUrl: Foundation.URL?, videoId: Swift.String, metadata: [Swift.AnyHashable : Any]?)
|
@_Concurrency.MainActor public static func getLinkPlay(videoId: Swift.String) async -> (videoUrl: Foundation.URL?, videoId: Swift.String, metadata: [Swift.AnyHashable : Any]?)
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
@_Concurrency.MainActor public static func kworbMusicVideoWW() async -> [[Swift.AnyHashable : Any]]
|
@_Concurrency.MainActor public static func kworbMusicVideoWW() async -> [[Swift.AnyHashable : Any]]
|
||||||
@ -556,24 +472,12 @@ extension M2Kit.M2API {
|
|||||||
@_Concurrency.MainActor public static var backupCode: Swift.String {
|
@_Concurrency.MainActor public static var backupCode: Swift.String {
|
||||||
get
|
get
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func uploadBackup(code: Swift.String, data: Foundation.Data, result: @escaping (_ url: Swift.String?, _ version: Swift.Int) -> Swift.Void)
|
@_Concurrency.MainActor public static func uploadBackup(code: Swift.String, data: Foundation.Data, result: @escaping (_ url: Swift.String?, _ version: Swift.Int) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getBackup(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getBackup(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getBackupVersion(code: Swift.String, result: @escaping (_ num: Swift.Int?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getBackupVersion(code: Swift.String, result: @escaping (_ num: Swift.Int?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getBackupVersions(codes: [Swift.String], result: @escaping (_ results: [Swift.String : Swift.Int?]) -> Swift.Void)
|
@_Concurrency.MainActor public static func getBackupVersions(codes: [Swift.String], result: @escaping (_ results: [Swift.String : Swift.Int?]) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func uploadBackupPlaylist(code: Swift.String, data: Foundation.Data, result: @escaping (_ url: Swift.String?, _ version: Swift.Int) -> Swift.Void)
|
@_Concurrency.MainActor public static func uploadBackupPlaylist(code: Swift.String, data: Foundation.Data, result: @escaping (_ url: Swift.String?, _ version: Swift.Int) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getBackupPlaylist(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getBackupPlaylist(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
public let m2Version: Swift.String
|
public let m2Version: Swift.String
|
||||||
@_Concurrency.MainActor public func setServiceType(_ type: Swift.String)
|
@_Concurrency.MainActor public func setServiceType(_ type: Swift.String)
|
||||||
@ -582,26 +486,30 @@ public let m2Version: Swift.String
|
|||||||
@_Concurrency.MainActor public static func sendFeedback(content: Swift.String, result: @escaping (_ isOK: Swift.Bool) -> Swift.Void)
|
@_Concurrency.MainActor public static func sendFeedback(content: Swift.String, result: @escaping (_ isOK: Swift.Bool) -> Swift.Void)
|
||||||
}
|
}
|
||||||
@_Concurrency.MainActor public struct M2HTTP {
|
@_Concurrency.MainActor public struct M2HTTP {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getDataEx(url: Foundation.URL, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getDataEx(url: Foundation.URL, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getData(url: Foundation.URL) async -> Foundation.Data?
|
@_Concurrency.MainActor public static func getData(url: Foundation.URL) async -> Foundation.Data?
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getImageDataEx(url: Foundation.URL, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getImageDataEx(url: Foundation.URL, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getImageData(url: Foundation.URL) async -> Foundation.Data?
|
@_Concurrency.MainActor public static func getImageData(url: Foundation.URL) async -> Foundation.Data?
|
||||||
#endif
|
}
|
||||||
|
@_Concurrency.MainActor public struct M2IAP {
|
||||||
|
@_Concurrency.MainActor public static let IAPPurchasedSuccessNotification: Foundation.Notification.Name
|
||||||
|
@_Concurrency.MainActor public static let IAPPurchasedFailNotification: Foundation.Notification.Name
|
||||||
|
@_Concurrency.MainActor public static let IAPProductStatusUpdatedNotification: Foundation.Notification.Name
|
||||||
|
@_Concurrency.MainActor public static let IAPProductsAvailableChangedNotification: Foundation.Notification.Name
|
||||||
|
@_Concurrency.MainActor public static func setup(iapId: Swift.String)
|
||||||
|
@_Concurrency.MainActor public static var isProVersion: Swift.Bool {
|
||||||
|
get
|
||||||
|
}
|
||||||
|
@_Concurrency.MainActor public static var priceProVersion: Swift.String? {
|
||||||
|
get
|
||||||
|
}
|
||||||
|
@_Concurrency.MainActor public static func fetch()
|
||||||
|
@_Concurrency.MainActor public static func purchaseProVersion()
|
||||||
|
@_Concurrency.MainActor public static func restorePurchase()
|
||||||
}
|
}
|
||||||
@_Concurrency.MainActor public struct M2Image {
|
@_Concurrency.MainActor public struct M2Image {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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, result: @escaping (_ url: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func uploadImage(_ image: UIKit.UIImage) async -> Swift.String?
|
@_Concurrency.MainActor public static func uploadImage(_ image: UIKit.UIImage) async -> Swift.String?
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
@_Concurrency.MainActor public struct M2K {
|
@_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)
|
@_Concurrency.MainActor public static func start(c: Swift.String = "", t: Swift.String = "", d: Swift.Int = 0, result: @escaping () -> Swift.Void)
|
||||||
@ -612,9 +520,7 @@ public let m2Version: Swift.String
|
|||||||
@_Concurrency.MainActor public static func sendAllEvents(result: @escaping (_ isOK: Swift.Bool) -> Swift.Void)
|
@_Concurrency.MainActor public static func sendAllEvents(result: @escaping (_ isOK: Swift.Bool) -> Swift.Void)
|
||||||
}
|
}
|
||||||
@_Concurrency.MainActor public struct M2Musi {
|
@_Concurrency.MainActor public struct M2Musi {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getVideosOfPlaylistWithCode(_ code: Swift.String, result: @escaping (_ title: Swift.String?, _ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
@_Concurrency.MainActor public static func getVideosOfPlaylistWithCode(_ code: Swift.String, result: @escaping (_ title: Swift.String?, _ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
public enum M2NetConnecttionType {
|
public enum M2NetConnecttionType {
|
||||||
case wifi
|
case wifi
|
||||||
@ -646,45 +552,23 @@ extension M2Kit.M2Radio {
|
|||||||
@_Concurrency.MainActor public static func getCurrentRadioCountryCode() -> Swift.String
|
@_Concurrency.MainActor public static func getCurrentRadioCountryCode() -> Swift.String
|
||||||
}
|
}
|
||||||
extension M2Kit.M2Radio {
|
extension M2Kit.M2Radio {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 searchStationsEx(title: Swift.String, token: Swift.String?, result: @escaping (_ stations: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 topStationsEx(token: Swift.String?, result: @escaping (_ stations: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
@_Concurrency.MainActor public static func listGenresForRadioEx(result: @escaping (_ genres: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
@_Concurrency.MainActor public static func listGenresForRadioEx(result: @escaping (_ genres: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 listStationsByGenresEx(genre: [Swift.AnyHashable : Any], token: Swift.String?, result: @escaping (_ stations: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func stationInfoEx(station: [Swift.AnyHashable : Any], result: @escaping (_ info: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func stationInfoEx(station: [Swift.AnyHashable : Any], result: @escaping (_ info: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
extension M2Kit.M2Radio {
|
extension M2Kit.M2Radio {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 searchPodcastsEx(title: Swift.String, token: Swift.String?, result: @escaping (_ podcasts: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 listEpisodesOfPodcastEx(podcast: [Swift.AnyHashable : Any], token: Swift.String?, result: @escaping (_ episodes: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 topPodcastsEx(token: Swift.String?, result: @escaping (_ podcasts: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
@_Concurrency.MainActor public static func listGenresForPodcastEx(result: @escaping (_ genres: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
@_Concurrency.MainActor public static func listGenresForPodcastEx(result: @escaping (_ genres: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 listPodcastsByGenreEx(genre: [Swift.AnyHashable : Any], token: Swift.String?, result: @escaping (_ podcasts: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func podcastInfoEx(podcast: [Swift.AnyHashable : Any], result: @escaping (_ info: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func podcastInfoEx(podcast: [Swift.AnyHashable : Any], result: @escaping (_ info: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
extension M2Kit.M2Radio {
|
extension M2Kit.M2Radio {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getLinkPlayEx(station: [Swift.AnyHashable : Any], result: @escaping (_ url: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getLinkPlayEx(station: [Swift.AnyHashable : Any], result: @escaping (_ url: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getLinkPlayEx(episode: [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)
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
@_hasMissingDesignatedInitializers public class M2Setting {
|
@_hasMissingDesignatedInitializers public class M2Setting {
|
||||||
public static var option10: Swift.String {
|
public static var option10: Swift.String {
|
||||||
@ -988,14 +872,13 @@ extension M2Kit.M2Utils {
|
|||||||
@_Concurrency.MainActor public static func randomCode7() -> Swift.String
|
@_Concurrency.MainActor public static func randomCode7() -> Swift.String
|
||||||
@_Concurrency.MainActor public static func randomCode11() -> Swift.String
|
@_Concurrency.MainActor public static func randomCode11() -> Swift.String
|
||||||
}
|
}
|
||||||
|
extension M2Kit.M2Utils {
|
||||||
|
@_Concurrency.MainActor public static func weightedRandom(from items: [Swift.String], weights: [Swift.Int]) -> Swift.String
|
||||||
|
}
|
||||||
@objc @_inheritsConvenienceInitializers @_Concurrency.MainActor public class M2WebVC : UIKit.UIViewController {
|
@objc @_inheritsConvenienceInitializers @_Concurrency.MainActor public class M2WebVC : UIKit.UIViewController {
|
||||||
@_Concurrency.MainActor @objc override dynamic public func viewDidLoad()
|
@_Concurrency.MainActor @objc override dynamic public func viewDidLoad()
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor @objc override dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?)
|
@_Concurrency.MainActor @objc override dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor @objc required dynamic public init?(coder: Foundation.NSCoder)
|
@_Concurrency.MainActor @objc required dynamic public init?(coder: Foundation.NSCoder)
|
||||||
#endif
|
|
||||||
@objc deinit
|
@objc deinit
|
||||||
}
|
}
|
||||||
@_Concurrency.MainActor public struct M2WebView : SwiftUI.UIViewControllerRepresentable {
|
@_Concurrency.MainActor public struct M2WebView : SwiftUI.UIViewControllerRepresentable {
|
||||||
@ -1009,21 +892,15 @@ extension M2Kit.M2Utils {
|
|||||||
public enum M2YTIDType : Swift.String {
|
public enum M2YTIDType : Swift.String {
|
||||||
case video
|
case video
|
||||||
case playlist
|
case playlist
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public init?(rawValue: Swift.String)
|
public init?(rawValue: Swift.String)
|
||||||
#endif
|
|
||||||
public typealias RawValue = Swift.String
|
public typealias RawValue = Swift.String
|
||||||
public var rawValue: Swift.String {
|
public var rawValue: Swift.String {
|
||||||
get
|
get
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@_Concurrency.MainActor public struct M2YT {
|
@_Concurrency.MainActor public struct M2YT {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func extractId(fromUrl: Swift.String) -> (id: Swift.String, type: M2Kit.M2YTIDType)?
|
@_Concurrency.MainActor public static func extractId(fromUrl: Swift.String) -> (id: Swift.String, type: M2Kit.M2YTIDType)?
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getVideosOfPlaylistId(_ playlistId: Swift.String, result: @escaping (_ title: Swift.String?, _ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
@_Concurrency.MainActor public static func getVideosOfPlaylistId(_ playlistId: Swift.String, result: @escaping (_ title: Swift.String?, _ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
extension M2Kit.SwiftyJSONError : Swift.Equatable {}
|
extension M2Kit.SwiftyJSONError : Swift.Equatable {}
|
||||||
extension M2Kit.SwiftyJSONError : Swift.Hashable {}
|
extension M2Kit.SwiftyJSONError : Swift.Hashable {}
|
||||||
@ -1037,6 +914,7 @@ extension M2Kit.M2API : Swift.Sendable {}
|
|||||||
extension M2Kit.M2Backup : Swift.Sendable {}
|
extension M2Kit.M2Backup : Swift.Sendable {}
|
||||||
extension M2Kit.M2Feedback : Swift.Sendable {}
|
extension M2Kit.M2Feedback : Swift.Sendable {}
|
||||||
extension M2Kit.M2HTTP : Swift.Sendable {}
|
extension M2Kit.M2HTTP : Swift.Sendable {}
|
||||||
|
extension M2Kit.M2IAP : Swift.Sendable {}
|
||||||
extension M2Kit.M2Image : Swift.Sendable {}
|
extension M2Kit.M2Image : Swift.Sendable {}
|
||||||
extension M2Kit.M2K : Swift.Sendable {}
|
extension M2Kit.M2K : Swift.Sendable {}
|
||||||
extension M2Kit.M2Log : Swift.Sendable {}
|
extension M2Kit.M2Log : Swift.Sendable {}
|
||||||
|
|||||||
Binary file not shown.
@ -1,7 +1,7 @@
|
|||||||
// swift-interface-format-version: 1.0
|
// swift-interface-format-version: 1.0
|
||||||
// swift-compiler-version: Apple Swift version 6.2.4 effective-5.10 (swiftlang-6.2.4.1.4 clang-1700.6.4.2)
|
// swift-compiler-version: Apple Swift version 6.3 effective-5.10 (swiftlang-6.3.0.123.5 clang-2100.0.123.102)
|
||||||
// swift-module-flags: -target arm64-apple-ios16.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name M2Kit
|
// swift-module-flags: -target arm64-apple-ios16.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name M2Kit
|
||||||
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.2.4
|
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3
|
||||||
import Combine
|
import Combine
|
||||||
import CommonCrypto
|
import CommonCrypto
|
||||||
import Foundation
|
import Foundation
|
||||||
@ -22,9 +22,7 @@ public enum SwiftyJSONError : Swift.Int, Swift.Error {
|
|||||||
case wrongType
|
case wrongType
|
||||||
case notExist
|
case notExist
|
||||||
case invalidJSON
|
case invalidJSON
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public init?(rawValue: Swift.Int)
|
public init?(rawValue: Swift.Int)
|
||||||
#endif
|
|
||||||
public typealias RawValue = Swift.Int
|
public typealias RawValue = Swift.Int
|
||||||
public var rawValue: Swift.Int {
|
public var rawValue: Swift.Int {
|
||||||
get
|
get
|
||||||
@ -49,9 +47,7 @@ public enum Type : Swift.Int {
|
|||||||
case dictionary
|
case dictionary
|
||||||
case null
|
case null
|
||||||
case unknown
|
case unknown
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public init?(rawValue: Swift.Int)
|
public init?(rawValue: Swift.Int)
|
||||||
#endif
|
|
||||||
public typealias RawValue = Swift.Int
|
public typealias RawValue = Swift.Int
|
||||||
public var rawValue: Swift.Int {
|
public var rawValue: Swift.Int {
|
||||||
get
|
get
|
||||||
@ -164,19 +160,13 @@ extension M2Kit.JSON : Swift.ExpressibleByArrayLiteral {
|
|||||||
public typealias ArrayLiteralElement = Any
|
public typealias ArrayLiteralElement = Any
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON : Swift.RawRepresentable {
|
extension M2Kit.JSON : Swift.RawRepresentable {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public init?(rawValue: Any)
|
public init?(rawValue: Any)
|
||||||
#endif
|
|
||||||
public var rawValue: Any {
|
public var rawValue: Any {
|
||||||
get
|
get
|
||||||
}
|
}
|
||||||
public func rawData(options opt: Foundation.JSONSerialization.WritingOptions = JSONSerialization.WritingOptions(rawValue: 0)) throws -> Foundation.Data
|
public func rawData(options opt: Foundation.JSONSerialization.WritingOptions = JSONSerialization.WritingOptions(rawValue: 0)) throws -> Foundation.Data
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public func rawString(_ encoding: Swift.String.Encoding = .utf8, options opt: Foundation.JSONSerialization.WritingOptions = .prettyPrinted) -> Swift.String?
|
public func rawString(_ encoding: Swift.String.Encoding = .utf8, options opt: Foundation.JSONSerialization.WritingOptions = .prettyPrinted) -> Swift.String?
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public func rawString(_ options: [M2Kit.writingOptionsKeys : Any]) -> Swift.String?
|
public func rawString(_ options: [M2Kit.writingOptionsKeys : Any]) -> Swift.String?
|
||||||
#endif
|
|
||||||
public typealias RawValue = Any
|
public typealias RawValue = Any
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON : Swift.CustomStringConvertible, Swift.CustomDebugStringConvertible {
|
extension M2Kit.JSON : Swift.CustomStringConvertible, Swift.CustomDebugStringConvertible {
|
||||||
@ -188,207 +178,165 @@ extension M2Kit.JSON : Swift.CustomStringConvertible, Swift.CustomDebugStringCon
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON {
|
extension M2Kit.JSON {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var array: [M2Kit.JSON]? {
|
public var array: [M2Kit.JSON]? {
|
||||||
get
|
get
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var arrayValue: [M2Kit.JSON] {
|
public var arrayValue: [M2Kit.JSON] {
|
||||||
get
|
get
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var arrayObject: [Any]? {
|
public var arrayObject: [Any]? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON {
|
extension M2Kit.JSON {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var dictionary: [Swift.String : M2Kit.JSON]? {
|
public var dictionary: [Swift.String : M2Kit.JSON]? {
|
||||||
get
|
get
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var dictionaryValue: [Swift.String : M2Kit.JSON] {
|
public var dictionaryValue: [Swift.String : M2Kit.JSON] {
|
||||||
get
|
get
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var dictionaryObject: [Swift.String : Any]? {
|
public var dictionaryObject: [Swift.String : Any]? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON {
|
extension M2Kit.JSON {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var bool: Swift.Bool? {
|
public var bool: Swift.Bool? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var boolValue: Swift.Bool {
|
public var boolValue: Swift.Bool {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON {
|
extension M2Kit.JSON {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var string: Swift.String? {
|
public var string: Swift.String? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var stringValue: Swift.String {
|
public var stringValue: Swift.String {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON {
|
extension M2Kit.JSON {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var number: Foundation.NSNumber? {
|
public var number: Foundation.NSNumber? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var numberValue: Foundation.NSNumber {
|
public var numberValue: Foundation.NSNumber {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON {
|
extension M2Kit.JSON {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var null: Foundation.NSNull? {
|
public var null: Foundation.NSNull? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public func exists() -> Swift.Bool
|
public func exists() -> Swift.Bool
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON {
|
extension M2Kit.JSON {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var url: Foundation.URL? {
|
public var url: Foundation.URL? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON {
|
extension M2Kit.JSON {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var double: Swift.Double? {
|
public var double: Swift.Double? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var doubleValue: Swift.Double {
|
public var doubleValue: Swift.Double {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var float: Swift.Float? {
|
public var float: Swift.Float? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var floatValue: Swift.Float {
|
public var floatValue: Swift.Float {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var int: Swift.Int? {
|
public var int: Swift.Int? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var intValue: Swift.Int {
|
public var intValue: Swift.Int {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var uInt: Swift.UInt? {
|
public var uInt: Swift.UInt? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var uIntValue: Swift.UInt {
|
public var uIntValue: Swift.UInt {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var int8: Swift.Int8? {
|
public var int8: Swift.Int8? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var int8Value: Swift.Int8 {
|
public var int8Value: Swift.Int8 {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var uInt8: Swift.UInt8? {
|
public var uInt8: Swift.UInt8? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var uInt8Value: Swift.UInt8 {
|
public var uInt8Value: Swift.UInt8 {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var int16: Swift.Int16? {
|
public var int16: Swift.Int16? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var int16Value: Swift.Int16 {
|
public var int16Value: Swift.Int16 {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var uInt16: Swift.UInt16? {
|
public var uInt16: Swift.UInt16? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var uInt16Value: Swift.UInt16 {
|
public var uInt16Value: Swift.UInt16 {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var int32: Swift.Int32? {
|
public var int32: Swift.Int32? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var int32Value: Swift.Int32 {
|
public var int32Value: Swift.Int32 {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var uInt32: Swift.UInt32? {
|
public var uInt32: Swift.UInt32? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var uInt32Value: Swift.UInt32 {
|
public var uInt32Value: Swift.UInt32 {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var int64: Swift.Int64? {
|
public var int64: Swift.Int64? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var int64Value: Swift.Int64 {
|
public var int64Value: Swift.Int64 {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var uInt64: Swift.UInt64? {
|
public var uInt64: Swift.UInt64? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var uInt64Value: Swift.UInt64 {
|
public var uInt64Value: Swift.UInt64 {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
@ -419,25 +367,13 @@ extension M2Kit.JSON : Swift.Codable {
|
|||||||
@_Concurrency.MainActor public struct M2API {
|
@_Concurrency.MainActor public struct M2API {
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func searchVideosEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func searchVideosEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func searchPlaylistsEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ playlists: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func searchPlaylistsEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ playlists: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getVideosOfPlaylistEx(playlistId: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getVideosOfPlaylistEx(playlistId: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func searchChannelsEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ channels: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func searchChannelsEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ channels: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@available(*, deprecated, message: "Use getVideosOfChannelEx(channelId:nextToken:result:) instead.")
|
@available(*, deprecated, message: "Use getVideosOfChannelEx(channelId:nextToken:result:) instead.")
|
||||||
@_Concurrency.MainActor public static func getVideosOfChannelEx(channelName: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getVideosOfChannelEx(channelName: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getVideosOfChannelEx(channelId: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getVideosOfChannelEx(channelId: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
@_Concurrency.MainActor public static func getAllVideosOfPlaylistEx(playlistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
@_Concurrency.MainActor public static func getAllVideosOfPlaylistEx(playlistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
@ -458,15 +394,11 @@ extension M2Kit.M2API {
|
|||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
@_Concurrency.MainActor public static func autocompleteSearchEx(_ text: Swift.String, result: @escaping (_ listSuggestion: [Swift.String]) -> Swift.Void)
|
@_Concurrency.MainActor public static func autocompleteSearchEx(_ text: Swift.String, result: @escaping (_ listSuggestion: [Swift.String]) -> Swift.Void)
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getLocationEx(result: @escaping (_ countryCode: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getLocationEx(result: @escaping (_ countryCode: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
@_Concurrency.MainActor public static func getTrendingSearchEx(result: @escaping (_ titles: [Swift.String]) -> Swift.Void)
|
@_Concurrency.MainActor public static func getTrendingSearchEx(result: @escaping (_ titles: [Swift.String]) -> Swift.Void)
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getLinkPlayEx(videoId: Swift.String, result: @escaping (_ videoUrl: Foundation.URL?, _ videoId: Swift.String, _ metadata: [Swift.AnyHashable : Any]?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getLinkPlayEx(videoId: Swift.String, result: @escaping (_ videoUrl: Foundation.URL?, _ videoId: Swift.String, _ metadata: [Swift.AnyHashable : Any]?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
@_Concurrency.MainActor public static func kworbMusicVideoWWEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
@_Concurrency.MainActor public static func kworbMusicVideoWWEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
@ -486,25 +418,13 @@ extension M2Kit.M2API {
|
|||||||
@_Concurrency.MainActor public static func ytArtistDetailEx(artistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
@_Concurrency.MainActor public static func ytArtistDetailEx(artistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 searchVideos(title: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 searchPlaylists(title: Swift.String, nextToken: Swift.String?) async -> (playlists: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 getVideosOfPlaylist(playlistId: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 searchChannels(title: Swift.String, nextToken: Swift.String?) async -> (channels: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@available(*, deprecated, message: "Use getVideosOfChannel(channelId:nextToken:) instead.")
|
@available(*, deprecated, message: "Use getVideosOfChannel(channelId:nextToken:) instead.")
|
||||||
@_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 getVideosOfChannel(channelName: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getVideosOfChannel(channelId: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
@_Concurrency.MainActor public static func getVideosOfChannel(channelId: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||||
#endif
|
|
||||||
@_Concurrency.MainActor public static func getAllVideosOfPlaylist(_ playlistId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
@_Concurrency.MainActor public static func getAllVideosOfPlaylist(_ playlistId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
@ -525,15 +445,11 @@ extension M2Kit.M2API {
|
|||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
@_Concurrency.MainActor public static func autocompleteSearch(_ text: Swift.String) async -> [Swift.String]
|
@_Concurrency.MainActor public static func autocompleteSearch(_ text: Swift.String) async -> [Swift.String]
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getLocation() async -> Swift.String?
|
@_Concurrency.MainActor public static func getLocation() async -> Swift.String?
|
||||||
#endif
|
|
||||||
@_Concurrency.MainActor public static func getTrendingSearch() async -> [Swift.String]
|
@_Concurrency.MainActor public static func getTrendingSearch() async -> [Swift.String]
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getLinkPlay(videoId: Swift.String) async -> (videoUrl: Foundation.URL?, videoId: Swift.String, metadata: [Swift.AnyHashable : Any]?)
|
@_Concurrency.MainActor public static func getLinkPlay(videoId: Swift.String) async -> (videoUrl: Foundation.URL?, videoId: Swift.String, metadata: [Swift.AnyHashable : Any]?)
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
@_Concurrency.MainActor public static func kworbMusicVideoWW() async -> [[Swift.AnyHashable : Any]]
|
@_Concurrency.MainActor public static func kworbMusicVideoWW() async -> [[Swift.AnyHashable : Any]]
|
||||||
@ -556,24 +472,12 @@ extension M2Kit.M2API {
|
|||||||
@_Concurrency.MainActor public static var backupCode: Swift.String {
|
@_Concurrency.MainActor public static var backupCode: Swift.String {
|
||||||
get
|
get
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func uploadBackup(code: Swift.String, data: Foundation.Data, result: @escaping (_ url: Swift.String?, _ version: Swift.Int) -> Swift.Void)
|
@_Concurrency.MainActor public static func uploadBackup(code: Swift.String, data: Foundation.Data, result: @escaping (_ url: Swift.String?, _ version: Swift.Int) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getBackup(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getBackup(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getBackupVersion(code: Swift.String, result: @escaping (_ num: Swift.Int?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getBackupVersion(code: Swift.String, result: @escaping (_ num: Swift.Int?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getBackupVersions(codes: [Swift.String], result: @escaping (_ results: [Swift.String : Swift.Int?]) -> Swift.Void)
|
@_Concurrency.MainActor public static func getBackupVersions(codes: [Swift.String], result: @escaping (_ results: [Swift.String : Swift.Int?]) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func uploadBackupPlaylist(code: Swift.String, data: Foundation.Data, result: @escaping (_ url: Swift.String?, _ version: Swift.Int) -> Swift.Void)
|
@_Concurrency.MainActor public static func uploadBackupPlaylist(code: Swift.String, data: Foundation.Data, result: @escaping (_ url: Swift.String?, _ version: Swift.Int) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getBackupPlaylist(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getBackupPlaylist(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
public let m2Version: Swift.String
|
public let m2Version: Swift.String
|
||||||
@_Concurrency.MainActor public func setServiceType(_ type: Swift.String)
|
@_Concurrency.MainActor public func setServiceType(_ type: Swift.String)
|
||||||
@ -582,26 +486,30 @@ public let m2Version: Swift.String
|
|||||||
@_Concurrency.MainActor public static func sendFeedback(content: Swift.String, result: @escaping (_ isOK: Swift.Bool) -> Swift.Void)
|
@_Concurrency.MainActor public static func sendFeedback(content: Swift.String, result: @escaping (_ isOK: Swift.Bool) -> Swift.Void)
|
||||||
}
|
}
|
||||||
@_Concurrency.MainActor public struct M2HTTP {
|
@_Concurrency.MainActor public struct M2HTTP {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getDataEx(url: Foundation.URL, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getDataEx(url: Foundation.URL, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getData(url: Foundation.URL) async -> Foundation.Data?
|
@_Concurrency.MainActor public static func getData(url: Foundation.URL) async -> Foundation.Data?
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getImageDataEx(url: Foundation.URL, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getImageDataEx(url: Foundation.URL, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getImageData(url: Foundation.URL) async -> Foundation.Data?
|
@_Concurrency.MainActor public static func getImageData(url: Foundation.URL) async -> Foundation.Data?
|
||||||
#endif
|
}
|
||||||
|
@_Concurrency.MainActor public struct M2IAP {
|
||||||
|
@_Concurrency.MainActor public static let IAPPurchasedSuccessNotification: Foundation.Notification.Name
|
||||||
|
@_Concurrency.MainActor public static let IAPPurchasedFailNotification: Foundation.Notification.Name
|
||||||
|
@_Concurrency.MainActor public static let IAPProductStatusUpdatedNotification: Foundation.Notification.Name
|
||||||
|
@_Concurrency.MainActor public static let IAPProductsAvailableChangedNotification: Foundation.Notification.Name
|
||||||
|
@_Concurrency.MainActor public static func setup(iapId: Swift.String)
|
||||||
|
@_Concurrency.MainActor public static var isProVersion: Swift.Bool {
|
||||||
|
get
|
||||||
|
}
|
||||||
|
@_Concurrency.MainActor public static var priceProVersion: Swift.String? {
|
||||||
|
get
|
||||||
|
}
|
||||||
|
@_Concurrency.MainActor public static func fetch()
|
||||||
|
@_Concurrency.MainActor public static func purchaseProVersion()
|
||||||
|
@_Concurrency.MainActor public static func restorePurchase()
|
||||||
}
|
}
|
||||||
@_Concurrency.MainActor public struct M2Image {
|
@_Concurrency.MainActor public struct M2Image {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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, result: @escaping (_ url: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func uploadImage(_ image: UIKit.UIImage) async -> Swift.String?
|
@_Concurrency.MainActor public static func uploadImage(_ image: UIKit.UIImage) async -> Swift.String?
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
@_Concurrency.MainActor public struct M2K {
|
@_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)
|
@_Concurrency.MainActor public static func start(c: Swift.String = "", t: Swift.String = "", d: Swift.Int = 0, result: @escaping () -> Swift.Void)
|
||||||
@ -612,9 +520,7 @@ public let m2Version: Swift.String
|
|||||||
@_Concurrency.MainActor public static func sendAllEvents(result: @escaping (_ isOK: Swift.Bool) -> Swift.Void)
|
@_Concurrency.MainActor public static func sendAllEvents(result: @escaping (_ isOK: Swift.Bool) -> Swift.Void)
|
||||||
}
|
}
|
||||||
@_Concurrency.MainActor public struct M2Musi {
|
@_Concurrency.MainActor public struct M2Musi {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getVideosOfPlaylistWithCode(_ code: Swift.String, result: @escaping (_ title: Swift.String?, _ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
@_Concurrency.MainActor public static func getVideosOfPlaylistWithCode(_ code: Swift.String, result: @escaping (_ title: Swift.String?, _ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
public enum M2NetConnecttionType {
|
public enum M2NetConnecttionType {
|
||||||
case wifi
|
case wifi
|
||||||
@ -646,45 +552,23 @@ extension M2Kit.M2Radio {
|
|||||||
@_Concurrency.MainActor public static func getCurrentRadioCountryCode() -> Swift.String
|
@_Concurrency.MainActor public static func getCurrentRadioCountryCode() -> Swift.String
|
||||||
}
|
}
|
||||||
extension M2Kit.M2Radio {
|
extension M2Kit.M2Radio {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 searchStationsEx(title: Swift.String, token: Swift.String?, result: @escaping (_ stations: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 topStationsEx(token: Swift.String?, result: @escaping (_ stations: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
@_Concurrency.MainActor public static func listGenresForRadioEx(result: @escaping (_ genres: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
@_Concurrency.MainActor public static func listGenresForRadioEx(result: @escaping (_ genres: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 listStationsByGenresEx(genre: [Swift.AnyHashable : Any], token: Swift.String?, result: @escaping (_ stations: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func stationInfoEx(station: [Swift.AnyHashable : Any], result: @escaping (_ info: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func stationInfoEx(station: [Swift.AnyHashable : Any], result: @escaping (_ info: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
extension M2Kit.M2Radio {
|
extension M2Kit.M2Radio {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 searchPodcastsEx(title: Swift.String, token: Swift.String?, result: @escaping (_ podcasts: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 listEpisodesOfPodcastEx(podcast: [Swift.AnyHashable : Any], token: Swift.String?, result: @escaping (_ episodes: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 topPodcastsEx(token: Swift.String?, result: @escaping (_ podcasts: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
@_Concurrency.MainActor public static func listGenresForPodcastEx(result: @escaping (_ genres: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
@_Concurrency.MainActor public static func listGenresForPodcastEx(result: @escaping (_ genres: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 listPodcastsByGenreEx(genre: [Swift.AnyHashable : Any], token: Swift.String?, result: @escaping (_ podcasts: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func podcastInfoEx(podcast: [Swift.AnyHashable : Any], result: @escaping (_ info: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func podcastInfoEx(podcast: [Swift.AnyHashable : Any], result: @escaping (_ info: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
extension M2Kit.M2Radio {
|
extension M2Kit.M2Radio {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getLinkPlayEx(station: [Swift.AnyHashable : Any], result: @escaping (_ url: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getLinkPlayEx(station: [Swift.AnyHashable : Any], result: @escaping (_ url: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getLinkPlayEx(episode: [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)
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
@_hasMissingDesignatedInitializers public class M2Setting {
|
@_hasMissingDesignatedInitializers public class M2Setting {
|
||||||
public static var option10: Swift.String {
|
public static var option10: Swift.String {
|
||||||
@ -988,14 +872,13 @@ extension M2Kit.M2Utils {
|
|||||||
@_Concurrency.MainActor public static func randomCode7() -> Swift.String
|
@_Concurrency.MainActor public static func randomCode7() -> Swift.String
|
||||||
@_Concurrency.MainActor public static func randomCode11() -> Swift.String
|
@_Concurrency.MainActor public static func randomCode11() -> Swift.String
|
||||||
}
|
}
|
||||||
|
extension M2Kit.M2Utils {
|
||||||
|
@_Concurrency.MainActor public static func weightedRandom(from items: [Swift.String], weights: [Swift.Int]) -> Swift.String
|
||||||
|
}
|
||||||
@objc @_inheritsConvenienceInitializers @_Concurrency.MainActor public class M2WebVC : UIKit.UIViewController {
|
@objc @_inheritsConvenienceInitializers @_Concurrency.MainActor public class M2WebVC : UIKit.UIViewController {
|
||||||
@_Concurrency.MainActor @objc override dynamic public func viewDidLoad()
|
@_Concurrency.MainActor @objc override dynamic public func viewDidLoad()
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor @objc override dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?)
|
@_Concurrency.MainActor @objc override dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor @objc required dynamic public init?(coder: Foundation.NSCoder)
|
@_Concurrency.MainActor @objc required dynamic public init?(coder: Foundation.NSCoder)
|
||||||
#endif
|
|
||||||
@objc deinit
|
@objc deinit
|
||||||
}
|
}
|
||||||
@_Concurrency.MainActor public struct M2WebView : SwiftUI.UIViewControllerRepresentable {
|
@_Concurrency.MainActor public struct M2WebView : SwiftUI.UIViewControllerRepresentable {
|
||||||
@ -1009,21 +892,15 @@ extension M2Kit.M2Utils {
|
|||||||
public enum M2YTIDType : Swift.String {
|
public enum M2YTIDType : Swift.String {
|
||||||
case video
|
case video
|
||||||
case playlist
|
case playlist
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public init?(rawValue: Swift.String)
|
public init?(rawValue: Swift.String)
|
||||||
#endif
|
|
||||||
public typealias RawValue = Swift.String
|
public typealias RawValue = Swift.String
|
||||||
public var rawValue: Swift.String {
|
public var rawValue: Swift.String {
|
||||||
get
|
get
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@_Concurrency.MainActor public struct M2YT {
|
@_Concurrency.MainActor public struct M2YT {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func extractId(fromUrl: Swift.String) -> (id: Swift.String, type: M2Kit.M2YTIDType)?
|
@_Concurrency.MainActor public static func extractId(fromUrl: Swift.String) -> (id: Swift.String, type: M2Kit.M2YTIDType)?
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getVideosOfPlaylistId(_ playlistId: Swift.String, result: @escaping (_ title: Swift.String?, _ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
@_Concurrency.MainActor public static func getVideosOfPlaylistId(_ playlistId: Swift.String, result: @escaping (_ title: Swift.String?, _ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
extension M2Kit.SwiftyJSONError : Swift.Equatable {}
|
extension M2Kit.SwiftyJSONError : Swift.Equatable {}
|
||||||
extension M2Kit.SwiftyJSONError : Swift.Hashable {}
|
extension M2Kit.SwiftyJSONError : Swift.Hashable {}
|
||||||
@ -1037,6 +914,7 @@ extension M2Kit.M2API : Swift.Sendable {}
|
|||||||
extension M2Kit.M2Backup : Swift.Sendable {}
|
extension M2Kit.M2Backup : Swift.Sendable {}
|
||||||
extension M2Kit.M2Feedback : Swift.Sendable {}
|
extension M2Kit.M2Feedback : Swift.Sendable {}
|
||||||
extension M2Kit.M2HTTP : Swift.Sendable {}
|
extension M2Kit.M2HTTP : Swift.Sendable {}
|
||||||
|
extension M2Kit.M2IAP : Swift.Sendable {}
|
||||||
extension M2Kit.M2Image : Swift.Sendable {}
|
extension M2Kit.M2Image : Swift.Sendable {}
|
||||||
extension M2Kit.M2K : Swift.Sendable {}
|
extension M2Kit.M2K : Swift.Sendable {}
|
||||||
extension M2Kit.M2Log : Swift.Sendable {}
|
extension M2Kit.M2Log : Swift.Sendable {}
|
||||||
|
|||||||
@ -1,4 +1,3 @@
|
|||||||
framework module M2Kit {
|
framework module M2Kit {
|
||||||
header "M2Kit-Swift.h"
|
header "M2Kit-Swift.h"
|
||||||
requires objc
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
#if 0
|
#if 0
|
||||||
#elif defined(__arm64__) && __arm64__
|
#elif defined(__arm64__) && __arm64__
|
||||||
// Generated by Apple Swift version 6.2.4 effective-5.10 (swiftlang-6.2.4.1.4 clang-1700.6.4.2)
|
// Generated by Apple Swift version 6.3 effective-5.10 (swiftlang-6.3.0.123.5 clang-2100.0.123.102)
|
||||||
#ifndef M2KIT_SWIFT_H
|
#ifndef M2KIT_SWIFT_H
|
||||||
#define M2KIT_SWIFT_H
|
#define M2KIT_SWIFT_H
|
||||||
#pragma clang diagnostic push
|
#pragma clang diagnostic push
|
||||||
@ -26,7 +26,7 @@
|
|||||||
#pragma clang diagnostic ignored "-Wauto-import"
|
#pragma clang diagnostic ignored "-Wauto-import"
|
||||||
#if defined(__OBJC__)
|
#if defined(__OBJC__)
|
||||||
#include <Foundation/Foundation.h>
|
#include <Foundation/Foundation.h>
|
||||||
#endif
|
#endif // defined(__OBJC__)
|
||||||
#if defined(__cplusplus)
|
#if defined(__cplusplus)
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
#include <cstddef>
|
#include <cstddef>
|
||||||
@ -195,13 +195,32 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
#if !defined(SWIFT_ENUM)
|
#if !defined(SWIFT_ENUM)
|
||||||
# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
|
# if (defined(__cplusplus) && __cplusplus >= 201103L) || (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L) || __has_feature(objc_fixed_enum)
|
||||||
# if __has_feature(generalized_swift_name)
|
# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
|
||||||
# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
|
# if __has_feature(generalized_swift_name)
|
||||||
|
# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
|
||||||
|
# else
|
||||||
|
# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility)
|
||||||
|
# endif
|
||||||
# else
|
# else
|
||||||
|
# define SWIFT_ENUM(_type, _name, _extensibility) _type _name; enum
|
||||||
# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility)
|
# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility)
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
#if !defined(SWIFT_ENUM_TAG)
|
||||||
|
# if (defined(__cplusplus) && __cplusplus >= 201103L) || (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L) || __has_feature(objc_fixed_enum)
|
||||||
|
# define SWIFT_ENUM_TAG enum
|
||||||
|
# else
|
||||||
|
# define SWIFT_ENUM_TAG
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
|
#if !defined(SWIFT_ENUM_FWD_DECL)
|
||||||
|
# if (defined(__cplusplus) && __cplusplus >= 201103L) || (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L) || __has_feature(objc_fixed_enum)
|
||||||
|
# define SWIFT_ENUM_FWD_DECL(_type, _name) enum _name : _type;
|
||||||
|
# else
|
||||||
|
# define SWIFT_ENUM_FWD_DECL(_type, _name) typedef _type _name;
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
#if !defined(SWIFT_UNAVAILABLE)
|
#if !defined(SWIFT_UNAVAILABLE)
|
||||||
# define SWIFT_UNAVAILABLE __attribute__((unavailable))
|
# define SWIFT_UNAVAILABLE __attribute__((unavailable))
|
||||||
#endif
|
#endif
|
||||||
@ -211,6 +230,9 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|||||||
#if !defined(SWIFT_AVAILABILITY)
|
#if !defined(SWIFT_AVAILABILITY)
|
||||||
# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__)))
|
# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__)))
|
||||||
#endif
|
#endif
|
||||||
|
#if !defined(SWIFT_AVAILABILITY_DOMAIN)
|
||||||
|
# define SWIFT_AVAILABILITY_DOMAIN(dom, ...) __attribute__((availability(domain: dom, __VA_ARGS__)))
|
||||||
|
#endif
|
||||||
#if !defined(SWIFT_WEAK_IMPORT)
|
#if !defined(SWIFT_WEAK_IMPORT)
|
||||||
# define SWIFT_WEAK_IMPORT __attribute__((weak_import))
|
# define SWIFT_WEAK_IMPORT __attribute__((weak_import))
|
||||||
#endif
|
#endif
|
||||||
@ -276,6 +298,49 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|||||||
# define SWIFT_IMPORT_STDLIB_SYMBOL
|
# define SWIFT_IMPORT_STDLIB_SYMBOL
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
#if !__has_feature(nullability)
|
||||||
|
# define _Nonnull
|
||||||
|
# define _Nullable
|
||||||
|
# define _Null_unspecified
|
||||||
|
#elif !defined(__OBJC__)
|
||||||
|
# pragma clang diagnostic ignored "-Wnullability-extension"
|
||||||
|
#endif
|
||||||
|
#if !__has_feature(nullability_nullable_result)
|
||||||
|
# define _Nullable_result _Nullable
|
||||||
|
#endif
|
||||||
|
#if __has_feature(objc_modules)
|
||||||
|
#if __has_warning("-Watimport-in-framework-header")
|
||||||
|
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
|
||||||
|
#pragma clang diagnostic ignored "-Wduplicate-method-arg"
|
||||||
|
#if __has_warning("-Wpragma-clang-attribute")
|
||||||
|
# pragma clang diagnostic ignored "-Wpragma-clang-attribute"
|
||||||
|
#endif
|
||||||
|
#pragma clang diagnostic ignored "-Wunknown-pragmas"
|
||||||
|
#pragma clang diagnostic ignored "-Wnullability"
|
||||||
|
#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"
|
||||||
|
#pragma clang diagnostic ignored "-Wunsafe-buffer-usage"
|
||||||
|
|
||||||
|
#if __has_attribute(external_source_symbol)
|
||||||
|
# pragma push_macro("any")
|
||||||
|
# undef any
|
||||||
|
# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="M2Kit",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol))
|
||||||
|
# pragma pop_macro("any")
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(__cplusplus)
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(__cplusplus)
|
||||||
|
} // extern "C"
|
||||||
|
#endif
|
||||||
|
#if __has_attribute(external_source_symbol)
|
||||||
|
# pragma clang attribute pop
|
||||||
|
#endif
|
||||||
#if defined(__OBJC__)
|
#if defined(__OBJC__)
|
||||||
#if __has_feature(objc_modules)
|
#if __has_feature(objc_modules)
|
||||||
#if __has_warning("-Watimport-in-framework-header")
|
#if __has_warning("-Watimport-in-framework-header")
|
||||||
@ -284,7 +349,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|||||||
@import UIKit;
|
@import UIKit;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif // defined(__OBJC__)
|
||||||
#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
|
#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
|
||||||
#pragma clang diagnostic ignored "-Wduplicate-method-arg"
|
#pragma clang diagnostic ignored "-Wduplicate-method-arg"
|
||||||
#if __has_warning("-Wpragma-clang-attribute")
|
#if __has_warning("-Wpragma-clang-attribute")
|
||||||
@ -314,7 +379,7 @@ SWIFT_CLASS("_TtC5M2Kit7M2WebVC")
|
|||||||
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER;
|
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER;
|
||||||
@end
|
@end
|
||||||
|
|
||||||
#endif
|
#endif // defined(__OBJC__)
|
||||||
#if __has_attribute(external_source_symbol)
|
#if __has_attribute(external_source_symbol)
|
||||||
# pragma clang attribute pop
|
# pragma clang attribute pop
|
||||||
#endif
|
#endif
|
||||||
@ -324,7 +389,7 @@ SWIFT_CLASS("_TtC5M2Kit7M2WebVC")
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#elif defined(__x86_64__) && __x86_64__
|
#elif defined(__x86_64__) && __x86_64__
|
||||||
// Generated by Apple Swift version 6.2.4 effective-5.10 (swiftlang-6.2.4.1.4 clang-1700.6.4.2)
|
// Generated by Apple Swift version 6.3 effective-5.10 (swiftlang-6.3.0.123.5 clang-2100.0.123.102)
|
||||||
#ifndef M2KIT_SWIFT_H
|
#ifndef M2KIT_SWIFT_H
|
||||||
#define M2KIT_SWIFT_H
|
#define M2KIT_SWIFT_H
|
||||||
#pragma clang diagnostic push
|
#pragma clang diagnostic push
|
||||||
@ -350,7 +415,7 @@ SWIFT_CLASS("_TtC5M2Kit7M2WebVC")
|
|||||||
#pragma clang diagnostic ignored "-Wauto-import"
|
#pragma clang diagnostic ignored "-Wauto-import"
|
||||||
#if defined(__OBJC__)
|
#if defined(__OBJC__)
|
||||||
#include <Foundation/Foundation.h>
|
#include <Foundation/Foundation.h>
|
||||||
#endif
|
#endif // defined(__OBJC__)
|
||||||
#if defined(__cplusplus)
|
#if defined(__cplusplus)
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
#include <cstddef>
|
#include <cstddef>
|
||||||
@ -519,13 +584,32 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
#if !defined(SWIFT_ENUM)
|
#if !defined(SWIFT_ENUM)
|
||||||
# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
|
# if (defined(__cplusplus) && __cplusplus >= 201103L) || (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L) || __has_feature(objc_fixed_enum)
|
||||||
# if __has_feature(generalized_swift_name)
|
# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
|
||||||
# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
|
# if __has_feature(generalized_swift_name)
|
||||||
|
# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
|
||||||
|
# else
|
||||||
|
# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility)
|
||||||
|
# endif
|
||||||
# else
|
# else
|
||||||
|
# define SWIFT_ENUM(_type, _name, _extensibility) _type _name; enum
|
||||||
# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility)
|
# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility)
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
#if !defined(SWIFT_ENUM_TAG)
|
||||||
|
# if (defined(__cplusplus) && __cplusplus >= 201103L) || (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L) || __has_feature(objc_fixed_enum)
|
||||||
|
# define SWIFT_ENUM_TAG enum
|
||||||
|
# else
|
||||||
|
# define SWIFT_ENUM_TAG
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
|
#if !defined(SWIFT_ENUM_FWD_DECL)
|
||||||
|
# if (defined(__cplusplus) && __cplusplus >= 201103L) || (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L) || __has_feature(objc_fixed_enum)
|
||||||
|
# define SWIFT_ENUM_FWD_DECL(_type, _name) enum _name : _type;
|
||||||
|
# else
|
||||||
|
# define SWIFT_ENUM_FWD_DECL(_type, _name) typedef _type _name;
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
#if !defined(SWIFT_UNAVAILABLE)
|
#if !defined(SWIFT_UNAVAILABLE)
|
||||||
# define SWIFT_UNAVAILABLE __attribute__((unavailable))
|
# define SWIFT_UNAVAILABLE __attribute__((unavailable))
|
||||||
#endif
|
#endif
|
||||||
@ -535,6 +619,9 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|||||||
#if !defined(SWIFT_AVAILABILITY)
|
#if !defined(SWIFT_AVAILABILITY)
|
||||||
# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__)))
|
# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__)))
|
||||||
#endif
|
#endif
|
||||||
|
#if !defined(SWIFT_AVAILABILITY_DOMAIN)
|
||||||
|
# define SWIFT_AVAILABILITY_DOMAIN(dom, ...) __attribute__((availability(domain: dom, __VA_ARGS__)))
|
||||||
|
#endif
|
||||||
#if !defined(SWIFT_WEAK_IMPORT)
|
#if !defined(SWIFT_WEAK_IMPORT)
|
||||||
# define SWIFT_WEAK_IMPORT __attribute__((weak_import))
|
# define SWIFT_WEAK_IMPORT __attribute__((weak_import))
|
||||||
#endif
|
#endif
|
||||||
@ -600,6 +687,49 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|||||||
# define SWIFT_IMPORT_STDLIB_SYMBOL
|
# define SWIFT_IMPORT_STDLIB_SYMBOL
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
#if !__has_feature(nullability)
|
||||||
|
# define _Nonnull
|
||||||
|
# define _Nullable
|
||||||
|
# define _Null_unspecified
|
||||||
|
#elif !defined(__OBJC__)
|
||||||
|
# pragma clang diagnostic ignored "-Wnullability-extension"
|
||||||
|
#endif
|
||||||
|
#if !__has_feature(nullability_nullable_result)
|
||||||
|
# define _Nullable_result _Nullable
|
||||||
|
#endif
|
||||||
|
#if __has_feature(objc_modules)
|
||||||
|
#if __has_warning("-Watimport-in-framework-header")
|
||||||
|
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
|
||||||
|
#pragma clang diagnostic ignored "-Wduplicate-method-arg"
|
||||||
|
#if __has_warning("-Wpragma-clang-attribute")
|
||||||
|
# pragma clang diagnostic ignored "-Wpragma-clang-attribute"
|
||||||
|
#endif
|
||||||
|
#pragma clang diagnostic ignored "-Wunknown-pragmas"
|
||||||
|
#pragma clang diagnostic ignored "-Wnullability"
|
||||||
|
#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"
|
||||||
|
#pragma clang diagnostic ignored "-Wunsafe-buffer-usage"
|
||||||
|
|
||||||
|
#if __has_attribute(external_source_symbol)
|
||||||
|
# pragma push_macro("any")
|
||||||
|
# undef any
|
||||||
|
# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="M2Kit",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol))
|
||||||
|
# pragma pop_macro("any")
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(__cplusplus)
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(__cplusplus)
|
||||||
|
} // extern "C"
|
||||||
|
#endif
|
||||||
|
#if __has_attribute(external_source_symbol)
|
||||||
|
# pragma clang attribute pop
|
||||||
|
#endif
|
||||||
#if defined(__OBJC__)
|
#if defined(__OBJC__)
|
||||||
#if __has_feature(objc_modules)
|
#if __has_feature(objc_modules)
|
||||||
#if __has_warning("-Watimport-in-framework-header")
|
#if __has_warning("-Watimport-in-framework-header")
|
||||||
@ -608,7 +738,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|||||||
@import UIKit;
|
@import UIKit;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif // defined(__OBJC__)
|
||||||
#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
|
#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
|
||||||
#pragma clang diagnostic ignored "-Wduplicate-method-arg"
|
#pragma clang diagnostic ignored "-Wduplicate-method-arg"
|
||||||
#if __has_warning("-Wpragma-clang-attribute")
|
#if __has_warning("-Wpragma-clang-attribute")
|
||||||
@ -638,7 +768,7 @@ SWIFT_CLASS("_TtC5M2Kit7M2WebVC")
|
|||||||
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER;
|
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER;
|
||||||
@end
|
@end
|
||||||
|
|
||||||
#endif
|
#endif // defined(__OBJC__)
|
||||||
#if __has_attribute(external_source_symbol)
|
#if __has_attribute(external_source_symbol)
|
||||||
# pragma clang attribute pop
|
# pragma clang attribute pop
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Binary file not shown.
File diff suppressed because one or more lines are too long
@ -1,7 +1,7 @@
|
|||||||
// swift-interface-format-version: 1.0
|
// swift-interface-format-version: 1.0
|
||||||
// swift-compiler-version: Apple Swift version 6.2.4 effective-5.10 (swiftlang-6.2.4.1.4 clang-1700.6.4.2)
|
// swift-compiler-version: Apple Swift version 6.3 effective-5.10 (swiftlang-6.3.0.123.5 clang-2100.0.123.102)
|
||||||
// swift-module-flags: -target arm64-apple-ios16.0-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name M2Kit
|
// swift-module-flags: -target arm64-apple-ios16.0-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name M2Kit
|
||||||
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.2.4
|
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3
|
||||||
import Combine
|
import Combine
|
||||||
import CommonCrypto
|
import CommonCrypto
|
||||||
import Foundation
|
import Foundation
|
||||||
@ -22,9 +22,7 @@ public enum SwiftyJSONError : Swift.Int, Swift.Error {
|
|||||||
case wrongType
|
case wrongType
|
||||||
case notExist
|
case notExist
|
||||||
case invalidJSON
|
case invalidJSON
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public init?(rawValue: Swift.Int)
|
public init?(rawValue: Swift.Int)
|
||||||
#endif
|
|
||||||
public typealias RawValue = Swift.Int
|
public typealias RawValue = Swift.Int
|
||||||
public var rawValue: Swift.Int {
|
public var rawValue: Swift.Int {
|
||||||
get
|
get
|
||||||
@ -49,9 +47,7 @@ public enum Type : Swift.Int {
|
|||||||
case dictionary
|
case dictionary
|
||||||
case null
|
case null
|
||||||
case unknown
|
case unknown
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public init?(rawValue: Swift.Int)
|
public init?(rawValue: Swift.Int)
|
||||||
#endif
|
|
||||||
public typealias RawValue = Swift.Int
|
public typealias RawValue = Swift.Int
|
||||||
public var rawValue: Swift.Int {
|
public var rawValue: Swift.Int {
|
||||||
get
|
get
|
||||||
@ -164,19 +160,13 @@ extension M2Kit.JSON : Swift.ExpressibleByArrayLiteral {
|
|||||||
public typealias ArrayLiteralElement = Any
|
public typealias ArrayLiteralElement = Any
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON : Swift.RawRepresentable {
|
extension M2Kit.JSON : Swift.RawRepresentable {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public init?(rawValue: Any)
|
public init?(rawValue: Any)
|
||||||
#endif
|
|
||||||
public var rawValue: Any {
|
public var rawValue: Any {
|
||||||
get
|
get
|
||||||
}
|
}
|
||||||
public func rawData(options opt: Foundation.JSONSerialization.WritingOptions = JSONSerialization.WritingOptions(rawValue: 0)) throws -> Foundation.Data
|
public func rawData(options opt: Foundation.JSONSerialization.WritingOptions = JSONSerialization.WritingOptions(rawValue: 0)) throws -> Foundation.Data
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public func rawString(_ encoding: Swift.String.Encoding = .utf8, options opt: Foundation.JSONSerialization.WritingOptions = .prettyPrinted) -> Swift.String?
|
public func rawString(_ encoding: Swift.String.Encoding = .utf8, options opt: Foundation.JSONSerialization.WritingOptions = .prettyPrinted) -> Swift.String?
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public func rawString(_ options: [M2Kit.writingOptionsKeys : Any]) -> Swift.String?
|
public func rawString(_ options: [M2Kit.writingOptionsKeys : Any]) -> Swift.String?
|
||||||
#endif
|
|
||||||
public typealias RawValue = Any
|
public typealias RawValue = Any
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON : Swift.CustomStringConvertible, Swift.CustomDebugStringConvertible {
|
extension M2Kit.JSON : Swift.CustomStringConvertible, Swift.CustomDebugStringConvertible {
|
||||||
@ -188,207 +178,165 @@ extension M2Kit.JSON : Swift.CustomStringConvertible, Swift.CustomDebugStringCon
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON {
|
extension M2Kit.JSON {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var array: [M2Kit.JSON]? {
|
public var array: [M2Kit.JSON]? {
|
||||||
get
|
get
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var arrayValue: [M2Kit.JSON] {
|
public var arrayValue: [M2Kit.JSON] {
|
||||||
get
|
get
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var arrayObject: [Any]? {
|
public var arrayObject: [Any]? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON {
|
extension M2Kit.JSON {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var dictionary: [Swift.String : M2Kit.JSON]? {
|
public var dictionary: [Swift.String : M2Kit.JSON]? {
|
||||||
get
|
get
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var dictionaryValue: [Swift.String : M2Kit.JSON] {
|
public var dictionaryValue: [Swift.String : M2Kit.JSON] {
|
||||||
get
|
get
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var dictionaryObject: [Swift.String : Any]? {
|
public var dictionaryObject: [Swift.String : Any]? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON {
|
extension M2Kit.JSON {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var bool: Swift.Bool? {
|
public var bool: Swift.Bool? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var boolValue: Swift.Bool {
|
public var boolValue: Swift.Bool {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON {
|
extension M2Kit.JSON {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var string: Swift.String? {
|
public var string: Swift.String? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var stringValue: Swift.String {
|
public var stringValue: Swift.String {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON {
|
extension M2Kit.JSON {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var number: Foundation.NSNumber? {
|
public var number: Foundation.NSNumber? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var numberValue: Foundation.NSNumber {
|
public var numberValue: Foundation.NSNumber {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON {
|
extension M2Kit.JSON {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var null: Foundation.NSNull? {
|
public var null: Foundation.NSNull? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public func exists() -> Swift.Bool
|
public func exists() -> Swift.Bool
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON {
|
extension M2Kit.JSON {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var url: Foundation.URL? {
|
public var url: Foundation.URL? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON {
|
extension M2Kit.JSON {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var double: Swift.Double? {
|
public var double: Swift.Double? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var doubleValue: Swift.Double {
|
public var doubleValue: Swift.Double {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var float: Swift.Float? {
|
public var float: Swift.Float? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var floatValue: Swift.Float {
|
public var floatValue: Swift.Float {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var int: Swift.Int? {
|
public var int: Swift.Int? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var intValue: Swift.Int {
|
public var intValue: Swift.Int {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var uInt: Swift.UInt? {
|
public var uInt: Swift.UInt? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var uIntValue: Swift.UInt {
|
public var uIntValue: Swift.UInt {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var int8: Swift.Int8? {
|
public var int8: Swift.Int8? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var int8Value: Swift.Int8 {
|
public var int8Value: Swift.Int8 {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var uInt8: Swift.UInt8? {
|
public var uInt8: Swift.UInt8? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var uInt8Value: Swift.UInt8 {
|
public var uInt8Value: Swift.UInt8 {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var int16: Swift.Int16? {
|
public var int16: Swift.Int16? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var int16Value: Swift.Int16 {
|
public var int16Value: Swift.Int16 {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var uInt16: Swift.UInt16? {
|
public var uInt16: Swift.UInt16? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var uInt16Value: Swift.UInt16 {
|
public var uInt16Value: Swift.UInt16 {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var int32: Swift.Int32? {
|
public var int32: Swift.Int32? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var int32Value: Swift.Int32 {
|
public var int32Value: Swift.Int32 {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var uInt32: Swift.UInt32? {
|
public var uInt32: Swift.UInt32? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var uInt32Value: Swift.UInt32 {
|
public var uInt32Value: Swift.UInt32 {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var int64: Swift.Int64? {
|
public var int64: Swift.Int64? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var int64Value: Swift.Int64 {
|
public var int64Value: Swift.Int64 {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var uInt64: Swift.UInt64? {
|
public var uInt64: Swift.UInt64? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var uInt64Value: Swift.UInt64 {
|
public var uInt64Value: Swift.UInt64 {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
@ -419,25 +367,13 @@ extension M2Kit.JSON : Swift.Codable {
|
|||||||
@_Concurrency.MainActor public struct M2API {
|
@_Concurrency.MainActor public struct M2API {
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func searchVideosEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func searchVideosEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func searchPlaylistsEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ playlists: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func searchPlaylistsEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ playlists: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getVideosOfPlaylistEx(playlistId: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getVideosOfPlaylistEx(playlistId: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func searchChannelsEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ channels: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func searchChannelsEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ channels: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@available(*, deprecated, message: "Use getVideosOfChannelEx(channelId:nextToken:result:) instead.")
|
@available(*, deprecated, message: "Use getVideosOfChannelEx(channelId:nextToken:result:) instead.")
|
||||||
@_Concurrency.MainActor public static func getVideosOfChannelEx(channelName: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getVideosOfChannelEx(channelName: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getVideosOfChannelEx(channelId: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getVideosOfChannelEx(channelId: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
@_Concurrency.MainActor public static func getAllVideosOfPlaylistEx(playlistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
@_Concurrency.MainActor public static func getAllVideosOfPlaylistEx(playlistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
@ -458,15 +394,11 @@ extension M2Kit.M2API {
|
|||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
@_Concurrency.MainActor public static func autocompleteSearchEx(_ text: Swift.String, result: @escaping (_ listSuggestion: [Swift.String]) -> Swift.Void)
|
@_Concurrency.MainActor public static func autocompleteSearchEx(_ text: Swift.String, result: @escaping (_ listSuggestion: [Swift.String]) -> Swift.Void)
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getLocationEx(result: @escaping (_ countryCode: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getLocationEx(result: @escaping (_ countryCode: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
@_Concurrency.MainActor public static func getTrendingSearchEx(result: @escaping (_ titles: [Swift.String]) -> Swift.Void)
|
@_Concurrency.MainActor public static func getTrendingSearchEx(result: @escaping (_ titles: [Swift.String]) -> Swift.Void)
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getLinkPlayEx(videoId: Swift.String, result: @escaping (_ videoUrl: Foundation.URL?, _ videoId: Swift.String, _ metadata: [Swift.AnyHashable : Any]?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getLinkPlayEx(videoId: Swift.String, result: @escaping (_ videoUrl: Foundation.URL?, _ videoId: Swift.String, _ metadata: [Swift.AnyHashable : Any]?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
@_Concurrency.MainActor public static func kworbMusicVideoWWEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
@_Concurrency.MainActor public static func kworbMusicVideoWWEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
@ -486,25 +418,13 @@ extension M2Kit.M2API {
|
|||||||
@_Concurrency.MainActor public static func ytArtistDetailEx(artistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
@_Concurrency.MainActor public static func ytArtistDetailEx(artistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 searchVideos(title: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 searchPlaylists(title: Swift.String, nextToken: Swift.String?) async -> (playlists: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 getVideosOfPlaylist(playlistId: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 searchChannels(title: Swift.String, nextToken: Swift.String?) async -> (channels: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@available(*, deprecated, message: "Use getVideosOfChannel(channelId:nextToken:) instead.")
|
@available(*, deprecated, message: "Use getVideosOfChannel(channelId:nextToken:) instead.")
|
||||||
@_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 getVideosOfChannel(channelName: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getVideosOfChannel(channelId: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
@_Concurrency.MainActor public static func getVideosOfChannel(channelId: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||||
#endif
|
|
||||||
@_Concurrency.MainActor public static func getAllVideosOfPlaylist(_ playlistId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
@_Concurrency.MainActor public static func getAllVideosOfPlaylist(_ playlistId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
@ -525,15 +445,11 @@ extension M2Kit.M2API {
|
|||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
@_Concurrency.MainActor public static func autocompleteSearch(_ text: Swift.String) async -> [Swift.String]
|
@_Concurrency.MainActor public static func autocompleteSearch(_ text: Swift.String) async -> [Swift.String]
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getLocation() async -> Swift.String?
|
@_Concurrency.MainActor public static func getLocation() async -> Swift.String?
|
||||||
#endif
|
|
||||||
@_Concurrency.MainActor public static func getTrendingSearch() async -> [Swift.String]
|
@_Concurrency.MainActor public static func getTrendingSearch() async -> [Swift.String]
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getLinkPlay(videoId: Swift.String) async -> (videoUrl: Foundation.URL?, videoId: Swift.String, metadata: [Swift.AnyHashable : Any]?)
|
@_Concurrency.MainActor public static func getLinkPlay(videoId: Swift.String) async -> (videoUrl: Foundation.URL?, videoId: Swift.String, metadata: [Swift.AnyHashable : Any]?)
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
@_Concurrency.MainActor public static func kworbMusicVideoWW() async -> [[Swift.AnyHashable : Any]]
|
@_Concurrency.MainActor public static func kworbMusicVideoWW() async -> [[Swift.AnyHashable : Any]]
|
||||||
@ -556,24 +472,12 @@ extension M2Kit.M2API {
|
|||||||
@_Concurrency.MainActor public static var backupCode: Swift.String {
|
@_Concurrency.MainActor public static var backupCode: Swift.String {
|
||||||
get
|
get
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func uploadBackup(code: Swift.String, data: Foundation.Data, result: @escaping (_ url: Swift.String?, _ version: Swift.Int) -> Swift.Void)
|
@_Concurrency.MainActor public static func uploadBackup(code: Swift.String, data: Foundation.Data, result: @escaping (_ url: Swift.String?, _ version: Swift.Int) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getBackup(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getBackup(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getBackupVersion(code: Swift.String, result: @escaping (_ num: Swift.Int?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getBackupVersion(code: Swift.String, result: @escaping (_ num: Swift.Int?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getBackupVersions(codes: [Swift.String], result: @escaping (_ results: [Swift.String : Swift.Int?]) -> Swift.Void)
|
@_Concurrency.MainActor public static func getBackupVersions(codes: [Swift.String], result: @escaping (_ results: [Swift.String : Swift.Int?]) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func uploadBackupPlaylist(code: Swift.String, data: Foundation.Data, result: @escaping (_ url: Swift.String?, _ version: Swift.Int) -> Swift.Void)
|
@_Concurrency.MainActor public static func uploadBackupPlaylist(code: Swift.String, data: Foundation.Data, result: @escaping (_ url: Swift.String?, _ version: Swift.Int) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getBackupPlaylist(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getBackupPlaylist(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
public let m2Version: Swift.String
|
public let m2Version: Swift.String
|
||||||
@_Concurrency.MainActor public func setServiceType(_ type: Swift.String)
|
@_Concurrency.MainActor public func setServiceType(_ type: Swift.String)
|
||||||
@ -582,26 +486,30 @@ public let m2Version: Swift.String
|
|||||||
@_Concurrency.MainActor public static func sendFeedback(content: Swift.String, result: @escaping (_ isOK: Swift.Bool) -> Swift.Void)
|
@_Concurrency.MainActor public static func sendFeedback(content: Swift.String, result: @escaping (_ isOK: Swift.Bool) -> Swift.Void)
|
||||||
}
|
}
|
||||||
@_Concurrency.MainActor public struct M2HTTP {
|
@_Concurrency.MainActor public struct M2HTTP {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getDataEx(url: Foundation.URL, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getDataEx(url: Foundation.URL, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getData(url: Foundation.URL) async -> Foundation.Data?
|
@_Concurrency.MainActor public static func getData(url: Foundation.URL) async -> Foundation.Data?
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getImageDataEx(url: Foundation.URL, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getImageDataEx(url: Foundation.URL, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getImageData(url: Foundation.URL) async -> Foundation.Data?
|
@_Concurrency.MainActor public static func getImageData(url: Foundation.URL) async -> Foundation.Data?
|
||||||
#endif
|
}
|
||||||
|
@_Concurrency.MainActor public struct M2IAP {
|
||||||
|
@_Concurrency.MainActor public static let IAPPurchasedSuccessNotification: Foundation.Notification.Name
|
||||||
|
@_Concurrency.MainActor public static let IAPPurchasedFailNotification: Foundation.Notification.Name
|
||||||
|
@_Concurrency.MainActor public static let IAPProductStatusUpdatedNotification: Foundation.Notification.Name
|
||||||
|
@_Concurrency.MainActor public static let IAPProductsAvailableChangedNotification: Foundation.Notification.Name
|
||||||
|
@_Concurrency.MainActor public static func setup(iapId: Swift.String)
|
||||||
|
@_Concurrency.MainActor public static var isProVersion: Swift.Bool {
|
||||||
|
get
|
||||||
|
}
|
||||||
|
@_Concurrency.MainActor public static var priceProVersion: Swift.String? {
|
||||||
|
get
|
||||||
|
}
|
||||||
|
@_Concurrency.MainActor public static func fetch()
|
||||||
|
@_Concurrency.MainActor public static func purchaseProVersion()
|
||||||
|
@_Concurrency.MainActor public static func restorePurchase()
|
||||||
}
|
}
|
||||||
@_Concurrency.MainActor public struct M2Image {
|
@_Concurrency.MainActor public struct M2Image {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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, result: @escaping (_ url: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func uploadImage(_ image: UIKit.UIImage) async -> Swift.String?
|
@_Concurrency.MainActor public static func uploadImage(_ image: UIKit.UIImage) async -> Swift.String?
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
@_Concurrency.MainActor public struct M2K {
|
@_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)
|
@_Concurrency.MainActor public static func start(c: Swift.String = "", t: Swift.String = "", d: Swift.Int = 0, result: @escaping () -> Swift.Void)
|
||||||
@ -612,9 +520,7 @@ public let m2Version: Swift.String
|
|||||||
@_Concurrency.MainActor public static func sendAllEvents(result: @escaping (_ isOK: Swift.Bool) -> Swift.Void)
|
@_Concurrency.MainActor public static func sendAllEvents(result: @escaping (_ isOK: Swift.Bool) -> Swift.Void)
|
||||||
}
|
}
|
||||||
@_Concurrency.MainActor public struct M2Musi {
|
@_Concurrency.MainActor public struct M2Musi {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getVideosOfPlaylistWithCode(_ code: Swift.String, result: @escaping (_ title: Swift.String?, _ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
@_Concurrency.MainActor public static func getVideosOfPlaylistWithCode(_ code: Swift.String, result: @escaping (_ title: Swift.String?, _ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
public enum M2NetConnecttionType {
|
public enum M2NetConnecttionType {
|
||||||
case wifi
|
case wifi
|
||||||
@ -646,45 +552,23 @@ extension M2Kit.M2Radio {
|
|||||||
@_Concurrency.MainActor public static func getCurrentRadioCountryCode() -> Swift.String
|
@_Concurrency.MainActor public static func getCurrentRadioCountryCode() -> Swift.String
|
||||||
}
|
}
|
||||||
extension M2Kit.M2Radio {
|
extension M2Kit.M2Radio {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 searchStationsEx(title: Swift.String, token: Swift.String?, result: @escaping (_ stations: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 topStationsEx(token: Swift.String?, result: @escaping (_ stations: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
@_Concurrency.MainActor public static func listGenresForRadioEx(result: @escaping (_ genres: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
@_Concurrency.MainActor public static func listGenresForRadioEx(result: @escaping (_ genres: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 listStationsByGenresEx(genre: [Swift.AnyHashable : Any], token: Swift.String?, result: @escaping (_ stations: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func stationInfoEx(station: [Swift.AnyHashable : Any], result: @escaping (_ info: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func stationInfoEx(station: [Swift.AnyHashable : Any], result: @escaping (_ info: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
extension M2Kit.M2Radio {
|
extension M2Kit.M2Radio {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 searchPodcastsEx(title: Swift.String, token: Swift.String?, result: @escaping (_ podcasts: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 listEpisodesOfPodcastEx(podcast: [Swift.AnyHashable : Any], token: Swift.String?, result: @escaping (_ episodes: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 topPodcastsEx(token: Swift.String?, result: @escaping (_ podcasts: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
@_Concurrency.MainActor public static func listGenresForPodcastEx(result: @escaping (_ genres: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
@_Concurrency.MainActor public static func listGenresForPodcastEx(result: @escaping (_ genres: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 listPodcastsByGenreEx(genre: [Swift.AnyHashable : Any], token: Swift.String?, result: @escaping (_ podcasts: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func podcastInfoEx(podcast: [Swift.AnyHashable : Any], result: @escaping (_ info: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func podcastInfoEx(podcast: [Swift.AnyHashable : Any], result: @escaping (_ info: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
extension M2Kit.M2Radio {
|
extension M2Kit.M2Radio {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getLinkPlayEx(station: [Swift.AnyHashable : Any], result: @escaping (_ url: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getLinkPlayEx(station: [Swift.AnyHashable : Any], result: @escaping (_ url: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getLinkPlayEx(episode: [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)
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
@_hasMissingDesignatedInitializers public class M2Setting {
|
@_hasMissingDesignatedInitializers public class M2Setting {
|
||||||
public static var option10: Swift.String {
|
public static var option10: Swift.String {
|
||||||
@ -988,14 +872,13 @@ extension M2Kit.M2Utils {
|
|||||||
@_Concurrency.MainActor public static func randomCode7() -> Swift.String
|
@_Concurrency.MainActor public static func randomCode7() -> Swift.String
|
||||||
@_Concurrency.MainActor public static func randomCode11() -> Swift.String
|
@_Concurrency.MainActor public static func randomCode11() -> Swift.String
|
||||||
}
|
}
|
||||||
|
extension M2Kit.M2Utils {
|
||||||
|
@_Concurrency.MainActor public static func weightedRandom(from items: [Swift.String], weights: [Swift.Int]) -> Swift.String
|
||||||
|
}
|
||||||
@objc @_inheritsConvenienceInitializers @_Concurrency.MainActor public class M2WebVC : UIKit.UIViewController {
|
@objc @_inheritsConvenienceInitializers @_Concurrency.MainActor public class M2WebVC : UIKit.UIViewController {
|
||||||
@_Concurrency.MainActor @objc override dynamic public func viewDidLoad()
|
@_Concurrency.MainActor @objc override dynamic public func viewDidLoad()
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor @objc override dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?)
|
@_Concurrency.MainActor @objc override dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor @objc required dynamic public init?(coder: Foundation.NSCoder)
|
@_Concurrency.MainActor @objc required dynamic public init?(coder: Foundation.NSCoder)
|
||||||
#endif
|
|
||||||
@objc deinit
|
@objc deinit
|
||||||
}
|
}
|
||||||
@_Concurrency.MainActor public struct M2WebView : SwiftUI.UIViewControllerRepresentable {
|
@_Concurrency.MainActor public struct M2WebView : SwiftUI.UIViewControllerRepresentable {
|
||||||
@ -1009,21 +892,15 @@ extension M2Kit.M2Utils {
|
|||||||
public enum M2YTIDType : Swift.String {
|
public enum M2YTIDType : Swift.String {
|
||||||
case video
|
case video
|
||||||
case playlist
|
case playlist
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public init?(rawValue: Swift.String)
|
public init?(rawValue: Swift.String)
|
||||||
#endif
|
|
||||||
public typealias RawValue = Swift.String
|
public typealias RawValue = Swift.String
|
||||||
public var rawValue: Swift.String {
|
public var rawValue: Swift.String {
|
||||||
get
|
get
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@_Concurrency.MainActor public struct M2YT {
|
@_Concurrency.MainActor public struct M2YT {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func extractId(fromUrl: Swift.String) -> (id: Swift.String, type: M2Kit.M2YTIDType)?
|
@_Concurrency.MainActor public static func extractId(fromUrl: Swift.String) -> (id: Swift.String, type: M2Kit.M2YTIDType)?
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getVideosOfPlaylistId(_ playlistId: Swift.String, result: @escaping (_ title: Swift.String?, _ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
@_Concurrency.MainActor public static func getVideosOfPlaylistId(_ playlistId: Swift.String, result: @escaping (_ title: Swift.String?, _ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
extension M2Kit.SwiftyJSONError : Swift.Equatable {}
|
extension M2Kit.SwiftyJSONError : Swift.Equatable {}
|
||||||
extension M2Kit.SwiftyJSONError : Swift.Hashable {}
|
extension M2Kit.SwiftyJSONError : Swift.Hashable {}
|
||||||
@ -1037,6 +914,7 @@ extension M2Kit.M2API : Swift.Sendable {}
|
|||||||
extension M2Kit.M2Backup : Swift.Sendable {}
|
extension M2Kit.M2Backup : Swift.Sendable {}
|
||||||
extension M2Kit.M2Feedback : Swift.Sendable {}
|
extension M2Kit.M2Feedback : Swift.Sendable {}
|
||||||
extension M2Kit.M2HTTP : Swift.Sendable {}
|
extension M2Kit.M2HTTP : Swift.Sendable {}
|
||||||
|
extension M2Kit.M2IAP : Swift.Sendable {}
|
||||||
extension M2Kit.M2Image : Swift.Sendable {}
|
extension M2Kit.M2Image : Swift.Sendable {}
|
||||||
extension M2Kit.M2K : Swift.Sendable {}
|
extension M2Kit.M2K : Swift.Sendable {}
|
||||||
extension M2Kit.M2Log : Swift.Sendable {}
|
extension M2Kit.M2Log : Swift.Sendable {}
|
||||||
|
|||||||
Binary file not shown.
@ -1,7 +1,7 @@
|
|||||||
// swift-interface-format-version: 1.0
|
// swift-interface-format-version: 1.0
|
||||||
// swift-compiler-version: Apple Swift version 6.2.4 effective-5.10 (swiftlang-6.2.4.1.4 clang-1700.6.4.2)
|
// swift-compiler-version: Apple Swift version 6.3 effective-5.10 (swiftlang-6.3.0.123.5 clang-2100.0.123.102)
|
||||||
// swift-module-flags: -target arm64-apple-ios16.0-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name M2Kit
|
// swift-module-flags: -target arm64-apple-ios16.0-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name M2Kit
|
||||||
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.2.4
|
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3
|
||||||
import Combine
|
import Combine
|
||||||
import CommonCrypto
|
import CommonCrypto
|
||||||
import Foundation
|
import Foundation
|
||||||
@ -22,9 +22,7 @@ public enum SwiftyJSONError : Swift.Int, Swift.Error {
|
|||||||
case wrongType
|
case wrongType
|
||||||
case notExist
|
case notExist
|
||||||
case invalidJSON
|
case invalidJSON
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public init?(rawValue: Swift.Int)
|
public init?(rawValue: Swift.Int)
|
||||||
#endif
|
|
||||||
public typealias RawValue = Swift.Int
|
public typealias RawValue = Swift.Int
|
||||||
public var rawValue: Swift.Int {
|
public var rawValue: Swift.Int {
|
||||||
get
|
get
|
||||||
@ -49,9 +47,7 @@ public enum Type : Swift.Int {
|
|||||||
case dictionary
|
case dictionary
|
||||||
case null
|
case null
|
||||||
case unknown
|
case unknown
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public init?(rawValue: Swift.Int)
|
public init?(rawValue: Swift.Int)
|
||||||
#endif
|
|
||||||
public typealias RawValue = Swift.Int
|
public typealias RawValue = Swift.Int
|
||||||
public var rawValue: Swift.Int {
|
public var rawValue: Swift.Int {
|
||||||
get
|
get
|
||||||
@ -164,19 +160,13 @@ extension M2Kit.JSON : Swift.ExpressibleByArrayLiteral {
|
|||||||
public typealias ArrayLiteralElement = Any
|
public typealias ArrayLiteralElement = Any
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON : Swift.RawRepresentable {
|
extension M2Kit.JSON : Swift.RawRepresentable {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public init?(rawValue: Any)
|
public init?(rawValue: Any)
|
||||||
#endif
|
|
||||||
public var rawValue: Any {
|
public var rawValue: Any {
|
||||||
get
|
get
|
||||||
}
|
}
|
||||||
public func rawData(options opt: Foundation.JSONSerialization.WritingOptions = JSONSerialization.WritingOptions(rawValue: 0)) throws -> Foundation.Data
|
public func rawData(options opt: Foundation.JSONSerialization.WritingOptions = JSONSerialization.WritingOptions(rawValue: 0)) throws -> Foundation.Data
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public func rawString(_ encoding: Swift.String.Encoding = .utf8, options opt: Foundation.JSONSerialization.WritingOptions = .prettyPrinted) -> Swift.String?
|
public func rawString(_ encoding: Swift.String.Encoding = .utf8, options opt: Foundation.JSONSerialization.WritingOptions = .prettyPrinted) -> Swift.String?
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public func rawString(_ options: [M2Kit.writingOptionsKeys : Any]) -> Swift.String?
|
public func rawString(_ options: [M2Kit.writingOptionsKeys : Any]) -> Swift.String?
|
||||||
#endif
|
|
||||||
public typealias RawValue = Any
|
public typealias RawValue = Any
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON : Swift.CustomStringConvertible, Swift.CustomDebugStringConvertible {
|
extension M2Kit.JSON : Swift.CustomStringConvertible, Swift.CustomDebugStringConvertible {
|
||||||
@ -188,207 +178,165 @@ extension M2Kit.JSON : Swift.CustomStringConvertible, Swift.CustomDebugStringCon
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON {
|
extension M2Kit.JSON {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var array: [M2Kit.JSON]? {
|
public var array: [M2Kit.JSON]? {
|
||||||
get
|
get
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var arrayValue: [M2Kit.JSON] {
|
public var arrayValue: [M2Kit.JSON] {
|
||||||
get
|
get
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var arrayObject: [Any]? {
|
public var arrayObject: [Any]? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON {
|
extension M2Kit.JSON {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var dictionary: [Swift.String : M2Kit.JSON]? {
|
public var dictionary: [Swift.String : M2Kit.JSON]? {
|
||||||
get
|
get
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var dictionaryValue: [Swift.String : M2Kit.JSON] {
|
public var dictionaryValue: [Swift.String : M2Kit.JSON] {
|
||||||
get
|
get
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var dictionaryObject: [Swift.String : Any]? {
|
public var dictionaryObject: [Swift.String : Any]? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON {
|
extension M2Kit.JSON {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var bool: Swift.Bool? {
|
public var bool: Swift.Bool? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var boolValue: Swift.Bool {
|
public var boolValue: Swift.Bool {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON {
|
extension M2Kit.JSON {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var string: Swift.String? {
|
public var string: Swift.String? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var stringValue: Swift.String {
|
public var stringValue: Swift.String {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON {
|
extension M2Kit.JSON {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var number: Foundation.NSNumber? {
|
public var number: Foundation.NSNumber? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var numberValue: Foundation.NSNumber {
|
public var numberValue: Foundation.NSNumber {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON {
|
extension M2Kit.JSON {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var null: Foundation.NSNull? {
|
public var null: Foundation.NSNull? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public func exists() -> Swift.Bool
|
public func exists() -> Swift.Bool
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON {
|
extension M2Kit.JSON {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var url: Foundation.URL? {
|
public var url: Foundation.URL? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON {
|
extension M2Kit.JSON {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var double: Swift.Double? {
|
public var double: Swift.Double? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var doubleValue: Swift.Double {
|
public var doubleValue: Swift.Double {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var float: Swift.Float? {
|
public var float: Swift.Float? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var floatValue: Swift.Float {
|
public var floatValue: Swift.Float {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var int: Swift.Int? {
|
public var int: Swift.Int? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var intValue: Swift.Int {
|
public var intValue: Swift.Int {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var uInt: Swift.UInt? {
|
public var uInt: Swift.UInt? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var uIntValue: Swift.UInt {
|
public var uIntValue: Swift.UInt {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var int8: Swift.Int8? {
|
public var int8: Swift.Int8? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var int8Value: Swift.Int8 {
|
public var int8Value: Swift.Int8 {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var uInt8: Swift.UInt8? {
|
public var uInt8: Swift.UInt8? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var uInt8Value: Swift.UInt8 {
|
public var uInt8Value: Swift.UInt8 {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var int16: Swift.Int16? {
|
public var int16: Swift.Int16? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var int16Value: Swift.Int16 {
|
public var int16Value: Swift.Int16 {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var uInt16: Swift.UInt16? {
|
public var uInt16: Swift.UInt16? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var uInt16Value: Swift.UInt16 {
|
public var uInt16Value: Swift.UInt16 {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var int32: Swift.Int32? {
|
public var int32: Swift.Int32? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var int32Value: Swift.Int32 {
|
public var int32Value: Swift.Int32 {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var uInt32: Swift.UInt32? {
|
public var uInt32: Swift.UInt32? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var uInt32Value: Swift.UInt32 {
|
public var uInt32Value: Swift.UInt32 {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var int64: Swift.Int64? {
|
public var int64: Swift.Int64? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var int64Value: Swift.Int64 {
|
public var int64Value: Swift.Int64 {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var uInt64: Swift.UInt64? {
|
public var uInt64: Swift.UInt64? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var uInt64Value: Swift.UInt64 {
|
public var uInt64Value: Swift.UInt64 {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
@ -419,25 +367,13 @@ extension M2Kit.JSON : Swift.Codable {
|
|||||||
@_Concurrency.MainActor public struct M2API {
|
@_Concurrency.MainActor public struct M2API {
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func searchVideosEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func searchVideosEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func searchPlaylistsEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ playlists: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func searchPlaylistsEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ playlists: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getVideosOfPlaylistEx(playlistId: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getVideosOfPlaylistEx(playlistId: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func searchChannelsEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ channels: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func searchChannelsEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ channels: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@available(*, deprecated, message: "Use getVideosOfChannelEx(channelId:nextToken:result:) instead.")
|
@available(*, deprecated, message: "Use getVideosOfChannelEx(channelId:nextToken:result:) instead.")
|
||||||
@_Concurrency.MainActor public static func getVideosOfChannelEx(channelName: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getVideosOfChannelEx(channelName: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getVideosOfChannelEx(channelId: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getVideosOfChannelEx(channelId: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
@_Concurrency.MainActor public static func getAllVideosOfPlaylistEx(playlistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
@_Concurrency.MainActor public static func getAllVideosOfPlaylistEx(playlistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
@ -458,15 +394,11 @@ extension M2Kit.M2API {
|
|||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
@_Concurrency.MainActor public static func autocompleteSearchEx(_ text: Swift.String, result: @escaping (_ listSuggestion: [Swift.String]) -> Swift.Void)
|
@_Concurrency.MainActor public static func autocompleteSearchEx(_ text: Swift.String, result: @escaping (_ listSuggestion: [Swift.String]) -> Swift.Void)
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getLocationEx(result: @escaping (_ countryCode: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getLocationEx(result: @escaping (_ countryCode: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
@_Concurrency.MainActor public static func getTrendingSearchEx(result: @escaping (_ titles: [Swift.String]) -> Swift.Void)
|
@_Concurrency.MainActor public static func getTrendingSearchEx(result: @escaping (_ titles: [Swift.String]) -> Swift.Void)
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getLinkPlayEx(videoId: Swift.String, result: @escaping (_ videoUrl: Foundation.URL?, _ videoId: Swift.String, _ metadata: [Swift.AnyHashable : Any]?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getLinkPlayEx(videoId: Swift.String, result: @escaping (_ videoUrl: Foundation.URL?, _ videoId: Swift.String, _ metadata: [Swift.AnyHashable : Any]?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
@_Concurrency.MainActor public static func kworbMusicVideoWWEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
@_Concurrency.MainActor public static func kworbMusicVideoWWEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
@ -486,25 +418,13 @@ extension M2Kit.M2API {
|
|||||||
@_Concurrency.MainActor public static func ytArtistDetailEx(artistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
@_Concurrency.MainActor public static func ytArtistDetailEx(artistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 searchVideos(title: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 searchPlaylists(title: Swift.String, nextToken: Swift.String?) async -> (playlists: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 getVideosOfPlaylist(playlistId: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 searchChannels(title: Swift.String, nextToken: Swift.String?) async -> (channels: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@available(*, deprecated, message: "Use getVideosOfChannel(channelId:nextToken:) instead.")
|
@available(*, deprecated, message: "Use getVideosOfChannel(channelId:nextToken:) instead.")
|
||||||
@_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 getVideosOfChannel(channelName: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getVideosOfChannel(channelId: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
@_Concurrency.MainActor public static func getVideosOfChannel(channelId: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||||
#endif
|
|
||||||
@_Concurrency.MainActor public static func getAllVideosOfPlaylist(_ playlistId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
@_Concurrency.MainActor public static func getAllVideosOfPlaylist(_ playlistId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
@ -525,15 +445,11 @@ extension M2Kit.M2API {
|
|||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
@_Concurrency.MainActor public static func autocompleteSearch(_ text: Swift.String) async -> [Swift.String]
|
@_Concurrency.MainActor public static func autocompleteSearch(_ text: Swift.String) async -> [Swift.String]
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getLocation() async -> Swift.String?
|
@_Concurrency.MainActor public static func getLocation() async -> Swift.String?
|
||||||
#endif
|
|
||||||
@_Concurrency.MainActor public static func getTrendingSearch() async -> [Swift.String]
|
@_Concurrency.MainActor public static func getTrendingSearch() async -> [Swift.String]
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getLinkPlay(videoId: Swift.String) async -> (videoUrl: Foundation.URL?, videoId: Swift.String, metadata: [Swift.AnyHashable : Any]?)
|
@_Concurrency.MainActor public static func getLinkPlay(videoId: Swift.String) async -> (videoUrl: Foundation.URL?, videoId: Swift.String, metadata: [Swift.AnyHashable : Any]?)
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
@_Concurrency.MainActor public static func kworbMusicVideoWW() async -> [[Swift.AnyHashable : Any]]
|
@_Concurrency.MainActor public static func kworbMusicVideoWW() async -> [[Swift.AnyHashable : Any]]
|
||||||
@ -556,24 +472,12 @@ extension M2Kit.M2API {
|
|||||||
@_Concurrency.MainActor public static var backupCode: Swift.String {
|
@_Concurrency.MainActor public static var backupCode: Swift.String {
|
||||||
get
|
get
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func uploadBackup(code: Swift.String, data: Foundation.Data, result: @escaping (_ url: Swift.String?, _ version: Swift.Int) -> Swift.Void)
|
@_Concurrency.MainActor public static func uploadBackup(code: Swift.String, data: Foundation.Data, result: @escaping (_ url: Swift.String?, _ version: Swift.Int) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getBackup(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getBackup(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getBackupVersion(code: Swift.String, result: @escaping (_ num: Swift.Int?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getBackupVersion(code: Swift.String, result: @escaping (_ num: Swift.Int?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getBackupVersions(codes: [Swift.String], result: @escaping (_ results: [Swift.String : Swift.Int?]) -> Swift.Void)
|
@_Concurrency.MainActor public static func getBackupVersions(codes: [Swift.String], result: @escaping (_ results: [Swift.String : Swift.Int?]) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func uploadBackupPlaylist(code: Swift.String, data: Foundation.Data, result: @escaping (_ url: Swift.String?, _ version: Swift.Int) -> Swift.Void)
|
@_Concurrency.MainActor public static func uploadBackupPlaylist(code: Swift.String, data: Foundation.Data, result: @escaping (_ url: Swift.String?, _ version: Swift.Int) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getBackupPlaylist(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getBackupPlaylist(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
public let m2Version: Swift.String
|
public let m2Version: Swift.String
|
||||||
@_Concurrency.MainActor public func setServiceType(_ type: Swift.String)
|
@_Concurrency.MainActor public func setServiceType(_ type: Swift.String)
|
||||||
@ -582,26 +486,30 @@ public let m2Version: Swift.String
|
|||||||
@_Concurrency.MainActor public static func sendFeedback(content: Swift.String, result: @escaping (_ isOK: Swift.Bool) -> Swift.Void)
|
@_Concurrency.MainActor public static func sendFeedback(content: Swift.String, result: @escaping (_ isOK: Swift.Bool) -> Swift.Void)
|
||||||
}
|
}
|
||||||
@_Concurrency.MainActor public struct M2HTTP {
|
@_Concurrency.MainActor public struct M2HTTP {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getDataEx(url: Foundation.URL, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getDataEx(url: Foundation.URL, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getData(url: Foundation.URL) async -> Foundation.Data?
|
@_Concurrency.MainActor public static func getData(url: Foundation.URL) async -> Foundation.Data?
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getImageDataEx(url: Foundation.URL, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getImageDataEx(url: Foundation.URL, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getImageData(url: Foundation.URL) async -> Foundation.Data?
|
@_Concurrency.MainActor public static func getImageData(url: Foundation.URL) async -> Foundation.Data?
|
||||||
#endif
|
}
|
||||||
|
@_Concurrency.MainActor public struct M2IAP {
|
||||||
|
@_Concurrency.MainActor public static let IAPPurchasedSuccessNotification: Foundation.Notification.Name
|
||||||
|
@_Concurrency.MainActor public static let IAPPurchasedFailNotification: Foundation.Notification.Name
|
||||||
|
@_Concurrency.MainActor public static let IAPProductStatusUpdatedNotification: Foundation.Notification.Name
|
||||||
|
@_Concurrency.MainActor public static let IAPProductsAvailableChangedNotification: Foundation.Notification.Name
|
||||||
|
@_Concurrency.MainActor public static func setup(iapId: Swift.String)
|
||||||
|
@_Concurrency.MainActor public static var isProVersion: Swift.Bool {
|
||||||
|
get
|
||||||
|
}
|
||||||
|
@_Concurrency.MainActor public static var priceProVersion: Swift.String? {
|
||||||
|
get
|
||||||
|
}
|
||||||
|
@_Concurrency.MainActor public static func fetch()
|
||||||
|
@_Concurrency.MainActor public static func purchaseProVersion()
|
||||||
|
@_Concurrency.MainActor public static func restorePurchase()
|
||||||
}
|
}
|
||||||
@_Concurrency.MainActor public struct M2Image {
|
@_Concurrency.MainActor public struct M2Image {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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, result: @escaping (_ url: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func uploadImage(_ image: UIKit.UIImage) async -> Swift.String?
|
@_Concurrency.MainActor public static func uploadImage(_ image: UIKit.UIImage) async -> Swift.String?
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
@_Concurrency.MainActor public struct M2K {
|
@_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)
|
@_Concurrency.MainActor public static func start(c: Swift.String = "", t: Swift.String = "", d: Swift.Int = 0, result: @escaping () -> Swift.Void)
|
||||||
@ -612,9 +520,7 @@ public let m2Version: Swift.String
|
|||||||
@_Concurrency.MainActor public static func sendAllEvents(result: @escaping (_ isOK: Swift.Bool) -> Swift.Void)
|
@_Concurrency.MainActor public static func sendAllEvents(result: @escaping (_ isOK: Swift.Bool) -> Swift.Void)
|
||||||
}
|
}
|
||||||
@_Concurrency.MainActor public struct M2Musi {
|
@_Concurrency.MainActor public struct M2Musi {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getVideosOfPlaylistWithCode(_ code: Swift.String, result: @escaping (_ title: Swift.String?, _ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
@_Concurrency.MainActor public static func getVideosOfPlaylistWithCode(_ code: Swift.String, result: @escaping (_ title: Swift.String?, _ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
public enum M2NetConnecttionType {
|
public enum M2NetConnecttionType {
|
||||||
case wifi
|
case wifi
|
||||||
@ -646,45 +552,23 @@ extension M2Kit.M2Radio {
|
|||||||
@_Concurrency.MainActor public static func getCurrentRadioCountryCode() -> Swift.String
|
@_Concurrency.MainActor public static func getCurrentRadioCountryCode() -> Swift.String
|
||||||
}
|
}
|
||||||
extension M2Kit.M2Radio {
|
extension M2Kit.M2Radio {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 searchStationsEx(title: Swift.String, token: Swift.String?, result: @escaping (_ stations: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 topStationsEx(token: Swift.String?, result: @escaping (_ stations: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
@_Concurrency.MainActor public static func listGenresForRadioEx(result: @escaping (_ genres: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
@_Concurrency.MainActor public static func listGenresForRadioEx(result: @escaping (_ genres: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 listStationsByGenresEx(genre: [Swift.AnyHashable : Any], token: Swift.String?, result: @escaping (_ stations: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func stationInfoEx(station: [Swift.AnyHashable : Any], result: @escaping (_ info: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func stationInfoEx(station: [Swift.AnyHashable : Any], result: @escaping (_ info: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
extension M2Kit.M2Radio {
|
extension M2Kit.M2Radio {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 searchPodcastsEx(title: Swift.String, token: Swift.String?, result: @escaping (_ podcasts: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 listEpisodesOfPodcastEx(podcast: [Swift.AnyHashable : Any], token: Swift.String?, result: @escaping (_ episodes: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 topPodcastsEx(token: Swift.String?, result: @escaping (_ podcasts: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
@_Concurrency.MainActor public static func listGenresForPodcastEx(result: @escaping (_ genres: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
@_Concurrency.MainActor public static func listGenresForPodcastEx(result: @escaping (_ genres: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 listPodcastsByGenreEx(genre: [Swift.AnyHashable : Any], token: Swift.String?, result: @escaping (_ podcasts: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func podcastInfoEx(podcast: [Swift.AnyHashable : Any], result: @escaping (_ info: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func podcastInfoEx(podcast: [Swift.AnyHashable : Any], result: @escaping (_ info: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
extension M2Kit.M2Radio {
|
extension M2Kit.M2Radio {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getLinkPlayEx(station: [Swift.AnyHashable : Any], result: @escaping (_ url: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getLinkPlayEx(station: [Swift.AnyHashable : Any], result: @escaping (_ url: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getLinkPlayEx(episode: [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)
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
@_hasMissingDesignatedInitializers public class M2Setting {
|
@_hasMissingDesignatedInitializers public class M2Setting {
|
||||||
public static var option10: Swift.String {
|
public static var option10: Swift.String {
|
||||||
@ -988,14 +872,13 @@ extension M2Kit.M2Utils {
|
|||||||
@_Concurrency.MainActor public static func randomCode7() -> Swift.String
|
@_Concurrency.MainActor public static func randomCode7() -> Swift.String
|
||||||
@_Concurrency.MainActor public static func randomCode11() -> Swift.String
|
@_Concurrency.MainActor public static func randomCode11() -> Swift.String
|
||||||
}
|
}
|
||||||
|
extension M2Kit.M2Utils {
|
||||||
|
@_Concurrency.MainActor public static func weightedRandom(from items: [Swift.String], weights: [Swift.Int]) -> Swift.String
|
||||||
|
}
|
||||||
@objc @_inheritsConvenienceInitializers @_Concurrency.MainActor public class M2WebVC : UIKit.UIViewController {
|
@objc @_inheritsConvenienceInitializers @_Concurrency.MainActor public class M2WebVC : UIKit.UIViewController {
|
||||||
@_Concurrency.MainActor @objc override dynamic public func viewDidLoad()
|
@_Concurrency.MainActor @objc override dynamic public func viewDidLoad()
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor @objc override dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?)
|
@_Concurrency.MainActor @objc override dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor @objc required dynamic public init?(coder: Foundation.NSCoder)
|
@_Concurrency.MainActor @objc required dynamic public init?(coder: Foundation.NSCoder)
|
||||||
#endif
|
|
||||||
@objc deinit
|
@objc deinit
|
||||||
}
|
}
|
||||||
@_Concurrency.MainActor public struct M2WebView : SwiftUI.UIViewControllerRepresentable {
|
@_Concurrency.MainActor public struct M2WebView : SwiftUI.UIViewControllerRepresentable {
|
||||||
@ -1009,21 +892,15 @@ extension M2Kit.M2Utils {
|
|||||||
public enum M2YTIDType : Swift.String {
|
public enum M2YTIDType : Swift.String {
|
||||||
case video
|
case video
|
||||||
case playlist
|
case playlist
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public init?(rawValue: Swift.String)
|
public init?(rawValue: Swift.String)
|
||||||
#endif
|
|
||||||
public typealias RawValue = Swift.String
|
public typealias RawValue = Swift.String
|
||||||
public var rawValue: Swift.String {
|
public var rawValue: Swift.String {
|
||||||
get
|
get
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@_Concurrency.MainActor public struct M2YT {
|
@_Concurrency.MainActor public struct M2YT {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func extractId(fromUrl: Swift.String) -> (id: Swift.String, type: M2Kit.M2YTIDType)?
|
@_Concurrency.MainActor public static func extractId(fromUrl: Swift.String) -> (id: Swift.String, type: M2Kit.M2YTIDType)?
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getVideosOfPlaylistId(_ playlistId: Swift.String, result: @escaping (_ title: Swift.String?, _ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
@_Concurrency.MainActor public static func getVideosOfPlaylistId(_ playlistId: Swift.String, result: @escaping (_ title: Swift.String?, _ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
extension M2Kit.SwiftyJSONError : Swift.Equatable {}
|
extension M2Kit.SwiftyJSONError : Swift.Equatable {}
|
||||||
extension M2Kit.SwiftyJSONError : Swift.Hashable {}
|
extension M2Kit.SwiftyJSONError : Swift.Hashable {}
|
||||||
@ -1037,6 +914,7 @@ extension M2Kit.M2API : Swift.Sendable {}
|
|||||||
extension M2Kit.M2Backup : Swift.Sendable {}
|
extension M2Kit.M2Backup : Swift.Sendable {}
|
||||||
extension M2Kit.M2Feedback : Swift.Sendable {}
|
extension M2Kit.M2Feedback : Swift.Sendable {}
|
||||||
extension M2Kit.M2HTTP : Swift.Sendable {}
|
extension M2Kit.M2HTTP : Swift.Sendable {}
|
||||||
|
extension M2Kit.M2IAP : Swift.Sendable {}
|
||||||
extension M2Kit.M2Image : Swift.Sendable {}
|
extension M2Kit.M2Image : Swift.Sendable {}
|
||||||
extension M2Kit.M2K : Swift.Sendable {}
|
extension M2Kit.M2K : Swift.Sendable {}
|
||||||
extension M2Kit.M2Log : Swift.Sendable {}
|
extension M2Kit.M2Log : Swift.Sendable {}
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@ -1,7 +1,7 @@
|
|||||||
// swift-interface-format-version: 1.0
|
// swift-interface-format-version: 1.0
|
||||||
// swift-compiler-version: Apple Swift version 6.2.4 effective-5.10 (swiftlang-6.2.4.1.4 clang-1700.6.4.2)
|
// swift-compiler-version: Apple Swift version 6.3 effective-5.10 (swiftlang-6.3.0.123.5 clang-2100.0.123.102)
|
||||||
// swift-module-flags: -target x86_64-apple-ios16.0-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name M2Kit
|
// swift-module-flags: -target x86_64-apple-ios16.0-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name M2Kit
|
||||||
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.2.4
|
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3
|
||||||
import Combine
|
import Combine
|
||||||
import CommonCrypto
|
import CommonCrypto
|
||||||
import Foundation
|
import Foundation
|
||||||
@ -22,9 +22,7 @@ public enum SwiftyJSONError : Swift.Int, Swift.Error {
|
|||||||
case wrongType
|
case wrongType
|
||||||
case notExist
|
case notExist
|
||||||
case invalidJSON
|
case invalidJSON
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public init?(rawValue: Swift.Int)
|
public init?(rawValue: Swift.Int)
|
||||||
#endif
|
|
||||||
public typealias RawValue = Swift.Int
|
public typealias RawValue = Swift.Int
|
||||||
public var rawValue: Swift.Int {
|
public var rawValue: Swift.Int {
|
||||||
get
|
get
|
||||||
@ -49,9 +47,7 @@ public enum Type : Swift.Int {
|
|||||||
case dictionary
|
case dictionary
|
||||||
case null
|
case null
|
||||||
case unknown
|
case unknown
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public init?(rawValue: Swift.Int)
|
public init?(rawValue: Swift.Int)
|
||||||
#endif
|
|
||||||
public typealias RawValue = Swift.Int
|
public typealias RawValue = Swift.Int
|
||||||
public var rawValue: Swift.Int {
|
public var rawValue: Swift.Int {
|
||||||
get
|
get
|
||||||
@ -164,19 +160,13 @@ extension M2Kit.JSON : Swift.ExpressibleByArrayLiteral {
|
|||||||
public typealias ArrayLiteralElement = Any
|
public typealias ArrayLiteralElement = Any
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON : Swift.RawRepresentable {
|
extension M2Kit.JSON : Swift.RawRepresentable {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public init?(rawValue: Any)
|
public init?(rawValue: Any)
|
||||||
#endif
|
|
||||||
public var rawValue: Any {
|
public var rawValue: Any {
|
||||||
get
|
get
|
||||||
}
|
}
|
||||||
public func rawData(options opt: Foundation.JSONSerialization.WritingOptions = JSONSerialization.WritingOptions(rawValue: 0)) throws -> Foundation.Data
|
public func rawData(options opt: Foundation.JSONSerialization.WritingOptions = JSONSerialization.WritingOptions(rawValue: 0)) throws -> Foundation.Data
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public func rawString(_ encoding: Swift.String.Encoding = .utf8, options opt: Foundation.JSONSerialization.WritingOptions = .prettyPrinted) -> Swift.String?
|
public func rawString(_ encoding: Swift.String.Encoding = .utf8, options opt: Foundation.JSONSerialization.WritingOptions = .prettyPrinted) -> Swift.String?
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public func rawString(_ options: [M2Kit.writingOptionsKeys : Any]) -> Swift.String?
|
public func rawString(_ options: [M2Kit.writingOptionsKeys : Any]) -> Swift.String?
|
||||||
#endif
|
|
||||||
public typealias RawValue = Any
|
public typealias RawValue = Any
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON : Swift.CustomStringConvertible, Swift.CustomDebugStringConvertible {
|
extension M2Kit.JSON : Swift.CustomStringConvertible, Swift.CustomDebugStringConvertible {
|
||||||
@ -188,207 +178,165 @@ extension M2Kit.JSON : Swift.CustomStringConvertible, Swift.CustomDebugStringCon
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON {
|
extension M2Kit.JSON {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var array: [M2Kit.JSON]? {
|
public var array: [M2Kit.JSON]? {
|
||||||
get
|
get
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var arrayValue: [M2Kit.JSON] {
|
public var arrayValue: [M2Kit.JSON] {
|
||||||
get
|
get
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var arrayObject: [Any]? {
|
public var arrayObject: [Any]? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON {
|
extension M2Kit.JSON {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var dictionary: [Swift.String : M2Kit.JSON]? {
|
public var dictionary: [Swift.String : M2Kit.JSON]? {
|
||||||
get
|
get
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var dictionaryValue: [Swift.String : M2Kit.JSON] {
|
public var dictionaryValue: [Swift.String : M2Kit.JSON] {
|
||||||
get
|
get
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var dictionaryObject: [Swift.String : Any]? {
|
public var dictionaryObject: [Swift.String : Any]? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON {
|
extension M2Kit.JSON {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var bool: Swift.Bool? {
|
public var bool: Swift.Bool? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var boolValue: Swift.Bool {
|
public var boolValue: Swift.Bool {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON {
|
extension M2Kit.JSON {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var string: Swift.String? {
|
public var string: Swift.String? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var stringValue: Swift.String {
|
public var stringValue: Swift.String {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON {
|
extension M2Kit.JSON {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var number: Foundation.NSNumber? {
|
public var number: Foundation.NSNumber? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var numberValue: Foundation.NSNumber {
|
public var numberValue: Foundation.NSNumber {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON {
|
extension M2Kit.JSON {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var null: Foundation.NSNull? {
|
public var null: Foundation.NSNull? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public func exists() -> Swift.Bool
|
public func exists() -> Swift.Bool
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON {
|
extension M2Kit.JSON {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var url: Foundation.URL? {
|
public var url: Foundation.URL? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON {
|
extension M2Kit.JSON {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var double: Swift.Double? {
|
public var double: Swift.Double? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var doubleValue: Swift.Double {
|
public var doubleValue: Swift.Double {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var float: Swift.Float? {
|
public var float: Swift.Float? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var floatValue: Swift.Float {
|
public var floatValue: Swift.Float {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var int: Swift.Int? {
|
public var int: Swift.Int? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var intValue: Swift.Int {
|
public var intValue: Swift.Int {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var uInt: Swift.UInt? {
|
public var uInt: Swift.UInt? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var uIntValue: Swift.UInt {
|
public var uIntValue: Swift.UInt {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var int8: Swift.Int8? {
|
public var int8: Swift.Int8? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var int8Value: Swift.Int8 {
|
public var int8Value: Swift.Int8 {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var uInt8: Swift.UInt8? {
|
public var uInt8: Swift.UInt8? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var uInt8Value: Swift.UInt8 {
|
public var uInt8Value: Swift.UInt8 {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var int16: Swift.Int16? {
|
public var int16: Swift.Int16? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var int16Value: Swift.Int16 {
|
public var int16Value: Swift.Int16 {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var uInt16: Swift.UInt16? {
|
public var uInt16: Swift.UInt16? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var uInt16Value: Swift.UInt16 {
|
public var uInt16Value: Swift.UInt16 {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var int32: Swift.Int32? {
|
public var int32: Swift.Int32? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var int32Value: Swift.Int32 {
|
public var int32Value: Swift.Int32 {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var uInt32: Swift.UInt32? {
|
public var uInt32: Swift.UInt32? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var uInt32Value: Swift.UInt32 {
|
public var uInt32Value: Swift.UInt32 {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var int64: Swift.Int64? {
|
public var int64: Swift.Int64? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var int64Value: Swift.Int64 {
|
public var int64Value: Swift.Int64 {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var uInt64: Swift.UInt64? {
|
public var uInt64: Swift.UInt64? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var uInt64Value: Swift.UInt64 {
|
public var uInt64Value: Swift.UInt64 {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
@ -419,25 +367,13 @@ extension M2Kit.JSON : Swift.Codable {
|
|||||||
@_Concurrency.MainActor public struct M2API {
|
@_Concurrency.MainActor public struct M2API {
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func searchVideosEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func searchVideosEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func searchPlaylistsEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ playlists: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func searchPlaylistsEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ playlists: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getVideosOfPlaylistEx(playlistId: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getVideosOfPlaylistEx(playlistId: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func searchChannelsEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ channels: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func searchChannelsEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ channels: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@available(*, deprecated, message: "Use getVideosOfChannelEx(channelId:nextToken:result:) instead.")
|
@available(*, deprecated, message: "Use getVideosOfChannelEx(channelId:nextToken:result:) instead.")
|
||||||
@_Concurrency.MainActor public static func getVideosOfChannelEx(channelName: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getVideosOfChannelEx(channelName: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getVideosOfChannelEx(channelId: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getVideosOfChannelEx(channelId: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
@_Concurrency.MainActor public static func getAllVideosOfPlaylistEx(playlistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
@_Concurrency.MainActor public static func getAllVideosOfPlaylistEx(playlistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
@ -458,15 +394,11 @@ extension M2Kit.M2API {
|
|||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
@_Concurrency.MainActor public static func autocompleteSearchEx(_ text: Swift.String, result: @escaping (_ listSuggestion: [Swift.String]) -> Swift.Void)
|
@_Concurrency.MainActor public static func autocompleteSearchEx(_ text: Swift.String, result: @escaping (_ listSuggestion: [Swift.String]) -> Swift.Void)
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getLocationEx(result: @escaping (_ countryCode: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getLocationEx(result: @escaping (_ countryCode: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
@_Concurrency.MainActor public static func getTrendingSearchEx(result: @escaping (_ titles: [Swift.String]) -> Swift.Void)
|
@_Concurrency.MainActor public static func getTrendingSearchEx(result: @escaping (_ titles: [Swift.String]) -> Swift.Void)
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getLinkPlayEx(videoId: Swift.String, result: @escaping (_ videoUrl: Foundation.URL?, _ videoId: Swift.String, _ metadata: [Swift.AnyHashable : Any]?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getLinkPlayEx(videoId: Swift.String, result: @escaping (_ videoUrl: Foundation.URL?, _ videoId: Swift.String, _ metadata: [Swift.AnyHashable : Any]?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
@_Concurrency.MainActor public static func kworbMusicVideoWWEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
@_Concurrency.MainActor public static func kworbMusicVideoWWEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
@ -486,25 +418,13 @@ extension M2Kit.M2API {
|
|||||||
@_Concurrency.MainActor public static func ytArtistDetailEx(artistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
@_Concurrency.MainActor public static func ytArtistDetailEx(artistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 searchVideos(title: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 searchPlaylists(title: Swift.String, nextToken: Swift.String?) async -> (playlists: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 getVideosOfPlaylist(playlistId: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 searchChannels(title: Swift.String, nextToken: Swift.String?) async -> (channels: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@available(*, deprecated, message: "Use getVideosOfChannel(channelId:nextToken:) instead.")
|
@available(*, deprecated, message: "Use getVideosOfChannel(channelId:nextToken:) instead.")
|
||||||
@_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 getVideosOfChannel(channelName: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getVideosOfChannel(channelId: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
@_Concurrency.MainActor public static func getVideosOfChannel(channelId: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||||
#endif
|
|
||||||
@_Concurrency.MainActor public static func getAllVideosOfPlaylist(_ playlistId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
@_Concurrency.MainActor public static func getAllVideosOfPlaylist(_ playlistId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
@ -525,15 +445,11 @@ extension M2Kit.M2API {
|
|||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
@_Concurrency.MainActor public static func autocompleteSearch(_ text: Swift.String) async -> [Swift.String]
|
@_Concurrency.MainActor public static func autocompleteSearch(_ text: Swift.String) async -> [Swift.String]
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getLocation() async -> Swift.String?
|
@_Concurrency.MainActor public static func getLocation() async -> Swift.String?
|
||||||
#endif
|
|
||||||
@_Concurrency.MainActor public static func getTrendingSearch() async -> [Swift.String]
|
@_Concurrency.MainActor public static func getTrendingSearch() async -> [Swift.String]
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getLinkPlay(videoId: Swift.String) async -> (videoUrl: Foundation.URL?, videoId: Swift.String, metadata: [Swift.AnyHashable : Any]?)
|
@_Concurrency.MainActor public static func getLinkPlay(videoId: Swift.String) async -> (videoUrl: Foundation.URL?, videoId: Swift.String, metadata: [Swift.AnyHashable : Any]?)
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
@_Concurrency.MainActor public static func kworbMusicVideoWW() async -> [[Swift.AnyHashable : Any]]
|
@_Concurrency.MainActor public static func kworbMusicVideoWW() async -> [[Swift.AnyHashable : Any]]
|
||||||
@ -556,24 +472,12 @@ extension M2Kit.M2API {
|
|||||||
@_Concurrency.MainActor public static var backupCode: Swift.String {
|
@_Concurrency.MainActor public static var backupCode: Swift.String {
|
||||||
get
|
get
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func uploadBackup(code: Swift.String, data: Foundation.Data, result: @escaping (_ url: Swift.String?, _ version: Swift.Int) -> Swift.Void)
|
@_Concurrency.MainActor public static func uploadBackup(code: Swift.String, data: Foundation.Data, result: @escaping (_ url: Swift.String?, _ version: Swift.Int) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getBackup(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getBackup(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getBackupVersion(code: Swift.String, result: @escaping (_ num: Swift.Int?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getBackupVersion(code: Swift.String, result: @escaping (_ num: Swift.Int?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getBackupVersions(codes: [Swift.String], result: @escaping (_ results: [Swift.String : Swift.Int?]) -> Swift.Void)
|
@_Concurrency.MainActor public static func getBackupVersions(codes: [Swift.String], result: @escaping (_ results: [Swift.String : Swift.Int?]) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func uploadBackupPlaylist(code: Swift.String, data: Foundation.Data, result: @escaping (_ url: Swift.String?, _ version: Swift.Int) -> Swift.Void)
|
@_Concurrency.MainActor public static func uploadBackupPlaylist(code: Swift.String, data: Foundation.Data, result: @escaping (_ url: Swift.String?, _ version: Swift.Int) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getBackupPlaylist(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getBackupPlaylist(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
public let m2Version: Swift.String
|
public let m2Version: Swift.String
|
||||||
@_Concurrency.MainActor public func setServiceType(_ type: Swift.String)
|
@_Concurrency.MainActor public func setServiceType(_ type: Swift.String)
|
||||||
@ -582,26 +486,30 @@ public let m2Version: Swift.String
|
|||||||
@_Concurrency.MainActor public static func sendFeedback(content: Swift.String, result: @escaping (_ isOK: Swift.Bool) -> Swift.Void)
|
@_Concurrency.MainActor public static func sendFeedback(content: Swift.String, result: @escaping (_ isOK: Swift.Bool) -> Swift.Void)
|
||||||
}
|
}
|
||||||
@_Concurrency.MainActor public struct M2HTTP {
|
@_Concurrency.MainActor public struct M2HTTP {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getDataEx(url: Foundation.URL, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getDataEx(url: Foundation.URL, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getData(url: Foundation.URL) async -> Foundation.Data?
|
@_Concurrency.MainActor public static func getData(url: Foundation.URL) async -> Foundation.Data?
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getImageDataEx(url: Foundation.URL, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getImageDataEx(url: Foundation.URL, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getImageData(url: Foundation.URL) async -> Foundation.Data?
|
@_Concurrency.MainActor public static func getImageData(url: Foundation.URL) async -> Foundation.Data?
|
||||||
#endif
|
}
|
||||||
|
@_Concurrency.MainActor public struct M2IAP {
|
||||||
|
@_Concurrency.MainActor public static let IAPPurchasedSuccessNotification: Foundation.Notification.Name
|
||||||
|
@_Concurrency.MainActor public static let IAPPurchasedFailNotification: Foundation.Notification.Name
|
||||||
|
@_Concurrency.MainActor public static let IAPProductStatusUpdatedNotification: Foundation.Notification.Name
|
||||||
|
@_Concurrency.MainActor public static let IAPProductsAvailableChangedNotification: Foundation.Notification.Name
|
||||||
|
@_Concurrency.MainActor public static func setup(iapId: Swift.String)
|
||||||
|
@_Concurrency.MainActor public static var isProVersion: Swift.Bool {
|
||||||
|
get
|
||||||
|
}
|
||||||
|
@_Concurrency.MainActor public static var priceProVersion: Swift.String? {
|
||||||
|
get
|
||||||
|
}
|
||||||
|
@_Concurrency.MainActor public static func fetch()
|
||||||
|
@_Concurrency.MainActor public static func purchaseProVersion()
|
||||||
|
@_Concurrency.MainActor public static func restorePurchase()
|
||||||
}
|
}
|
||||||
@_Concurrency.MainActor public struct M2Image {
|
@_Concurrency.MainActor public struct M2Image {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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, result: @escaping (_ url: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func uploadImage(_ image: UIKit.UIImage) async -> Swift.String?
|
@_Concurrency.MainActor public static func uploadImage(_ image: UIKit.UIImage) async -> Swift.String?
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
@_Concurrency.MainActor public struct M2K {
|
@_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)
|
@_Concurrency.MainActor public static func start(c: Swift.String = "", t: Swift.String = "", d: Swift.Int = 0, result: @escaping () -> Swift.Void)
|
||||||
@ -612,9 +520,7 @@ public let m2Version: Swift.String
|
|||||||
@_Concurrency.MainActor public static func sendAllEvents(result: @escaping (_ isOK: Swift.Bool) -> Swift.Void)
|
@_Concurrency.MainActor public static func sendAllEvents(result: @escaping (_ isOK: Swift.Bool) -> Swift.Void)
|
||||||
}
|
}
|
||||||
@_Concurrency.MainActor public struct M2Musi {
|
@_Concurrency.MainActor public struct M2Musi {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getVideosOfPlaylistWithCode(_ code: Swift.String, result: @escaping (_ title: Swift.String?, _ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
@_Concurrency.MainActor public static func getVideosOfPlaylistWithCode(_ code: Swift.String, result: @escaping (_ title: Swift.String?, _ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
public enum M2NetConnecttionType {
|
public enum M2NetConnecttionType {
|
||||||
case wifi
|
case wifi
|
||||||
@ -646,45 +552,23 @@ extension M2Kit.M2Radio {
|
|||||||
@_Concurrency.MainActor public static func getCurrentRadioCountryCode() -> Swift.String
|
@_Concurrency.MainActor public static func getCurrentRadioCountryCode() -> Swift.String
|
||||||
}
|
}
|
||||||
extension M2Kit.M2Radio {
|
extension M2Kit.M2Radio {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 searchStationsEx(title: Swift.String, token: Swift.String?, result: @escaping (_ stations: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 topStationsEx(token: Swift.String?, result: @escaping (_ stations: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
@_Concurrency.MainActor public static func listGenresForRadioEx(result: @escaping (_ genres: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
@_Concurrency.MainActor public static func listGenresForRadioEx(result: @escaping (_ genres: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 listStationsByGenresEx(genre: [Swift.AnyHashable : Any], token: Swift.String?, result: @escaping (_ stations: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func stationInfoEx(station: [Swift.AnyHashable : Any], result: @escaping (_ info: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func stationInfoEx(station: [Swift.AnyHashable : Any], result: @escaping (_ info: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
extension M2Kit.M2Radio {
|
extension M2Kit.M2Radio {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 searchPodcastsEx(title: Swift.String, token: Swift.String?, result: @escaping (_ podcasts: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 listEpisodesOfPodcastEx(podcast: [Swift.AnyHashable : Any], token: Swift.String?, result: @escaping (_ episodes: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 topPodcastsEx(token: Swift.String?, result: @escaping (_ podcasts: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
@_Concurrency.MainActor public static func listGenresForPodcastEx(result: @escaping (_ genres: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
@_Concurrency.MainActor public static func listGenresForPodcastEx(result: @escaping (_ genres: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 listPodcastsByGenreEx(genre: [Swift.AnyHashable : Any], token: Swift.String?, result: @escaping (_ podcasts: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func podcastInfoEx(podcast: [Swift.AnyHashable : Any], result: @escaping (_ info: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func podcastInfoEx(podcast: [Swift.AnyHashable : Any], result: @escaping (_ info: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
extension M2Kit.M2Radio {
|
extension M2Kit.M2Radio {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getLinkPlayEx(station: [Swift.AnyHashable : Any], result: @escaping (_ url: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getLinkPlayEx(station: [Swift.AnyHashable : Any], result: @escaping (_ url: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getLinkPlayEx(episode: [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)
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
@_hasMissingDesignatedInitializers public class M2Setting {
|
@_hasMissingDesignatedInitializers public class M2Setting {
|
||||||
public static var option10: Swift.String {
|
public static var option10: Swift.String {
|
||||||
@ -988,14 +872,13 @@ extension M2Kit.M2Utils {
|
|||||||
@_Concurrency.MainActor public static func randomCode7() -> Swift.String
|
@_Concurrency.MainActor public static func randomCode7() -> Swift.String
|
||||||
@_Concurrency.MainActor public static func randomCode11() -> Swift.String
|
@_Concurrency.MainActor public static func randomCode11() -> Swift.String
|
||||||
}
|
}
|
||||||
|
extension M2Kit.M2Utils {
|
||||||
|
@_Concurrency.MainActor public static func weightedRandom(from items: [Swift.String], weights: [Swift.Int]) -> Swift.String
|
||||||
|
}
|
||||||
@objc @_inheritsConvenienceInitializers @_Concurrency.MainActor public class M2WebVC : UIKit.UIViewController {
|
@objc @_inheritsConvenienceInitializers @_Concurrency.MainActor public class M2WebVC : UIKit.UIViewController {
|
||||||
@_Concurrency.MainActor @objc override dynamic public func viewDidLoad()
|
@_Concurrency.MainActor @objc override dynamic public func viewDidLoad()
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor @objc override dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?)
|
@_Concurrency.MainActor @objc override dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor @objc required dynamic public init?(coder: Foundation.NSCoder)
|
@_Concurrency.MainActor @objc required dynamic public init?(coder: Foundation.NSCoder)
|
||||||
#endif
|
|
||||||
@objc deinit
|
@objc deinit
|
||||||
}
|
}
|
||||||
@_Concurrency.MainActor public struct M2WebView : SwiftUI.UIViewControllerRepresentable {
|
@_Concurrency.MainActor public struct M2WebView : SwiftUI.UIViewControllerRepresentable {
|
||||||
@ -1009,21 +892,15 @@ extension M2Kit.M2Utils {
|
|||||||
public enum M2YTIDType : Swift.String {
|
public enum M2YTIDType : Swift.String {
|
||||||
case video
|
case video
|
||||||
case playlist
|
case playlist
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public init?(rawValue: Swift.String)
|
public init?(rawValue: Swift.String)
|
||||||
#endif
|
|
||||||
public typealias RawValue = Swift.String
|
public typealias RawValue = Swift.String
|
||||||
public var rawValue: Swift.String {
|
public var rawValue: Swift.String {
|
||||||
get
|
get
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@_Concurrency.MainActor public struct M2YT {
|
@_Concurrency.MainActor public struct M2YT {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func extractId(fromUrl: Swift.String) -> (id: Swift.String, type: M2Kit.M2YTIDType)?
|
@_Concurrency.MainActor public static func extractId(fromUrl: Swift.String) -> (id: Swift.String, type: M2Kit.M2YTIDType)?
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getVideosOfPlaylistId(_ playlistId: Swift.String, result: @escaping (_ title: Swift.String?, _ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
@_Concurrency.MainActor public static func getVideosOfPlaylistId(_ playlistId: Swift.String, result: @escaping (_ title: Swift.String?, _ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
extension M2Kit.SwiftyJSONError : Swift.Equatable {}
|
extension M2Kit.SwiftyJSONError : Swift.Equatable {}
|
||||||
extension M2Kit.SwiftyJSONError : Swift.Hashable {}
|
extension M2Kit.SwiftyJSONError : Swift.Hashable {}
|
||||||
@ -1037,6 +914,7 @@ extension M2Kit.M2API : Swift.Sendable {}
|
|||||||
extension M2Kit.M2Backup : Swift.Sendable {}
|
extension M2Kit.M2Backup : Swift.Sendable {}
|
||||||
extension M2Kit.M2Feedback : Swift.Sendable {}
|
extension M2Kit.M2Feedback : Swift.Sendable {}
|
||||||
extension M2Kit.M2HTTP : Swift.Sendable {}
|
extension M2Kit.M2HTTP : Swift.Sendable {}
|
||||||
|
extension M2Kit.M2IAP : Swift.Sendable {}
|
||||||
extension M2Kit.M2Image : Swift.Sendable {}
|
extension M2Kit.M2Image : Swift.Sendable {}
|
||||||
extension M2Kit.M2K : Swift.Sendable {}
|
extension M2Kit.M2K : Swift.Sendable {}
|
||||||
extension M2Kit.M2Log : Swift.Sendable {}
|
extension M2Kit.M2Log : Swift.Sendable {}
|
||||||
|
|||||||
Binary file not shown.
@ -1,7 +1,7 @@
|
|||||||
// swift-interface-format-version: 1.0
|
// swift-interface-format-version: 1.0
|
||||||
// swift-compiler-version: Apple Swift version 6.2.4 effective-5.10 (swiftlang-6.2.4.1.4 clang-1700.6.4.2)
|
// swift-compiler-version: Apple Swift version 6.3 effective-5.10 (swiftlang-6.3.0.123.5 clang-2100.0.123.102)
|
||||||
// swift-module-flags: -target x86_64-apple-ios16.0-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name M2Kit
|
// swift-module-flags: -target x86_64-apple-ios16.0-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name M2Kit
|
||||||
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.2.4
|
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3
|
||||||
import Combine
|
import Combine
|
||||||
import CommonCrypto
|
import CommonCrypto
|
||||||
import Foundation
|
import Foundation
|
||||||
@ -22,9 +22,7 @@ public enum SwiftyJSONError : Swift.Int, Swift.Error {
|
|||||||
case wrongType
|
case wrongType
|
||||||
case notExist
|
case notExist
|
||||||
case invalidJSON
|
case invalidJSON
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public init?(rawValue: Swift.Int)
|
public init?(rawValue: Swift.Int)
|
||||||
#endif
|
|
||||||
public typealias RawValue = Swift.Int
|
public typealias RawValue = Swift.Int
|
||||||
public var rawValue: Swift.Int {
|
public var rawValue: Swift.Int {
|
||||||
get
|
get
|
||||||
@ -49,9 +47,7 @@ public enum Type : Swift.Int {
|
|||||||
case dictionary
|
case dictionary
|
||||||
case null
|
case null
|
||||||
case unknown
|
case unknown
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public init?(rawValue: Swift.Int)
|
public init?(rawValue: Swift.Int)
|
||||||
#endif
|
|
||||||
public typealias RawValue = Swift.Int
|
public typealias RawValue = Swift.Int
|
||||||
public var rawValue: Swift.Int {
|
public var rawValue: Swift.Int {
|
||||||
get
|
get
|
||||||
@ -164,19 +160,13 @@ extension M2Kit.JSON : Swift.ExpressibleByArrayLiteral {
|
|||||||
public typealias ArrayLiteralElement = Any
|
public typealias ArrayLiteralElement = Any
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON : Swift.RawRepresentable {
|
extension M2Kit.JSON : Swift.RawRepresentable {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public init?(rawValue: Any)
|
public init?(rawValue: Any)
|
||||||
#endif
|
|
||||||
public var rawValue: Any {
|
public var rawValue: Any {
|
||||||
get
|
get
|
||||||
}
|
}
|
||||||
public func rawData(options opt: Foundation.JSONSerialization.WritingOptions = JSONSerialization.WritingOptions(rawValue: 0)) throws -> Foundation.Data
|
public func rawData(options opt: Foundation.JSONSerialization.WritingOptions = JSONSerialization.WritingOptions(rawValue: 0)) throws -> Foundation.Data
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public func rawString(_ encoding: Swift.String.Encoding = .utf8, options opt: Foundation.JSONSerialization.WritingOptions = .prettyPrinted) -> Swift.String?
|
public func rawString(_ encoding: Swift.String.Encoding = .utf8, options opt: Foundation.JSONSerialization.WritingOptions = .prettyPrinted) -> Swift.String?
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public func rawString(_ options: [M2Kit.writingOptionsKeys : Any]) -> Swift.String?
|
public func rawString(_ options: [M2Kit.writingOptionsKeys : Any]) -> Swift.String?
|
||||||
#endif
|
|
||||||
public typealias RawValue = Any
|
public typealias RawValue = Any
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON : Swift.CustomStringConvertible, Swift.CustomDebugStringConvertible {
|
extension M2Kit.JSON : Swift.CustomStringConvertible, Swift.CustomDebugStringConvertible {
|
||||||
@ -188,207 +178,165 @@ extension M2Kit.JSON : Swift.CustomStringConvertible, Swift.CustomDebugStringCon
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON {
|
extension M2Kit.JSON {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var array: [M2Kit.JSON]? {
|
public var array: [M2Kit.JSON]? {
|
||||||
get
|
get
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var arrayValue: [M2Kit.JSON] {
|
public var arrayValue: [M2Kit.JSON] {
|
||||||
get
|
get
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var arrayObject: [Any]? {
|
public var arrayObject: [Any]? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON {
|
extension M2Kit.JSON {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var dictionary: [Swift.String : M2Kit.JSON]? {
|
public var dictionary: [Swift.String : M2Kit.JSON]? {
|
||||||
get
|
get
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var dictionaryValue: [Swift.String : M2Kit.JSON] {
|
public var dictionaryValue: [Swift.String : M2Kit.JSON] {
|
||||||
get
|
get
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var dictionaryObject: [Swift.String : Any]? {
|
public var dictionaryObject: [Swift.String : Any]? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON {
|
extension M2Kit.JSON {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var bool: Swift.Bool? {
|
public var bool: Swift.Bool? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var boolValue: Swift.Bool {
|
public var boolValue: Swift.Bool {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON {
|
extension M2Kit.JSON {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var string: Swift.String? {
|
public var string: Swift.String? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var stringValue: Swift.String {
|
public var stringValue: Swift.String {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON {
|
extension M2Kit.JSON {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var number: Foundation.NSNumber? {
|
public var number: Foundation.NSNumber? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var numberValue: Foundation.NSNumber {
|
public var numberValue: Foundation.NSNumber {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON {
|
extension M2Kit.JSON {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var null: Foundation.NSNull? {
|
public var null: Foundation.NSNull? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public func exists() -> Swift.Bool
|
public func exists() -> Swift.Bool
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON {
|
extension M2Kit.JSON {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var url: Foundation.URL? {
|
public var url: Foundation.URL? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON {
|
extension M2Kit.JSON {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var double: Swift.Double? {
|
public var double: Swift.Double? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var doubleValue: Swift.Double {
|
public var doubleValue: Swift.Double {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var float: Swift.Float? {
|
public var float: Swift.Float? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var floatValue: Swift.Float {
|
public var floatValue: Swift.Float {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var int: Swift.Int? {
|
public var int: Swift.Int? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var intValue: Swift.Int {
|
public var intValue: Swift.Int {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var uInt: Swift.UInt? {
|
public var uInt: Swift.UInt? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var uIntValue: Swift.UInt {
|
public var uIntValue: Swift.UInt {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var int8: Swift.Int8? {
|
public var int8: Swift.Int8? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var int8Value: Swift.Int8 {
|
public var int8Value: Swift.Int8 {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var uInt8: Swift.UInt8? {
|
public var uInt8: Swift.UInt8? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var uInt8Value: Swift.UInt8 {
|
public var uInt8Value: Swift.UInt8 {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var int16: Swift.Int16? {
|
public var int16: Swift.Int16? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var int16Value: Swift.Int16 {
|
public var int16Value: Swift.Int16 {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var uInt16: Swift.UInt16? {
|
public var uInt16: Swift.UInt16? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var uInt16Value: Swift.UInt16 {
|
public var uInt16Value: Swift.UInt16 {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var int32: Swift.Int32? {
|
public var int32: Swift.Int32? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var int32Value: Swift.Int32 {
|
public var int32Value: Swift.Int32 {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var uInt32: Swift.UInt32? {
|
public var uInt32: Swift.UInt32? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var uInt32Value: Swift.UInt32 {
|
public var uInt32Value: Swift.UInt32 {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var int64: Swift.Int64? {
|
public var int64: Swift.Int64? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var int64Value: Swift.Int64 {
|
public var int64Value: Swift.Int64 {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var uInt64: Swift.UInt64? {
|
public var uInt64: Swift.UInt64? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var uInt64Value: Swift.UInt64 {
|
public var uInt64Value: Swift.UInt64 {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
@ -419,25 +367,13 @@ extension M2Kit.JSON : Swift.Codable {
|
|||||||
@_Concurrency.MainActor public struct M2API {
|
@_Concurrency.MainActor public struct M2API {
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func searchVideosEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func searchVideosEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func searchPlaylistsEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ playlists: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func searchPlaylistsEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ playlists: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getVideosOfPlaylistEx(playlistId: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getVideosOfPlaylistEx(playlistId: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func searchChannelsEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ channels: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func searchChannelsEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ channels: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@available(*, deprecated, message: "Use getVideosOfChannelEx(channelId:nextToken:result:) instead.")
|
@available(*, deprecated, message: "Use getVideosOfChannelEx(channelId:nextToken:result:) instead.")
|
||||||
@_Concurrency.MainActor public static func getVideosOfChannelEx(channelName: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getVideosOfChannelEx(channelName: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getVideosOfChannelEx(channelId: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getVideosOfChannelEx(channelId: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
@_Concurrency.MainActor public static func getAllVideosOfPlaylistEx(playlistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
@_Concurrency.MainActor public static func getAllVideosOfPlaylistEx(playlistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
@ -458,15 +394,11 @@ extension M2Kit.M2API {
|
|||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
@_Concurrency.MainActor public static func autocompleteSearchEx(_ text: Swift.String, result: @escaping (_ listSuggestion: [Swift.String]) -> Swift.Void)
|
@_Concurrency.MainActor public static func autocompleteSearchEx(_ text: Swift.String, result: @escaping (_ listSuggestion: [Swift.String]) -> Swift.Void)
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getLocationEx(result: @escaping (_ countryCode: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getLocationEx(result: @escaping (_ countryCode: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
@_Concurrency.MainActor public static func getTrendingSearchEx(result: @escaping (_ titles: [Swift.String]) -> Swift.Void)
|
@_Concurrency.MainActor public static func getTrendingSearchEx(result: @escaping (_ titles: [Swift.String]) -> Swift.Void)
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getLinkPlayEx(videoId: Swift.String, result: @escaping (_ videoUrl: Foundation.URL?, _ videoId: Swift.String, _ metadata: [Swift.AnyHashable : Any]?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getLinkPlayEx(videoId: Swift.String, result: @escaping (_ videoUrl: Foundation.URL?, _ videoId: Swift.String, _ metadata: [Swift.AnyHashable : Any]?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
@_Concurrency.MainActor public static func kworbMusicVideoWWEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
@_Concurrency.MainActor public static func kworbMusicVideoWWEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
@ -486,25 +418,13 @@ extension M2Kit.M2API {
|
|||||||
@_Concurrency.MainActor public static func ytArtistDetailEx(artistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
@_Concurrency.MainActor public static func ytArtistDetailEx(artistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 searchVideos(title: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 searchPlaylists(title: Swift.String, nextToken: Swift.String?) async -> (playlists: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 getVideosOfPlaylist(playlistId: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 searchChannels(title: Swift.String, nextToken: Swift.String?) async -> (channels: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@available(*, deprecated, message: "Use getVideosOfChannel(channelId:nextToken:) instead.")
|
@available(*, deprecated, message: "Use getVideosOfChannel(channelId:nextToken:) instead.")
|
||||||
@_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 getVideosOfChannel(channelName: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getVideosOfChannel(channelId: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
@_Concurrency.MainActor public static func getVideosOfChannel(channelId: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||||
#endif
|
|
||||||
@_Concurrency.MainActor public static func getAllVideosOfPlaylist(_ playlistId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
@_Concurrency.MainActor public static func getAllVideosOfPlaylist(_ playlistId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
@ -525,15 +445,11 @@ extension M2Kit.M2API {
|
|||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
@_Concurrency.MainActor public static func autocompleteSearch(_ text: Swift.String) async -> [Swift.String]
|
@_Concurrency.MainActor public static func autocompleteSearch(_ text: Swift.String) async -> [Swift.String]
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getLocation() async -> Swift.String?
|
@_Concurrency.MainActor public static func getLocation() async -> Swift.String?
|
||||||
#endif
|
|
||||||
@_Concurrency.MainActor public static func getTrendingSearch() async -> [Swift.String]
|
@_Concurrency.MainActor public static func getTrendingSearch() async -> [Swift.String]
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getLinkPlay(videoId: Swift.String) async -> (videoUrl: Foundation.URL?, videoId: Swift.String, metadata: [Swift.AnyHashable : Any]?)
|
@_Concurrency.MainActor public static func getLinkPlay(videoId: Swift.String) async -> (videoUrl: Foundation.URL?, videoId: Swift.String, metadata: [Swift.AnyHashable : Any]?)
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
@_Concurrency.MainActor public static func kworbMusicVideoWW() async -> [[Swift.AnyHashable : Any]]
|
@_Concurrency.MainActor public static func kworbMusicVideoWW() async -> [[Swift.AnyHashable : Any]]
|
||||||
@ -556,24 +472,12 @@ extension M2Kit.M2API {
|
|||||||
@_Concurrency.MainActor public static var backupCode: Swift.String {
|
@_Concurrency.MainActor public static var backupCode: Swift.String {
|
||||||
get
|
get
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func uploadBackup(code: Swift.String, data: Foundation.Data, result: @escaping (_ url: Swift.String?, _ version: Swift.Int) -> Swift.Void)
|
@_Concurrency.MainActor public static func uploadBackup(code: Swift.String, data: Foundation.Data, result: @escaping (_ url: Swift.String?, _ version: Swift.Int) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getBackup(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getBackup(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getBackupVersion(code: Swift.String, result: @escaping (_ num: Swift.Int?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getBackupVersion(code: Swift.String, result: @escaping (_ num: Swift.Int?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getBackupVersions(codes: [Swift.String], result: @escaping (_ results: [Swift.String : Swift.Int?]) -> Swift.Void)
|
@_Concurrency.MainActor public static func getBackupVersions(codes: [Swift.String], result: @escaping (_ results: [Swift.String : Swift.Int?]) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func uploadBackupPlaylist(code: Swift.String, data: Foundation.Data, result: @escaping (_ url: Swift.String?, _ version: Swift.Int) -> Swift.Void)
|
@_Concurrency.MainActor public static func uploadBackupPlaylist(code: Swift.String, data: Foundation.Data, result: @escaping (_ url: Swift.String?, _ version: Swift.Int) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getBackupPlaylist(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getBackupPlaylist(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
public let m2Version: Swift.String
|
public let m2Version: Swift.String
|
||||||
@_Concurrency.MainActor public func setServiceType(_ type: Swift.String)
|
@_Concurrency.MainActor public func setServiceType(_ type: Swift.String)
|
||||||
@ -582,26 +486,30 @@ public let m2Version: Swift.String
|
|||||||
@_Concurrency.MainActor public static func sendFeedback(content: Swift.String, result: @escaping (_ isOK: Swift.Bool) -> Swift.Void)
|
@_Concurrency.MainActor public static func sendFeedback(content: Swift.String, result: @escaping (_ isOK: Swift.Bool) -> Swift.Void)
|
||||||
}
|
}
|
||||||
@_Concurrency.MainActor public struct M2HTTP {
|
@_Concurrency.MainActor public struct M2HTTP {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getDataEx(url: Foundation.URL, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getDataEx(url: Foundation.URL, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getData(url: Foundation.URL) async -> Foundation.Data?
|
@_Concurrency.MainActor public static func getData(url: Foundation.URL) async -> Foundation.Data?
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getImageDataEx(url: Foundation.URL, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getImageDataEx(url: Foundation.URL, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getImageData(url: Foundation.URL) async -> Foundation.Data?
|
@_Concurrency.MainActor public static func getImageData(url: Foundation.URL) async -> Foundation.Data?
|
||||||
#endif
|
}
|
||||||
|
@_Concurrency.MainActor public struct M2IAP {
|
||||||
|
@_Concurrency.MainActor public static let IAPPurchasedSuccessNotification: Foundation.Notification.Name
|
||||||
|
@_Concurrency.MainActor public static let IAPPurchasedFailNotification: Foundation.Notification.Name
|
||||||
|
@_Concurrency.MainActor public static let IAPProductStatusUpdatedNotification: Foundation.Notification.Name
|
||||||
|
@_Concurrency.MainActor public static let IAPProductsAvailableChangedNotification: Foundation.Notification.Name
|
||||||
|
@_Concurrency.MainActor public static func setup(iapId: Swift.String)
|
||||||
|
@_Concurrency.MainActor public static var isProVersion: Swift.Bool {
|
||||||
|
get
|
||||||
|
}
|
||||||
|
@_Concurrency.MainActor public static var priceProVersion: Swift.String? {
|
||||||
|
get
|
||||||
|
}
|
||||||
|
@_Concurrency.MainActor public static func fetch()
|
||||||
|
@_Concurrency.MainActor public static func purchaseProVersion()
|
||||||
|
@_Concurrency.MainActor public static func restorePurchase()
|
||||||
}
|
}
|
||||||
@_Concurrency.MainActor public struct M2Image {
|
@_Concurrency.MainActor public struct M2Image {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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, result: @escaping (_ url: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func uploadImage(_ image: UIKit.UIImage) async -> Swift.String?
|
@_Concurrency.MainActor public static func uploadImage(_ image: UIKit.UIImage) async -> Swift.String?
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
@_Concurrency.MainActor public struct M2K {
|
@_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)
|
@_Concurrency.MainActor public static func start(c: Swift.String = "", t: Swift.String = "", d: Swift.Int = 0, result: @escaping () -> Swift.Void)
|
||||||
@ -612,9 +520,7 @@ public let m2Version: Swift.String
|
|||||||
@_Concurrency.MainActor public static func sendAllEvents(result: @escaping (_ isOK: Swift.Bool) -> Swift.Void)
|
@_Concurrency.MainActor public static func sendAllEvents(result: @escaping (_ isOK: Swift.Bool) -> Swift.Void)
|
||||||
}
|
}
|
||||||
@_Concurrency.MainActor public struct M2Musi {
|
@_Concurrency.MainActor public struct M2Musi {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getVideosOfPlaylistWithCode(_ code: Swift.String, result: @escaping (_ title: Swift.String?, _ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
@_Concurrency.MainActor public static func getVideosOfPlaylistWithCode(_ code: Swift.String, result: @escaping (_ title: Swift.String?, _ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
public enum M2NetConnecttionType {
|
public enum M2NetConnecttionType {
|
||||||
case wifi
|
case wifi
|
||||||
@ -646,45 +552,23 @@ extension M2Kit.M2Radio {
|
|||||||
@_Concurrency.MainActor public static func getCurrentRadioCountryCode() -> Swift.String
|
@_Concurrency.MainActor public static func getCurrentRadioCountryCode() -> Swift.String
|
||||||
}
|
}
|
||||||
extension M2Kit.M2Radio {
|
extension M2Kit.M2Radio {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 searchStationsEx(title: Swift.String, token: Swift.String?, result: @escaping (_ stations: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 topStationsEx(token: Swift.String?, result: @escaping (_ stations: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
@_Concurrency.MainActor public static func listGenresForRadioEx(result: @escaping (_ genres: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
@_Concurrency.MainActor public static func listGenresForRadioEx(result: @escaping (_ genres: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 listStationsByGenresEx(genre: [Swift.AnyHashable : Any], token: Swift.String?, result: @escaping (_ stations: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func stationInfoEx(station: [Swift.AnyHashable : Any], result: @escaping (_ info: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func stationInfoEx(station: [Swift.AnyHashable : Any], result: @escaping (_ info: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
extension M2Kit.M2Radio {
|
extension M2Kit.M2Radio {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 searchPodcastsEx(title: Swift.String, token: Swift.String?, result: @escaping (_ podcasts: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 listEpisodesOfPodcastEx(podcast: [Swift.AnyHashable : Any], token: Swift.String?, result: @escaping (_ episodes: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 topPodcastsEx(token: Swift.String?, result: @escaping (_ podcasts: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
@_Concurrency.MainActor public static func listGenresForPodcastEx(result: @escaping (_ genres: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
@_Concurrency.MainActor public static func listGenresForPodcastEx(result: @escaping (_ genres: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 listPodcastsByGenreEx(genre: [Swift.AnyHashable : Any], token: Swift.String?, result: @escaping (_ podcasts: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func podcastInfoEx(podcast: [Swift.AnyHashable : Any], result: @escaping (_ info: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func podcastInfoEx(podcast: [Swift.AnyHashable : Any], result: @escaping (_ info: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
extension M2Kit.M2Radio {
|
extension M2Kit.M2Radio {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getLinkPlayEx(station: [Swift.AnyHashable : Any], result: @escaping (_ url: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getLinkPlayEx(station: [Swift.AnyHashable : Any], result: @escaping (_ url: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getLinkPlayEx(episode: [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)
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
@_hasMissingDesignatedInitializers public class M2Setting {
|
@_hasMissingDesignatedInitializers public class M2Setting {
|
||||||
public static var option10: Swift.String {
|
public static var option10: Swift.String {
|
||||||
@ -988,14 +872,13 @@ extension M2Kit.M2Utils {
|
|||||||
@_Concurrency.MainActor public static func randomCode7() -> Swift.String
|
@_Concurrency.MainActor public static func randomCode7() -> Swift.String
|
||||||
@_Concurrency.MainActor public static func randomCode11() -> Swift.String
|
@_Concurrency.MainActor public static func randomCode11() -> Swift.String
|
||||||
}
|
}
|
||||||
|
extension M2Kit.M2Utils {
|
||||||
|
@_Concurrency.MainActor public static func weightedRandom(from items: [Swift.String], weights: [Swift.Int]) -> Swift.String
|
||||||
|
}
|
||||||
@objc @_inheritsConvenienceInitializers @_Concurrency.MainActor public class M2WebVC : UIKit.UIViewController {
|
@objc @_inheritsConvenienceInitializers @_Concurrency.MainActor public class M2WebVC : UIKit.UIViewController {
|
||||||
@_Concurrency.MainActor @objc override dynamic public func viewDidLoad()
|
@_Concurrency.MainActor @objc override dynamic public func viewDidLoad()
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor @objc override dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?)
|
@_Concurrency.MainActor @objc override dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor @objc required dynamic public init?(coder: Foundation.NSCoder)
|
@_Concurrency.MainActor @objc required dynamic public init?(coder: Foundation.NSCoder)
|
||||||
#endif
|
|
||||||
@objc deinit
|
@objc deinit
|
||||||
}
|
}
|
||||||
@_Concurrency.MainActor public struct M2WebView : SwiftUI.UIViewControllerRepresentable {
|
@_Concurrency.MainActor public struct M2WebView : SwiftUI.UIViewControllerRepresentable {
|
||||||
@ -1009,21 +892,15 @@ extension M2Kit.M2Utils {
|
|||||||
public enum M2YTIDType : Swift.String {
|
public enum M2YTIDType : Swift.String {
|
||||||
case video
|
case video
|
||||||
case playlist
|
case playlist
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public init?(rawValue: Swift.String)
|
public init?(rawValue: Swift.String)
|
||||||
#endif
|
|
||||||
public typealias RawValue = Swift.String
|
public typealias RawValue = Swift.String
|
||||||
public var rawValue: Swift.String {
|
public var rawValue: Swift.String {
|
||||||
get
|
get
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@_Concurrency.MainActor public struct M2YT {
|
@_Concurrency.MainActor public struct M2YT {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func extractId(fromUrl: Swift.String) -> (id: Swift.String, type: M2Kit.M2YTIDType)?
|
@_Concurrency.MainActor public static func extractId(fromUrl: Swift.String) -> (id: Swift.String, type: M2Kit.M2YTIDType)?
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getVideosOfPlaylistId(_ playlistId: Swift.String, result: @escaping (_ title: Swift.String?, _ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
@_Concurrency.MainActor public static func getVideosOfPlaylistId(_ playlistId: Swift.String, result: @escaping (_ title: Swift.String?, _ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
extension M2Kit.SwiftyJSONError : Swift.Equatable {}
|
extension M2Kit.SwiftyJSONError : Swift.Equatable {}
|
||||||
extension M2Kit.SwiftyJSONError : Swift.Hashable {}
|
extension M2Kit.SwiftyJSONError : Swift.Hashable {}
|
||||||
@ -1037,6 +914,7 @@ extension M2Kit.M2API : Swift.Sendable {}
|
|||||||
extension M2Kit.M2Backup : Swift.Sendable {}
|
extension M2Kit.M2Backup : Swift.Sendable {}
|
||||||
extension M2Kit.M2Feedback : Swift.Sendable {}
|
extension M2Kit.M2Feedback : Swift.Sendable {}
|
||||||
extension M2Kit.M2HTTP : Swift.Sendable {}
|
extension M2Kit.M2HTTP : Swift.Sendable {}
|
||||||
|
extension M2Kit.M2IAP : Swift.Sendable {}
|
||||||
extension M2Kit.M2Image : Swift.Sendable {}
|
extension M2Kit.M2Image : Swift.Sendable {}
|
||||||
extension M2Kit.M2K : Swift.Sendable {}
|
extension M2Kit.M2K : Swift.Sendable {}
|
||||||
extension M2Kit.M2Log : Swift.Sendable {}
|
extension M2Kit.M2Log : Swift.Sendable {}
|
||||||
|
|||||||
@ -1,4 +1,3 @@
|
|||||||
framework module M2Kit {
|
framework module M2Kit {
|
||||||
header "M2Kit-Swift.h"
|
header "M2Kit-Swift.h"
|
||||||
requires objc
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
<plist version="1.0">
|
<plist version="1.0">
|
||||||
<dict>
|
<dict>
|
||||||
<key>BuildMachineOSBuild</key>
|
<key>BuildMachineOSBuild</key>
|
||||||
<string>25D125</string>
|
<string>25E246</string>
|
||||||
<key>CFBundleDevelopmentRegion</key>
|
<key>CFBundleDevelopmentRegion</key>
|
||||||
<string>en</string>
|
<string>en</string>
|
||||||
<key>CFBundleExecutable</key>
|
<key>CFBundleExecutable</key>
|
||||||
@ -17,7 +17,7 @@
|
|||||||
<key>CFBundlePackageType</key>
|
<key>CFBundlePackageType</key>
|
||||||
<string>FMWK</string>
|
<string>FMWK</string>
|
||||||
<key>CFBundleShortVersionString</key>
|
<key>CFBundleShortVersionString</key>
|
||||||
<string>5.23</string>
|
<string>5.27</string>
|
||||||
<key>CFBundleSupportedPlatforms</key>
|
<key>CFBundleSupportedPlatforms</key>
|
||||||
<array>
|
<array>
|
||||||
<string>MacOSX</string>
|
<string>MacOSX</string>
|
||||||
@ -27,19 +27,19 @@
|
|||||||
<key>DTCompiler</key>
|
<key>DTCompiler</key>
|
||||||
<string>com.apple.compilers.llvm.clang.1_0</string>
|
<string>com.apple.compilers.llvm.clang.1_0</string>
|
||||||
<key>DTPlatformBuild</key>
|
<key>DTPlatformBuild</key>
|
||||||
<string>25C58</string>
|
<string>25E236</string>
|
||||||
<key>DTPlatformName</key>
|
<key>DTPlatformName</key>
|
||||||
<string>macosx</string>
|
<string>macosx</string>
|
||||||
<key>DTPlatformVersion</key>
|
<key>DTPlatformVersion</key>
|
||||||
<string>26.2</string>
|
<string>26.4</string>
|
||||||
<key>DTSDKBuild</key>
|
<key>DTSDKBuild</key>
|
||||||
<string>25C58</string>
|
<string>25E236</string>
|
||||||
<key>DTSDKName</key>
|
<key>DTSDKName</key>
|
||||||
<string>macosx26.2</string>
|
<string>macosx26.4</string>
|
||||||
<key>DTXcode</key>
|
<key>DTXcode</key>
|
||||||
<string>2630</string>
|
<string>2640</string>
|
||||||
<key>DTXcodeBuild</key>
|
<key>DTXcodeBuild</key>
|
||||||
<string>17C529</string>
|
<string>17E192</string>
|
||||||
<key>LSMinimumSystemVersion</key>
|
<key>LSMinimumSystemVersion</key>
|
||||||
<string>13.0</string>
|
<string>13.0</string>
|
||||||
<key>UIDeviceFamily</key>
|
<key>UIDeviceFamily</key>
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
#if 0
|
#if 0
|
||||||
#elif defined(__arm64__) && __arm64__
|
#elif defined(__arm64__) && __arm64__
|
||||||
// Generated by Apple Swift version 6.2.4 effective-5.10 (swiftlang-6.2.4.1.4 clang-1700.6.4.2)
|
// Generated by Apple Swift version 6.3 effective-5.10 (swiftlang-6.3.0.123.5 clang-2100.0.123.102)
|
||||||
#ifndef M2KIT_SWIFT_H
|
#ifndef M2KIT_SWIFT_H
|
||||||
#define M2KIT_SWIFT_H
|
#define M2KIT_SWIFT_H
|
||||||
#pragma clang diagnostic push
|
#pragma clang diagnostic push
|
||||||
@ -26,7 +26,7 @@
|
|||||||
#pragma clang diagnostic ignored "-Wauto-import"
|
#pragma clang diagnostic ignored "-Wauto-import"
|
||||||
#if defined(__OBJC__)
|
#if defined(__OBJC__)
|
||||||
#include <Foundation/Foundation.h>
|
#include <Foundation/Foundation.h>
|
||||||
#endif
|
#endif // defined(__OBJC__)
|
||||||
#if defined(__cplusplus)
|
#if defined(__cplusplus)
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
#include <cstddef>
|
#include <cstddef>
|
||||||
@ -195,13 +195,32 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
#if !defined(SWIFT_ENUM)
|
#if !defined(SWIFT_ENUM)
|
||||||
# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
|
# if (defined(__cplusplus) && __cplusplus >= 201103L) || (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L) || __has_feature(objc_fixed_enum)
|
||||||
# if __has_feature(generalized_swift_name)
|
# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
|
||||||
# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
|
# if __has_feature(generalized_swift_name)
|
||||||
|
# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
|
||||||
|
# else
|
||||||
|
# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility)
|
||||||
|
# endif
|
||||||
# else
|
# else
|
||||||
|
# define SWIFT_ENUM(_type, _name, _extensibility) _type _name; enum
|
||||||
# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility)
|
# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility)
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
#if !defined(SWIFT_ENUM_TAG)
|
||||||
|
# if (defined(__cplusplus) && __cplusplus >= 201103L) || (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L) || __has_feature(objc_fixed_enum)
|
||||||
|
# define SWIFT_ENUM_TAG enum
|
||||||
|
# else
|
||||||
|
# define SWIFT_ENUM_TAG
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
|
#if !defined(SWIFT_ENUM_FWD_DECL)
|
||||||
|
# if (defined(__cplusplus) && __cplusplus >= 201103L) || (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L) || __has_feature(objc_fixed_enum)
|
||||||
|
# define SWIFT_ENUM_FWD_DECL(_type, _name) enum _name : _type;
|
||||||
|
# else
|
||||||
|
# define SWIFT_ENUM_FWD_DECL(_type, _name) typedef _type _name;
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
#if !defined(SWIFT_UNAVAILABLE)
|
#if !defined(SWIFT_UNAVAILABLE)
|
||||||
# define SWIFT_UNAVAILABLE __attribute__((unavailable))
|
# define SWIFT_UNAVAILABLE __attribute__((unavailable))
|
||||||
#endif
|
#endif
|
||||||
@ -211,6 +230,9 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|||||||
#if !defined(SWIFT_AVAILABILITY)
|
#if !defined(SWIFT_AVAILABILITY)
|
||||||
# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__)))
|
# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__)))
|
||||||
#endif
|
#endif
|
||||||
|
#if !defined(SWIFT_AVAILABILITY_DOMAIN)
|
||||||
|
# define SWIFT_AVAILABILITY_DOMAIN(dom, ...) __attribute__((availability(domain: dom, __VA_ARGS__)))
|
||||||
|
#endif
|
||||||
#if !defined(SWIFT_WEAK_IMPORT)
|
#if !defined(SWIFT_WEAK_IMPORT)
|
||||||
# define SWIFT_WEAK_IMPORT __attribute__((weak_import))
|
# define SWIFT_WEAK_IMPORT __attribute__((weak_import))
|
||||||
#endif
|
#endif
|
||||||
@ -276,6 +298,49 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|||||||
# define SWIFT_IMPORT_STDLIB_SYMBOL
|
# define SWIFT_IMPORT_STDLIB_SYMBOL
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
#if !__has_feature(nullability)
|
||||||
|
# define _Nonnull
|
||||||
|
# define _Nullable
|
||||||
|
# define _Null_unspecified
|
||||||
|
#elif !defined(__OBJC__)
|
||||||
|
# pragma clang diagnostic ignored "-Wnullability-extension"
|
||||||
|
#endif
|
||||||
|
#if !__has_feature(nullability_nullable_result)
|
||||||
|
# define _Nullable_result _Nullable
|
||||||
|
#endif
|
||||||
|
#if __has_feature(objc_modules)
|
||||||
|
#if __has_warning("-Watimport-in-framework-header")
|
||||||
|
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
|
||||||
|
#pragma clang diagnostic ignored "-Wduplicate-method-arg"
|
||||||
|
#if __has_warning("-Wpragma-clang-attribute")
|
||||||
|
# pragma clang diagnostic ignored "-Wpragma-clang-attribute"
|
||||||
|
#endif
|
||||||
|
#pragma clang diagnostic ignored "-Wunknown-pragmas"
|
||||||
|
#pragma clang diagnostic ignored "-Wnullability"
|
||||||
|
#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"
|
||||||
|
#pragma clang diagnostic ignored "-Wunsafe-buffer-usage"
|
||||||
|
|
||||||
|
#if __has_attribute(external_source_symbol)
|
||||||
|
# pragma push_macro("any")
|
||||||
|
# undef any
|
||||||
|
# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="M2Kit",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol))
|
||||||
|
# pragma pop_macro("any")
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(__cplusplus)
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(__cplusplus)
|
||||||
|
} // extern "C"
|
||||||
|
#endif
|
||||||
|
#if __has_attribute(external_source_symbol)
|
||||||
|
# pragma clang attribute pop
|
||||||
|
#endif
|
||||||
#if defined(__OBJC__)
|
#if defined(__OBJC__)
|
||||||
#if __has_feature(objc_modules)
|
#if __has_feature(objc_modules)
|
||||||
#if __has_warning("-Watimport-in-framework-header")
|
#if __has_warning("-Watimport-in-framework-header")
|
||||||
@ -284,7 +349,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|||||||
@import UIKit;
|
@import UIKit;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif // defined(__OBJC__)
|
||||||
#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
|
#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
|
||||||
#pragma clang diagnostic ignored "-Wduplicate-method-arg"
|
#pragma clang diagnostic ignored "-Wduplicate-method-arg"
|
||||||
#if __has_warning("-Wpragma-clang-attribute")
|
#if __has_warning("-Wpragma-clang-attribute")
|
||||||
@ -314,7 +379,7 @@ SWIFT_CLASS("_TtC5M2Kit7M2WebVC")
|
|||||||
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER;
|
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER;
|
||||||
@end
|
@end
|
||||||
|
|
||||||
#endif
|
#endif // defined(__OBJC__)
|
||||||
#if __has_attribute(external_source_symbol)
|
#if __has_attribute(external_source_symbol)
|
||||||
# pragma clang attribute pop
|
# pragma clang attribute pop
|
||||||
#endif
|
#endif
|
||||||
@ -324,7 +389,7 @@ SWIFT_CLASS("_TtC5M2Kit7M2WebVC")
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#elif defined(__x86_64__) && __x86_64__
|
#elif defined(__x86_64__) && __x86_64__
|
||||||
// Generated by Apple Swift version 6.2.4 effective-5.10 (swiftlang-6.2.4.1.4 clang-1700.6.4.2)
|
// Generated by Apple Swift version 6.3 effective-5.10 (swiftlang-6.3.0.123.5 clang-2100.0.123.102)
|
||||||
#ifndef M2KIT_SWIFT_H
|
#ifndef M2KIT_SWIFT_H
|
||||||
#define M2KIT_SWIFT_H
|
#define M2KIT_SWIFT_H
|
||||||
#pragma clang diagnostic push
|
#pragma clang diagnostic push
|
||||||
@ -350,7 +415,7 @@ SWIFT_CLASS("_TtC5M2Kit7M2WebVC")
|
|||||||
#pragma clang diagnostic ignored "-Wauto-import"
|
#pragma clang diagnostic ignored "-Wauto-import"
|
||||||
#if defined(__OBJC__)
|
#if defined(__OBJC__)
|
||||||
#include <Foundation/Foundation.h>
|
#include <Foundation/Foundation.h>
|
||||||
#endif
|
#endif // defined(__OBJC__)
|
||||||
#if defined(__cplusplus)
|
#if defined(__cplusplus)
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
#include <cstddef>
|
#include <cstddef>
|
||||||
@ -519,13 +584,32 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
#if !defined(SWIFT_ENUM)
|
#if !defined(SWIFT_ENUM)
|
||||||
# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
|
# if (defined(__cplusplus) && __cplusplus >= 201103L) || (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L) || __has_feature(objc_fixed_enum)
|
||||||
# if __has_feature(generalized_swift_name)
|
# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
|
||||||
# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
|
# if __has_feature(generalized_swift_name)
|
||||||
|
# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
|
||||||
|
# else
|
||||||
|
# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility)
|
||||||
|
# endif
|
||||||
# else
|
# else
|
||||||
|
# define SWIFT_ENUM(_type, _name, _extensibility) _type _name; enum
|
||||||
# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility)
|
# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility)
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
#if !defined(SWIFT_ENUM_TAG)
|
||||||
|
# if (defined(__cplusplus) && __cplusplus >= 201103L) || (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L) || __has_feature(objc_fixed_enum)
|
||||||
|
# define SWIFT_ENUM_TAG enum
|
||||||
|
# else
|
||||||
|
# define SWIFT_ENUM_TAG
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
|
#if !defined(SWIFT_ENUM_FWD_DECL)
|
||||||
|
# if (defined(__cplusplus) && __cplusplus >= 201103L) || (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L) || __has_feature(objc_fixed_enum)
|
||||||
|
# define SWIFT_ENUM_FWD_DECL(_type, _name) enum _name : _type;
|
||||||
|
# else
|
||||||
|
# define SWIFT_ENUM_FWD_DECL(_type, _name) typedef _type _name;
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
#if !defined(SWIFT_UNAVAILABLE)
|
#if !defined(SWIFT_UNAVAILABLE)
|
||||||
# define SWIFT_UNAVAILABLE __attribute__((unavailable))
|
# define SWIFT_UNAVAILABLE __attribute__((unavailable))
|
||||||
#endif
|
#endif
|
||||||
@ -535,6 +619,9 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|||||||
#if !defined(SWIFT_AVAILABILITY)
|
#if !defined(SWIFT_AVAILABILITY)
|
||||||
# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__)))
|
# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__)))
|
||||||
#endif
|
#endif
|
||||||
|
#if !defined(SWIFT_AVAILABILITY_DOMAIN)
|
||||||
|
# define SWIFT_AVAILABILITY_DOMAIN(dom, ...) __attribute__((availability(domain: dom, __VA_ARGS__)))
|
||||||
|
#endif
|
||||||
#if !defined(SWIFT_WEAK_IMPORT)
|
#if !defined(SWIFT_WEAK_IMPORT)
|
||||||
# define SWIFT_WEAK_IMPORT __attribute__((weak_import))
|
# define SWIFT_WEAK_IMPORT __attribute__((weak_import))
|
||||||
#endif
|
#endif
|
||||||
@ -600,6 +687,49 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|||||||
# define SWIFT_IMPORT_STDLIB_SYMBOL
|
# define SWIFT_IMPORT_STDLIB_SYMBOL
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
#if !__has_feature(nullability)
|
||||||
|
# define _Nonnull
|
||||||
|
# define _Nullable
|
||||||
|
# define _Null_unspecified
|
||||||
|
#elif !defined(__OBJC__)
|
||||||
|
# pragma clang diagnostic ignored "-Wnullability-extension"
|
||||||
|
#endif
|
||||||
|
#if !__has_feature(nullability_nullable_result)
|
||||||
|
# define _Nullable_result _Nullable
|
||||||
|
#endif
|
||||||
|
#if __has_feature(objc_modules)
|
||||||
|
#if __has_warning("-Watimport-in-framework-header")
|
||||||
|
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
|
||||||
|
#pragma clang diagnostic ignored "-Wduplicate-method-arg"
|
||||||
|
#if __has_warning("-Wpragma-clang-attribute")
|
||||||
|
# pragma clang diagnostic ignored "-Wpragma-clang-attribute"
|
||||||
|
#endif
|
||||||
|
#pragma clang diagnostic ignored "-Wunknown-pragmas"
|
||||||
|
#pragma clang diagnostic ignored "-Wnullability"
|
||||||
|
#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"
|
||||||
|
#pragma clang diagnostic ignored "-Wunsafe-buffer-usage"
|
||||||
|
|
||||||
|
#if __has_attribute(external_source_symbol)
|
||||||
|
# pragma push_macro("any")
|
||||||
|
# undef any
|
||||||
|
# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="M2Kit",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol))
|
||||||
|
# pragma pop_macro("any")
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(__cplusplus)
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(__cplusplus)
|
||||||
|
} // extern "C"
|
||||||
|
#endif
|
||||||
|
#if __has_attribute(external_source_symbol)
|
||||||
|
# pragma clang attribute pop
|
||||||
|
#endif
|
||||||
#if defined(__OBJC__)
|
#if defined(__OBJC__)
|
||||||
#if __has_feature(objc_modules)
|
#if __has_feature(objc_modules)
|
||||||
#if __has_warning("-Watimport-in-framework-header")
|
#if __has_warning("-Watimport-in-framework-header")
|
||||||
@ -608,7 +738,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|||||||
@import UIKit;
|
@import UIKit;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif // defined(__OBJC__)
|
||||||
#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
|
#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
|
||||||
#pragma clang diagnostic ignored "-Wduplicate-method-arg"
|
#pragma clang diagnostic ignored "-Wduplicate-method-arg"
|
||||||
#if __has_warning("-Wpragma-clang-attribute")
|
#if __has_warning("-Wpragma-clang-attribute")
|
||||||
@ -638,7 +768,7 @@ SWIFT_CLASS("_TtC5M2Kit7M2WebVC")
|
|||||||
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER;
|
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER;
|
||||||
@end
|
@end
|
||||||
|
|
||||||
#endif
|
#endif // defined(__OBJC__)
|
||||||
#if __has_attribute(external_source_symbol)
|
#if __has_attribute(external_source_symbol)
|
||||||
# pragma clang attribute pop
|
# pragma clang attribute pop
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
@ -1,7 +1,7 @@
|
|||||||
// swift-interface-format-version: 1.0
|
// swift-interface-format-version: 1.0
|
||||||
// swift-compiler-version: Apple Swift version 6.2.4 effective-5.10 (swiftlang-6.2.4.1.4 clang-1700.6.4.2)
|
// swift-compiler-version: Apple Swift version 6.3 effective-5.10 (swiftlang-6.3.0.123.5 clang-2100.0.123.102)
|
||||||
// swift-module-flags: -target arm64-apple-ios16.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name M2Kit
|
// swift-module-flags: -target arm64-apple-ios16.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name M2Kit
|
||||||
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.2.4
|
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3
|
||||||
import Combine
|
import Combine
|
||||||
import CommonCrypto
|
import CommonCrypto
|
||||||
import Foundation
|
import Foundation
|
||||||
@ -22,9 +22,7 @@ public enum SwiftyJSONError : Swift.Int, Swift.Error {
|
|||||||
case wrongType
|
case wrongType
|
||||||
case notExist
|
case notExist
|
||||||
case invalidJSON
|
case invalidJSON
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public init?(rawValue: Swift.Int)
|
public init?(rawValue: Swift.Int)
|
||||||
#endif
|
|
||||||
public typealias RawValue = Swift.Int
|
public typealias RawValue = Swift.Int
|
||||||
public var rawValue: Swift.Int {
|
public var rawValue: Swift.Int {
|
||||||
get
|
get
|
||||||
@ -49,9 +47,7 @@ public enum Type : Swift.Int {
|
|||||||
case dictionary
|
case dictionary
|
||||||
case null
|
case null
|
||||||
case unknown
|
case unknown
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public init?(rawValue: Swift.Int)
|
public init?(rawValue: Swift.Int)
|
||||||
#endif
|
|
||||||
public typealias RawValue = Swift.Int
|
public typealias RawValue = Swift.Int
|
||||||
public var rawValue: Swift.Int {
|
public var rawValue: Swift.Int {
|
||||||
get
|
get
|
||||||
@ -164,19 +160,13 @@ extension M2Kit.JSON : Swift.ExpressibleByArrayLiteral {
|
|||||||
public typealias ArrayLiteralElement = Any
|
public typealias ArrayLiteralElement = Any
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON : Swift.RawRepresentable {
|
extension M2Kit.JSON : Swift.RawRepresentable {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public init?(rawValue: Any)
|
public init?(rawValue: Any)
|
||||||
#endif
|
|
||||||
public var rawValue: Any {
|
public var rawValue: Any {
|
||||||
get
|
get
|
||||||
}
|
}
|
||||||
public func rawData(options opt: Foundation.JSONSerialization.WritingOptions = JSONSerialization.WritingOptions(rawValue: 0)) throws -> Foundation.Data
|
public func rawData(options opt: Foundation.JSONSerialization.WritingOptions = JSONSerialization.WritingOptions(rawValue: 0)) throws -> Foundation.Data
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public func rawString(_ encoding: Swift.String.Encoding = .utf8, options opt: Foundation.JSONSerialization.WritingOptions = .prettyPrinted) -> Swift.String?
|
public func rawString(_ encoding: Swift.String.Encoding = .utf8, options opt: Foundation.JSONSerialization.WritingOptions = .prettyPrinted) -> Swift.String?
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public func rawString(_ options: [M2Kit.writingOptionsKeys : Any]) -> Swift.String?
|
public func rawString(_ options: [M2Kit.writingOptionsKeys : Any]) -> Swift.String?
|
||||||
#endif
|
|
||||||
public typealias RawValue = Any
|
public typealias RawValue = Any
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON : Swift.CustomStringConvertible, Swift.CustomDebugStringConvertible {
|
extension M2Kit.JSON : Swift.CustomStringConvertible, Swift.CustomDebugStringConvertible {
|
||||||
@ -188,207 +178,165 @@ extension M2Kit.JSON : Swift.CustomStringConvertible, Swift.CustomDebugStringCon
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON {
|
extension M2Kit.JSON {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var array: [M2Kit.JSON]? {
|
public var array: [M2Kit.JSON]? {
|
||||||
get
|
get
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var arrayValue: [M2Kit.JSON] {
|
public var arrayValue: [M2Kit.JSON] {
|
||||||
get
|
get
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var arrayObject: [Any]? {
|
public var arrayObject: [Any]? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON {
|
extension M2Kit.JSON {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var dictionary: [Swift.String : M2Kit.JSON]? {
|
public var dictionary: [Swift.String : M2Kit.JSON]? {
|
||||||
get
|
get
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var dictionaryValue: [Swift.String : M2Kit.JSON] {
|
public var dictionaryValue: [Swift.String : M2Kit.JSON] {
|
||||||
get
|
get
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var dictionaryObject: [Swift.String : Any]? {
|
public var dictionaryObject: [Swift.String : Any]? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON {
|
extension M2Kit.JSON {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var bool: Swift.Bool? {
|
public var bool: Swift.Bool? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var boolValue: Swift.Bool {
|
public var boolValue: Swift.Bool {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON {
|
extension M2Kit.JSON {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var string: Swift.String? {
|
public var string: Swift.String? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var stringValue: Swift.String {
|
public var stringValue: Swift.String {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON {
|
extension M2Kit.JSON {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var number: Foundation.NSNumber? {
|
public var number: Foundation.NSNumber? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var numberValue: Foundation.NSNumber {
|
public var numberValue: Foundation.NSNumber {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON {
|
extension M2Kit.JSON {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var null: Foundation.NSNull? {
|
public var null: Foundation.NSNull? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public func exists() -> Swift.Bool
|
public func exists() -> Swift.Bool
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON {
|
extension M2Kit.JSON {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var url: Foundation.URL? {
|
public var url: Foundation.URL? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON {
|
extension M2Kit.JSON {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var double: Swift.Double? {
|
public var double: Swift.Double? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var doubleValue: Swift.Double {
|
public var doubleValue: Swift.Double {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var float: Swift.Float? {
|
public var float: Swift.Float? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var floatValue: Swift.Float {
|
public var floatValue: Swift.Float {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var int: Swift.Int? {
|
public var int: Swift.Int? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var intValue: Swift.Int {
|
public var intValue: Swift.Int {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var uInt: Swift.UInt? {
|
public var uInt: Swift.UInt? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var uIntValue: Swift.UInt {
|
public var uIntValue: Swift.UInt {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var int8: Swift.Int8? {
|
public var int8: Swift.Int8? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var int8Value: Swift.Int8 {
|
public var int8Value: Swift.Int8 {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var uInt8: Swift.UInt8? {
|
public var uInt8: Swift.UInt8? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var uInt8Value: Swift.UInt8 {
|
public var uInt8Value: Swift.UInt8 {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var int16: Swift.Int16? {
|
public var int16: Swift.Int16? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var int16Value: Swift.Int16 {
|
public var int16Value: Swift.Int16 {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var uInt16: Swift.UInt16? {
|
public var uInt16: Swift.UInt16? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var uInt16Value: Swift.UInt16 {
|
public var uInt16Value: Swift.UInt16 {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var int32: Swift.Int32? {
|
public var int32: Swift.Int32? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var int32Value: Swift.Int32 {
|
public var int32Value: Swift.Int32 {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var uInt32: Swift.UInt32? {
|
public var uInt32: Swift.UInt32? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var uInt32Value: Swift.UInt32 {
|
public var uInt32Value: Swift.UInt32 {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var int64: Swift.Int64? {
|
public var int64: Swift.Int64? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var int64Value: Swift.Int64 {
|
public var int64Value: Swift.Int64 {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var uInt64: Swift.UInt64? {
|
public var uInt64: Swift.UInt64? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var uInt64Value: Swift.UInt64 {
|
public var uInt64Value: Swift.UInt64 {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
@ -419,25 +367,13 @@ extension M2Kit.JSON : Swift.Codable {
|
|||||||
@_Concurrency.MainActor public struct M2API {
|
@_Concurrency.MainActor public struct M2API {
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func searchVideosEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func searchVideosEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func searchPlaylistsEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ playlists: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func searchPlaylistsEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ playlists: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getVideosOfPlaylistEx(playlistId: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getVideosOfPlaylistEx(playlistId: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func searchChannelsEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ channels: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func searchChannelsEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ channels: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@available(*, deprecated, message: "Use getVideosOfChannelEx(channelId:nextToken:result:) instead.")
|
@available(*, deprecated, message: "Use getVideosOfChannelEx(channelId:nextToken:result:) instead.")
|
||||||
@_Concurrency.MainActor public static func getVideosOfChannelEx(channelName: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getVideosOfChannelEx(channelName: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getVideosOfChannelEx(channelId: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getVideosOfChannelEx(channelId: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
@_Concurrency.MainActor public static func getAllVideosOfPlaylistEx(playlistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
@_Concurrency.MainActor public static func getAllVideosOfPlaylistEx(playlistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
@ -458,15 +394,11 @@ extension M2Kit.M2API {
|
|||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
@_Concurrency.MainActor public static func autocompleteSearchEx(_ text: Swift.String, result: @escaping (_ listSuggestion: [Swift.String]) -> Swift.Void)
|
@_Concurrency.MainActor public static func autocompleteSearchEx(_ text: Swift.String, result: @escaping (_ listSuggestion: [Swift.String]) -> Swift.Void)
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getLocationEx(result: @escaping (_ countryCode: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getLocationEx(result: @escaping (_ countryCode: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
@_Concurrency.MainActor public static func getTrendingSearchEx(result: @escaping (_ titles: [Swift.String]) -> Swift.Void)
|
@_Concurrency.MainActor public static func getTrendingSearchEx(result: @escaping (_ titles: [Swift.String]) -> Swift.Void)
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getLinkPlayEx(videoId: Swift.String, result: @escaping (_ videoUrl: Foundation.URL?, _ videoId: Swift.String, _ metadata: [Swift.AnyHashable : Any]?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getLinkPlayEx(videoId: Swift.String, result: @escaping (_ videoUrl: Foundation.URL?, _ videoId: Swift.String, _ metadata: [Swift.AnyHashable : Any]?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
@_Concurrency.MainActor public static func kworbMusicVideoWWEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
@_Concurrency.MainActor public static func kworbMusicVideoWWEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
@ -486,25 +418,13 @@ extension M2Kit.M2API {
|
|||||||
@_Concurrency.MainActor public static func ytArtistDetailEx(artistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
@_Concurrency.MainActor public static func ytArtistDetailEx(artistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 searchVideos(title: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 searchPlaylists(title: Swift.String, nextToken: Swift.String?) async -> (playlists: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 getVideosOfPlaylist(playlistId: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 searchChannels(title: Swift.String, nextToken: Swift.String?) async -> (channels: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@available(*, deprecated, message: "Use getVideosOfChannel(channelId:nextToken:) instead.")
|
@available(*, deprecated, message: "Use getVideosOfChannel(channelId:nextToken:) instead.")
|
||||||
@_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 getVideosOfChannel(channelName: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getVideosOfChannel(channelId: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
@_Concurrency.MainActor public static func getVideosOfChannel(channelId: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||||
#endif
|
|
||||||
@_Concurrency.MainActor public static func getAllVideosOfPlaylist(_ playlistId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
@_Concurrency.MainActor public static func getAllVideosOfPlaylist(_ playlistId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
@ -525,15 +445,11 @@ extension M2Kit.M2API {
|
|||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
@_Concurrency.MainActor public static func autocompleteSearch(_ text: Swift.String) async -> [Swift.String]
|
@_Concurrency.MainActor public static func autocompleteSearch(_ text: Swift.String) async -> [Swift.String]
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getLocation() async -> Swift.String?
|
@_Concurrency.MainActor public static func getLocation() async -> Swift.String?
|
||||||
#endif
|
|
||||||
@_Concurrency.MainActor public static func getTrendingSearch() async -> [Swift.String]
|
@_Concurrency.MainActor public static func getTrendingSearch() async -> [Swift.String]
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getLinkPlay(videoId: Swift.String) async -> (videoUrl: Foundation.URL?, videoId: Swift.String, metadata: [Swift.AnyHashable : Any]?)
|
@_Concurrency.MainActor public static func getLinkPlay(videoId: Swift.String) async -> (videoUrl: Foundation.URL?, videoId: Swift.String, metadata: [Swift.AnyHashable : Any]?)
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
@_Concurrency.MainActor public static func kworbMusicVideoWW() async -> [[Swift.AnyHashable : Any]]
|
@_Concurrency.MainActor public static func kworbMusicVideoWW() async -> [[Swift.AnyHashable : Any]]
|
||||||
@ -556,24 +472,12 @@ extension M2Kit.M2API {
|
|||||||
@_Concurrency.MainActor public static var backupCode: Swift.String {
|
@_Concurrency.MainActor public static var backupCode: Swift.String {
|
||||||
get
|
get
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func uploadBackup(code: Swift.String, data: Foundation.Data, result: @escaping (_ url: Swift.String?, _ version: Swift.Int) -> Swift.Void)
|
@_Concurrency.MainActor public static func uploadBackup(code: Swift.String, data: Foundation.Data, result: @escaping (_ url: Swift.String?, _ version: Swift.Int) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getBackup(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getBackup(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getBackupVersion(code: Swift.String, result: @escaping (_ num: Swift.Int?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getBackupVersion(code: Swift.String, result: @escaping (_ num: Swift.Int?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getBackupVersions(codes: [Swift.String], result: @escaping (_ results: [Swift.String : Swift.Int?]) -> Swift.Void)
|
@_Concurrency.MainActor public static func getBackupVersions(codes: [Swift.String], result: @escaping (_ results: [Swift.String : Swift.Int?]) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func uploadBackupPlaylist(code: Swift.String, data: Foundation.Data, result: @escaping (_ url: Swift.String?, _ version: Swift.Int) -> Swift.Void)
|
@_Concurrency.MainActor public static func uploadBackupPlaylist(code: Swift.String, data: Foundation.Data, result: @escaping (_ url: Swift.String?, _ version: Swift.Int) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getBackupPlaylist(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getBackupPlaylist(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
public let m2Version: Swift.String
|
public let m2Version: Swift.String
|
||||||
@_Concurrency.MainActor public func setServiceType(_ type: Swift.String)
|
@_Concurrency.MainActor public func setServiceType(_ type: Swift.String)
|
||||||
@ -582,26 +486,30 @@ public let m2Version: Swift.String
|
|||||||
@_Concurrency.MainActor public static func sendFeedback(content: Swift.String, result: @escaping (_ isOK: Swift.Bool) -> Swift.Void)
|
@_Concurrency.MainActor public static func sendFeedback(content: Swift.String, result: @escaping (_ isOK: Swift.Bool) -> Swift.Void)
|
||||||
}
|
}
|
||||||
@_Concurrency.MainActor public struct M2HTTP {
|
@_Concurrency.MainActor public struct M2HTTP {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getDataEx(url: Foundation.URL, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getDataEx(url: Foundation.URL, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getData(url: Foundation.URL) async -> Foundation.Data?
|
@_Concurrency.MainActor public static func getData(url: Foundation.URL) async -> Foundation.Data?
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getImageDataEx(url: Foundation.URL, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getImageDataEx(url: Foundation.URL, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getImageData(url: Foundation.URL) async -> Foundation.Data?
|
@_Concurrency.MainActor public static func getImageData(url: Foundation.URL) async -> Foundation.Data?
|
||||||
#endif
|
}
|
||||||
|
@_Concurrency.MainActor public struct M2IAP {
|
||||||
|
@_Concurrency.MainActor public static let IAPPurchasedSuccessNotification: Foundation.Notification.Name
|
||||||
|
@_Concurrency.MainActor public static let IAPPurchasedFailNotification: Foundation.Notification.Name
|
||||||
|
@_Concurrency.MainActor public static let IAPProductStatusUpdatedNotification: Foundation.Notification.Name
|
||||||
|
@_Concurrency.MainActor public static let IAPProductsAvailableChangedNotification: Foundation.Notification.Name
|
||||||
|
@_Concurrency.MainActor public static func setup(iapId: Swift.String)
|
||||||
|
@_Concurrency.MainActor public static var isProVersion: Swift.Bool {
|
||||||
|
get
|
||||||
|
}
|
||||||
|
@_Concurrency.MainActor public static var priceProVersion: Swift.String? {
|
||||||
|
get
|
||||||
|
}
|
||||||
|
@_Concurrency.MainActor public static func fetch()
|
||||||
|
@_Concurrency.MainActor public static func purchaseProVersion()
|
||||||
|
@_Concurrency.MainActor public static func restorePurchase()
|
||||||
}
|
}
|
||||||
@_Concurrency.MainActor public struct M2Image {
|
@_Concurrency.MainActor public struct M2Image {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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, result: @escaping (_ url: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func uploadImage(_ image: UIKit.UIImage) async -> Swift.String?
|
@_Concurrency.MainActor public static func uploadImage(_ image: UIKit.UIImage) async -> Swift.String?
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
@_Concurrency.MainActor public struct M2K {
|
@_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)
|
@_Concurrency.MainActor public static func start(c: Swift.String = "", t: Swift.String = "", d: Swift.Int = 0, result: @escaping () -> Swift.Void)
|
||||||
@ -612,9 +520,7 @@ public let m2Version: Swift.String
|
|||||||
@_Concurrency.MainActor public static func sendAllEvents(result: @escaping (_ isOK: Swift.Bool) -> Swift.Void)
|
@_Concurrency.MainActor public static func sendAllEvents(result: @escaping (_ isOK: Swift.Bool) -> Swift.Void)
|
||||||
}
|
}
|
||||||
@_Concurrency.MainActor public struct M2Musi {
|
@_Concurrency.MainActor public struct M2Musi {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getVideosOfPlaylistWithCode(_ code: Swift.String, result: @escaping (_ title: Swift.String?, _ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
@_Concurrency.MainActor public static func getVideosOfPlaylistWithCode(_ code: Swift.String, result: @escaping (_ title: Swift.String?, _ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
public enum M2NetConnecttionType {
|
public enum M2NetConnecttionType {
|
||||||
case wifi
|
case wifi
|
||||||
@ -646,45 +552,23 @@ extension M2Kit.M2Radio {
|
|||||||
@_Concurrency.MainActor public static func getCurrentRadioCountryCode() -> Swift.String
|
@_Concurrency.MainActor public static func getCurrentRadioCountryCode() -> Swift.String
|
||||||
}
|
}
|
||||||
extension M2Kit.M2Radio {
|
extension M2Kit.M2Radio {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 searchStationsEx(title: Swift.String, token: Swift.String?, result: @escaping (_ stations: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 topStationsEx(token: Swift.String?, result: @escaping (_ stations: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
@_Concurrency.MainActor public static func listGenresForRadioEx(result: @escaping (_ genres: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
@_Concurrency.MainActor public static func listGenresForRadioEx(result: @escaping (_ genres: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 listStationsByGenresEx(genre: [Swift.AnyHashable : Any], token: Swift.String?, result: @escaping (_ stations: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func stationInfoEx(station: [Swift.AnyHashable : Any], result: @escaping (_ info: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func stationInfoEx(station: [Swift.AnyHashable : Any], result: @escaping (_ info: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
extension M2Kit.M2Radio {
|
extension M2Kit.M2Radio {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 searchPodcastsEx(title: Swift.String, token: Swift.String?, result: @escaping (_ podcasts: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 listEpisodesOfPodcastEx(podcast: [Swift.AnyHashable : Any], token: Swift.String?, result: @escaping (_ episodes: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 topPodcastsEx(token: Swift.String?, result: @escaping (_ podcasts: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
@_Concurrency.MainActor public static func listGenresForPodcastEx(result: @escaping (_ genres: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
@_Concurrency.MainActor public static func listGenresForPodcastEx(result: @escaping (_ genres: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 listPodcastsByGenreEx(genre: [Swift.AnyHashable : Any], token: Swift.String?, result: @escaping (_ podcasts: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func podcastInfoEx(podcast: [Swift.AnyHashable : Any], result: @escaping (_ info: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func podcastInfoEx(podcast: [Swift.AnyHashable : Any], result: @escaping (_ info: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
extension M2Kit.M2Radio {
|
extension M2Kit.M2Radio {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getLinkPlayEx(station: [Swift.AnyHashable : Any], result: @escaping (_ url: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getLinkPlayEx(station: [Swift.AnyHashable : Any], result: @escaping (_ url: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getLinkPlayEx(episode: [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)
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
@_hasMissingDesignatedInitializers public class M2Setting {
|
@_hasMissingDesignatedInitializers public class M2Setting {
|
||||||
public static var option10: Swift.String {
|
public static var option10: Swift.String {
|
||||||
@ -988,14 +872,13 @@ extension M2Kit.M2Utils {
|
|||||||
@_Concurrency.MainActor public static func randomCode7() -> Swift.String
|
@_Concurrency.MainActor public static func randomCode7() -> Swift.String
|
||||||
@_Concurrency.MainActor public static func randomCode11() -> Swift.String
|
@_Concurrency.MainActor public static func randomCode11() -> Swift.String
|
||||||
}
|
}
|
||||||
|
extension M2Kit.M2Utils {
|
||||||
|
@_Concurrency.MainActor public static func weightedRandom(from items: [Swift.String], weights: [Swift.Int]) -> Swift.String
|
||||||
|
}
|
||||||
@objc @_inheritsConvenienceInitializers @_Concurrency.MainActor public class M2WebVC : UIKit.UIViewController {
|
@objc @_inheritsConvenienceInitializers @_Concurrency.MainActor public class M2WebVC : UIKit.UIViewController {
|
||||||
@_Concurrency.MainActor @objc override dynamic public func viewDidLoad()
|
@_Concurrency.MainActor @objc override dynamic public func viewDidLoad()
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor @objc override dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?)
|
@_Concurrency.MainActor @objc override dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor @objc required dynamic public init?(coder: Foundation.NSCoder)
|
@_Concurrency.MainActor @objc required dynamic public init?(coder: Foundation.NSCoder)
|
||||||
#endif
|
|
||||||
@objc deinit
|
@objc deinit
|
||||||
}
|
}
|
||||||
@_Concurrency.MainActor public struct M2WebView : SwiftUI.UIViewControllerRepresentable {
|
@_Concurrency.MainActor public struct M2WebView : SwiftUI.UIViewControllerRepresentable {
|
||||||
@ -1009,21 +892,15 @@ extension M2Kit.M2Utils {
|
|||||||
public enum M2YTIDType : Swift.String {
|
public enum M2YTIDType : Swift.String {
|
||||||
case video
|
case video
|
||||||
case playlist
|
case playlist
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public init?(rawValue: Swift.String)
|
public init?(rawValue: Swift.String)
|
||||||
#endif
|
|
||||||
public typealias RawValue = Swift.String
|
public typealias RawValue = Swift.String
|
||||||
public var rawValue: Swift.String {
|
public var rawValue: Swift.String {
|
||||||
get
|
get
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@_Concurrency.MainActor public struct M2YT {
|
@_Concurrency.MainActor public struct M2YT {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func extractId(fromUrl: Swift.String) -> (id: Swift.String, type: M2Kit.M2YTIDType)?
|
@_Concurrency.MainActor public static func extractId(fromUrl: Swift.String) -> (id: Swift.String, type: M2Kit.M2YTIDType)?
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getVideosOfPlaylistId(_ playlistId: Swift.String, result: @escaping (_ title: Swift.String?, _ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
@_Concurrency.MainActor public static func getVideosOfPlaylistId(_ playlistId: Swift.String, result: @escaping (_ title: Swift.String?, _ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
extension M2Kit.SwiftyJSONError : Swift.Equatable {}
|
extension M2Kit.SwiftyJSONError : Swift.Equatable {}
|
||||||
extension M2Kit.SwiftyJSONError : Swift.Hashable {}
|
extension M2Kit.SwiftyJSONError : Swift.Hashable {}
|
||||||
@ -1037,6 +914,7 @@ extension M2Kit.M2API : Swift.Sendable {}
|
|||||||
extension M2Kit.M2Backup : Swift.Sendable {}
|
extension M2Kit.M2Backup : Swift.Sendable {}
|
||||||
extension M2Kit.M2Feedback : Swift.Sendable {}
|
extension M2Kit.M2Feedback : Swift.Sendable {}
|
||||||
extension M2Kit.M2HTTP : Swift.Sendable {}
|
extension M2Kit.M2HTTP : Swift.Sendable {}
|
||||||
|
extension M2Kit.M2IAP : Swift.Sendable {}
|
||||||
extension M2Kit.M2Image : Swift.Sendable {}
|
extension M2Kit.M2Image : Swift.Sendable {}
|
||||||
extension M2Kit.M2K : Swift.Sendable {}
|
extension M2Kit.M2K : Swift.Sendable {}
|
||||||
extension M2Kit.M2Log : Swift.Sendable {}
|
extension M2Kit.M2Log : Swift.Sendable {}
|
||||||
|
|||||||
Binary file not shown.
@ -1,7 +1,7 @@
|
|||||||
// swift-interface-format-version: 1.0
|
// swift-interface-format-version: 1.0
|
||||||
// swift-compiler-version: Apple Swift version 6.2.4 effective-5.10 (swiftlang-6.2.4.1.4 clang-1700.6.4.2)
|
// swift-compiler-version: Apple Swift version 6.3 effective-5.10 (swiftlang-6.3.0.123.5 clang-2100.0.123.102)
|
||||||
// swift-module-flags: -target arm64-apple-ios16.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name M2Kit
|
// swift-module-flags: -target arm64-apple-ios16.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name M2Kit
|
||||||
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.2.4
|
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3
|
||||||
import Combine
|
import Combine
|
||||||
import CommonCrypto
|
import CommonCrypto
|
||||||
import Foundation
|
import Foundation
|
||||||
@ -22,9 +22,7 @@ public enum SwiftyJSONError : Swift.Int, Swift.Error {
|
|||||||
case wrongType
|
case wrongType
|
||||||
case notExist
|
case notExist
|
||||||
case invalidJSON
|
case invalidJSON
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public init?(rawValue: Swift.Int)
|
public init?(rawValue: Swift.Int)
|
||||||
#endif
|
|
||||||
public typealias RawValue = Swift.Int
|
public typealias RawValue = Swift.Int
|
||||||
public var rawValue: Swift.Int {
|
public var rawValue: Swift.Int {
|
||||||
get
|
get
|
||||||
@ -49,9 +47,7 @@ public enum Type : Swift.Int {
|
|||||||
case dictionary
|
case dictionary
|
||||||
case null
|
case null
|
||||||
case unknown
|
case unknown
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public init?(rawValue: Swift.Int)
|
public init?(rawValue: Swift.Int)
|
||||||
#endif
|
|
||||||
public typealias RawValue = Swift.Int
|
public typealias RawValue = Swift.Int
|
||||||
public var rawValue: Swift.Int {
|
public var rawValue: Swift.Int {
|
||||||
get
|
get
|
||||||
@ -164,19 +160,13 @@ extension M2Kit.JSON : Swift.ExpressibleByArrayLiteral {
|
|||||||
public typealias ArrayLiteralElement = Any
|
public typealias ArrayLiteralElement = Any
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON : Swift.RawRepresentable {
|
extension M2Kit.JSON : Swift.RawRepresentable {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public init?(rawValue: Any)
|
public init?(rawValue: Any)
|
||||||
#endif
|
|
||||||
public var rawValue: Any {
|
public var rawValue: Any {
|
||||||
get
|
get
|
||||||
}
|
}
|
||||||
public func rawData(options opt: Foundation.JSONSerialization.WritingOptions = JSONSerialization.WritingOptions(rawValue: 0)) throws -> Foundation.Data
|
public func rawData(options opt: Foundation.JSONSerialization.WritingOptions = JSONSerialization.WritingOptions(rawValue: 0)) throws -> Foundation.Data
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public func rawString(_ encoding: Swift.String.Encoding = .utf8, options opt: Foundation.JSONSerialization.WritingOptions = .prettyPrinted) -> Swift.String?
|
public func rawString(_ encoding: Swift.String.Encoding = .utf8, options opt: Foundation.JSONSerialization.WritingOptions = .prettyPrinted) -> Swift.String?
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public func rawString(_ options: [M2Kit.writingOptionsKeys : Any]) -> Swift.String?
|
public func rawString(_ options: [M2Kit.writingOptionsKeys : Any]) -> Swift.String?
|
||||||
#endif
|
|
||||||
public typealias RawValue = Any
|
public typealias RawValue = Any
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON : Swift.CustomStringConvertible, Swift.CustomDebugStringConvertible {
|
extension M2Kit.JSON : Swift.CustomStringConvertible, Swift.CustomDebugStringConvertible {
|
||||||
@ -188,207 +178,165 @@ extension M2Kit.JSON : Swift.CustomStringConvertible, Swift.CustomDebugStringCon
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON {
|
extension M2Kit.JSON {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var array: [M2Kit.JSON]? {
|
public var array: [M2Kit.JSON]? {
|
||||||
get
|
get
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var arrayValue: [M2Kit.JSON] {
|
public var arrayValue: [M2Kit.JSON] {
|
||||||
get
|
get
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var arrayObject: [Any]? {
|
public var arrayObject: [Any]? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON {
|
extension M2Kit.JSON {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var dictionary: [Swift.String : M2Kit.JSON]? {
|
public var dictionary: [Swift.String : M2Kit.JSON]? {
|
||||||
get
|
get
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var dictionaryValue: [Swift.String : M2Kit.JSON] {
|
public var dictionaryValue: [Swift.String : M2Kit.JSON] {
|
||||||
get
|
get
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var dictionaryObject: [Swift.String : Any]? {
|
public var dictionaryObject: [Swift.String : Any]? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON {
|
extension M2Kit.JSON {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var bool: Swift.Bool? {
|
public var bool: Swift.Bool? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var boolValue: Swift.Bool {
|
public var boolValue: Swift.Bool {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON {
|
extension M2Kit.JSON {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var string: Swift.String? {
|
public var string: Swift.String? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var stringValue: Swift.String {
|
public var stringValue: Swift.String {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON {
|
extension M2Kit.JSON {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var number: Foundation.NSNumber? {
|
public var number: Foundation.NSNumber? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var numberValue: Foundation.NSNumber {
|
public var numberValue: Foundation.NSNumber {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON {
|
extension M2Kit.JSON {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var null: Foundation.NSNull? {
|
public var null: Foundation.NSNull? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public func exists() -> Swift.Bool
|
public func exists() -> Swift.Bool
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON {
|
extension M2Kit.JSON {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var url: Foundation.URL? {
|
public var url: Foundation.URL? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON {
|
extension M2Kit.JSON {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var double: Swift.Double? {
|
public var double: Swift.Double? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var doubleValue: Swift.Double {
|
public var doubleValue: Swift.Double {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var float: Swift.Float? {
|
public var float: Swift.Float? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var floatValue: Swift.Float {
|
public var floatValue: Swift.Float {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var int: Swift.Int? {
|
public var int: Swift.Int? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var intValue: Swift.Int {
|
public var intValue: Swift.Int {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var uInt: Swift.UInt? {
|
public var uInt: Swift.UInt? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var uIntValue: Swift.UInt {
|
public var uIntValue: Swift.UInt {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var int8: Swift.Int8? {
|
public var int8: Swift.Int8? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var int8Value: Swift.Int8 {
|
public var int8Value: Swift.Int8 {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var uInt8: Swift.UInt8? {
|
public var uInt8: Swift.UInt8? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var uInt8Value: Swift.UInt8 {
|
public var uInt8Value: Swift.UInt8 {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var int16: Swift.Int16? {
|
public var int16: Swift.Int16? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var int16Value: Swift.Int16 {
|
public var int16Value: Swift.Int16 {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var uInt16: Swift.UInt16? {
|
public var uInt16: Swift.UInt16? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var uInt16Value: Swift.UInt16 {
|
public var uInt16Value: Swift.UInt16 {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var int32: Swift.Int32? {
|
public var int32: Swift.Int32? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var int32Value: Swift.Int32 {
|
public var int32Value: Swift.Int32 {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var uInt32: Swift.UInt32? {
|
public var uInt32: Swift.UInt32? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var uInt32Value: Swift.UInt32 {
|
public var uInt32Value: Swift.UInt32 {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var int64: Swift.Int64? {
|
public var int64: Swift.Int64? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var int64Value: Swift.Int64 {
|
public var int64Value: Swift.Int64 {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var uInt64: Swift.UInt64? {
|
public var uInt64: Swift.UInt64? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var uInt64Value: Swift.UInt64 {
|
public var uInt64Value: Swift.UInt64 {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
@ -419,25 +367,13 @@ extension M2Kit.JSON : Swift.Codable {
|
|||||||
@_Concurrency.MainActor public struct M2API {
|
@_Concurrency.MainActor public struct M2API {
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func searchVideosEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func searchVideosEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func searchPlaylistsEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ playlists: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func searchPlaylistsEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ playlists: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getVideosOfPlaylistEx(playlistId: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getVideosOfPlaylistEx(playlistId: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func searchChannelsEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ channels: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func searchChannelsEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ channels: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@available(*, deprecated, message: "Use getVideosOfChannelEx(channelId:nextToken:result:) instead.")
|
@available(*, deprecated, message: "Use getVideosOfChannelEx(channelId:nextToken:result:) instead.")
|
||||||
@_Concurrency.MainActor public static func getVideosOfChannelEx(channelName: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getVideosOfChannelEx(channelName: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getVideosOfChannelEx(channelId: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getVideosOfChannelEx(channelId: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
@_Concurrency.MainActor public static func getAllVideosOfPlaylistEx(playlistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
@_Concurrency.MainActor public static func getAllVideosOfPlaylistEx(playlistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
@ -458,15 +394,11 @@ extension M2Kit.M2API {
|
|||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
@_Concurrency.MainActor public static func autocompleteSearchEx(_ text: Swift.String, result: @escaping (_ listSuggestion: [Swift.String]) -> Swift.Void)
|
@_Concurrency.MainActor public static func autocompleteSearchEx(_ text: Swift.String, result: @escaping (_ listSuggestion: [Swift.String]) -> Swift.Void)
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getLocationEx(result: @escaping (_ countryCode: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getLocationEx(result: @escaping (_ countryCode: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
@_Concurrency.MainActor public static func getTrendingSearchEx(result: @escaping (_ titles: [Swift.String]) -> Swift.Void)
|
@_Concurrency.MainActor public static func getTrendingSearchEx(result: @escaping (_ titles: [Swift.String]) -> Swift.Void)
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getLinkPlayEx(videoId: Swift.String, result: @escaping (_ videoUrl: Foundation.URL?, _ videoId: Swift.String, _ metadata: [Swift.AnyHashable : Any]?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getLinkPlayEx(videoId: Swift.String, result: @escaping (_ videoUrl: Foundation.URL?, _ videoId: Swift.String, _ metadata: [Swift.AnyHashable : Any]?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
@_Concurrency.MainActor public static func kworbMusicVideoWWEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
@_Concurrency.MainActor public static func kworbMusicVideoWWEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
@ -486,25 +418,13 @@ extension M2Kit.M2API {
|
|||||||
@_Concurrency.MainActor public static func ytArtistDetailEx(artistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
@_Concurrency.MainActor public static func ytArtistDetailEx(artistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 searchVideos(title: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 searchPlaylists(title: Swift.String, nextToken: Swift.String?) async -> (playlists: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 getVideosOfPlaylist(playlistId: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 searchChannels(title: Swift.String, nextToken: Swift.String?) async -> (channels: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@available(*, deprecated, message: "Use getVideosOfChannel(channelId:nextToken:) instead.")
|
@available(*, deprecated, message: "Use getVideosOfChannel(channelId:nextToken:) instead.")
|
||||||
@_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 getVideosOfChannel(channelName: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getVideosOfChannel(channelId: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
@_Concurrency.MainActor public static func getVideosOfChannel(channelId: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||||
#endif
|
|
||||||
@_Concurrency.MainActor public static func getAllVideosOfPlaylist(_ playlistId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
@_Concurrency.MainActor public static func getAllVideosOfPlaylist(_ playlistId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
@ -525,15 +445,11 @@ extension M2Kit.M2API {
|
|||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
@_Concurrency.MainActor public static func autocompleteSearch(_ text: Swift.String) async -> [Swift.String]
|
@_Concurrency.MainActor public static func autocompleteSearch(_ text: Swift.String) async -> [Swift.String]
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getLocation() async -> Swift.String?
|
@_Concurrency.MainActor public static func getLocation() async -> Swift.String?
|
||||||
#endif
|
|
||||||
@_Concurrency.MainActor public static func getTrendingSearch() async -> [Swift.String]
|
@_Concurrency.MainActor public static func getTrendingSearch() async -> [Swift.String]
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getLinkPlay(videoId: Swift.String) async -> (videoUrl: Foundation.URL?, videoId: Swift.String, metadata: [Swift.AnyHashable : Any]?)
|
@_Concurrency.MainActor public static func getLinkPlay(videoId: Swift.String) async -> (videoUrl: Foundation.URL?, videoId: Swift.String, metadata: [Swift.AnyHashable : Any]?)
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
@_Concurrency.MainActor public static func kworbMusicVideoWW() async -> [[Swift.AnyHashable : Any]]
|
@_Concurrency.MainActor public static func kworbMusicVideoWW() async -> [[Swift.AnyHashable : Any]]
|
||||||
@ -556,24 +472,12 @@ extension M2Kit.M2API {
|
|||||||
@_Concurrency.MainActor public static var backupCode: Swift.String {
|
@_Concurrency.MainActor public static var backupCode: Swift.String {
|
||||||
get
|
get
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func uploadBackup(code: Swift.String, data: Foundation.Data, result: @escaping (_ url: Swift.String?, _ version: Swift.Int) -> Swift.Void)
|
@_Concurrency.MainActor public static func uploadBackup(code: Swift.String, data: Foundation.Data, result: @escaping (_ url: Swift.String?, _ version: Swift.Int) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getBackup(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getBackup(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getBackupVersion(code: Swift.String, result: @escaping (_ num: Swift.Int?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getBackupVersion(code: Swift.String, result: @escaping (_ num: Swift.Int?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getBackupVersions(codes: [Swift.String], result: @escaping (_ results: [Swift.String : Swift.Int?]) -> Swift.Void)
|
@_Concurrency.MainActor public static func getBackupVersions(codes: [Swift.String], result: @escaping (_ results: [Swift.String : Swift.Int?]) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func uploadBackupPlaylist(code: Swift.String, data: Foundation.Data, result: @escaping (_ url: Swift.String?, _ version: Swift.Int) -> Swift.Void)
|
@_Concurrency.MainActor public static func uploadBackupPlaylist(code: Swift.String, data: Foundation.Data, result: @escaping (_ url: Swift.String?, _ version: Swift.Int) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getBackupPlaylist(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getBackupPlaylist(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
public let m2Version: Swift.String
|
public let m2Version: Swift.String
|
||||||
@_Concurrency.MainActor public func setServiceType(_ type: Swift.String)
|
@_Concurrency.MainActor public func setServiceType(_ type: Swift.String)
|
||||||
@ -582,26 +486,30 @@ public let m2Version: Swift.String
|
|||||||
@_Concurrency.MainActor public static func sendFeedback(content: Swift.String, result: @escaping (_ isOK: Swift.Bool) -> Swift.Void)
|
@_Concurrency.MainActor public static func sendFeedback(content: Swift.String, result: @escaping (_ isOK: Swift.Bool) -> Swift.Void)
|
||||||
}
|
}
|
||||||
@_Concurrency.MainActor public struct M2HTTP {
|
@_Concurrency.MainActor public struct M2HTTP {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getDataEx(url: Foundation.URL, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getDataEx(url: Foundation.URL, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getData(url: Foundation.URL) async -> Foundation.Data?
|
@_Concurrency.MainActor public static func getData(url: Foundation.URL) async -> Foundation.Data?
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getImageDataEx(url: Foundation.URL, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getImageDataEx(url: Foundation.URL, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getImageData(url: Foundation.URL) async -> Foundation.Data?
|
@_Concurrency.MainActor public static func getImageData(url: Foundation.URL) async -> Foundation.Data?
|
||||||
#endif
|
}
|
||||||
|
@_Concurrency.MainActor public struct M2IAP {
|
||||||
|
@_Concurrency.MainActor public static let IAPPurchasedSuccessNotification: Foundation.Notification.Name
|
||||||
|
@_Concurrency.MainActor public static let IAPPurchasedFailNotification: Foundation.Notification.Name
|
||||||
|
@_Concurrency.MainActor public static let IAPProductStatusUpdatedNotification: Foundation.Notification.Name
|
||||||
|
@_Concurrency.MainActor public static let IAPProductsAvailableChangedNotification: Foundation.Notification.Name
|
||||||
|
@_Concurrency.MainActor public static func setup(iapId: Swift.String)
|
||||||
|
@_Concurrency.MainActor public static var isProVersion: Swift.Bool {
|
||||||
|
get
|
||||||
|
}
|
||||||
|
@_Concurrency.MainActor public static var priceProVersion: Swift.String? {
|
||||||
|
get
|
||||||
|
}
|
||||||
|
@_Concurrency.MainActor public static func fetch()
|
||||||
|
@_Concurrency.MainActor public static func purchaseProVersion()
|
||||||
|
@_Concurrency.MainActor public static func restorePurchase()
|
||||||
}
|
}
|
||||||
@_Concurrency.MainActor public struct M2Image {
|
@_Concurrency.MainActor public struct M2Image {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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, result: @escaping (_ url: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func uploadImage(_ image: UIKit.UIImage) async -> Swift.String?
|
@_Concurrency.MainActor public static func uploadImage(_ image: UIKit.UIImage) async -> Swift.String?
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
@_Concurrency.MainActor public struct M2K {
|
@_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)
|
@_Concurrency.MainActor public static func start(c: Swift.String = "", t: Swift.String = "", d: Swift.Int = 0, result: @escaping () -> Swift.Void)
|
||||||
@ -612,9 +520,7 @@ public let m2Version: Swift.String
|
|||||||
@_Concurrency.MainActor public static func sendAllEvents(result: @escaping (_ isOK: Swift.Bool) -> Swift.Void)
|
@_Concurrency.MainActor public static func sendAllEvents(result: @escaping (_ isOK: Swift.Bool) -> Swift.Void)
|
||||||
}
|
}
|
||||||
@_Concurrency.MainActor public struct M2Musi {
|
@_Concurrency.MainActor public struct M2Musi {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getVideosOfPlaylistWithCode(_ code: Swift.String, result: @escaping (_ title: Swift.String?, _ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
@_Concurrency.MainActor public static func getVideosOfPlaylistWithCode(_ code: Swift.String, result: @escaping (_ title: Swift.String?, _ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
public enum M2NetConnecttionType {
|
public enum M2NetConnecttionType {
|
||||||
case wifi
|
case wifi
|
||||||
@ -646,45 +552,23 @@ extension M2Kit.M2Radio {
|
|||||||
@_Concurrency.MainActor public static func getCurrentRadioCountryCode() -> Swift.String
|
@_Concurrency.MainActor public static func getCurrentRadioCountryCode() -> Swift.String
|
||||||
}
|
}
|
||||||
extension M2Kit.M2Radio {
|
extension M2Kit.M2Radio {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 searchStationsEx(title: Swift.String, token: Swift.String?, result: @escaping (_ stations: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 topStationsEx(token: Swift.String?, result: @escaping (_ stations: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
@_Concurrency.MainActor public static func listGenresForRadioEx(result: @escaping (_ genres: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
@_Concurrency.MainActor public static func listGenresForRadioEx(result: @escaping (_ genres: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 listStationsByGenresEx(genre: [Swift.AnyHashable : Any], token: Swift.String?, result: @escaping (_ stations: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func stationInfoEx(station: [Swift.AnyHashable : Any], result: @escaping (_ info: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func stationInfoEx(station: [Swift.AnyHashable : Any], result: @escaping (_ info: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
extension M2Kit.M2Radio {
|
extension M2Kit.M2Radio {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 searchPodcastsEx(title: Swift.String, token: Swift.String?, result: @escaping (_ podcasts: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 listEpisodesOfPodcastEx(podcast: [Swift.AnyHashable : Any], token: Swift.String?, result: @escaping (_ episodes: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 topPodcastsEx(token: Swift.String?, result: @escaping (_ podcasts: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
@_Concurrency.MainActor public static func listGenresForPodcastEx(result: @escaping (_ genres: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
@_Concurrency.MainActor public static func listGenresForPodcastEx(result: @escaping (_ genres: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 listPodcastsByGenreEx(genre: [Swift.AnyHashable : Any], token: Swift.String?, result: @escaping (_ podcasts: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func podcastInfoEx(podcast: [Swift.AnyHashable : Any], result: @escaping (_ info: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func podcastInfoEx(podcast: [Swift.AnyHashable : Any], result: @escaping (_ info: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
extension M2Kit.M2Radio {
|
extension M2Kit.M2Radio {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getLinkPlayEx(station: [Swift.AnyHashable : Any], result: @escaping (_ url: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getLinkPlayEx(station: [Swift.AnyHashable : Any], result: @escaping (_ url: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getLinkPlayEx(episode: [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)
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
@_hasMissingDesignatedInitializers public class M2Setting {
|
@_hasMissingDesignatedInitializers public class M2Setting {
|
||||||
public static var option10: Swift.String {
|
public static var option10: Swift.String {
|
||||||
@ -988,14 +872,13 @@ extension M2Kit.M2Utils {
|
|||||||
@_Concurrency.MainActor public static func randomCode7() -> Swift.String
|
@_Concurrency.MainActor public static func randomCode7() -> Swift.String
|
||||||
@_Concurrency.MainActor public static func randomCode11() -> Swift.String
|
@_Concurrency.MainActor public static func randomCode11() -> Swift.String
|
||||||
}
|
}
|
||||||
|
extension M2Kit.M2Utils {
|
||||||
|
@_Concurrency.MainActor public static func weightedRandom(from items: [Swift.String], weights: [Swift.Int]) -> Swift.String
|
||||||
|
}
|
||||||
@objc @_inheritsConvenienceInitializers @_Concurrency.MainActor public class M2WebVC : UIKit.UIViewController {
|
@objc @_inheritsConvenienceInitializers @_Concurrency.MainActor public class M2WebVC : UIKit.UIViewController {
|
||||||
@_Concurrency.MainActor @objc override dynamic public func viewDidLoad()
|
@_Concurrency.MainActor @objc override dynamic public func viewDidLoad()
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor @objc override dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?)
|
@_Concurrency.MainActor @objc override dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor @objc required dynamic public init?(coder: Foundation.NSCoder)
|
@_Concurrency.MainActor @objc required dynamic public init?(coder: Foundation.NSCoder)
|
||||||
#endif
|
|
||||||
@objc deinit
|
@objc deinit
|
||||||
}
|
}
|
||||||
@_Concurrency.MainActor public struct M2WebView : SwiftUI.UIViewControllerRepresentable {
|
@_Concurrency.MainActor public struct M2WebView : SwiftUI.UIViewControllerRepresentable {
|
||||||
@ -1009,21 +892,15 @@ extension M2Kit.M2Utils {
|
|||||||
public enum M2YTIDType : Swift.String {
|
public enum M2YTIDType : Swift.String {
|
||||||
case video
|
case video
|
||||||
case playlist
|
case playlist
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public init?(rawValue: Swift.String)
|
public init?(rawValue: Swift.String)
|
||||||
#endif
|
|
||||||
public typealias RawValue = Swift.String
|
public typealias RawValue = Swift.String
|
||||||
public var rawValue: Swift.String {
|
public var rawValue: Swift.String {
|
||||||
get
|
get
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@_Concurrency.MainActor public struct M2YT {
|
@_Concurrency.MainActor public struct M2YT {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func extractId(fromUrl: Swift.String) -> (id: Swift.String, type: M2Kit.M2YTIDType)?
|
@_Concurrency.MainActor public static func extractId(fromUrl: Swift.String) -> (id: Swift.String, type: M2Kit.M2YTIDType)?
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getVideosOfPlaylistId(_ playlistId: Swift.String, result: @escaping (_ title: Swift.String?, _ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
@_Concurrency.MainActor public static func getVideosOfPlaylistId(_ playlistId: Swift.String, result: @escaping (_ title: Swift.String?, _ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
extension M2Kit.SwiftyJSONError : Swift.Equatable {}
|
extension M2Kit.SwiftyJSONError : Swift.Equatable {}
|
||||||
extension M2Kit.SwiftyJSONError : Swift.Hashable {}
|
extension M2Kit.SwiftyJSONError : Swift.Hashable {}
|
||||||
@ -1037,6 +914,7 @@ extension M2Kit.M2API : Swift.Sendable {}
|
|||||||
extension M2Kit.M2Backup : Swift.Sendable {}
|
extension M2Kit.M2Backup : Swift.Sendable {}
|
||||||
extension M2Kit.M2Feedback : Swift.Sendable {}
|
extension M2Kit.M2Feedback : Swift.Sendable {}
|
||||||
extension M2Kit.M2HTTP : Swift.Sendable {}
|
extension M2Kit.M2HTTP : Swift.Sendable {}
|
||||||
|
extension M2Kit.M2IAP : Swift.Sendable {}
|
||||||
extension M2Kit.M2Image : Swift.Sendable {}
|
extension M2Kit.M2Image : Swift.Sendable {}
|
||||||
extension M2Kit.M2K : Swift.Sendable {}
|
extension M2Kit.M2K : Swift.Sendable {}
|
||||||
extension M2Kit.M2Log : Swift.Sendable {}
|
extension M2Kit.M2Log : Swift.Sendable {}
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@ -1,7 +1,7 @@
|
|||||||
// swift-interface-format-version: 1.0
|
// swift-interface-format-version: 1.0
|
||||||
// swift-compiler-version: Apple Swift version 6.2.4 effective-5.10 (swiftlang-6.2.4.1.4 clang-1700.6.4.2)
|
// swift-compiler-version: Apple Swift version 6.3 effective-5.10 (swiftlang-6.3.0.123.5 clang-2100.0.123.102)
|
||||||
// swift-module-flags: -target x86_64-apple-ios16.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name M2Kit
|
// swift-module-flags: -target x86_64-apple-ios16.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name M2Kit
|
||||||
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.2.4
|
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3
|
||||||
import Combine
|
import Combine
|
||||||
import CommonCrypto
|
import CommonCrypto
|
||||||
import Foundation
|
import Foundation
|
||||||
@ -22,9 +22,7 @@ public enum SwiftyJSONError : Swift.Int, Swift.Error {
|
|||||||
case wrongType
|
case wrongType
|
||||||
case notExist
|
case notExist
|
||||||
case invalidJSON
|
case invalidJSON
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public init?(rawValue: Swift.Int)
|
public init?(rawValue: Swift.Int)
|
||||||
#endif
|
|
||||||
public typealias RawValue = Swift.Int
|
public typealias RawValue = Swift.Int
|
||||||
public var rawValue: Swift.Int {
|
public var rawValue: Swift.Int {
|
||||||
get
|
get
|
||||||
@ -49,9 +47,7 @@ public enum Type : Swift.Int {
|
|||||||
case dictionary
|
case dictionary
|
||||||
case null
|
case null
|
||||||
case unknown
|
case unknown
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public init?(rawValue: Swift.Int)
|
public init?(rawValue: Swift.Int)
|
||||||
#endif
|
|
||||||
public typealias RawValue = Swift.Int
|
public typealias RawValue = Swift.Int
|
||||||
public var rawValue: Swift.Int {
|
public var rawValue: Swift.Int {
|
||||||
get
|
get
|
||||||
@ -164,19 +160,13 @@ extension M2Kit.JSON : Swift.ExpressibleByArrayLiteral {
|
|||||||
public typealias ArrayLiteralElement = Any
|
public typealias ArrayLiteralElement = Any
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON : Swift.RawRepresentable {
|
extension M2Kit.JSON : Swift.RawRepresentable {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public init?(rawValue: Any)
|
public init?(rawValue: Any)
|
||||||
#endif
|
|
||||||
public var rawValue: Any {
|
public var rawValue: Any {
|
||||||
get
|
get
|
||||||
}
|
}
|
||||||
public func rawData(options opt: Foundation.JSONSerialization.WritingOptions = JSONSerialization.WritingOptions(rawValue: 0)) throws -> Foundation.Data
|
public func rawData(options opt: Foundation.JSONSerialization.WritingOptions = JSONSerialization.WritingOptions(rawValue: 0)) throws -> Foundation.Data
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public func rawString(_ encoding: Swift.String.Encoding = .utf8, options opt: Foundation.JSONSerialization.WritingOptions = .prettyPrinted) -> Swift.String?
|
public func rawString(_ encoding: Swift.String.Encoding = .utf8, options opt: Foundation.JSONSerialization.WritingOptions = .prettyPrinted) -> Swift.String?
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public func rawString(_ options: [M2Kit.writingOptionsKeys : Any]) -> Swift.String?
|
public func rawString(_ options: [M2Kit.writingOptionsKeys : Any]) -> Swift.String?
|
||||||
#endif
|
|
||||||
public typealias RawValue = Any
|
public typealias RawValue = Any
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON : Swift.CustomStringConvertible, Swift.CustomDebugStringConvertible {
|
extension M2Kit.JSON : Swift.CustomStringConvertible, Swift.CustomDebugStringConvertible {
|
||||||
@ -188,207 +178,165 @@ extension M2Kit.JSON : Swift.CustomStringConvertible, Swift.CustomDebugStringCon
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON {
|
extension M2Kit.JSON {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var array: [M2Kit.JSON]? {
|
public var array: [M2Kit.JSON]? {
|
||||||
get
|
get
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var arrayValue: [M2Kit.JSON] {
|
public var arrayValue: [M2Kit.JSON] {
|
||||||
get
|
get
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var arrayObject: [Any]? {
|
public var arrayObject: [Any]? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON {
|
extension M2Kit.JSON {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var dictionary: [Swift.String : M2Kit.JSON]? {
|
public var dictionary: [Swift.String : M2Kit.JSON]? {
|
||||||
get
|
get
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var dictionaryValue: [Swift.String : M2Kit.JSON] {
|
public var dictionaryValue: [Swift.String : M2Kit.JSON] {
|
||||||
get
|
get
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var dictionaryObject: [Swift.String : Any]? {
|
public var dictionaryObject: [Swift.String : Any]? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON {
|
extension M2Kit.JSON {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var bool: Swift.Bool? {
|
public var bool: Swift.Bool? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var boolValue: Swift.Bool {
|
public var boolValue: Swift.Bool {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON {
|
extension M2Kit.JSON {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var string: Swift.String? {
|
public var string: Swift.String? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var stringValue: Swift.String {
|
public var stringValue: Swift.String {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON {
|
extension M2Kit.JSON {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var number: Foundation.NSNumber? {
|
public var number: Foundation.NSNumber? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var numberValue: Foundation.NSNumber {
|
public var numberValue: Foundation.NSNumber {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON {
|
extension M2Kit.JSON {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var null: Foundation.NSNull? {
|
public var null: Foundation.NSNull? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public func exists() -> Swift.Bool
|
public func exists() -> Swift.Bool
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON {
|
extension M2Kit.JSON {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var url: Foundation.URL? {
|
public var url: Foundation.URL? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON {
|
extension M2Kit.JSON {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var double: Swift.Double? {
|
public var double: Swift.Double? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var doubleValue: Swift.Double {
|
public var doubleValue: Swift.Double {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var float: Swift.Float? {
|
public var float: Swift.Float? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var floatValue: Swift.Float {
|
public var floatValue: Swift.Float {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var int: Swift.Int? {
|
public var int: Swift.Int? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var intValue: Swift.Int {
|
public var intValue: Swift.Int {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var uInt: Swift.UInt? {
|
public var uInt: Swift.UInt? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var uIntValue: Swift.UInt {
|
public var uIntValue: Swift.UInt {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var int8: Swift.Int8? {
|
public var int8: Swift.Int8? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var int8Value: Swift.Int8 {
|
public var int8Value: Swift.Int8 {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var uInt8: Swift.UInt8? {
|
public var uInt8: Swift.UInt8? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var uInt8Value: Swift.UInt8 {
|
public var uInt8Value: Swift.UInt8 {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var int16: Swift.Int16? {
|
public var int16: Swift.Int16? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var int16Value: Swift.Int16 {
|
public var int16Value: Swift.Int16 {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var uInt16: Swift.UInt16? {
|
public var uInt16: Swift.UInt16? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var uInt16Value: Swift.UInt16 {
|
public var uInt16Value: Swift.UInt16 {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var int32: Swift.Int32? {
|
public var int32: Swift.Int32? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var int32Value: Swift.Int32 {
|
public var int32Value: Swift.Int32 {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var uInt32: Swift.UInt32? {
|
public var uInt32: Swift.UInt32? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var uInt32Value: Swift.UInt32 {
|
public var uInt32Value: Swift.UInt32 {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var int64: Swift.Int64? {
|
public var int64: Swift.Int64? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var int64Value: Swift.Int64 {
|
public var int64Value: Swift.Int64 {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var uInt64: Swift.UInt64? {
|
public var uInt64: Swift.UInt64? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var uInt64Value: Swift.UInt64 {
|
public var uInt64Value: Swift.UInt64 {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
@ -419,25 +367,13 @@ extension M2Kit.JSON : Swift.Codable {
|
|||||||
@_Concurrency.MainActor public struct M2API {
|
@_Concurrency.MainActor public struct M2API {
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func searchVideosEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func searchVideosEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func searchPlaylistsEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ playlists: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func searchPlaylistsEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ playlists: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getVideosOfPlaylistEx(playlistId: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getVideosOfPlaylistEx(playlistId: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func searchChannelsEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ channels: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func searchChannelsEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ channels: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@available(*, deprecated, message: "Use getVideosOfChannelEx(channelId:nextToken:result:) instead.")
|
@available(*, deprecated, message: "Use getVideosOfChannelEx(channelId:nextToken:result:) instead.")
|
||||||
@_Concurrency.MainActor public static func getVideosOfChannelEx(channelName: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getVideosOfChannelEx(channelName: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getVideosOfChannelEx(channelId: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getVideosOfChannelEx(channelId: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
@_Concurrency.MainActor public static func getAllVideosOfPlaylistEx(playlistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
@_Concurrency.MainActor public static func getAllVideosOfPlaylistEx(playlistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
@ -458,15 +394,11 @@ extension M2Kit.M2API {
|
|||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
@_Concurrency.MainActor public static func autocompleteSearchEx(_ text: Swift.String, result: @escaping (_ listSuggestion: [Swift.String]) -> Swift.Void)
|
@_Concurrency.MainActor public static func autocompleteSearchEx(_ text: Swift.String, result: @escaping (_ listSuggestion: [Swift.String]) -> Swift.Void)
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getLocationEx(result: @escaping (_ countryCode: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getLocationEx(result: @escaping (_ countryCode: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
@_Concurrency.MainActor public static func getTrendingSearchEx(result: @escaping (_ titles: [Swift.String]) -> Swift.Void)
|
@_Concurrency.MainActor public static func getTrendingSearchEx(result: @escaping (_ titles: [Swift.String]) -> Swift.Void)
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getLinkPlayEx(videoId: Swift.String, result: @escaping (_ videoUrl: Foundation.URL?, _ videoId: Swift.String, _ metadata: [Swift.AnyHashable : Any]?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getLinkPlayEx(videoId: Swift.String, result: @escaping (_ videoUrl: Foundation.URL?, _ videoId: Swift.String, _ metadata: [Swift.AnyHashable : Any]?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
@_Concurrency.MainActor public static func kworbMusicVideoWWEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
@_Concurrency.MainActor public static func kworbMusicVideoWWEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
@ -486,25 +418,13 @@ extension M2Kit.M2API {
|
|||||||
@_Concurrency.MainActor public static func ytArtistDetailEx(artistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
@_Concurrency.MainActor public static func ytArtistDetailEx(artistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 searchVideos(title: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 searchPlaylists(title: Swift.String, nextToken: Swift.String?) async -> (playlists: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 getVideosOfPlaylist(playlistId: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 searchChannels(title: Swift.String, nextToken: Swift.String?) async -> (channels: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@available(*, deprecated, message: "Use getVideosOfChannel(channelId:nextToken:) instead.")
|
@available(*, deprecated, message: "Use getVideosOfChannel(channelId:nextToken:) instead.")
|
||||||
@_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 getVideosOfChannel(channelName: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getVideosOfChannel(channelId: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
@_Concurrency.MainActor public static func getVideosOfChannel(channelId: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||||
#endif
|
|
||||||
@_Concurrency.MainActor public static func getAllVideosOfPlaylist(_ playlistId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
@_Concurrency.MainActor public static func getAllVideosOfPlaylist(_ playlistId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
@ -525,15 +445,11 @@ extension M2Kit.M2API {
|
|||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
@_Concurrency.MainActor public static func autocompleteSearch(_ text: Swift.String) async -> [Swift.String]
|
@_Concurrency.MainActor public static func autocompleteSearch(_ text: Swift.String) async -> [Swift.String]
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getLocation() async -> Swift.String?
|
@_Concurrency.MainActor public static func getLocation() async -> Swift.String?
|
||||||
#endif
|
|
||||||
@_Concurrency.MainActor public static func getTrendingSearch() async -> [Swift.String]
|
@_Concurrency.MainActor public static func getTrendingSearch() async -> [Swift.String]
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getLinkPlay(videoId: Swift.String) async -> (videoUrl: Foundation.URL?, videoId: Swift.String, metadata: [Swift.AnyHashable : Any]?)
|
@_Concurrency.MainActor public static func getLinkPlay(videoId: Swift.String) async -> (videoUrl: Foundation.URL?, videoId: Swift.String, metadata: [Swift.AnyHashable : Any]?)
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
@_Concurrency.MainActor public static func kworbMusicVideoWW() async -> [[Swift.AnyHashable : Any]]
|
@_Concurrency.MainActor public static func kworbMusicVideoWW() async -> [[Swift.AnyHashable : Any]]
|
||||||
@ -556,24 +472,12 @@ extension M2Kit.M2API {
|
|||||||
@_Concurrency.MainActor public static var backupCode: Swift.String {
|
@_Concurrency.MainActor public static var backupCode: Swift.String {
|
||||||
get
|
get
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func uploadBackup(code: Swift.String, data: Foundation.Data, result: @escaping (_ url: Swift.String?, _ version: Swift.Int) -> Swift.Void)
|
@_Concurrency.MainActor public static func uploadBackup(code: Swift.String, data: Foundation.Data, result: @escaping (_ url: Swift.String?, _ version: Swift.Int) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getBackup(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getBackup(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getBackupVersion(code: Swift.String, result: @escaping (_ num: Swift.Int?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getBackupVersion(code: Swift.String, result: @escaping (_ num: Swift.Int?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getBackupVersions(codes: [Swift.String], result: @escaping (_ results: [Swift.String : Swift.Int?]) -> Swift.Void)
|
@_Concurrency.MainActor public static func getBackupVersions(codes: [Swift.String], result: @escaping (_ results: [Swift.String : Swift.Int?]) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func uploadBackupPlaylist(code: Swift.String, data: Foundation.Data, result: @escaping (_ url: Swift.String?, _ version: Swift.Int) -> Swift.Void)
|
@_Concurrency.MainActor public static func uploadBackupPlaylist(code: Swift.String, data: Foundation.Data, result: @escaping (_ url: Swift.String?, _ version: Swift.Int) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getBackupPlaylist(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getBackupPlaylist(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
public let m2Version: Swift.String
|
public let m2Version: Swift.String
|
||||||
@_Concurrency.MainActor public func setServiceType(_ type: Swift.String)
|
@_Concurrency.MainActor public func setServiceType(_ type: Swift.String)
|
||||||
@ -582,26 +486,30 @@ public let m2Version: Swift.String
|
|||||||
@_Concurrency.MainActor public static func sendFeedback(content: Swift.String, result: @escaping (_ isOK: Swift.Bool) -> Swift.Void)
|
@_Concurrency.MainActor public static func sendFeedback(content: Swift.String, result: @escaping (_ isOK: Swift.Bool) -> Swift.Void)
|
||||||
}
|
}
|
||||||
@_Concurrency.MainActor public struct M2HTTP {
|
@_Concurrency.MainActor public struct M2HTTP {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getDataEx(url: Foundation.URL, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getDataEx(url: Foundation.URL, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getData(url: Foundation.URL) async -> Foundation.Data?
|
@_Concurrency.MainActor public static func getData(url: Foundation.URL) async -> Foundation.Data?
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getImageDataEx(url: Foundation.URL, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getImageDataEx(url: Foundation.URL, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getImageData(url: Foundation.URL) async -> Foundation.Data?
|
@_Concurrency.MainActor public static func getImageData(url: Foundation.URL) async -> Foundation.Data?
|
||||||
#endif
|
}
|
||||||
|
@_Concurrency.MainActor public struct M2IAP {
|
||||||
|
@_Concurrency.MainActor public static let IAPPurchasedSuccessNotification: Foundation.Notification.Name
|
||||||
|
@_Concurrency.MainActor public static let IAPPurchasedFailNotification: Foundation.Notification.Name
|
||||||
|
@_Concurrency.MainActor public static let IAPProductStatusUpdatedNotification: Foundation.Notification.Name
|
||||||
|
@_Concurrency.MainActor public static let IAPProductsAvailableChangedNotification: Foundation.Notification.Name
|
||||||
|
@_Concurrency.MainActor public static func setup(iapId: Swift.String)
|
||||||
|
@_Concurrency.MainActor public static var isProVersion: Swift.Bool {
|
||||||
|
get
|
||||||
|
}
|
||||||
|
@_Concurrency.MainActor public static var priceProVersion: Swift.String? {
|
||||||
|
get
|
||||||
|
}
|
||||||
|
@_Concurrency.MainActor public static func fetch()
|
||||||
|
@_Concurrency.MainActor public static func purchaseProVersion()
|
||||||
|
@_Concurrency.MainActor public static func restorePurchase()
|
||||||
}
|
}
|
||||||
@_Concurrency.MainActor public struct M2Image {
|
@_Concurrency.MainActor public struct M2Image {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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, result: @escaping (_ url: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func uploadImage(_ image: UIKit.UIImage) async -> Swift.String?
|
@_Concurrency.MainActor public static func uploadImage(_ image: UIKit.UIImage) async -> Swift.String?
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
@_Concurrency.MainActor public struct M2K {
|
@_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)
|
@_Concurrency.MainActor public static func start(c: Swift.String = "", t: Swift.String = "", d: Swift.Int = 0, result: @escaping () -> Swift.Void)
|
||||||
@ -612,9 +520,7 @@ public let m2Version: Swift.String
|
|||||||
@_Concurrency.MainActor public static func sendAllEvents(result: @escaping (_ isOK: Swift.Bool) -> Swift.Void)
|
@_Concurrency.MainActor public static func sendAllEvents(result: @escaping (_ isOK: Swift.Bool) -> Swift.Void)
|
||||||
}
|
}
|
||||||
@_Concurrency.MainActor public struct M2Musi {
|
@_Concurrency.MainActor public struct M2Musi {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getVideosOfPlaylistWithCode(_ code: Swift.String, result: @escaping (_ title: Swift.String?, _ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
@_Concurrency.MainActor public static func getVideosOfPlaylistWithCode(_ code: Swift.String, result: @escaping (_ title: Swift.String?, _ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
public enum M2NetConnecttionType {
|
public enum M2NetConnecttionType {
|
||||||
case wifi
|
case wifi
|
||||||
@ -646,45 +552,23 @@ extension M2Kit.M2Radio {
|
|||||||
@_Concurrency.MainActor public static func getCurrentRadioCountryCode() -> Swift.String
|
@_Concurrency.MainActor public static func getCurrentRadioCountryCode() -> Swift.String
|
||||||
}
|
}
|
||||||
extension M2Kit.M2Radio {
|
extension M2Kit.M2Radio {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 searchStationsEx(title: Swift.String, token: Swift.String?, result: @escaping (_ stations: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 topStationsEx(token: Swift.String?, result: @escaping (_ stations: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
@_Concurrency.MainActor public static func listGenresForRadioEx(result: @escaping (_ genres: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
@_Concurrency.MainActor public static func listGenresForRadioEx(result: @escaping (_ genres: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 listStationsByGenresEx(genre: [Swift.AnyHashable : Any], token: Swift.String?, result: @escaping (_ stations: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func stationInfoEx(station: [Swift.AnyHashable : Any], result: @escaping (_ info: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func stationInfoEx(station: [Swift.AnyHashable : Any], result: @escaping (_ info: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
extension M2Kit.M2Radio {
|
extension M2Kit.M2Radio {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 searchPodcastsEx(title: Swift.String, token: Swift.String?, result: @escaping (_ podcasts: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 listEpisodesOfPodcastEx(podcast: [Swift.AnyHashable : Any], token: Swift.String?, result: @escaping (_ episodes: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 topPodcastsEx(token: Swift.String?, result: @escaping (_ podcasts: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
@_Concurrency.MainActor public static func listGenresForPodcastEx(result: @escaping (_ genres: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
@_Concurrency.MainActor public static func listGenresForPodcastEx(result: @escaping (_ genres: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 listPodcastsByGenreEx(genre: [Swift.AnyHashable : Any], token: Swift.String?, result: @escaping (_ podcasts: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func podcastInfoEx(podcast: [Swift.AnyHashable : Any], result: @escaping (_ info: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func podcastInfoEx(podcast: [Swift.AnyHashable : Any], result: @escaping (_ info: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
extension M2Kit.M2Radio {
|
extension M2Kit.M2Radio {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getLinkPlayEx(station: [Swift.AnyHashable : Any], result: @escaping (_ url: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getLinkPlayEx(station: [Swift.AnyHashable : Any], result: @escaping (_ url: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getLinkPlayEx(episode: [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)
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
@_hasMissingDesignatedInitializers public class M2Setting {
|
@_hasMissingDesignatedInitializers public class M2Setting {
|
||||||
public static var option10: Swift.String {
|
public static var option10: Swift.String {
|
||||||
@ -988,14 +872,13 @@ extension M2Kit.M2Utils {
|
|||||||
@_Concurrency.MainActor public static func randomCode7() -> Swift.String
|
@_Concurrency.MainActor public static func randomCode7() -> Swift.String
|
||||||
@_Concurrency.MainActor public static func randomCode11() -> Swift.String
|
@_Concurrency.MainActor public static func randomCode11() -> Swift.String
|
||||||
}
|
}
|
||||||
|
extension M2Kit.M2Utils {
|
||||||
|
@_Concurrency.MainActor public static func weightedRandom(from items: [Swift.String], weights: [Swift.Int]) -> Swift.String
|
||||||
|
}
|
||||||
@objc @_inheritsConvenienceInitializers @_Concurrency.MainActor public class M2WebVC : UIKit.UIViewController {
|
@objc @_inheritsConvenienceInitializers @_Concurrency.MainActor public class M2WebVC : UIKit.UIViewController {
|
||||||
@_Concurrency.MainActor @objc override dynamic public func viewDidLoad()
|
@_Concurrency.MainActor @objc override dynamic public func viewDidLoad()
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor @objc override dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?)
|
@_Concurrency.MainActor @objc override dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor @objc required dynamic public init?(coder: Foundation.NSCoder)
|
@_Concurrency.MainActor @objc required dynamic public init?(coder: Foundation.NSCoder)
|
||||||
#endif
|
|
||||||
@objc deinit
|
@objc deinit
|
||||||
}
|
}
|
||||||
@_Concurrency.MainActor public struct M2WebView : SwiftUI.UIViewControllerRepresentable {
|
@_Concurrency.MainActor public struct M2WebView : SwiftUI.UIViewControllerRepresentable {
|
||||||
@ -1009,21 +892,15 @@ extension M2Kit.M2Utils {
|
|||||||
public enum M2YTIDType : Swift.String {
|
public enum M2YTIDType : Swift.String {
|
||||||
case video
|
case video
|
||||||
case playlist
|
case playlist
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public init?(rawValue: Swift.String)
|
public init?(rawValue: Swift.String)
|
||||||
#endif
|
|
||||||
public typealias RawValue = Swift.String
|
public typealias RawValue = Swift.String
|
||||||
public var rawValue: Swift.String {
|
public var rawValue: Swift.String {
|
||||||
get
|
get
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@_Concurrency.MainActor public struct M2YT {
|
@_Concurrency.MainActor public struct M2YT {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func extractId(fromUrl: Swift.String) -> (id: Swift.String, type: M2Kit.M2YTIDType)?
|
@_Concurrency.MainActor public static func extractId(fromUrl: Swift.String) -> (id: Swift.String, type: M2Kit.M2YTIDType)?
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getVideosOfPlaylistId(_ playlistId: Swift.String, result: @escaping (_ title: Swift.String?, _ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
@_Concurrency.MainActor public static func getVideosOfPlaylistId(_ playlistId: Swift.String, result: @escaping (_ title: Swift.String?, _ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
extension M2Kit.SwiftyJSONError : Swift.Equatable {}
|
extension M2Kit.SwiftyJSONError : Swift.Equatable {}
|
||||||
extension M2Kit.SwiftyJSONError : Swift.Hashable {}
|
extension M2Kit.SwiftyJSONError : Swift.Hashable {}
|
||||||
@ -1037,6 +914,7 @@ extension M2Kit.M2API : Swift.Sendable {}
|
|||||||
extension M2Kit.M2Backup : Swift.Sendable {}
|
extension M2Kit.M2Backup : Swift.Sendable {}
|
||||||
extension M2Kit.M2Feedback : Swift.Sendable {}
|
extension M2Kit.M2Feedback : Swift.Sendable {}
|
||||||
extension M2Kit.M2HTTP : Swift.Sendable {}
|
extension M2Kit.M2HTTP : Swift.Sendable {}
|
||||||
|
extension M2Kit.M2IAP : Swift.Sendable {}
|
||||||
extension M2Kit.M2Image : Swift.Sendable {}
|
extension M2Kit.M2Image : Swift.Sendable {}
|
||||||
extension M2Kit.M2K : Swift.Sendable {}
|
extension M2Kit.M2K : Swift.Sendable {}
|
||||||
extension M2Kit.M2Log : Swift.Sendable {}
|
extension M2Kit.M2Log : Swift.Sendable {}
|
||||||
|
|||||||
Binary file not shown.
@ -1,7 +1,7 @@
|
|||||||
// swift-interface-format-version: 1.0
|
// swift-interface-format-version: 1.0
|
||||||
// swift-compiler-version: Apple Swift version 6.2.4 effective-5.10 (swiftlang-6.2.4.1.4 clang-1700.6.4.2)
|
// swift-compiler-version: Apple Swift version 6.3 effective-5.10 (swiftlang-6.3.0.123.5 clang-2100.0.123.102)
|
||||||
// swift-module-flags: -target x86_64-apple-ios16.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name M2Kit
|
// swift-module-flags: -target x86_64-apple-ios16.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name M2Kit
|
||||||
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.2.4
|
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3
|
||||||
import Combine
|
import Combine
|
||||||
import CommonCrypto
|
import CommonCrypto
|
||||||
import Foundation
|
import Foundation
|
||||||
@ -22,9 +22,7 @@ public enum SwiftyJSONError : Swift.Int, Swift.Error {
|
|||||||
case wrongType
|
case wrongType
|
||||||
case notExist
|
case notExist
|
||||||
case invalidJSON
|
case invalidJSON
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public init?(rawValue: Swift.Int)
|
public init?(rawValue: Swift.Int)
|
||||||
#endif
|
|
||||||
public typealias RawValue = Swift.Int
|
public typealias RawValue = Swift.Int
|
||||||
public var rawValue: Swift.Int {
|
public var rawValue: Swift.Int {
|
||||||
get
|
get
|
||||||
@ -49,9 +47,7 @@ public enum Type : Swift.Int {
|
|||||||
case dictionary
|
case dictionary
|
||||||
case null
|
case null
|
||||||
case unknown
|
case unknown
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public init?(rawValue: Swift.Int)
|
public init?(rawValue: Swift.Int)
|
||||||
#endif
|
|
||||||
public typealias RawValue = Swift.Int
|
public typealias RawValue = Swift.Int
|
||||||
public var rawValue: Swift.Int {
|
public var rawValue: Swift.Int {
|
||||||
get
|
get
|
||||||
@ -164,19 +160,13 @@ extension M2Kit.JSON : Swift.ExpressibleByArrayLiteral {
|
|||||||
public typealias ArrayLiteralElement = Any
|
public typealias ArrayLiteralElement = Any
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON : Swift.RawRepresentable {
|
extension M2Kit.JSON : Swift.RawRepresentable {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public init?(rawValue: Any)
|
public init?(rawValue: Any)
|
||||||
#endif
|
|
||||||
public var rawValue: Any {
|
public var rawValue: Any {
|
||||||
get
|
get
|
||||||
}
|
}
|
||||||
public func rawData(options opt: Foundation.JSONSerialization.WritingOptions = JSONSerialization.WritingOptions(rawValue: 0)) throws -> Foundation.Data
|
public func rawData(options opt: Foundation.JSONSerialization.WritingOptions = JSONSerialization.WritingOptions(rawValue: 0)) throws -> Foundation.Data
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public func rawString(_ encoding: Swift.String.Encoding = .utf8, options opt: Foundation.JSONSerialization.WritingOptions = .prettyPrinted) -> Swift.String?
|
public func rawString(_ encoding: Swift.String.Encoding = .utf8, options opt: Foundation.JSONSerialization.WritingOptions = .prettyPrinted) -> Swift.String?
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public func rawString(_ options: [M2Kit.writingOptionsKeys : Any]) -> Swift.String?
|
public func rawString(_ options: [M2Kit.writingOptionsKeys : Any]) -> Swift.String?
|
||||||
#endif
|
|
||||||
public typealias RawValue = Any
|
public typealias RawValue = Any
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON : Swift.CustomStringConvertible, Swift.CustomDebugStringConvertible {
|
extension M2Kit.JSON : Swift.CustomStringConvertible, Swift.CustomDebugStringConvertible {
|
||||||
@ -188,207 +178,165 @@ extension M2Kit.JSON : Swift.CustomStringConvertible, Swift.CustomDebugStringCon
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON {
|
extension M2Kit.JSON {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var array: [M2Kit.JSON]? {
|
public var array: [M2Kit.JSON]? {
|
||||||
get
|
get
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var arrayValue: [M2Kit.JSON] {
|
public var arrayValue: [M2Kit.JSON] {
|
||||||
get
|
get
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var arrayObject: [Any]? {
|
public var arrayObject: [Any]? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON {
|
extension M2Kit.JSON {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var dictionary: [Swift.String : M2Kit.JSON]? {
|
public var dictionary: [Swift.String : M2Kit.JSON]? {
|
||||||
get
|
get
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var dictionaryValue: [Swift.String : M2Kit.JSON] {
|
public var dictionaryValue: [Swift.String : M2Kit.JSON] {
|
||||||
get
|
get
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var dictionaryObject: [Swift.String : Any]? {
|
public var dictionaryObject: [Swift.String : Any]? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON {
|
extension M2Kit.JSON {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var bool: Swift.Bool? {
|
public var bool: Swift.Bool? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var boolValue: Swift.Bool {
|
public var boolValue: Swift.Bool {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON {
|
extension M2Kit.JSON {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var string: Swift.String? {
|
public var string: Swift.String? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var stringValue: Swift.String {
|
public var stringValue: Swift.String {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON {
|
extension M2Kit.JSON {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var number: Foundation.NSNumber? {
|
public var number: Foundation.NSNumber? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var numberValue: Foundation.NSNumber {
|
public var numberValue: Foundation.NSNumber {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON {
|
extension M2Kit.JSON {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var null: Foundation.NSNull? {
|
public var null: Foundation.NSNull? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public func exists() -> Swift.Bool
|
public func exists() -> Swift.Bool
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON {
|
extension M2Kit.JSON {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var url: Foundation.URL? {
|
public var url: Foundation.URL? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
extension M2Kit.JSON {
|
extension M2Kit.JSON {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var double: Swift.Double? {
|
public var double: Swift.Double? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var doubleValue: Swift.Double {
|
public var doubleValue: Swift.Double {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var float: Swift.Float? {
|
public var float: Swift.Float? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var floatValue: Swift.Float {
|
public var floatValue: Swift.Float {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var int: Swift.Int? {
|
public var int: Swift.Int? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var intValue: Swift.Int {
|
public var intValue: Swift.Int {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var uInt: Swift.UInt? {
|
public var uInt: Swift.UInt? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var uIntValue: Swift.UInt {
|
public var uIntValue: Swift.UInt {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var int8: Swift.Int8? {
|
public var int8: Swift.Int8? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var int8Value: Swift.Int8 {
|
public var int8Value: Swift.Int8 {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var uInt8: Swift.UInt8? {
|
public var uInt8: Swift.UInt8? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var uInt8Value: Swift.UInt8 {
|
public var uInt8Value: Swift.UInt8 {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var int16: Swift.Int16? {
|
public var int16: Swift.Int16? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var int16Value: Swift.Int16 {
|
public var int16Value: Swift.Int16 {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var uInt16: Swift.UInt16? {
|
public var uInt16: Swift.UInt16? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var uInt16Value: Swift.UInt16 {
|
public var uInt16Value: Swift.UInt16 {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var int32: Swift.Int32? {
|
public var int32: Swift.Int32? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var int32Value: Swift.Int32 {
|
public var int32Value: Swift.Int32 {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var uInt32: Swift.UInt32? {
|
public var uInt32: Swift.UInt32? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var uInt32Value: Swift.UInt32 {
|
public var uInt32Value: Swift.UInt32 {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var int64: Swift.Int64? {
|
public var int64: Swift.Int64? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var int64Value: Swift.Int64 {
|
public var int64Value: Swift.Int64 {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public var uInt64: Swift.UInt64? {
|
public var uInt64: Swift.UInt64? {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
public var uInt64Value: Swift.UInt64 {
|
public var uInt64Value: Swift.UInt64 {
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
@ -419,25 +367,13 @@ extension M2Kit.JSON : Swift.Codable {
|
|||||||
@_Concurrency.MainActor public struct M2API {
|
@_Concurrency.MainActor public struct M2API {
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func searchVideosEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func searchVideosEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func searchPlaylistsEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ playlists: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func searchPlaylistsEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ playlists: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getVideosOfPlaylistEx(playlistId: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getVideosOfPlaylistEx(playlistId: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func searchChannelsEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ channels: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func searchChannelsEx(title: Swift.String, nextToken: Swift.String?, result: @escaping (_ channels: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@available(*, deprecated, message: "Use getVideosOfChannelEx(channelId:nextToken:result:) instead.")
|
@available(*, deprecated, message: "Use getVideosOfChannelEx(channelId:nextToken:result:) instead.")
|
||||||
@_Concurrency.MainActor public static func getVideosOfChannelEx(channelName: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getVideosOfChannelEx(channelName: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getVideosOfChannelEx(channelId: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getVideosOfChannelEx(channelId: Swift.String, nextToken: Swift.String?, result: @escaping (_ videos: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
@_Concurrency.MainActor public static func getAllVideosOfPlaylistEx(playlistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
@_Concurrency.MainActor public static func getAllVideosOfPlaylistEx(playlistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
@ -458,15 +394,11 @@ extension M2Kit.M2API {
|
|||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
@_Concurrency.MainActor public static func autocompleteSearchEx(_ text: Swift.String, result: @escaping (_ listSuggestion: [Swift.String]) -> Swift.Void)
|
@_Concurrency.MainActor public static func autocompleteSearchEx(_ text: Swift.String, result: @escaping (_ listSuggestion: [Swift.String]) -> Swift.Void)
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getLocationEx(result: @escaping (_ countryCode: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getLocationEx(result: @escaping (_ countryCode: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
@_Concurrency.MainActor public static func getTrendingSearchEx(result: @escaping (_ titles: [Swift.String]) -> Swift.Void)
|
@_Concurrency.MainActor public static func getTrendingSearchEx(result: @escaping (_ titles: [Swift.String]) -> Swift.Void)
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getLinkPlayEx(videoId: Swift.String, result: @escaping (_ videoUrl: Foundation.URL?, _ videoId: Swift.String, _ metadata: [Swift.AnyHashable : Any]?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getLinkPlayEx(videoId: Swift.String, result: @escaping (_ videoUrl: Foundation.URL?, _ videoId: Swift.String, _ metadata: [Swift.AnyHashable : Any]?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
@_Concurrency.MainActor public static func kworbMusicVideoWWEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
@_Concurrency.MainActor public static func kworbMusicVideoWWEx(result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
@ -486,25 +418,13 @@ extension M2Kit.M2API {
|
|||||||
@_Concurrency.MainActor public static func ytArtistDetailEx(artistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
@_Concurrency.MainActor public static func ytArtistDetailEx(artistId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 searchVideos(title: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 searchPlaylists(title: Swift.String, nextToken: Swift.String?) async -> (playlists: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 getVideosOfPlaylist(playlistId: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 searchChannels(title: Swift.String, nextToken: Swift.String?) async -> (channels: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@available(*, deprecated, message: "Use getVideosOfChannel(channelId:nextToken:) instead.")
|
@available(*, deprecated, message: "Use getVideosOfChannel(channelId:nextToken:) instead.")
|
||||||
@_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 getVideosOfChannel(channelName: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getVideosOfChannel(channelId: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
@_Concurrency.MainActor public static func getVideosOfChannel(channelId: Swift.String, nextToken: Swift.String?) async -> (videos: [[Swift.AnyHashable : Any]], nextToken: Swift.String?)
|
||||||
#endif
|
|
||||||
@_Concurrency.MainActor public static func getAllVideosOfPlaylist(_ playlistId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
@_Concurrency.MainActor public static func getAllVideosOfPlaylist(_ playlistId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
@ -525,15 +445,11 @@ extension M2Kit.M2API {
|
|||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
@_Concurrency.MainActor public static func autocompleteSearch(_ text: Swift.String) async -> [Swift.String]
|
@_Concurrency.MainActor public static func autocompleteSearch(_ text: Swift.String) async -> [Swift.String]
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getLocation() async -> Swift.String?
|
@_Concurrency.MainActor public static func getLocation() async -> Swift.String?
|
||||||
#endif
|
|
||||||
@_Concurrency.MainActor public static func getTrendingSearch() async -> [Swift.String]
|
@_Concurrency.MainActor public static func getTrendingSearch() async -> [Swift.String]
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getLinkPlay(videoId: Swift.String) async -> (videoUrl: Foundation.URL?, videoId: Swift.String, metadata: [Swift.AnyHashable : Any]?)
|
@_Concurrency.MainActor public static func getLinkPlay(videoId: Swift.String) async -> (videoUrl: Foundation.URL?, videoId: Swift.String, metadata: [Swift.AnyHashable : Any]?)
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
extension M2Kit.M2API {
|
extension M2Kit.M2API {
|
||||||
@_Concurrency.MainActor public static func kworbMusicVideoWW() async -> [[Swift.AnyHashable : Any]]
|
@_Concurrency.MainActor public static func kworbMusicVideoWW() async -> [[Swift.AnyHashable : Any]]
|
||||||
@ -556,24 +472,12 @@ extension M2Kit.M2API {
|
|||||||
@_Concurrency.MainActor public static var backupCode: Swift.String {
|
@_Concurrency.MainActor public static var backupCode: Swift.String {
|
||||||
get
|
get
|
||||||
}
|
}
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func uploadBackup(code: Swift.String, data: Foundation.Data, result: @escaping (_ url: Swift.String?, _ version: Swift.Int) -> Swift.Void)
|
@_Concurrency.MainActor public static func uploadBackup(code: Swift.String, data: Foundation.Data, result: @escaping (_ url: Swift.String?, _ version: Swift.Int) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getBackup(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getBackup(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getBackupVersion(code: Swift.String, result: @escaping (_ num: Swift.Int?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getBackupVersion(code: Swift.String, result: @escaping (_ num: Swift.Int?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getBackupVersions(codes: [Swift.String], result: @escaping (_ results: [Swift.String : Swift.Int?]) -> Swift.Void)
|
@_Concurrency.MainActor public static func getBackupVersions(codes: [Swift.String], result: @escaping (_ results: [Swift.String : Swift.Int?]) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func uploadBackupPlaylist(code: Swift.String, data: Foundation.Data, result: @escaping (_ url: Swift.String?, _ version: Swift.Int) -> Swift.Void)
|
@_Concurrency.MainActor public static func uploadBackupPlaylist(code: Swift.String, data: Foundation.Data, result: @escaping (_ url: Swift.String?, _ version: Swift.Int) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getBackupPlaylist(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getBackupPlaylist(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
public let m2Version: Swift.String
|
public let m2Version: Swift.String
|
||||||
@_Concurrency.MainActor public func setServiceType(_ type: Swift.String)
|
@_Concurrency.MainActor public func setServiceType(_ type: Swift.String)
|
||||||
@ -582,26 +486,30 @@ public let m2Version: Swift.String
|
|||||||
@_Concurrency.MainActor public static func sendFeedback(content: Swift.String, result: @escaping (_ isOK: Swift.Bool) -> Swift.Void)
|
@_Concurrency.MainActor public static func sendFeedback(content: Swift.String, result: @escaping (_ isOK: Swift.Bool) -> Swift.Void)
|
||||||
}
|
}
|
||||||
@_Concurrency.MainActor public struct M2HTTP {
|
@_Concurrency.MainActor public struct M2HTTP {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getDataEx(url: Foundation.URL, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getDataEx(url: Foundation.URL, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getData(url: Foundation.URL) async -> Foundation.Data?
|
@_Concurrency.MainActor public static func getData(url: Foundation.URL) async -> Foundation.Data?
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getImageDataEx(url: Foundation.URL, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getImageDataEx(url: Foundation.URL, result: @escaping (_ data: Foundation.Data?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getImageData(url: Foundation.URL) async -> Foundation.Data?
|
@_Concurrency.MainActor public static func getImageData(url: Foundation.URL) async -> Foundation.Data?
|
||||||
#endif
|
}
|
||||||
|
@_Concurrency.MainActor public struct M2IAP {
|
||||||
|
@_Concurrency.MainActor public static let IAPPurchasedSuccessNotification: Foundation.Notification.Name
|
||||||
|
@_Concurrency.MainActor public static let IAPPurchasedFailNotification: Foundation.Notification.Name
|
||||||
|
@_Concurrency.MainActor public static let IAPProductStatusUpdatedNotification: Foundation.Notification.Name
|
||||||
|
@_Concurrency.MainActor public static let IAPProductsAvailableChangedNotification: Foundation.Notification.Name
|
||||||
|
@_Concurrency.MainActor public static func setup(iapId: Swift.String)
|
||||||
|
@_Concurrency.MainActor public static var isProVersion: Swift.Bool {
|
||||||
|
get
|
||||||
|
}
|
||||||
|
@_Concurrency.MainActor public static var priceProVersion: Swift.String? {
|
||||||
|
get
|
||||||
|
}
|
||||||
|
@_Concurrency.MainActor public static func fetch()
|
||||||
|
@_Concurrency.MainActor public static func purchaseProVersion()
|
||||||
|
@_Concurrency.MainActor public static func restorePurchase()
|
||||||
}
|
}
|
||||||
@_Concurrency.MainActor public struct M2Image {
|
@_Concurrency.MainActor public struct M2Image {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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, result: @escaping (_ url: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func uploadImage(_ image: UIKit.UIImage) async -> Swift.String?
|
@_Concurrency.MainActor public static func uploadImage(_ image: UIKit.UIImage) async -> Swift.String?
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
@_Concurrency.MainActor public struct M2K {
|
@_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)
|
@_Concurrency.MainActor public static func start(c: Swift.String = "", t: Swift.String = "", d: Swift.Int = 0, result: @escaping () -> Swift.Void)
|
||||||
@ -612,9 +520,7 @@ public let m2Version: Swift.String
|
|||||||
@_Concurrency.MainActor public static func sendAllEvents(result: @escaping (_ isOK: Swift.Bool) -> Swift.Void)
|
@_Concurrency.MainActor public static func sendAllEvents(result: @escaping (_ isOK: Swift.Bool) -> Swift.Void)
|
||||||
}
|
}
|
||||||
@_Concurrency.MainActor public struct M2Musi {
|
@_Concurrency.MainActor public struct M2Musi {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getVideosOfPlaylistWithCode(_ code: Swift.String, result: @escaping (_ title: Swift.String?, _ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
@_Concurrency.MainActor public static func getVideosOfPlaylistWithCode(_ code: Swift.String, result: @escaping (_ title: Swift.String?, _ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
public enum M2NetConnecttionType {
|
public enum M2NetConnecttionType {
|
||||||
case wifi
|
case wifi
|
||||||
@ -646,45 +552,23 @@ extension M2Kit.M2Radio {
|
|||||||
@_Concurrency.MainActor public static func getCurrentRadioCountryCode() -> Swift.String
|
@_Concurrency.MainActor public static func getCurrentRadioCountryCode() -> Swift.String
|
||||||
}
|
}
|
||||||
extension M2Kit.M2Radio {
|
extension M2Kit.M2Radio {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 searchStationsEx(title: Swift.String, token: Swift.String?, result: @escaping (_ stations: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 topStationsEx(token: Swift.String?, result: @escaping (_ stations: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
@_Concurrency.MainActor public static func listGenresForRadioEx(result: @escaping (_ genres: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
@_Concurrency.MainActor public static func listGenresForRadioEx(result: @escaping (_ genres: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 listStationsByGenresEx(genre: [Swift.AnyHashable : Any], token: Swift.String?, result: @escaping (_ stations: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func stationInfoEx(station: [Swift.AnyHashable : Any], result: @escaping (_ info: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func stationInfoEx(station: [Swift.AnyHashable : Any], result: @escaping (_ info: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
extension M2Kit.M2Radio {
|
extension M2Kit.M2Radio {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 searchPodcastsEx(title: Swift.String, token: Swift.String?, result: @escaping (_ podcasts: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 listEpisodesOfPodcastEx(podcast: [Swift.AnyHashable : Any], token: Swift.String?, result: @escaping (_ episodes: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 topPodcastsEx(token: Swift.String?, result: @escaping (_ podcasts: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
@_Concurrency.MainActor public static func listGenresForPodcastEx(result: @escaping (_ genres: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
@_Concurrency.MainActor public static func listGenresForPodcastEx(result: @escaping (_ genres: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_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 listPodcastsByGenreEx(genre: [Swift.AnyHashable : Any], token: Swift.String?, result: @escaping (_ podcasts: [[Swift.AnyHashable : Any]], _ nextToken: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func podcastInfoEx(podcast: [Swift.AnyHashable : Any], result: @escaping (_ info: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func podcastInfoEx(podcast: [Swift.AnyHashable : Any], result: @escaping (_ info: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
extension M2Kit.M2Radio {
|
extension M2Kit.M2Radio {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getLinkPlayEx(station: [Swift.AnyHashable : Any], result: @escaping (_ url: Swift.String?) -> Swift.Void)
|
@_Concurrency.MainActor public static func getLinkPlayEx(station: [Swift.AnyHashable : Any], result: @escaping (_ url: Swift.String?) -> Swift.Void)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getLinkPlayEx(episode: [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)
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
@_hasMissingDesignatedInitializers public class M2Setting {
|
@_hasMissingDesignatedInitializers public class M2Setting {
|
||||||
public static var option10: Swift.String {
|
public static var option10: Swift.String {
|
||||||
@ -988,14 +872,13 @@ extension M2Kit.M2Utils {
|
|||||||
@_Concurrency.MainActor public static func randomCode7() -> Swift.String
|
@_Concurrency.MainActor public static func randomCode7() -> Swift.String
|
||||||
@_Concurrency.MainActor public static func randomCode11() -> Swift.String
|
@_Concurrency.MainActor public static func randomCode11() -> Swift.String
|
||||||
}
|
}
|
||||||
|
extension M2Kit.M2Utils {
|
||||||
|
@_Concurrency.MainActor public static func weightedRandom(from items: [Swift.String], weights: [Swift.Int]) -> Swift.String
|
||||||
|
}
|
||||||
@objc @_inheritsConvenienceInitializers @_Concurrency.MainActor public class M2WebVC : UIKit.UIViewController {
|
@objc @_inheritsConvenienceInitializers @_Concurrency.MainActor public class M2WebVC : UIKit.UIViewController {
|
||||||
@_Concurrency.MainActor @objc override dynamic public func viewDidLoad()
|
@_Concurrency.MainActor @objc override dynamic public func viewDidLoad()
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor @objc override dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?)
|
@_Concurrency.MainActor @objc override dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?)
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor @objc required dynamic public init?(coder: Foundation.NSCoder)
|
@_Concurrency.MainActor @objc required dynamic public init?(coder: Foundation.NSCoder)
|
||||||
#endif
|
|
||||||
@objc deinit
|
@objc deinit
|
||||||
}
|
}
|
||||||
@_Concurrency.MainActor public struct M2WebView : SwiftUI.UIViewControllerRepresentable {
|
@_Concurrency.MainActor public struct M2WebView : SwiftUI.UIViewControllerRepresentable {
|
||||||
@ -1009,21 +892,15 @@ extension M2Kit.M2Utils {
|
|||||||
public enum M2YTIDType : Swift.String {
|
public enum M2YTIDType : Swift.String {
|
||||||
case video
|
case video
|
||||||
case playlist
|
case playlist
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
public init?(rawValue: Swift.String)
|
public init?(rawValue: Swift.String)
|
||||||
#endif
|
|
||||||
public typealias RawValue = Swift.String
|
public typealias RawValue = Swift.String
|
||||||
public var rawValue: Swift.String {
|
public var rawValue: Swift.String {
|
||||||
get
|
get
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@_Concurrency.MainActor public struct M2YT {
|
@_Concurrency.MainActor public struct M2YT {
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func extractId(fromUrl: Swift.String) -> (id: Swift.String, type: M2Kit.M2YTIDType)?
|
@_Concurrency.MainActor public static func extractId(fromUrl: Swift.String) -> (id: Swift.String, type: M2Kit.M2YTIDType)?
|
||||||
#endif
|
|
||||||
#if compiler(>=5.3) && $NonescapableTypes
|
|
||||||
@_Concurrency.MainActor public static func getVideosOfPlaylistId(_ playlistId: Swift.String, result: @escaping (_ title: Swift.String?, _ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
@_Concurrency.MainActor public static func getVideosOfPlaylistId(_ playlistId: Swift.String, result: @escaping (_ title: Swift.String?, _ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
extension M2Kit.SwiftyJSONError : Swift.Equatable {}
|
extension M2Kit.SwiftyJSONError : Swift.Equatable {}
|
||||||
extension M2Kit.SwiftyJSONError : Swift.Hashable {}
|
extension M2Kit.SwiftyJSONError : Swift.Hashable {}
|
||||||
@ -1037,6 +914,7 @@ extension M2Kit.M2API : Swift.Sendable {}
|
|||||||
extension M2Kit.M2Backup : Swift.Sendable {}
|
extension M2Kit.M2Backup : Swift.Sendable {}
|
||||||
extension M2Kit.M2Feedback : Swift.Sendable {}
|
extension M2Kit.M2Feedback : Swift.Sendable {}
|
||||||
extension M2Kit.M2HTTP : Swift.Sendable {}
|
extension M2Kit.M2HTTP : Swift.Sendable {}
|
||||||
|
extension M2Kit.M2IAP : Swift.Sendable {}
|
||||||
extension M2Kit.M2Image : Swift.Sendable {}
|
extension M2Kit.M2Image : Swift.Sendable {}
|
||||||
extension M2Kit.M2K : Swift.Sendable {}
|
extension M2Kit.M2K : Swift.Sendable {}
|
||||||
extension M2Kit.M2Log : Swift.Sendable {}
|
extension M2Kit.M2Log : Swift.Sendable {}
|
||||||
|
|||||||
@ -1,4 +1,3 @@
|
|||||||
framework module M2Kit {
|
framework module M2Kit {
|
||||||
header "M2Kit-Swift.h"
|
header "M2Kit-Swift.h"
|
||||||
requires objc
|
|
||||||
}
|
}
|
||||||
|
|||||||
Binary file not shown.
@ -6,55 +6,55 @@
|
|||||||
<dict>
|
<dict>
|
||||||
<key>Headers/M2Kit-Swift.h</key>
|
<key>Headers/M2Kit-Swift.h</key>
|
||||||
<data>
|
<data>
|
||||||
r4kMFN4LP5jD9hkwECNbiaNfYuE=
|
G87QDktdLeer7xOMLZ8+9d7isv4=
|
||||||
</data>
|
</data>
|
||||||
<key>Info.plist</key>
|
<key>Info.plist</key>
|
||||||
<data>
|
<data>
|
||||||
F1GVPga+1MtTowhQcTnCvoU6iwk=
|
ROFrsHNNn41Y160APmlhNtjt+LQ=
|
||||||
</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>
|
||||||
uK1egN4TNOpqI7LfhzYdECB404U=
|
VBvwTuSnDOQ1tB3xxrbFm3JeOXA=
|
||||||
</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>
|
||||||
b6yGoZe2t5JFyvbc+bBp9mmxeKE=
|
C3dGfDCkrGKZGrHWH9mhcx+28EQ=
|
||||||
</data>
|
</data>
|
||||||
<key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
|
<key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
|
||||||
<data>
|
<data>
|
||||||
mGsi25c1yMSjB7OanA3YwDEY2C4=
|
8CyTIEjgb4RKLYkRyCmmAbs8xYw=
|
||||||
</data>
|
</data>
|
||||||
<key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftinterface</key>
|
<key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftinterface</key>
|
||||||
<data>
|
<data>
|
||||||
b6yGoZe2t5JFyvbc+bBp9mmxeKE=
|
C3dGfDCkrGKZGrHWH9mhcx+28EQ=
|
||||||
</data>
|
</data>
|
||||||
<key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
|
<key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
|
||||||
<data>
|
<data>
|
||||||
pONqmJyaiprWE/9iY2KmMSWulvA=
|
lwHZli6SwJBDqZRK1wA6phBYtrU=
|
||||||
</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>
|
||||||
uK1egN4TNOpqI7LfhzYdECB404U=
|
VBvwTuSnDOQ1tB3xxrbFm3JeOXA=
|
||||||
</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>
|
||||||
zf7PafSmD94pQk6yva+ngEeoRIY=
|
UsfVebNFJWVdmCObsq67QDsaM54=
|
||||||
</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>
|
||||||
m2SRc74BLjFj2H7rXNwCPCYEbS8=
|
jBEe9jyCAD9+xzqFRhYXRVvraxE=
|
||||||
</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>
|
||||||
zf7PafSmD94pQk6yva+ngEeoRIY=
|
UsfVebNFJWVdmCObsq67QDsaM54=
|
||||||
</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>
|
||||||
3naz0cDbHYzwcnqILYiXHU436HA=
|
A5EX/zE0uqYzA4nb0tXngeeY+ZA=
|
||||||
</data>
|
</data>
|
||||||
<key>Modules/module.modulemap</key>
|
<key>Modules/module.modulemap</key>
|
||||||
<data>
|
<data>
|
||||||
n8UZhGfofoCUF2Y9arJmb3ut22Y=
|
qXD3pnLRLPT3qWO+Wr+SjQp8yNw=
|
||||||
</data>
|
</data>
|
||||||
</dict>
|
</dict>
|
||||||
<key>files2</key>
|
<key>files2</key>
|
||||||
@ -63,84 +63,84 @@
|
|||||||
<dict>
|
<dict>
|
||||||
<key>hash2</key>
|
<key>hash2</key>
|
||||||
<data>
|
<data>
|
||||||
Dszwi9Eu7vRHTMDU7owRRrAavROd3MDCuhnT6y51K6I=
|
FTD974xn8GZrFCSw8Z3aSPQAfU6VQDFvfugYeGsFSJ4=
|
||||||
</data>
|
</data>
|
||||||
</dict>
|
</dict>
|
||||||
<key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.abi.json</key>
|
<key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.abi.json</key>
|
||||||
<dict>
|
<dict>
|
||||||
<key>hash2</key>
|
<key>hash2</key>
|
||||||
<data>
|
<data>
|
||||||
rHk40s7rQxbLPT9NkWT16ILlNL/OlJKGOr+20vkQEXU=
|
H2ufbCY9OWpD0FzQ3Pfr73I3ICgjHoCg/kO5Ta+J0SY=
|
||||||
</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>hash2</key>
|
<key>hash2</key>
|
||||||
<data>
|
<data>
|
||||||
EwepU1vAFF7E+qGAi9oiNXLg1pHkZRPNiDnm/kfiuO8=
|
bf0MVePd/h7EQqkISv6VhcRJ5SlL9JGrcZWjH4l+e4g=
|
||||||
</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>hash2</key>
|
<key>hash2</key>
|
||||||
<data>
|
<data>
|
||||||
PMfh7t7+W3JA71o5N/0ChUYXI4KBxqZS/IpnpnY6QPg=
|
+KUj5jTWVEXI5LiT6qiel7T5P3fkUl3sPxR/4Bqxnkg=
|
||||||
</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>hash2</key>
|
<key>hash2</key>
|
||||||
<data>
|
<data>
|
||||||
EwepU1vAFF7E+qGAi9oiNXLg1pHkZRPNiDnm/kfiuO8=
|
bf0MVePd/h7EQqkISv6VhcRJ5SlL9JGrcZWjH4l+e4g=
|
||||||
</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>hash2</key>
|
<key>hash2</key>
|
||||||
<data>
|
<data>
|
||||||
5M1ymOr4rh3ZTfsDV/NshEt1SFyxOEVdLmI9gsxfq2c=
|
vRUsYRCBfim2eYUO/ATpupsB/Unvsu14lxZqVgCgz9E=
|
||||||
</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>hash2</key>
|
<key>hash2</key>
|
||||||
<data>
|
<data>
|
||||||
rHk40s7rQxbLPT9NkWT16ILlNL/OlJKGOr+20vkQEXU=
|
H2ufbCY9OWpD0FzQ3Pfr73I3ICgjHoCg/kO5Ta+J0SY=
|
||||||
</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>hash2</key>
|
<key>hash2</key>
|
||||||
<data>
|
<data>
|
||||||
6kqR1FYRQ0rIeasslvLTM1JgnpdAvjVB4dYH5fkcPFM=
|
N5/7AiOLP20lfw5PC5YXJay4V61Uv029Me2MWFFh+Gs=
|
||||||
</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>hash2</key>
|
<key>hash2</key>
|
||||||
<data>
|
<data>
|
||||||
AJ2OmJCDNyyMLRxmu4EN5UtnBcccd912jR4MGtk9uV0=
|
m/hXa6qs+jBFvfrNRul7RZq9vDOC9C6ZnmJatPAxAsU=
|
||||||
</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>hash2</key>
|
<key>hash2</key>
|
||||||
<data>
|
<data>
|
||||||
6kqR1FYRQ0rIeasslvLTM1JgnpdAvjVB4dYH5fkcPFM=
|
N5/7AiOLP20lfw5PC5YXJay4V61Uv029Me2MWFFh+Gs=
|
||||||
</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>hash2</key>
|
<key>hash2</key>
|
||||||
<data>
|
<data>
|
||||||
ZDBqk1Ka7dWp9VvdA5J5yR2I7H0pZh8PvAyC0vQTGY8=
|
rBCNcmIlhzGKigiGMzLA0gi7cZ+N9HLqXqClqEBv8TA=
|
||||||
</data>
|
</data>
|
||||||
</dict>
|
</dict>
|
||||||
<key>Modules/module.modulemap</key>
|
<key>Modules/module.modulemap</key>
|
||||||
<dict>
|
<dict>
|
||||||
<key>hash2</key>
|
<key>hash2</key>
|
||||||
<data>
|
<data>
|
||||||
P0GTeNVvyR+ml51cVmqnRlvKjJYeeF4GdLyZwo9Knw4=
|
UMwtPXwWD0/VtYisYFVpQZPhMH1Ms3EaM5hY0M6giKY=
|
||||||
</data>
|
</data>
|
||||||
</dict>
|
</dict>
|
||||||
</dict>
|
</dict>
|
||||||
|
|||||||
Reference in New Issue
Block a user