1 Commits

Author SHA1 Message Date
64da58b93a 5.35 2026-06-26 16:44:13 +07:00
25 changed files with 2186 additions and 556 deletions

View File

@ -18,23 +18,6 @@
<key>SupportedPlatform</key> <key>SupportedPlatform</key>
<string>ios</string> <string>ios</string>
</dict> </dict>
<dict>
<key>BinaryPath</key>
<string>M2Kit.framework/Versions/A/M2Kit</string>
<key>LibraryIdentifier</key>
<string>ios-arm64_x86_64-maccatalyst</string>
<key>LibraryPath</key>
<string>M2Kit.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>maccatalyst</string>
</dict>
<dict> <dict>
<key>BinaryPath</key> <key>BinaryPath</key>
<string>M2Kit.framework/M2Kit</string> <string>M2Kit.framework/M2Kit</string>
@ -52,6 +35,23 @@
<key>SupportedPlatformVariant</key> <key>SupportedPlatformVariant</key>
<string>simulator</string> <string>simulator</string>
</dict> </dict>
<dict>
<key>BinaryPath</key>
<string>M2Kit.framework/Versions/A/M2Kit</string>
<key>LibraryIdentifier</key>
<string>ios-arm64_x86_64-maccatalyst</string>
<key>LibraryPath</key>
<string>M2Kit.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>maccatalyst</string>
</dict>
</array> </array>
<key>CFBundlePackageType</key> <key>CFBundlePackageType</key>
<string>XFWK</string> <string>XFWK</string>

View File

@ -32,6 +32,13 @@
"declKind": "Import", "declKind": "Import",
"moduleName": "M2Kit" "moduleName": "M2Kit"
}, },
{
"kind": "Import",
"name": "Combine",
"printedName": "Combine",
"declKind": "Import",
"moduleName": "M2Kit"
},
{ {
"kind": "Import", "kind": "Import",
"name": "Foundation", "name": "Foundation",
@ -13841,6 +13848,13 @@
"declKind": "Import", "declKind": "Import",
"moduleName": "M2Kit" "moduleName": "M2Kit"
}, },
{
"kind": "Import",
"name": "Combine",
"printedName": "Combine",
"declKind": "Import",
"moduleName": "M2Kit"
},
{ {
"kind": "TypeDecl", "kind": "TypeDecl",
"name": "M2NetConnecttionType", "name": "M2NetConnecttionType",
@ -14135,43 +14149,56 @@
"printedName": "M2NetMonitor", "printedName": "M2NetMonitor",
"children": [ "children": [
{ {
"kind": "Function", "kind": "Var",
"name": "start", "name": "shared",
"printedName": "start(monitorHandler:)", "printedName": "shared",
"children": [ "children": [
{ {
"kind": "TypeNominal", "kind": "TypeNominal",
"name": "Void", "name": "M2NetMonitor",
"printedName": "()" "printedName": "M2Kit.M2NetMonitor",
}, "usr": "s:5M2Kit0A10NetMonitorC"
{
"kind": "TypeFunc",
"name": "Function",
"printedName": "(Swift.Bool) -> ()",
"children": [
{
"kind": "TypeNominal",
"name": "Void",
"printedName": "()"
},
{
"kind": "TypeNominal",
"name": "Bool",
"printedName": "Swift.Bool",
"usr": "s:Sb"
}
]
} }
], ],
"declKind": "Func", "declKind": "Var",
"usr": "s:5M2Kit0A10NetMonitorV5start14monitorHandleryySbc_tF", "usr": "s:5M2Kit0A10NetMonitorC6sharedACvpZ",
"mangledName": "$s5M2Kit0A10NetMonitorV5start14monitorHandleryySbc_tF", "mangledName": "$s5M2Kit0A10NetMonitorC6sharedACvpZ",
"moduleName": "M2Kit", "moduleName": "M2Kit",
"static": true,
"declAttributes": [ "declAttributes": [
"HasInitialValue",
"Final",
"HasStorage",
"Custom", "Custom",
"AccessControl" "AccessControl"
], ],
"funcSelfKind": "NonMutating" "isLet": true,
"hasStorage": true,
"accessors": [
{
"kind": "Accessor",
"name": "Get",
"printedName": "Get()",
"children": [
{
"kind": "TypeNominal",
"name": "M2NetMonitor",
"printedName": "M2Kit.M2NetMonitor",
"usr": "s:5M2Kit0A10NetMonitorC"
}
],
"declKind": "Accessor",
"usr": "s:5M2Kit0A10NetMonitorC6sharedACvgZ",
"mangledName": "$s5M2Kit0A10NetMonitorC6sharedACvgZ",
"moduleName": "M2Kit",
"static": true,
"implicit": true,
"declAttributes": [
"Final"
],
"accessorKind": "get"
}
]
}, },
{ {
"kind": "Var", "kind": "Var",
@ -14186,12 +14213,16 @@
} }
], ],
"declKind": "Var", "declKind": "Var",
"usr": "s:5M2Kit0A10NetMonitorV11isConnectedSbvp", "usr": "s:5M2Kit0A10NetMonitorC11isConnectedSbvp",
"mangledName": "$s5M2Kit0A10NetMonitorV11isConnectedSbvp", "mangledName": "$s5M2Kit0A10NetMonitorC11isConnectedSbvp",
"moduleName": "M2Kit", "moduleName": "M2Kit",
"declAttributes": [ "declAttributes": [
"Final",
"Custom", "Custom",
"AccessControl" "ProjectedValueProperty",
"SetterAccess",
"AccessControl",
"Custom"
], ],
"accessors": [ "accessors": [
{ {
@ -14207,9 +14238,59 @@
} }
], ],
"declKind": "Accessor", "declKind": "Accessor",
"usr": "s:5M2Kit0A10NetMonitorV11isConnectedSbvg", "usr": "s:5M2Kit0A10NetMonitorC11isConnectedSbvg",
"mangledName": "$s5M2Kit0A10NetMonitorV11isConnectedSbvg", "mangledName": "$s5M2Kit0A10NetMonitorC11isConnectedSbvg",
"moduleName": "M2Kit", "moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final"
],
"accessorKind": "get"
}
]
},
{
"kind": "Var",
"name": "$isConnected",
"printedName": "$isConnected",
"children": [
{
"kind": "TypeNominal",
"name": "Publisher",
"printedName": "Combine.Published<Swift.Bool>.Publisher",
"usr": "s:7Combine9PublishedV9PublisherV"
}
],
"declKind": "Var",
"usr": "s:5M2Kit0A10NetMonitorC12$isConnected7Combine9PublishedV9PublisherVySb_Gvp",
"mangledName": "$s5M2Kit0A10NetMonitorC12$isConnected7Combine9PublishedV9PublisherVySb_Gvp",
"moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final",
"Custom"
],
"accessors": [
{
"kind": "Accessor",
"name": "Get",
"printedName": "Get()",
"children": [
{
"kind": "TypeNominal",
"name": "Publisher",
"printedName": "Combine.Published<Swift.Bool>.Publisher",
"usr": "s:7Combine9PublishedV9PublisherV"
}
],
"declKind": "Accessor",
"usr": "s:5M2Kit0A10NetMonitorC12$isConnected7Combine9PublishedV9PublisherVySb_Gvg",
"mangledName": "$s5M2Kit0A10NetMonitorC12$isConnected7Combine9PublishedV9PublisherVySb_Gvg",
"moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final"
],
"accessorKind": "get" "accessorKind": "get"
} }
] ]
@ -14227,12 +14308,16 @@
} }
], ],
"declKind": "Var", "declKind": "Var",
"usr": "s:5M2Kit0A10NetMonitorV14connectionTypeAA0ac11ConnecttionF0Ovp", "usr": "s:5M2Kit0A10NetMonitorC14connectionTypeAA0ac11ConnecttionF0Ovp",
"mangledName": "$s5M2Kit0A10NetMonitorV14connectionTypeAA0ac11ConnecttionF0Ovp", "mangledName": "$s5M2Kit0A10NetMonitorC14connectionTypeAA0ac11ConnecttionF0Ovp",
"moduleName": "M2Kit", "moduleName": "M2Kit",
"declAttributes": [ "declAttributes": [
"Final",
"Custom", "Custom",
"AccessControl" "ProjectedValueProperty",
"SetterAccess",
"AccessControl",
"Custom"
], ],
"accessors": [ "accessors": [
{ {
@ -14248,44 +14333,193 @@
} }
], ],
"declKind": "Accessor", "declKind": "Accessor",
"usr": "s:5M2Kit0A10NetMonitorV14connectionTypeAA0ac11ConnecttionF0Ovg", "usr": "s:5M2Kit0A10NetMonitorC14connectionTypeAA0ac11ConnecttionF0Ovg",
"mangledName": "$s5M2Kit0A10NetMonitorV14connectionTypeAA0ac11ConnecttionF0Ovg", "mangledName": "$s5M2Kit0A10NetMonitorC14connectionTypeAA0ac11ConnecttionF0Ovg",
"moduleName": "M2Kit", "moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final"
],
"accessorKind": "get" "accessorKind": "get"
} }
] ]
}, },
{ {
"kind": "Function", "kind": "Var",
"name": "stop", "name": "$connectionType",
"printedName": "stop()", "printedName": "$connectionType",
"children": [ "children": [
{ {
"kind": "TypeNominal", "kind": "TypeNominal",
"name": "Void", "name": "Publisher",
"printedName": "()" "printedName": "Combine.Published<M2Kit.M2NetConnecttionType>.Publisher",
"usr": "s:7Combine9PublishedV9PublisherV"
} }
], ],
"declKind": "Func", "declKind": "Var",
"usr": "s:5M2Kit0A10NetMonitorV4stopyyF", "usr": "s:5M2Kit0A10NetMonitorC15$connectionType7Combine9PublishedV9PublisherVyAA0ac11ConnecttionF0O_Gvp",
"mangledName": "$s5M2Kit0A10NetMonitorV4stopyyF", "mangledName": "$s5M2Kit0A10NetMonitorC15$connectionType7Combine9PublishedV9PublisherVyAA0ac11ConnecttionF0O_Gvp",
"moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final",
"Custom"
],
"accessors": [
{
"kind": "Accessor",
"name": "Get",
"printedName": "Get()",
"children": [
{
"kind": "TypeNominal",
"name": "Publisher",
"printedName": "Combine.Published<M2Kit.M2NetConnecttionType>.Publisher",
"usr": "s:7Combine9PublishedV9PublisherV"
}
],
"declKind": "Accessor",
"usr": "s:5M2Kit0A10NetMonitorC15$connectionType7Combine9PublishedV9PublisherVyAA0ac11ConnecttionF0O_Gvg",
"mangledName": "$s5M2Kit0A10NetMonitorC15$connectionType7Combine9PublishedV9PublisherVyAA0ac11ConnecttionF0O_Gvg",
"moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final"
],
"accessorKind": "get"
}
]
},
{
"kind": "Var",
"name": "isReady",
"printedName": "isReady",
"children": [
{
"kind": "TypeNominal",
"name": "Bool",
"printedName": "Swift.Bool",
"usr": "s:Sb"
}
],
"declKind": "Var",
"usr": "s:5M2Kit0A10NetMonitorC7isReadySbvp",
"mangledName": "$s5M2Kit0A10NetMonitorC7isReadySbvp",
"moduleName": "M2Kit", "moduleName": "M2Kit",
"declAttributes": [ "declAttributes": [
"Final",
"Custom", "Custom",
"AccessControl" "ProjectedValueProperty",
"SetterAccess",
"AccessControl",
"Custom",
"RawDocComment"
], ],
"funcSelfKind": "NonMutating" "accessors": [
{
"kind": "Accessor",
"name": "Get",
"printedName": "Get()",
"children": [
{
"kind": "TypeNominal",
"name": "Bool",
"printedName": "Swift.Bool",
"usr": "s:Sb"
}
],
"declKind": "Accessor",
"usr": "s:5M2Kit0A10NetMonitorC7isReadySbvg",
"mangledName": "$s5M2Kit0A10NetMonitorC7isReadySbvg",
"moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final"
],
"accessorKind": "get"
}
]
},
{
"kind": "Var",
"name": "$isReady",
"printedName": "$isReady",
"children": [
{
"kind": "TypeNominal",
"name": "Publisher",
"printedName": "Combine.Published<Swift.Bool>.Publisher",
"usr": "s:7Combine9PublishedV9PublisherV"
}
],
"declKind": "Var",
"usr": "s:5M2Kit0A10NetMonitorC8$isReady7Combine9PublishedV9PublisherVySb_Gvp",
"mangledName": "$s5M2Kit0A10NetMonitorC8$isReady7Combine9PublishedV9PublisherVySb_Gvp",
"moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final",
"Custom"
],
"accessors": [
{
"kind": "Accessor",
"name": "Get",
"printedName": "Get()",
"children": [
{
"kind": "TypeNominal",
"name": "Publisher",
"printedName": "Combine.Published<Swift.Bool>.Publisher",
"usr": "s:7Combine9PublishedV9PublisherV"
}
],
"declKind": "Accessor",
"usr": "s:5M2Kit0A10NetMonitorC8$isReady7Combine9PublishedV9PublisherVySb_Gvg",
"mangledName": "$s5M2Kit0A10NetMonitorC8$isReady7Combine9PublishedV9PublisherVySb_Gvg",
"moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final"
],
"accessorKind": "get"
}
]
} }
], ],
"declKind": "Struct", "declKind": "Class",
"usr": "s:5M2Kit0A10NetMonitorV", "usr": "s:5M2Kit0A10NetMonitorC",
"mangledName": "$s5M2Kit0A10NetMonitorV", "mangledName": "$s5M2Kit0A10NetMonitorC",
"moduleName": "M2Kit", "moduleName": "M2Kit",
"declAttributes": [ "declAttributes": [
"Final",
"AccessControl", "AccessControl",
"Custom" "Custom"
], ],
"hasMissingDesignatedInitializers": true,
"conformances": [ "conformances": [
{
"kind": "Conformance",
"name": "ObservableObject",
"printedName": "ObservableObject",
"children": [
{
"kind": "TypeWitness",
"name": "ObjectWillChangePublisher",
"printedName": "ObjectWillChangePublisher",
"children": [
{
"kind": "TypeNominal",
"name": "ObservableObjectPublisher",
"printedName": "Combine.ObservableObjectPublisher",
"usr": "s:7Combine25ObservableObjectPublisherC"
}
]
}
],
"usr": "s:7Combine16ObservableObjectP",
"mangledName": "$s7Combine16ObservableObjectP"
},
{ {
"kind": "Conformance", "kind": "Conformance",
"name": "Copyable", "name": "Copyable",
@ -21891,6 +22125,35 @@
], ],
"funcSelfKind": "NonMutating" "funcSelfKind": "NonMutating"
}, },
{
"kind": "Function",
"name": "enableWorkForInCellularNetwork",
"printedName": "enableWorkForInCellularNetwork(_:)",
"children": [
{
"kind": "TypeNominal",
"name": "Void",
"printedName": "()"
},
{
"kind": "TypeNominal",
"name": "Bool",
"printedName": "Swift.Bool",
"usr": "s:Sb"
}
],
"declKind": "Func",
"usr": "s:5M2Kit0A5UtilsV30enableWorkForInCellularNetworkyySbFZ",
"mangledName": "$s5M2Kit0A5UtilsV30enableWorkForInCellularNetworkyySbFZ",
"moduleName": "M2Kit",
"static": true,
"declAttributes": [
"Custom",
"AccessControl",
"RawDocComment"
],
"funcSelfKind": "NonMutating"
},
{ {
"kind": "Var", "kind": "Var",
"name": "countryCode", "name": "countryCode",
@ -22908,15 +23171,15 @@
}, },
{ {
"kind": "Import", "kind": "Import",
"name": "WebKit", "name": "JavaScriptCore",
"printedName": "WebKit", "printedName": "JavaScriptCore",
"declKind": "Import", "declKind": "Import",
"moduleName": "M2Kit" "moduleName": "M2Kit"
}, },
{ {
"kind": "Import", "kind": "Import",
"name": "JavaScriptCore", "name": "M2KitMacros",
"printedName": "JavaScriptCore", "printedName": "M2KitMacros",
"declKind": "Import", "declKind": "Import",
"moduleName": "M2Kit" "moduleName": "M2Kit"
}, },
@ -22929,15 +23192,15 @@
}, },
{ {
"kind": "Import", "kind": "Import",
"name": "JavaScriptCore", "name": "WebKit",
"printedName": "JavaScriptCore", "printedName": "WebKit",
"declKind": "Import", "declKind": "Import",
"moduleName": "M2Kit" "moduleName": "M2Kit"
}, },
{ {
"kind": "Import", "kind": "Import",
"name": "M2KitMacros", "name": "JavaScriptCore",
"printedName": "M2KitMacros", "printedName": "JavaScriptCore",
"declKind": "Import", "declKind": "Import",
"moduleName": "M2Kit" "moduleName": "M2Kit"
}, },
@ -24881,77 +25144,77 @@
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 258, "offset": 256,
"length": 1, "length": 1,
"value": "0" "value": "0"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 277, "offset": 275,
"length": 1, "length": 1,
"value": "8" "value": "8"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 296, "offset": 294,
"length": 2, "length": 2,
"value": "16" "value": "16"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 318, "offset": 316,
"length": 2, "length": 2,
"value": "24" "value": "24"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 337, "offset": 335,
"length": 2, "length": 2,
"value": "32" "value": "32"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 359, "offset": 357,
"length": 2, "length": 2,
"value": "40" "value": "40"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 379, "offset": 377,
"length": 2, "length": 2,
"value": "48" "value": "48"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 399, "offset": 397,
"length": 2, "length": 2,
"value": "56" "value": "56"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 1065, "offset": 1063,
"length": 14, "length": 14,
"value": "\"HH:mm:ss.SSS\"" "value": "\"HH:mm:ss.SSS\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 1262, "offset": 1260,
"length": 3, "length": 3,
"value": "\" \"" "value": "\" \""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 1288, "offset": 1286,
"length": 4, "length": 4,
"value": "\"\n\"" "value": "\"\n\""
}, },
@ -25595,7 +25858,14 @@
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/NetMonitor.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/NetMonitor.swift",
"kind": "BooleanLiteral", "kind": "BooleanLiteral",
"offset": 345, "offset": 413,
"length": 5,
"value": "false"
},
{
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/NetMonitor.swift",
"kind": "BooleanLiteral",
"offset": 467,
"length": 5, "length": 5,
"value": "false" "value": "false"
}, },
@ -26008,14 +26278,14 @@
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/UserDefaultsWrapper.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/UserDefaultsWrapper.swift",
"kind": "BooleanLiteral", "kind": "BooleanLiteral",
"offset": 1624, "offset": 1631,
"length": 5, "length": 5,
"value": "false" "value": "false"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/UserDefaultsWrapper.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/UserDefaultsWrapper.swift",
"kind": "BooleanLiteral", "kind": "BooleanLiteral",
"offset": 1843, "offset": 1850,
"length": 5, "length": 5,
"value": "false" "value": "false"
}, },
@ -26033,73 +26303,87 @@
"length": 14, "length": 14,
"value": "\".kBackupCode\"" "value": "\".kBackupCode\""
}, },
{
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "BooleanLiteral",
"offset": 399,
"length": 4,
"value": "true"
},
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 381, "offset": 327,
"length": 25,
"value": "\".kEnableWorkForCellular\""
},
{
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "StringLiteral",
"offset": 493,
"length": 4, "length": 4,
"value": "\"US\"" "value": "\"US\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 327, "offset": 439,
"length": 15, "length": 15,
"value": "\".kCountryCode\"" "value": "\".kCountryCode\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 730, "offset": 842,
"length": 1, "length": 1,
"value": "0" "value": "0"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 842, "offset": 954,
"length": 2, "length": 2,
"value": "\"\"" "value": "\"\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 1331, "offset": 1443,
"length": 1, "length": 1,
"value": "0" "value": "0"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 1269, "offset": 1381,
"length": 22, "length": 22,
"value": "\".kSavedCfgVersionKey\"" "value": "\".kSavedCfgVersionKey\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 1368, "offset": 1480,
"length": 15, "length": 15,
"value": "\".kSavedCfgKey\"" "value": "\".kSavedCfgKey\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 8267, "offset": 8379,
"length": 11, "length": 11,
"value": "\"123aA@123\"" "value": "\"123aA@123\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils++V4.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils++V4.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 150, "offset": 153,
"length": 12, "length": 12,
"value": "\"image\/jpeg\"" "value": "\"image\/jpeg\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils++V4.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils++V4.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 191, "offset": 194,
"length": 18, "length": 18,
"value": "\"application\/json\"" "value": "\"application\/json\""
}, },
@ -26134,56 +26418,56 @@
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 3766, "offset": 3765,
"length": 1, "length": 1,
"value": "0" "value": "0"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift",
"kind": "Dictionary", "kind": "Dictionary",
"offset": 3951, "offset": 3950,
"length": 3, "length": 3,
"value": "[]" "value": "[]"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift",
"kind": "Dictionary", "kind": "Dictionary",
"offset": 4009, "offset": 4008,
"length": 3, "length": 3,
"value": "[]" "value": "[]"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 5667, "offset": 5666,
"length": 1, "length": 1,
"value": "0" "value": "0"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 5750, "offset": 5749,
"length": 1, "length": 1,
"value": "1" "value": "1"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 5843, "offset": 5842,
"length": 1, "length": 1,
"value": "2" "value": "2"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 5948, "offset": 5947,
"length": 1, "length": 1,
"value": "3" "value": "3"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 6042, "offset": 6041,
"length": 1, "length": 1,
"value": "4" "value": "4"
}, },
@ -26192,7 +26476,7 @@
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 131, "offset": 131,
"length": 6, "length": 6,
"value": "\"5.34\"" "value": "\"5.35\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2IAP.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2IAP.swift",
@ -26278,6 +26562,20 @@
"length": 1, "length": 1,
"value": "1" "value": "1"
}, },
{
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2NetMonitor.swift",
"kind": "BooleanLiteral",
"offset": 392,
"length": 5,
"value": "false"
},
{
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2NetMonitor.swift",
"kind": "BooleanLiteral",
"offset": 578,
"length": 5,
"value": "false"
},
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2Setting.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2Setting.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
@ -26911,19 +27209,19 @@
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2Utils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 807, "offset": 1112,
"length": 16, "length": 16,
"value": "\"workForChanged\"" "value": "\"workForChanged\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2Utils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 934, "offset": 1239,
"length": 14, "length": 14,
"value": "\"workForBegin\"" "value": "\"workForBegin\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Radio\/MTWebpage.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Radio\/MyTunerWebPage.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 296, "offset": 296,
"length": 35, "length": 35,

View File

@ -537,15 +537,28 @@ public enum M2NetConnecttionType {
get get
} }
} }
@_Concurrency.MainActor public struct M2NetMonitor { @_hasMissingDesignatedInitializers @_Concurrency.MainActor final public class M2NetMonitor : Foundation.ObservableObject {
@_Concurrency.MainActor public func start(monitorHandler: @escaping (_ isConnected: Swift.Bool) -> Swift.Void) @_Concurrency.MainActor public static let shared: M2Kit.M2NetMonitor
@_Concurrency.MainActor public var isConnected: Swift.Bool { @Combine.Published<Swift.Bool> @_projectedValueProperty($isConnected) @_Concurrency.MainActor final public var isConnected: Swift.Bool {
get get
} }
@_Concurrency.MainActor public var connectionType: M2Kit.M2NetConnecttionType { @_Concurrency.MainActor final public var $isConnected: Combine.Published<Swift.Bool>.Publisher {
get get
} }
@_Concurrency.MainActor public func stop() @Combine.Published<M2Kit.M2NetConnecttionType> @_projectedValueProperty($connectionType) @_Concurrency.MainActor final public var connectionType: M2Kit.M2NetConnecttionType {
get
}
@_Concurrency.MainActor final public var $connectionType: Combine.Published<M2Kit.M2NetConnecttionType>.Publisher {
get
}
@Combine.Published<Swift.Bool> @_projectedValueProperty($isReady) @_Concurrency.MainActor final public var isReady: Swift.Bool {
get
}
@_Concurrency.MainActor final public var $isReady: Combine.Published<Swift.Bool>.Publisher {
get
}
public typealias ObjectWillChangePublisher = Combine.ObservableObjectPublisher
@objc deinit
} }
@_Concurrency.MainActor public struct M2Radio { @_Concurrency.MainActor public struct M2Radio {
} }
@ -888,6 +901,7 @@ public enum M2VideoStatus {
@_Concurrency.MainActor public static func checkStatus(trackID: Swift.String) -> M2Kit.M2VideoStatus @_Concurrency.MainActor public static func checkStatus(trackID: Swift.String) -> M2Kit.M2VideoStatus
@_Concurrency.MainActor public static func deleteDataOf(trackID: Swift.String) @_Concurrency.MainActor public static func deleteDataOf(trackID: Swift.String)
@_Concurrency.MainActor public static func filePathOf(trackID: Swift.String) -> Swift.String @_Concurrency.MainActor public static func filePathOf(trackID: Swift.String) -> Swift.String
@_Concurrency.MainActor public static func enableWorkForInCellularNetwork(_ enable: Swift.Bool)
} }
extension M2Kit.M2Utils { extension M2Kit.M2Utils {
@_Concurrency.MainActor public static var countryCode: Swift.String { @_Concurrency.MainActor public static var countryCode: Swift.String {

View File

@ -537,15 +537,28 @@ public enum M2NetConnecttionType {
get get
} }
} }
@_Concurrency.MainActor public struct M2NetMonitor { @_hasMissingDesignatedInitializers @_Concurrency.MainActor final public class M2NetMonitor : Foundation.ObservableObject {
@_Concurrency.MainActor public func start(monitorHandler: @escaping (_ isConnected: Swift.Bool) -> Swift.Void) @_Concurrency.MainActor public static let shared: M2Kit.M2NetMonitor
@_Concurrency.MainActor public var isConnected: Swift.Bool { @Combine.Published<Swift.Bool> @_projectedValueProperty($isConnected) @_Concurrency.MainActor final public var isConnected: Swift.Bool {
get get
} }
@_Concurrency.MainActor public var connectionType: M2Kit.M2NetConnecttionType { @_Concurrency.MainActor final public var $isConnected: Combine.Published<Swift.Bool>.Publisher {
get get
} }
@_Concurrency.MainActor public func stop() @Combine.Published<M2Kit.M2NetConnecttionType> @_projectedValueProperty($connectionType) @_Concurrency.MainActor final public var connectionType: M2Kit.M2NetConnecttionType {
get
}
@_Concurrency.MainActor final public var $connectionType: Combine.Published<M2Kit.M2NetConnecttionType>.Publisher {
get
}
@Combine.Published<Swift.Bool> @_projectedValueProperty($isReady) @_Concurrency.MainActor final public var isReady: Swift.Bool {
get
}
@_Concurrency.MainActor final public var $isReady: Combine.Published<Swift.Bool>.Publisher {
get
}
public typealias ObjectWillChangePublisher = Combine.ObservableObjectPublisher
@objc deinit
} }
@_Concurrency.MainActor public struct M2Radio { @_Concurrency.MainActor public struct M2Radio {
} }
@ -888,6 +901,7 @@ public enum M2VideoStatus {
@_Concurrency.MainActor public static func checkStatus(trackID: Swift.String) -> M2Kit.M2VideoStatus @_Concurrency.MainActor public static func checkStatus(trackID: Swift.String) -> M2Kit.M2VideoStatus
@_Concurrency.MainActor public static func deleteDataOf(trackID: Swift.String) @_Concurrency.MainActor public static func deleteDataOf(trackID: Swift.String)
@_Concurrency.MainActor public static func filePathOf(trackID: Swift.String) -> Swift.String @_Concurrency.MainActor public static func filePathOf(trackID: Swift.String) -> Swift.String
@_Concurrency.MainActor public static func enableWorkForInCellularNetwork(_ enable: Swift.Bool)
} }
extension M2Kit.M2Utils { extension M2Kit.M2Utils {
@_Concurrency.MainActor public static var countryCode: Swift.String { @_Concurrency.MainActor public static var countryCode: Swift.String {

View File

@ -32,6 +32,13 @@
"declKind": "Import", "declKind": "Import",
"moduleName": "M2Kit" "moduleName": "M2Kit"
}, },
{
"kind": "Import",
"name": "Combine",
"printedName": "Combine",
"declKind": "Import",
"moduleName": "M2Kit"
},
{ {
"kind": "Import", "kind": "Import",
"name": "Foundation", "name": "Foundation",
@ -13841,6 +13848,13 @@
"declKind": "Import", "declKind": "Import",
"moduleName": "M2Kit" "moduleName": "M2Kit"
}, },
{
"kind": "Import",
"name": "Combine",
"printedName": "Combine",
"declKind": "Import",
"moduleName": "M2Kit"
},
{ {
"kind": "TypeDecl", "kind": "TypeDecl",
"name": "M2NetConnecttionType", "name": "M2NetConnecttionType",
@ -14135,43 +14149,56 @@
"printedName": "M2NetMonitor", "printedName": "M2NetMonitor",
"children": [ "children": [
{ {
"kind": "Function", "kind": "Var",
"name": "start", "name": "shared",
"printedName": "start(monitorHandler:)", "printedName": "shared",
"children": [ "children": [
{ {
"kind": "TypeNominal", "kind": "TypeNominal",
"name": "Void", "name": "M2NetMonitor",
"printedName": "()" "printedName": "M2Kit.M2NetMonitor",
}, "usr": "s:5M2Kit0A10NetMonitorC"
{
"kind": "TypeFunc",
"name": "Function",
"printedName": "(Swift.Bool) -> ()",
"children": [
{
"kind": "TypeNominal",
"name": "Void",
"printedName": "()"
},
{
"kind": "TypeNominal",
"name": "Bool",
"printedName": "Swift.Bool",
"usr": "s:Sb"
}
]
} }
], ],
"declKind": "Func", "declKind": "Var",
"usr": "s:5M2Kit0A10NetMonitorV5start14monitorHandleryySbc_tF", "usr": "s:5M2Kit0A10NetMonitorC6sharedACvpZ",
"mangledName": "$s5M2Kit0A10NetMonitorV5start14monitorHandleryySbc_tF", "mangledName": "$s5M2Kit0A10NetMonitorC6sharedACvpZ",
"moduleName": "M2Kit", "moduleName": "M2Kit",
"static": true,
"declAttributes": [ "declAttributes": [
"HasInitialValue",
"Final",
"HasStorage",
"Custom", "Custom",
"AccessControl" "AccessControl"
], ],
"funcSelfKind": "NonMutating" "isLet": true,
"hasStorage": true,
"accessors": [
{
"kind": "Accessor",
"name": "Get",
"printedName": "Get()",
"children": [
{
"kind": "TypeNominal",
"name": "M2NetMonitor",
"printedName": "M2Kit.M2NetMonitor",
"usr": "s:5M2Kit0A10NetMonitorC"
}
],
"declKind": "Accessor",
"usr": "s:5M2Kit0A10NetMonitorC6sharedACvgZ",
"mangledName": "$s5M2Kit0A10NetMonitorC6sharedACvgZ",
"moduleName": "M2Kit",
"static": true,
"implicit": true,
"declAttributes": [
"Final"
],
"accessorKind": "get"
}
]
}, },
{ {
"kind": "Var", "kind": "Var",
@ -14186,12 +14213,16 @@
} }
], ],
"declKind": "Var", "declKind": "Var",
"usr": "s:5M2Kit0A10NetMonitorV11isConnectedSbvp", "usr": "s:5M2Kit0A10NetMonitorC11isConnectedSbvp",
"mangledName": "$s5M2Kit0A10NetMonitorV11isConnectedSbvp", "mangledName": "$s5M2Kit0A10NetMonitorC11isConnectedSbvp",
"moduleName": "M2Kit", "moduleName": "M2Kit",
"declAttributes": [ "declAttributes": [
"Final",
"Custom", "Custom",
"AccessControl" "ProjectedValueProperty",
"SetterAccess",
"AccessControl",
"Custom"
], ],
"accessors": [ "accessors": [
{ {
@ -14207,9 +14238,59 @@
} }
], ],
"declKind": "Accessor", "declKind": "Accessor",
"usr": "s:5M2Kit0A10NetMonitorV11isConnectedSbvg", "usr": "s:5M2Kit0A10NetMonitorC11isConnectedSbvg",
"mangledName": "$s5M2Kit0A10NetMonitorV11isConnectedSbvg", "mangledName": "$s5M2Kit0A10NetMonitorC11isConnectedSbvg",
"moduleName": "M2Kit", "moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final"
],
"accessorKind": "get"
}
]
},
{
"kind": "Var",
"name": "$isConnected",
"printedName": "$isConnected",
"children": [
{
"kind": "TypeNominal",
"name": "Publisher",
"printedName": "Combine.Published<Swift.Bool>.Publisher",
"usr": "s:7Combine9PublishedV9PublisherV"
}
],
"declKind": "Var",
"usr": "s:5M2Kit0A10NetMonitorC12$isConnected7Combine9PublishedV9PublisherVySb_Gvp",
"mangledName": "$s5M2Kit0A10NetMonitorC12$isConnected7Combine9PublishedV9PublisherVySb_Gvp",
"moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final",
"Custom"
],
"accessors": [
{
"kind": "Accessor",
"name": "Get",
"printedName": "Get()",
"children": [
{
"kind": "TypeNominal",
"name": "Publisher",
"printedName": "Combine.Published<Swift.Bool>.Publisher",
"usr": "s:7Combine9PublishedV9PublisherV"
}
],
"declKind": "Accessor",
"usr": "s:5M2Kit0A10NetMonitorC12$isConnected7Combine9PublishedV9PublisherVySb_Gvg",
"mangledName": "$s5M2Kit0A10NetMonitorC12$isConnected7Combine9PublishedV9PublisherVySb_Gvg",
"moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final"
],
"accessorKind": "get" "accessorKind": "get"
} }
] ]
@ -14227,12 +14308,16 @@
} }
], ],
"declKind": "Var", "declKind": "Var",
"usr": "s:5M2Kit0A10NetMonitorV14connectionTypeAA0ac11ConnecttionF0Ovp", "usr": "s:5M2Kit0A10NetMonitorC14connectionTypeAA0ac11ConnecttionF0Ovp",
"mangledName": "$s5M2Kit0A10NetMonitorV14connectionTypeAA0ac11ConnecttionF0Ovp", "mangledName": "$s5M2Kit0A10NetMonitorC14connectionTypeAA0ac11ConnecttionF0Ovp",
"moduleName": "M2Kit", "moduleName": "M2Kit",
"declAttributes": [ "declAttributes": [
"Final",
"Custom", "Custom",
"AccessControl" "ProjectedValueProperty",
"SetterAccess",
"AccessControl",
"Custom"
], ],
"accessors": [ "accessors": [
{ {
@ -14248,44 +14333,193 @@
} }
], ],
"declKind": "Accessor", "declKind": "Accessor",
"usr": "s:5M2Kit0A10NetMonitorV14connectionTypeAA0ac11ConnecttionF0Ovg", "usr": "s:5M2Kit0A10NetMonitorC14connectionTypeAA0ac11ConnecttionF0Ovg",
"mangledName": "$s5M2Kit0A10NetMonitorV14connectionTypeAA0ac11ConnecttionF0Ovg", "mangledName": "$s5M2Kit0A10NetMonitorC14connectionTypeAA0ac11ConnecttionF0Ovg",
"moduleName": "M2Kit", "moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final"
],
"accessorKind": "get" "accessorKind": "get"
} }
] ]
}, },
{ {
"kind": "Function", "kind": "Var",
"name": "stop", "name": "$connectionType",
"printedName": "stop()", "printedName": "$connectionType",
"children": [ "children": [
{ {
"kind": "TypeNominal", "kind": "TypeNominal",
"name": "Void", "name": "Publisher",
"printedName": "()" "printedName": "Combine.Published<M2Kit.M2NetConnecttionType>.Publisher",
"usr": "s:7Combine9PublishedV9PublisherV"
} }
], ],
"declKind": "Func", "declKind": "Var",
"usr": "s:5M2Kit0A10NetMonitorV4stopyyF", "usr": "s:5M2Kit0A10NetMonitorC15$connectionType7Combine9PublishedV9PublisherVyAA0ac11ConnecttionF0O_Gvp",
"mangledName": "$s5M2Kit0A10NetMonitorV4stopyyF", "mangledName": "$s5M2Kit0A10NetMonitorC15$connectionType7Combine9PublishedV9PublisherVyAA0ac11ConnecttionF0O_Gvp",
"moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final",
"Custom"
],
"accessors": [
{
"kind": "Accessor",
"name": "Get",
"printedName": "Get()",
"children": [
{
"kind": "TypeNominal",
"name": "Publisher",
"printedName": "Combine.Published<M2Kit.M2NetConnecttionType>.Publisher",
"usr": "s:7Combine9PublishedV9PublisherV"
}
],
"declKind": "Accessor",
"usr": "s:5M2Kit0A10NetMonitorC15$connectionType7Combine9PublishedV9PublisherVyAA0ac11ConnecttionF0O_Gvg",
"mangledName": "$s5M2Kit0A10NetMonitorC15$connectionType7Combine9PublishedV9PublisherVyAA0ac11ConnecttionF0O_Gvg",
"moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final"
],
"accessorKind": "get"
}
]
},
{
"kind": "Var",
"name": "isReady",
"printedName": "isReady",
"children": [
{
"kind": "TypeNominal",
"name": "Bool",
"printedName": "Swift.Bool",
"usr": "s:Sb"
}
],
"declKind": "Var",
"usr": "s:5M2Kit0A10NetMonitorC7isReadySbvp",
"mangledName": "$s5M2Kit0A10NetMonitorC7isReadySbvp",
"moduleName": "M2Kit", "moduleName": "M2Kit",
"declAttributes": [ "declAttributes": [
"Final",
"Custom", "Custom",
"AccessControl" "ProjectedValueProperty",
"SetterAccess",
"AccessControl",
"Custom",
"RawDocComment"
], ],
"funcSelfKind": "NonMutating" "accessors": [
{
"kind": "Accessor",
"name": "Get",
"printedName": "Get()",
"children": [
{
"kind": "TypeNominal",
"name": "Bool",
"printedName": "Swift.Bool",
"usr": "s:Sb"
}
],
"declKind": "Accessor",
"usr": "s:5M2Kit0A10NetMonitorC7isReadySbvg",
"mangledName": "$s5M2Kit0A10NetMonitorC7isReadySbvg",
"moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final"
],
"accessorKind": "get"
}
]
},
{
"kind": "Var",
"name": "$isReady",
"printedName": "$isReady",
"children": [
{
"kind": "TypeNominal",
"name": "Publisher",
"printedName": "Combine.Published<Swift.Bool>.Publisher",
"usr": "s:7Combine9PublishedV9PublisherV"
}
],
"declKind": "Var",
"usr": "s:5M2Kit0A10NetMonitorC8$isReady7Combine9PublishedV9PublisherVySb_Gvp",
"mangledName": "$s5M2Kit0A10NetMonitorC8$isReady7Combine9PublishedV9PublisherVySb_Gvp",
"moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final",
"Custom"
],
"accessors": [
{
"kind": "Accessor",
"name": "Get",
"printedName": "Get()",
"children": [
{
"kind": "TypeNominal",
"name": "Publisher",
"printedName": "Combine.Published<Swift.Bool>.Publisher",
"usr": "s:7Combine9PublishedV9PublisherV"
}
],
"declKind": "Accessor",
"usr": "s:5M2Kit0A10NetMonitorC8$isReady7Combine9PublishedV9PublisherVySb_Gvg",
"mangledName": "$s5M2Kit0A10NetMonitorC8$isReady7Combine9PublishedV9PublisherVySb_Gvg",
"moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final"
],
"accessorKind": "get"
}
]
} }
], ],
"declKind": "Struct", "declKind": "Class",
"usr": "s:5M2Kit0A10NetMonitorV", "usr": "s:5M2Kit0A10NetMonitorC",
"mangledName": "$s5M2Kit0A10NetMonitorV", "mangledName": "$s5M2Kit0A10NetMonitorC",
"moduleName": "M2Kit", "moduleName": "M2Kit",
"declAttributes": [ "declAttributes": [
"Final",
"AccessControl", "AccessControl",
"Custom" "Custom"
], ],
"hasMissingDesignatedInitializers": true,
"conformances": [ "conformances": [
{
"kind": "Conformance",
"name": "ObservableObject",
"printedName": "ObservableObject",
"children": [
{
"kind": "TypeWitness",
"name": "ObjectWillChangePublisher",
"printedName": "ObjectWillChangePublisher",
"children": [
{
"kind": "TypeNominal",
"name": "ObservableObjectPublisher",
"printedName": "Combine.ObservableObjectPublisher",
"usr": "s:7Combine25ObservableObjectPublisherC"
}
]
}
],
"usr": "s:7Combine16ObservableObjectP",
"mangledName": "$s7Combine16ObservableObjectP"
},
{ {
"kind": "Conformance", "kind": "Conformance",
"name": "Copyable", "name": "Copyable",
@ -21891,6 +22125,35 @@
], ],
"funcSelfKind": "NonMutating" "funcSelfKind": "NonMutating"
}, },
{
"kind": "Function",
"name": "enableWorkForInCellularNetwork",
"printedName": "enableWorkForInCellularNetwork(_:)",
"children": [
{
"kind": "TypeNominal",
"name": "Void",
"printedName": "()"
},
{
"kind": "TypeNominal",
"name": "Bool",
"printedName": "Swift.Bool",
"usr": "s:Sb"
}
],
"declKind": "Func",
"usr": "s:5M2Kit0A5UtilsV30enableWorkForInCellularNetworkyySbFZ",
"mangledName": "$s5M2Kit0A5UtilsV30enableWorkForInCellularNetworkyySbFZ",
"moduleName": "M2Kit",
"static": true,
"declAttributes": [
"Custom",
"AccessControl",
"RawDocComment"
],
"funcSelfKind": "NonMutating"
},
{ {
"kind": "Var", "kind": "Var",
"name": "countryCode", "name": "countryCode",
@ -22908,15 +23171,15 @@
}, },
{ {
"kind": "Import", "kind": "Import",
"name": "WebKit", "name": "JavaScriptCore",
"printedName": "WebKit", "printedName": "JavaScriptCore",
"declKind": "Import", "declKind": "Import",
"moduleName": "M2Kit" "moduleName": "M2Kit"
}, },
{ {
"kind": "Import", "kind": "Import",
"name": "JavaScriptCore", "name": "M2KitMacros",
"printedName": "JavaScriptCore", "printedName": "M2KitMacros",
"declKind": "Import", "declKind": "Import",
"moduleName": "M2Kit" "moduleName": "M2Kit"
}, },
@ -22929,15 +23192,15 @@
}, },
{ {
"kind": "Import", "kind": "Import",
"name": "JavaScriptCore", "name": "WebKit",
"printedName": "JavaScriptCore", "printedName": "WebKit",
"declKind": "Import", "declKind": "Import",
"moduleName": "M2Kit" "moduleName": "M2Kit"
}, },
{ {
"kind": "Import", "kind": "Import",
"name": "M2KitMacros", "name": "JavaScriptCore",
"printedName": "M2KitMacros", "printedName": "JavaScriptCore",
"declKind": "Import", "declKind": "Import",
"moduleName": "M2Kit" "moduleName": "M2Kit"
}, },
@ -24881,77 +25144,77 @@
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 258, "offset": 256,
"length": 1, "length": 1,
"value": "0" "value": "0"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 277, "offset": 275,
"length": 1, "length": 1,
"value": "8" "value": "8"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 296, "offset": 294,
"length": 2, "length": 2,
"value": "16" "value": "16"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 318, "offset": 316,
"length": 2, "length": 2,
"value": "24" "value": "24"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 337, "offset": 335,
"length": 2, "length": 2,
"value": "32" "value": "32"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 359, "offset": 357,
"length": 2, "length": 2,
"value": "40" "value": "40"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 379, "offset": 377,
"length": 2, "length": 2,
"value": "48" "value": "48"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 399, "offset": 397,
"length": 2, "length": 2,
"value": "56" "value": "56"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 1065, "offset": 1063,
"length": 14, "length": 14,
"value": "\"HH:mm:ss.SSS\"" "value": "\"HH:mm:ss.SSS\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 1262, "offset": 1260,
"length": 3, "length": 3,
"value": "\" \"" "value": "\" \""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 1288, "offset": 1286,
"length": 4, "length": 4,
"value": "\"\n\"" "value": "\"\n\""
}, },
@ -25595,7 +25858,14 @@
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/NetMonitor.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/NetMonitor.swift",
"kind": "BooleanLiteral", "kind": "BooleanLiteral",
"offset": 345, "offset": 413,
"length": 5,
"value": "false"
},
{
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/NetMonitor.swift",
"kind": "BooleanLiteral",
"offset": 467,
"length": 5, "length": 5,
"value": "false" "value": "false"
}, },
@ -26008,14 +26278,14 @@
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/UserDefaultsWrapper.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/UserDefaultsWrapper.swift",
"kind": "BooleanLiteral", "kind": "BooleanLiteral",
"offset": 1624, "offset": 1631,
"length": 5, "length": 5,
"value": "false" "value": "false"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/UserDefaultsWrapper.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/UserDefaultsWrapper.swift",
"kind": "BooleanLiteral", "kind": "BooleanLiteral",
"offset": 1843, "offset": 1850,
"length": 5, "length": 5,
"value": "false" "value": "false"
}, },
@ -26033,73 +26303,87 @@
"length": 14, "length": 14,
"value": "\".kBackupCode\"" "value": "\".kBackupCode\""
}, },
{
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "BooleanLiteral",
"offset": 399,
"length": 4,
"value": "true"
},
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 381, "offset": 327,
"length": 25,
"value": "\".kEnableWorkForCellular\""
},
{
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "StringLiteral",
"offset": 493,
"length": 4, "length": 4,
"value": "\"US\"" "value": "\"US\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 327, "offset": 439,
"length": 15, "length": 15,
"value": "\".kCountryCode\"" "value": "\".kCountryCode\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 730, "offset": 842,
"length": 1, "length": 1,
"value": "0" "value": "0"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 842, "offset": 954,
"length": 2, "length": 2,
"value": "\"\"" "value": "\"\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 1331, "offset": 1443,
"length": 1, "length": 1,
"value": "0" "value": "0"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 1269, "offset": 1381,
"length": 22, "length": 22,
"value": "\".kSavedCfgVersionKey\"" "value": "\".kSavedCfgVersionKey\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 1368, "offset": 1480,
"length": 15, "length": 15,
"value": "\".kSavedCfgKey\"" "value": "\".kSavedCfgKey\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 8267, "offset": 8379,
"length": 11, "length": 11,
"value": "\"123aA@123\"" "value": "\"123aA@123\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils++V4.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils++V4.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 150, "offset": 153,
"length": 12, "length": 12,
"value": "\"image\/jpeg\"" "value": "\"image\/jpeg\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils++V4.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils++V4.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 191, "offset": 194,
"length": 18, "length": 18,
"value": "\"application\/json\"" "value": "\"application\/json\""
}, },
@ -26134,56 +26418,56 @@
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 3766, "offset": 3765,
"length": 1, "length": 1,
"value": "0" "value": "0"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift",
"kind": "Dictionary", "kind": "Dictionary",
"offset": 3951, "offset": 3950,
"length": 3, "length": 3,
"value": "[]" "value": "[]"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift",
"kind": "Dictionary", "kind": "Dictionary",
"offset": 4009, "offset": 4008,
"length": 3, "length": 3,
"value": "[]" "value": "[]"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 5667, "offset": 5666,
"length": 1, "length": 1,
"value": "0" "value": "0"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 5750, "offset": 5749,
"length": 1, "length": 1,
"value": "1" "value": "1"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 5843, "offset": 5842,
"length": 1, "length": 1,
"value": "2" "value": "2"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 5948, "offset": 5947,
"length": 1, "length": 1,
"value": "3" "value": "3"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 6042, "offset": 6041,
"length": 1, "length": 1,
"value": "4" "value": "4"
}, },
@ -26192,7 +26476,7 @@
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 131, "offset": 131,
"length": 6, "length": 6,
"value": "\"5.34\"" "value": "\"5.35\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2IAP.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2IAP.swift",
@ -26278,6 +26562,20 @@
"length": 1, "length": 1,
"value": "1" "value": "1"
}, },
{
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2NetMonitor.swift",
"kind": "BooleanLiteral",
"offset": 392,
"length": 5,
"value": "false"
},
{
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2NetMonitor.swift",
"kind": "BooleanLiteral",
"offset": 578,
"length": 5,
"value": "false"
},
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2Setting.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2Setting.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
@ -26911,19 +27209,19 @@
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2Utils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 807, "offset": 1112,
"length": 16, "length": 16,
"value": "\"workForChanged\"" "value": "\"workForChanged\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2Utils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 934, "offset": 1239,
"length": 14, "length": 14,
"value": "\"workForBegin\"" "value": "\"workForBegin\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Radio\/MTWebpage.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Radio\/MyTunerWebPage.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 296, "offset": 296,
"length": 35, "length": 35,

View File

@ -537,15 +537,28 @@ public enum M2NetConnecttionType {
get get
} }
} }
@_Concurrency.MainActor public struct M2NetMonitor { @_hasMissingDesignatedInitializers @_Concurrency.MainActor final public class M2NetMonitor : Foundation.ObservableObject {
@_Concurrency.MainActor public func start(monitorHandler: @escaping (_ isConnected: Swift.Bool) -> Swift.Void) @_Concurrency.MainActor public static let shared: M2Kit.M2NetMonitor
@_Concurrency.MainActor public var isConnected: Swift.Bool { @Combine.Published<Swift.Bool> @_projectedValueProperty($isConnected) @_Concurrency.MainActor final public var isConnected: Swift.Bool {
get get
} }
@_Concurrency.MainActor public var connectionType: M2Kit.M2NetConnecttionType { @_Concurrency.MainActor final public var $isConnected: Combine.Published<Swift.Bool>.Publisher {
get get
} }
@_Concurrency.MainActor public func stop() @Combine.Published<M2Kit.M2NetConnecttionType> @_projectedValueProperty($connectionType) @_Concurrency.MainActor final public var connectionType: M2Kit.M2NetConnecttionType {
get
}
@_Concurrency.MainActor final public var $connectionType: Combine.Published<M2Kit.M2NetConnecttionType>.Publisher {
get
}
@Combine.Published<Swift.Bool> @_projectedValueProperty($isReady) @_Concurrency.MainActor final public var isReady: Swift.Bool {
get
}
@_Concurrency.MainActor final public var $isReady: Combine.Published<Swift.Bool>.Publisher {
get
}
public typealias ObjectWillChangePublisher = Combine.ObservableObjectPublisher
@objc deinit
} }
@_Concurrency.MainActor public struct M2Radio { @_Concurrency.MainActor public struct M2Radio {
} }
@ -888,6 +901,7 @@ public enum M2VideoStatus {
@_Concurrency.MainActor public static func checkStatus(trackID: Swift.String) -> M2Kit.M2VideoStatus @_Concurrency.MainActor public static func checkStatus(trackID: Swift.String) -> M2Kit.M2VideoStatus
@_Concurrency.MainActor public static func deleteDataOf(trackID: Swift.String) @_Concurrency.MainActor public static func deleteDataOf(trackID: Swift.String)
@_Concurrency.MainActor public static func filePathOf(trackID: Swift.String) -> Swift.String @_Concurrency.MainActor public static func filePathOf(trackID: Swift.String) -> Swift.String
@_Concurrency.MainActor public static func enableWorkForInCellularNetwork(_ enable: Swift.Bool)
} }
extension M2Kit.M2Utils { extension M2Kit.M2Utils {
@_Concurrency.MainActor public static var countryCode: Swift.String { @_Concurrency.MainActor public static var countryCode: Swift.String {

View File

@ -537,15 +537,28 @@ public enum M2NetConnecttionType {
get get
} }
} }
@_Concurrency.MainActor public struct M2NetMonitor { @_hasMissingDesignatedInitializers @_Concurrency.MainActor final public class M2NetMonitor : Foundation.ObservableObject {
@_Concurrency.MainActor public func start(monitorHandler: @escaping (_ isConnected: Swift.Bool) -> Swift.Void) @_Concurrency.MainActor public static let shared: M2Kit.M2NetMonitor
@_Concurrency.MainActor public var isConnected: Swift.Bool { @Combine.Published<Swift.Bool> @_projectedValueProperty($isConnected) @_Concurrency.MainActor final public var isConnected: Swift.Bool {
get get
} }
@_Concurrency.MainActor public var connectionType: M2Kit.M2NetConnecttionType { @_Concurrency.MainActor final public var $isConnected: Combine.Published<Swift.Bool>.Publisher {
get get
} }
@_Concurrency.MainActor public func stop() @Combine.Published<M2Kit.M2NetConnecttionType> @_projectedValueProperty($connectionType) @_Concurrency.MainActor final public var connectionType: M2Kit.M2NetConnecttionType {
get
}
@_Concurrency.MainActor final public var $connectionType: Combine.Published<M2Kit.M2NetConnecttionType>.Publisher {
get
}
@Combine.Published<Swift.Bool> @_projectedValueProperty($isReady) @_Concurrency.MainActor final public var isReady: Swift.Bool {
get
}
@_Concurrency.MainActor final public var $isReady: Combine.Published<Swift.Bool>.Publisher {
get
}
public typealias ObjectWillChangePublisher = Combine.ObservableObjectPublisher
@objc deinit
} }
@_Concurrency.MainActor public struct M2Radio { @_Concurrency.MainActor public struct M2Radio {
} }
@ -888,6 +901,7 @@ public enum M2VideoStatus {
@_Concurrency.MainActor public static func checkStatus(trackID: Swift.String) -> M2Kit.M2VideoStatus @_Concurrency.MainActor public static func checkStatus(trackID: Swift.String) -> M2Kit.M2VideoStatus
@_Concurrency.MainActor public static func deleteDataOf(trackID: Swift.String) @_Concurrency.MainActor public static func deleteDataOf(trackID: Swift.String)
@_Concurrency.MainActor public static func filePathOf(trackID: Swift.String) -> Swift.String @_Concurrency.MainActor public static func filePathOf(trackID: Swift.String) -> Swift.String
@_Concurrency.MainActor public static func enableWorkForInCellularNetwork(_ enable: Swift.Bool)
} }
extension M2Kit.M2Utils { extension M2Kit.M2Utils {
@_Concurrency.MainActor public static var countryCode: Swift.String { @_Concurrency.MainActor public static var countryCode: Swift.String {

View File

@ -32,6 +32,13 @@
"declKind": "Import", "declKind": "Import",
"moduleName": "M2Kit" "moduleName": "M2Kit"
}, },
{
"kind": "Import",
"name": "Combine",
"printedName": "Combine",
"declKind": "Import",
"moduleName": "M2Kit"
},
{ {
"kind": "Import", "kind": "Import",
"name": "Foundation", "name": "Foundation",
@ -13841,6 +13848,13 @@
"declKind": "Import", "declKind": "Import",
"moduleName": "M2Kit" "moduleName": "M2Kit"
}, },
{
"kind": "Import",
"name": "Combine",
"printedName": "Combine",
"declKind": "Import",
"moduleName": "M2Kit"
},
{ {
"kind": "TypeDecl", "kind": "TypeDecl",
"name": "M2NetConnecttionType", "name": "M2NetConnecttionType",
@ -14135,43 +14149,56 @@
"printedName": "M2NetMonitor", "printedName": "M2NetMonitor",
"children": [ "children": [
{ {
"kind": "Function", "kind": "Var",
"name": "start", "name": "shared",
"printedName": "start(monitorHandler:)", "printedName": "shared",
"children": [ "children": [
{ {
"kind": "TypeNominal", "kind": "TypeNominal",
"name": "Void", "name": "M2NetMonitor",
"printedName": "()" "printedName": "M2Kit.M2NetMonitor",
}, "usr": "s:5M2Kit0A10NetMonitorC"
{
"kind": "TypeFunc",
"name": "Function",
"printedName": "(Swift.Bool) -> ()",
"children": [
{
"kind": "TypeNominal",
"name": "Void",
"printedName": "()"
},
{
"kind": "TypeNominal",
"name": "Bool",
"printedName": "Swift.Bool",
"usr": "s:Sb"
}
]
} }
], ],
"declKind": "Func", "declKind": "Var",
"usr": "s:5M2Kit0A10NetMonitorV5start14monitorHandleryySbc_tF", "usr": "s:5M2Kit0A10NetMonitorC6sharedACvpZ",
"mangledName": "$s5M2Kit0A10NetMonitorV5start14monitorHandleryySbc_tF", "mangledName": "$s5M2Kit0A10NetMonitorC6sharedACvpZ",
"moduleName": "M2Kit", "moduleName": "M2Kit",
"static": true,
"declAttributes": [ "declAttributes": [
"HasInitialValue",
"Final",
"HasStorage",
"Custom", "Custom",
"AccessControl" "AccessControl"
], ],
"funcSelfKind": "NonMutating" "isLet": true,
"hasStorage": true,
"accessors": [
{
"kind": "Accessor",
"name": "Get",
"printedName": "Get()",
"children": [
{
"kind": "TypeNominal",
"name": "M2NetMonitor",
"printedName": "M2Kit.M2NetMonitor",
"usr": "s:5M2Kit0A10NetMonitorC"
}
],
"declKind": "Accessor",
"usr": "s:5M2Kit0A10NetMonitorC6sharedACvgZ",
"mangledName": "$s5M2Kit0A10NetMonitorC6sharedACvgZ",
"moduleName": "M2Kit",
"static": true,
"implicit": true,
"declAttributes": [
"Final"
],
"accessorKind": "get"
}
]
}, },
{ {
"kind": "Var", "kind": "Var",
@ -14186,12 +14213,16 @@
} }
], ],
"declKind": "Var", "declKind": "Var",
"usr": "s:5M2Kit0A10NetMonitorV11isConnectedSbvp", "usr": "s:5M2Kit0A10NetMonitorC11isConnectedSbvp",
"mangledName": "$s5M2Kit0A10NetMonitorV11isConnectedSbvp", "mangledName": "$s5M2Kit0A10NetMonitorC11isConnectedSbvp",
"moduleName": "M2Kit", "moduleName": "M2Kit",
"declAttributes": [ "declAttributes": [
"Final",
"Custom", "Custom",
"AccessControl" "ProjectedValueProperty",
"SetterAccess",
"AccessControl",
"Custom"
], ],
"accessors": [ "accessors": [
{ {
@ -14207,9 +14238,59 @@
} }
], ],
"declKind": "Accessor", "declKind": "Accessor",
"usr": "s:5M2Kit0A10NetMonitorV11isConnectedSbvg", "usr": "s:5M2Kit0A10NetMonitorC11isConnectedSbvg",
"mangledName": "$s5M2Kit0A10NetMonitorV11isConnectedSbvg", "mangledName": "$s5M2Kit0A10NetMonitorC11isConnectedSbvg",
"moduleName": "M2Kit", "moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final"
],
"accessorKind": "get"
}
]
},
{
"kind": "Var",
"name": "$isConnected",
"printedName": "$isConnected",
"children": [
{
"kind": "TypeNominal",
"name": "Publisher",
"printedName": "Combine.Published<Swift.Bool>.Publisher",
"usr": "s:7Combine9PublishedV9PublisherV"
}
],
"declKind": "Var",
"usr": "s:5M2Kit0A10NetMonitorC12$isConnected7Combine9PublishedV9PublisherVySb_Gvp",
"mangledName": "$s5M2Kit0A10NetMonitorC12$isConnected7Combine9PublishedV9PublisherVySb_Gvp",
"moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final",
"Custom"
],
"accessors": [
{
"kind": "Accessor",
"name": "Get",
"printedName": "Get()",
"children": [
{
"kind": "TypeNominal",
"name": "Publisher",
"printedName": "Combine.Published<Swift.Bool>.Publisher",
"usr": "s:7Combine9PublishedV9PublisherV"
}
],
"declKind": "Accessor",
"usr": "s:5M2Kit0A10NetMonitorC12$isConnected7Combine9PublishedV9PublisherVySb_Gvg",
"mangledName": "$s5M2Kit0A10NetMonitorC12$isConnected7Combine9PublishedV9PublisherVySb_Gvg",
"moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final"
],
"accessorKind": "get" "accessorKind": "get"
} }
] ]
@ -14227,12 +14308,16 @@
} }
], ],
"declKind": "Var", "declKind": "Var",
"usr": "s:5M2Kit0A10NetMonitorV14connectionTypeAA0ac11ConnecttionF0Ovp", "usr": "s:5M2Kit0A10NetMonitorC14connectionTypeAA0ac11ConnecttionF0Ovp",
"mangledName": "$s5M2Kit0A10NetMonitorV14connectionTypeAA0ac11ConnecttionF0Ovp", "mangledName": "$s5M2Kit0A10NetMonitorC14connectionTypeAA0ac11ConnecttionF0Ovp",
"moduleName": "M2Kit", "moduleName": "M2Kit",
"declAttributes": [ "declAttributes": [
"Final",
"Custom", "Custom",
"AccessControl" "ProjectedValueProperty",
"SetterAccess",
"AccessControl",
"Custom"
], ],
"accessors": [ "accessors": [
{ {
@ -14248,44 +14333,193 @@
} }
], ],
"declKind": "Accessor", "declKind": "Accessor",
"usr": "s:5M2Kit0A10NetMonitorV14connectionTypeAA0ac11ConnecttionF0Ovg", "usr": "s:5M2Kit0A10NetMonitorC14connectionTypeAA0ac11ConnecttionF0Ovg",
"mangledName": "$s5M2Kit0A10NetMonitorV14connectionTypeAA0ac11ConnecttionF0Ovg", "mangledName": "$s5M2Kit0A10NetMonitorC14connectionTypeAA0ac11ConnecttionF0Ovg",
"moduleName": "M2Kit", "moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final"
],
"accessorKind": "get" "accessorKind": "get"
} }
] ]
}, },
{ {
"kind": "Function", "kind": "Var",
"name": "stop", "name": "$connectionType",
"printedName": "stop()", "printedName": "$connectionType",
"children": [ "children": [
{ {
"kind": "TypeNominal", "kind": "TypeNominal",
"name": "Void", "name": "Publisher",
"printedName": "()" "printedName": "Combine.Published<M2Kit.M2NetConnecttionType>.Publisher",
"usr": "s:7Combine9PublishedV9PublisherV"
} }
], ],
"declKind": "Func", "declKind": "Var",
"usr": "s:5M2Kit0A10NetMonitorV4stopyyF", "usr": "s:5M2Kit0A10NetMonitorC15$connectionType7Combine9PublishedV9PublisherVyAA0ac11ConnecttionF0O_Gvp",
"mangledName": "$s5M2Kit0A10NetMonitorV4stopyyF", "mangledName": "$s5M2Kit0A10NetMonitorC15$connectionType7Combine9PublishedV9PublisherVyAA0ac11ConnecttionF0O_Gvp",
"moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final",
"Custom"
],
"accessors": [
{
"kind": "Accessor",
"name": "Get",
"printedName": "Get()",
"children": [
{
"kind": "TypeNominal",
"name": "Publisher",
"printedName": "Combine.Published<M2Kit.M2NetConnecttionType>.Publisher",
"usr": "s:7Combine9PublishedV9PublisherV"
}
],
"declKind": "Accessor",
"usr": "s:5M2Kit0A10NetMonitorC15$connectionType7Combine9PublishedV9PublisherVyAA0ac11ConnecttionF0O_Gvg",
"mangledName": "$s5M2Kit0A10NetMonitorC15$connectionType7Combine9PublishedV9PublisherVyAA0ac11ConnecttionF0O_Gvg",
"moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final"
],
"accessorKind": "get"
}
]
},
{
"kind": "Var",
"name": "isReady",
"printedName": "isReady",
"children": [
{
"kind": "TypeNominal",
"name": "Bool",
"printedName": "Swift.Bool",
"usr": "s:Sb"
}
],
"declKind": "Var",
"usr": "s:5M2Kit0A10NetMonitorC7isReadySbvp",
"mangledName": "$s5M2Kit0A10NetMonitorC7isReadySbvp",
"moduleName": "M2Kit", "moduleName": "M2Kit",
"declAttributes": [ "declAttributes": [
"Final",
"Custom", "Custom",
"AccessControl" "ProjectedValueProperty",
"SetterAccess",
"AccessControl",
"Custom",
"RawDocComment"
], ],
"funcSelfKind": "NonMutating" "accessors": [
{
"kind": "Accessor",
"name": "Get",
"printedName": "Get()",
"children": [
{
"kind": "TypeNominal",
"name": "Bool",
"printedName": "Swift.Bool",
"usr": "s:Sb"
}
],
"declKind": "Accessor",
"usr": "s:5M2Kit0A10NetMonitorC7isReadySbvg",
"mangledName": "$s5M2Kit0A10NetMonitorC7isReadySbvg",
"moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final"
],
"accessorKind": "get"
}
]
},
{
"kind": "Var",
"name": "$isReady",
"printedName": "$isReady",
"children": [
{
"kind": "TypeNominal",
"name": "Publisher",
"printedName": "Combine.Published<Swift.Bool>.Publisher",
"usr": "s:7Combine9PublishedV9PublisherV"
}
],
"declKind": "Var",
"usr": "s:5M2Kit0A10NetMonitorC8$isReady7Combine9PublishedV9PublisherVySb_Gvp",
"mangledName": "$s5M2Kit0A10NetMonitorC8$isReady7Combine9PublishedV9PublisherVySb_Gvp",
"moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final",
"Custom"
],
"accessors": [
{
"kind": "Accessor",
"name": "Get",
"printedName": "Get()",
"children": [
{
"kind": "TypeNominal",
"name": "Publisher",
"printedName": "Combine.Published<Swift.Bool>.Publisher",
"usr": "s:7Combine9PublishedV9PublisherV"
}
],
"declKind": "Accessor",
"usr": "s:5M2Kit0A10NetMonitorC8$isReady7Combine9PublishedV9PublisherVySb_Gvg",
"mangledName": "$s5M2Kit0A10NetMonitorC8$isReady7Combine9PublishedV9PublisherVySb_Gvg",
"moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final"
],
"accessorKind": "get"
}
]
} }
], ],
"declKind": "Struct", "declKind": "Class",
"usr": "s:5M2Kit0A10NetMonitorV", "usr": "s:5M2Kit0A10NetMonitorC",
"mangledName": "$s5M2Kit0A10NetMonitorV", "mangledName": "$s5M2Kit0A10NetMonitorC",
"moduleName": "M2Kit", "moduleName": "M2Kit",
"declAttributes": [ "declAttributes": [
"Final",
"AccessControl", "AccessControl",
"Custom" "Custom"
], ],
"hasMissingDesignatedInitializers": true,
"conformances": [ "conformances": [
{
"kind": "Conformance",
"name": "ObservableObject",
"printedName": "ObservableObject",
"children": [
{
"kind": "TypeWitness",
"name": "ObjectWillChangePublisher",
"printedName": "ObjectWillChangePublisher",
"children": [
{
"kind": "TypeNominal",
"name": "ObservableObjectPublisher",
"printedName": "Combine.ObservableObjectPublisher",
"usr": "s:7Combine25ObservableObjectPublisherC"
}
]
}
],
"usr": "s:7Combine16ObservableObjectP",
"mangledName": "$s7Combine16ObservableObjectP"
},
{ {
"kind": "Conformance", "kind": "Conformance",
"name": "Copyable", "name": "Copyable",
@ -21891,6 +22125,35 @@
], ],
"funcSelfKind": "NonMutating" "funcSelfKind": "NonMutating"
}, },
{
"kind": "Function",
"name": "enableWorkForInCellularNetwork",
"printedName": "enableWorkForInCellularNetwork(_:)",
"children": [
{
"kind": "TypeNominal",
"name": "Void",
"printedName": "()"
},
{
"kind": "TypeNominal",
"name": "Bool",
"printedName": "Swift.Bool",
"usr": "s:Sb"
}
],
"declKind": "Func",
"usr": "s:5M2Kit0A5UtilsV30enableWorkForInCellularNetworkyySbFZ",
"mangledName": "$s5M2Kit0A5UtilsV30enableWorkForInCellularNetworkyySbFZ",
"moduleName": "M2Kit",
"static": true,
"declAttributes": [
"Custom",
"AccessControl",
"RawDocComment"
],
"funcSelfKind": "NonMutating"
},
{ {
"kind": "Var", "kind": "Var",
"name": "countryCode", "name": "countryCode",
@ -22908,15 +23171,15 @@
}, },
{ {
"kind": "Import", "kind": "Import",
"name": "WebKit", "name": "JavaScriptCore",
"printedName": "WebKit", "printedName": "JavaScriptCore",
"declKind": "Import", "declKind": "Import",
"moduleName": "M2Kit" "moduleName": "M2Kit"
}, },
{ {
"kind": "Import", "kind": "Import",
"name": "JavaScriptCore", "name": "M2KitMacros",
"printedName": "JavaScriptCore", "printedName": "M2KitMacros",
"declKind": "Import", "declKind": "Import",
"moduleName": "M2Kit" "moduleName": "M2Kit"
}, },
@ -22929,15 +23192,15 @@
}, },
{ {
"kind": "Import", "kind": "Import",
"name": "JavaScriptCore", "name": "WebKit",
"printedName": "JavaScriptCore", "printedName": "WebKit",
"declKind": "Import", "declKind": "Import",
"moduleName": "M2Kit" "moduleName": "M2Kit"
}, },
{ {
"kind": "Import", "kind": "Import",
"name": "M2KitMacros", "name": "JavaScriptCore",
"printedName": "M2KitMacros", "printedName": "JavaScriptCore",
"declKind": "Import", "declKind": "Import",
"moduleName": "M2Kit" "moduleName": "M2Kit"
}, },
@ -24881,77 +25144,77 @@
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 258, "offset": 256,
"length": 1, "length": 1,
"value": "0" "value": "0"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 277, "offset": 275,
"length": 1, "length": 1,
"value": "8" "value": "8"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 296, "offset": 294,
"length": 2, "length": 2,
"value": "16" "value": "16"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 318, "offset": 316,
"length": 2, "length": 2,
"value": "24" "value": "24"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 337, "offset": 335,
"length": 2, "length": 2,
"value": "32" "value": "32"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 359, "offset": 357,
"length": 2, "length": 2,
"value": "40" "value": "40"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 379, "offset": 377,
"length": 2, "length": 2,
"value": "48" "value": "48"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 399, "offset": 397,
"length": 2, "length": 2,
"value": "56" "value": "56"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 1065, "offset": 1063,
"length": 14, "length": 14,
"value": "\"HH:mm:ss.SSS\"" "value": "\"HH:mm:ss.SSS\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 1262, "offset": 1260,
"length": 3, "length": 3,
"value": "\" \"" "value": "\" \""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 1288, "offset": 1286,
"length": 4, "length": 4,
"value": "\"\n\"" "value": "\"\n\""
}, },
@ -25595,7 +25858,14 @@
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/NetMonitor.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/NetMonitor.swift",
"kind": "BooleanLiteral", "kind": "BooleanLiteral",
"offset": 345, "offset": 413,
"length": 5,
"value": "false"
},
{
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/NetMonitor.swift",
"kind": "BooleanLiteral",
"offset": 467,
"length": 5, "length": 5,
"value": "false" "value": "false"
}, },
@ -26008,14 +26278,14 @@
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/UserDefaultsWrapper.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/UserDefaultsWrapper.swift",
"kind": "BooleanLiteral", "kind": "BooleanLiteral",
"offset": 1624, "offset": 1631,
"length": 5, "length": 5,
"value": "false" "value": "false"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/UserDefaultsWrapper.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/UserDefaultsWrapper.swift",
"kind": "BooleanLiteral", "kind": "BooleanLiteral",
"offset": 1843, "offset": 1850,
"length": 5, "length": 5,
"value": "false" "value": "false"
}, },
@ -26033,73 +26303,87 @@
"length": 14, "length": 14,
"value": "\".kBackupCode\"" "value": "\".kBackupCode\""
}, },
{
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "BooleanLiteral",
"offset": 399,
"length": 4,
"value": "true"
},
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 381, "offset": 327,
"length": 25,
"value": "\".kEnableWorkForCellular\""
},
{
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "StringLiteral",
"offset": 493,
"length": 4, "length": 4,
"value": "\"US\"" "value": "\"US\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 327, "offset": 439,
"length": 15, "length": 15,
"value": "\".kCountryCode\"" "value": "\".kCountryCode\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 730, "offset": 842,
"length": 1, "length": 1,
"value": "0" "value": "0"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 842, "offset": 954,
"length": 2, "length": 2,
"value": "\"\"" "value": "\"\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 1331, "offset": 1443,
"length": 1, "length": 1,
"value": "0" "value": "0"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 1269, "offset": 1381,
"length": 22, "length": 22,
"value": "\".kSavedCfgVersionKey\"" "value": "\".kSavedCfgVersionKey\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 1368, "offset": 1480,
"length": 15, "length": 15,
"value": "\".kSavedCfgKey\"" "value": "\".kSavedCfgKey\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 8267, "offset": 8379,
"length": 11, "length": 11,
"value": "\"123aA@123\"" "value": "\"123aA@123\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils++V4.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils++V4.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 150, "offset": 153,
"length": 12, "length": 12,
"value": "\"image\/jpeg\"" "value": "\"image\/jpeg\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils++V4.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils++V4.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 191, "offset": 194,
"length": 18, "length": 18,
"value": "\"application\/json\"" "value": "\"application\/json\""
}, },
@ -26134,56 +26418,56 @@
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 3766, "offset": 3765,
"length": 1, "length": 1,
"value": "0" "value": "0"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift",
"kind": "Dictionary", "kind": "Dictionary",
"offset": 3951, "offset": 3950,
"length": 3, "length": 3,
"value": "[]" "value": "[]"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift",
"kind": "Dictionary", "kind": "Dictionary",
"offset": 4009, "offset": 4008,
"length": 3, "length": 3,
"value": "[]" "value": "[]"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 5667, "offset": 5666,
"length": 1, "length": 1,
"value": "0" "value": "0"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 5750, "offset": 5749,
"length": 1, "length": 1,
"value": "1" "value": "1"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 5843, "offset": 5842,
"length": 1, "length": 1,
"value": "2" "value": "2"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 5948, "offset": 5947,
"length": 1, "length": 1,
"value": "3" "value": "3"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 6042, "offset": 6041,
"length": 1, "length": 1,
"value": "4" "value": "4"
}, },
@ -26192,7 +26476,7 @@
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 131, "offset": 131,
"length": 6, "length": 6,
"value": "\"5.34\"" "value": "\"5.35\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2IAP.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2IAP.swift",
@ -26278,6 +26562,20 @@
"length": 1, "length": 1,
"value": "1" "value": "1"
}, },
{
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2NetMonitor.swift",
"kind": "BooleanLiteral",
"offset": 392,
"length": 5,
"value": "false"
},
{
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2NetMonitor.swift",
"kind": "BooleanLiteral",
"offset": 578,
"length": 5,
"value": "false"
},
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2Setting.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2Setting.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
@ -26911,19 +27209,19 @@
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2Utils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 807, "offset": 1112,
"length": 16, "length": 16,
"value": "\"workForChanged\"" "value": "\"workForChanged\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2Utils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 934, "offset": 1239,
"length": 14, "length": 14,
"value": "\"workForBegin\"" "value": "\"workForBegin\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Radio\/MTWebpage.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Radio\/MyTunerWebPage.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 296, "offset": 296,
"length": 35, "length": 35,

View File

@ -537,15 +537,28 @@ public enum M2NetConnecttionType {
get get
} }
} }
@_Concurrency.MainActor public struct M2NetMonitor { @_hasMissingDesignatedInitializers @_Concurrency.MainActor final public class M2NetMonitor : Foundation.ObservableObject {
@_Concurrency.MainActor public func start(monitorHandler: @escaping (_ isConnected: Swift.Bool) -> Swift.Void) @_Concurrency.MainActor public static let shared: M2Kit.M2NetMonitor
@_Concurrency.MainActor public var isConnected: Swift.Bool { @Combine.Published<Swift.Bool> @_projectedValueProperty($isConnected) @_Concurrency.MainActor final public var isConnected: Swift.Bool {
get get
} }
@_Concurrency.MainActor public var connectionType: M2Kit.M2NetConnecttionType { @_Concurrency.MainActor final public var $isConnected: Combine.Published<Swift.Bool>.Publisher {
get get
} }
@_Concurrency.MainActor public func stop() @Combine.Published<M2Kit.M2NetConnecttionType> @_projectedValueProperty($connectionType) @_Concurrency.MainActor final public var connectionType: M2Kit.M2NetConnecttionType {
get
}
@_Concurrency.MainActor final public var $connectionType: Combine.Published<M2Kit.M2NetConnecttionType>.Publisher {
get
}
@Combine.Published<Swift.Bool> @_projectedValueProperty($isReady) @_Concurrency.MainActor final public var isReady: Swift.Bool {
get
}
@_Concurrency.MainActor final public var $isReady: Combine.Published<Swift.Bool>.Publisher {
get
}
public typealias ObjectWillChangePublisher = Combine.ObservableObjectPublisher
@objc deinit
} }
@_Concurrency.MainActor public struct M2Radio { @_Concurrency.MainActor public struct M2Radio {
} }
@ -888,6 +901,7 @@ public enum M2VideoStatus {
@_Concurrency.MainActor public static func checkStatus(trackID: Swift.String) -> M2Kit.M2VideoStatus @_Concurrency.MainActor public static func checkStatus(trackID: Swift.String) -> M2Kit.M2VideoStatus
@_Concurrency.MainActor public static func deleteDataOf(trackID: Swift.String) @_Concurrency.MainActor public static func deleteDataOf(trackID: Swift.String)
@_Concurrency.MainActor public static func filePathOf(trackID: Swift.String) -> Swift.String @_Concurrency.MainActor public static func filePathOf(trackID: Swift.String) -> Swift.String
@_Concurrency.MainActor public static func enableWorkForInCellularNetwork(_ enable: Swift.Bool)
} }
extension M2Kit.M2Utils { extension M2Kit.M2Utils {
@_Concurrency.MainActor public static var countryCode: Swift.String { @_Concurrency.MainActor public static var countryCode: Swift.String {

View File

@ -537,15 +537,28 @@ public enum M2NetConnecttionType {
get get
} }
} }
@_Concurrency.MainActor public struct M2NetMonitor { @_hasMissingDesignatedInitializers @_Concurrency.MainActor final public class M2NetMonitor : Foundation.ObservableObject {
@_Concurrency.MainActor public func start(monitorHandler: @escaping (_ isConnected: Swift.Bool) -> Swift.Void) @_Concurrency.MainActor public static let shared: M2Kit.M2NetMonitor
@_Concurrency.MainActor public var isConnected: Swift.Bool { @Combine.Published<Swift.Bool> @_projectedValueProperty($isConnected) @_Concurrency.MainActor final public var isConnected: Swift.Bool {
get get
} }
@_Concurrency.MainActor public var connectionType: M2Kit.M2NetConnecttionType { @_Concurrency.MainActor final public var $isConnected: Combine.Published<Swift.Bool>.Publisher {
get get
} }
@_Concurrency.MainActor public func stop() @Combine.Published<M2Kit.M2NetConnecttionType> @_projectedValueProperty($connectionType) @_Concurrency.MainActor final public var connectionType: M2Kit.M2NetConnecttionType {
get
}
@_Concurrency.MainActor final public var $connectionType: Combine.Published<M2Kit.M2NetConnecttionType>.Publisher {
get
}
@Combine.Published<Swift.Bool> @_projectedValueProperty($isReady) @_Concurrency.MainActor final public var isReady: Swift.Bool {
get
}
@_Concurrency.MainActor final public var $isReady: Combine.Published<Swift.Bool>.Publisher {
get
}
public typealias ObjectWillChangePublisher = Combine.ObservableObjectPublisher
@objc deinit
} }
@_Concurrency.MainActor public struct M2Radio { @_Concurrency.MainActor public struct M2Radio {
} }
@ -888,6 +901,7 @@ public enum M2VideoStatus {
@_Concurrency.MainActor public static func checkStatus(trackID: Swift.String) -> M2Kit.M2VideoStatus @_Concurrency.MainActor public static func checkStatus(trackID: Swift.String) -> M2Kit.M2VideoStatus
@_Concurrency.MainActor public static func deleteDataOf(trackID: Swift.String) @_Concurrency.MainActor public static func deleteDataOf(trackID: Swift.String)
@_Concurrency.MainActor public static func filePathOf(trackID: Swift.String) -> Swift.String @_Concurrency.MainActor public static func filePathOf(trackID: Swift.String) -> Swift.String
@_Concurrency.MainActor public static func enableWorkForInCellularNetwork(_ enable: Swift.Bool)
} }
extension M2Kit.M2Utils { extension M2Kit.M2Utils {
@_Concurrency.MainActor public static var countryCode: Swift.String { @_Concurrency.MainActor public static var countryCode: Swift.String {

View File

@ -17,7 +17,7 @@
<key>CFBundlePackageType</key> <key>CFBundlePackageType</key>
<string>FMWK</string> <string>FMWK</string>
<key>CFBundleShortVersionString</key> <key>CFBundleShortVersionString</key>
<string>5.34</string> <string>5.35</string>
<key>CFBundleSupportedPlatforms</key> <key>CFBundleSupportedPlatforms</key>
<array> <array>
<string>MacOSX</string> <string>MacOSX</string>

View File

@ -32,6 +32,13 @@
"declKind": "Import", "declKind": "Import",
"moduleName": "M2Kit" "moduleName": "M2Kit"
}, },
{
"kind": "Import",
"name": "Combine",
"printedName": "Combine",
"declKind": "Import",
"moduleName": "M2Kit"
},
{ {
"kind": "Import", "kind": "Import",
"name": "Foundation", "name": "Foundation",
@ -13841,6 +13848,13 @@
"declKind": "Import", "declKind": "Import",
"moduleName": "M2Kit" "moduleName": "M2Kit"
}, },
{
"kind": "Import",
"name": "Combine",
"printedName": "Combine",
"declKind": "Import",
"moduleName": "M2Kit"
},
{ {
"kind": "TypeDecl", "kind": "TypeDecl",
"name": "M2NetConnecttionType", "name": "M2NetConnecttionType",
@ -14135,43 +14149,56 @@
"printedName": "M2NetMonitor", "printedName": "M2NetMonitor",
"children": [ "children": [
{ {
"kind": "Function", "kind": "Var",
"name": "start", "name": "shared",
"printedName": "start(monitorHandler:)", "printedName": "shared",
"children": [ "children": [
{ {
"kind": "TypeNominal", "kind": "TypeNominal",
"name": "Void", "name": "M2NetMonitor",
"printedName": "()" "printedName": "M2Kit.M2NetMonitor",
}, "usr": "s:5M2Kit0A10NetMonitorC"
{
"kind": "TypeFunc",
"name": "Function",
"printedName": "(Swift.Bool) -> ()",
"children": [
{
"kind": "TypeNominal",
"name": "Void",
"printedName": "()"
},
{
"kind": "TypeNominal",
"name": "Bool",
"printedName": "Swift.Bool",
"usr": "s:Sb"
}
]
} }
], ],
"declKind": "Func", "declKind": "Var",
"usr": "s:5M2Kit0A10NetMonitorV5start14monitorHandleryySbc_tF", "usr": "s:5M2Kit0A10NetMonitorC6sharedACvpZ",
"mangledName": "$s5M2Kit0A10NetMonitorV5start14monitorHandleryySbc_tF", "mangledName": "$s5M2Kit0A10NetMonitorC6sharedACvpZ",
"moduleName": "M2Kit", "moduleName": "M2Kit",
"static": true,
"declAttributes": [ "declAttributes": [
"HasInitialValue",
"Final",
"HasStorage",
"Custom", "Custom",
"AccessControl" "AccessControl"
], ],
"funcSelfKind": "NonMutating" "isLet": true,
"hasStorage": true,
"accessors": [
{
"kind": "Accessor",
"name": "Get",
"printedName": "Get()",
"children": [
{
"kind": "TypeNominal",
"name": "M2NetMonitor",
"printedName": "M2Kit.M2NetMonitor",
"usr": "s:5M2Kit0A10NetMonitorC"
}
],
"declKind": "Accessor",
"usr": "s:5M2Kit0A10NetMonitorC6sharedACvgZ",
"mangledName": "$s5M2Kit0A10NetMonitorC6sharedACvgZ",
"moduleName": "M2Kit",
"static": true,
"implicit": true,
"declAttributes": [
"Final"
],
"accessorKind": "get"
}
]
}, },
{ {
"kind": "Var", "kind": "Var",
@ -14186,12 +14213,16 @@
} }
], ],
"declKind": "Var", "declKind": "Var",
"usr": "s:5M2Kit0A10NetMonitorV11isConnectedSbvp", "usr": "s:5M2Kit0A10NetMonitorC11isConnectedSbvp",
"mangledName": "$s5M2Kit0A10NetMonitorV11isConnectedSbvp", "mangledName": "$s5M2Kit0A10NetMonitorC11isConnectedSbvp",
"moduleName": "M2Kit", "moduleName": "M2Kit",
"declAttributes": [ "declAttributes": [
"Final",
"Custom", "Custom",
"AccessControl" "ProjectedValueProperty",
"SetterAccess",
"AccessControl",
"Custom"
], ],
"accessors": [ "accessors": [
{ {
@ -14207,9 +14238,59 @@
} }
], ],
"declKind": "Accessor", "declKind": "Accessor",
"usr": "s:5M2Kit0A10NetMonitorV11isConnectedSbvg", "usr": "s:5M2Kit0A10NetMonitorC11isConnectedSbvg",
"mangledName": "$s5M2Kit0A10NetMonitorV11isConnectedSbvg", "mangledName": "$s5M2Kit0A10NetMonitorC11isConnectedSbvg",
"moduleName": "M2Kit", "moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final"
],
"accessorKind": "get"
}
]
},
{
"kind": "Var",
"name": "$isConnected",
"printedName": "$isConnected",
"children": [
{
"kind": "TypeNominal",
"name": "Publisher",
"printedName": "Combine.Published<Swift.Bool>.Publisher",
"usr": "s:7Combine9PublishedV9PublisherV"
}
],
"declKind": "Var",
"usr": "s:5M2Kit0A10NetMonitorC12$isConnected7Combine9PublishedV9PublisherVySb_Gvp",
"mangledName": "$s5M2Kit0A10NetMonitorC12$isConnected7Combine9PublishedV9PublisherVySb_Gvp",
"moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final",
"Custom"
],
"accessors": [
{
"kind": "Accessor",
"name": "Get",
"printedName": "Get()",
"children": [
{
"kind": "TypeNominal",
"name": "Publisher",
"printedName": "Combine.Published<Swift.Bool>.Publisher",
"usr": "s:7Combine9PublishedV9PublisherV"
}
],
"declKind": "Accessor",
"usr": "s:5M2Kit0A10NetMonitorC12$isConnected7Combine9PublishedV9PublisherVySb_Gvg",
"mangledName": "$s5M2Kit0A10NetMonitorC12$isConnected7Combine9PublishedV9PublisherVySb_Gvg",
"moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final"
],
"accessorKind": "get" "accessorKind": "get"
} }
] ]
@ -14227,12 +14308,16 @@
} }
], ],
"declKind": "Var", "declKind": "Var",
"usr": "s:5M2Kit0A10NetMonitorV14connectionTypeAA0ac11ConnecttionF0Ovp", "usr": "s:5M2Kit0A10NetMonitorC14connectionTypeAA0ac11ConnecttionF0Ovp",
"mangledName": "$s5M2Kit0A10NetMonitorV14connectionTypeAA0ac11ConnecttionF0Ovp", "mangledName": "$s5M2Kit0A10NetMonitorC14connectionTypeAA0ac11ConnecttionF0Ovp",
"moduleName": "M2Kit", "moduleName": "M2Kit",
"declAttributes": [ "declAttributes": [
"Final",
"Custom", "Custom",
"AccessControl" "ProjectedValueProperty",
"SetterAccess",
"AccessControl",
"Custom"
], ],
"accessors": [ "accessors": [
{ {
@ -14248,44 +14333,193 @@
} }
], ],
"declKind": "Accessor", "declKind": "Accessor",
"usr": "s:5M2Kit0A10NetMonitorV14connectionTypeAA0ac11ConnecttionF0Ovg", "usr": "s:5M2Kit0A10NetMonitorC14connectionTypeAA0ac11ConnecttionF0Ovg",
"mangledName": "$s5M2Kit0A10NetMonitorV14connectionTypeAA0ac11ConnecttionF0Ovg", "mangledName": "$s5M2Kit0A10NetMonitorC14connectionTypeAA0ac11ConnecttionF0Ovg",
"moduleName": "M2Kit", "moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final"
],
"accessorKind": "get" "accessorKind": "get"
} }
] ]
}, },
{ {
"kind": "Function", "kind": "Var",
"name": "stop", "name": "$connectionType",
"printedName": "stop()", "printedName": "$connectionType",
"children": [ "children": [
{ {
"kind": "TypeNominal", "kind": "TypeNominal",
"name": "Void", "name": "Publisher",
"printedName": "()" "printedName": "Combine.Published<M2Kit.M2NetConnecttionType>.Publisher",
"usr": "s:7Combine9PublishedV9PublisherV"
} }
], ],
"declKind": "Func", "declKind": "Var",
"usr": "s:5M2Kit0A10NetMonitorV4stopyyF", "usr": "s:5M2Kit0A10NetMonitorC15$connectionType7Combine9PublishedV9PublisherVyAA0ac11ConnecttionF0O_Gvp",
"mangledName": "$s5M2Kit0A10NetMonitorV4stopyyF", "mangledName": "$s5M2Kit0A10NetMonitorC15$connectionType7Combine9PublishedV9PublisherVyAA0ac11ConnecttionF0O_Gvp",
"moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final",
"Custom"
],
"accessors": [
{
"kind": "Accessor",
"name": "Get",
"printedName": "Get()",
"children": [
{
"kind": "TypeNominal",
"name": "Publisher",
"printedName": "Combine.Published<M2Kit.M2NetConnecttionType>.Publisher",
"usr": "s:7Combine9PublishedV9PublisherV"
}
],
"declKind": "Accessor",
"usr": "s:5M2Kit0A10NetMonitorC15$connectionType7Combine9PublishedV9PublisherVyAA0ac11ConnecttionF0O_Gvg",
"mangledName": "$s5M2Kit0A10NetMonitorC15$connectionType7Combine9PublishedV9PublisherVyAA0ac11ConnecttionF0O_Gvg",
"moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final"
],
"accessorKind": "get"
}
]
},
{
"kind": "Var",
"name": "isReady",
"printedName": "isReady",
"children": [
{
"kind": "TypeNominal",
"name": "Bool",
"printedName": "Swift.Bool",
"usr": "s:Sb"
}
],
"declKind": "Var",
"usr": "s:5M2Kit0A10NetMonitorC7isReadySbvp",
"mangledName": "$s5M2Kit0A10NetMonitorC7isReadySbvp",
"moduleName": "M2Kit", "moduleName": "M2Kit",
"declAttributes": [ "declAttributes": [
"Final",
"Custom", "Custom",
"AccessControl" "ProjectedValueProperty",
"SetterAccess",
"AccessControl",
"Custom",
"RawDocComment"
], ],
"funcSelfKind": "NonMutating" "accessors": [
{
"kind": "Accessor",
"name": "Get",
"printedName": "Get()",
"children": [
{
"kind": "TypeNominal",
"name": "Bool",
"printedName": "Swift.Bool",
"usr": "s:Sb"
}
],
"declKind": "Accessor",
"usr": "s:5M2Kit0A10NetMonitorC7isReadySbvg",
"mangledName": "$s5M2Kit0A10NetMonitorC7isReadySbvg",
"moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final"
],
"accessorKind": "get"
}
]
},
{
"kind": "Var",
"name": "$isReady",
"printedName": "$isReady",
"children": [
{
"kind": "TypeNominal",
"name": "Publisher",
"printedName": "Combine.Published<Swift.Bool>.Publisher",
"usr": "s:7Combine9PublishedV9PublisherV"
}
],
"declKind": "Var",
"usr": "s:5M2Kit0A10NetMonitorC8$isReady7Combine9PublishedV9PublisherVySb_Gvp",
"mangledName": "$s5M2Kit0A10NetMonitorC8$isReady7Combine9PublishedV9PublisherVySb_Gvp",
"moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final",
"Custom"
],
"accessors": [
{
"kind": "Accessor",
"name": "Get",
"printedName": "Get()",
"children": [
{
"kind": "TypeNominal",
"name": "Publisher",
"printedName": "Combine.Published<Swift.Bool>.Publisher",
"usr": "s:7Combine9PublishedV9PublisherV"
}
],
"declKind": "Accessor",
"usr": "s:5M2Kit0A10NetMonitorC8$isReady7Combine9PublishedV9PublisherVySb_Gvg",
"mangledName": "$s5M2Kit0A10NetMonitorC8$isReady7Combine9PublishedV9PublisherVySb_Gvg",
"moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final"
],
"accessorKind": "get"
}
]
} }
], ],
"declKind": "Struct", "declKind": "Class",
"usr": "s:5M2Kit0A10NetMonitorV", "usr": "s:5M2Kit0A10NetMonitorC",
"mangledName": "$s5M2Kit0A10NetMonitorV", "mangledName": "$s5M2Kit0A10NetMonitorC",
"moduleName": "M2Kit", "moduleName": "M2Kit",
"declAttributes": [ "declAttributes": [
"Final",
"AccessControl", "AccessControl",
"Custom" "Custom"
], ],
"hasMissingDesignatedInitializers": true,
"conformances": [ "conformances": [
{
"kind": "Conformance",
"name": "ObservableObject",
"printedName": "ObservableObject",
"children": [
{
"kind": "TypeWitness",
"name": "ObjectWillChangePublisher",
"printedName": "ObjectWillChangePublisher",
"children": [
{
"kind": "TypeNominal",
"name": "ObservableObjectPublisher",
"printedName": "Combine.ObservableObjectPublisher",
"usr": "s:7Combine25ObservableObjectPublisherC"
}
]
}
],
"usr": "s:7Combine16ObservableObjectP",
"mangledName": "$s7Combine16ObservableObjectP"
},
{ {
"kind": "Conformance", "kind": "Conformance",
"name": "Copyable", "name": "Copyable",
@ -21891,6 +22125,35 @@
], ],
"funcSelfKind": "NonMutating" "funcSelfKind": "NonMutating"
}, },
{
"kind": "Function",
"name": "enableWorkForInCellularNetwork",
"printedName": "enableWorkForInCellularNetwork(_:)",
"children": [
{
"kind": "TypeNominal",
"name": "Void",
"printedName": "()"
},
{
"kind": "TypeNominal",
"name": "Bool",
"printedName": "Swift.Bool",
"usr": "s:Sb"
}
],
"declKind": "Func",
"usr": "s:5M2Kit0A5UtilsV30enableWorkForInCellularNetworkyySbFZ",
"mangledName": "$s5M2Kit0A5UtilsV30enableWorkForInCellularNetworkyySbFZ",
"moduleName": "M2Kit",
"static": true,
"declAttributes": [
"Custom",
"AccessControl",
"RawDocComment"
],
"funcSelfKind": "NonMutating"
},
{ {
"kind": "Var", "kind": "Var",
"name": "countryCode", "name": "countryCode",
@ -22908,15 +23171,15 @@
}, },
{ {
"kind": "Import", "kind": "Import",
"name": "WebKit", "name": "JavaScriptCore",
"printedName": "WebKit", "printedName": "JavaScriptCore",
"declKind": "Import", "declKind": "Import",
"moduleName": "M2Kit" "moduleName": "M2Kit"
}, },
{ {
"kind": "Import", "kind": "Import",
"name": "JavaScriptCore", "name": "M2KitMacros",
"printedName": "JavaScriptCore", "printedName": "M2KitMacros",
"declKind": "Import", "declKind": "Import",
"moduleName": "M2Kit" "moduleName": "M2Kit"
}, },
@ -22929,15 +23192,15 @@
}, },
{ {
"kind": "Import", "kind": "Import",
"name": "JavaScriptCore", "name": "WebKit",
"printedName": "JavaScriptCore", "printedName": "WebKit",
"declKind": "Import", "declKind": "Import",
"moduleName": "M2Kit" "moduleName": "M2Kit"
}, },
{ {
"kind": "Import", "kind": "Import",
"name": "M2KitMacros", "name": "JavaScriptCore",
"printedName": "M2KitMacros", "printedName": "JavaScriptCore",
"declKind": "Import", "declKind": "Import",
"moduleName": "M2Kit" "moduleName": "M2Kit"
}, },
@ -24881,77 +25144,77 @@
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 258, "offset": 256,
"length": 1, "length": 1,
"value": "0" "value": "0"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 277, "offset": 275,
"length": 1, "length": 1,
"value": "8" "value": "8"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 296, "offset": 294,
"length": 2, "length": 2,
"value": "16" "value": "16"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 318, "offset": 316,
"length": 2, "length": 2,
"value": "24" "value": "24"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 337, "offset": 335,
"length": 2, "length": 2,
"value": "32" "value": "32"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 359, "offset": 357,
"length": 2, "length": 2,
"value": "40" "value": "40"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 379, "offset": 377,
"length": 2, "length": 2,
"value": "48" "value": "48"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 399, "offset": 397,
"length": 2, "length": 2,
"value": "56" "value": "56"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 1065, "offset": 1063,
"length": 14, "length": 14,
"value": "\"HH:mm:ss.SSS\"" "value": "\"HH:mm:ss.SSS\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 1262, "offset": 1260,
"length": 3, "length": 3,
"value": "\" \"" "value": "\" \""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 1288, "offset": 1286,
"length": 4, "length": 4,
"value": "\"\n\"" "value": "\"\n\""
}, },
@ -25595,7 +25858,14 @@
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/NetMonitor.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/NetMonitor.swift",
"kind": "BooleanLiteral", "kind": "BooleanLiteral",
"offset": 345, "offset": 413,
"length": 5,
"value": "false"
},
{
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/NetMonitor.swift",
"kind": "BooleanLiteral",
"offset": 467,
"length": 5, "length": 5,
"value": "false" "value": "false"
}, },
@ -26008,14 +26278,14 @@
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/UserDefaultsWrapper.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/UserDefaultsWrapper.swift",
"kind": "BooleanLiteral", "kind": "BooleanLiteral",
"offset": 1624, "offset": 1631,
"length": 5, "length": 5,
"value": "false" "value": "false"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/UserDefaultsWrapper.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/UserDefaultsWrapper.swift",
"kind": "BooleanLiteral", "kind": "BooleanLiteral",
"offset": 1843, "offset": 1850,
"length": 5, "length": 5,
"value": "false" "value": "false"
}, },
@ -26033,73 +26303,87 @@
"length": 14, "length": 14,
"value": "\".kBackupCode\"" "value": "\".kBackupCode\""
}, },
{
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "BooleanLiteral",
"offset": 399,
"length": 4,
"value": "true"
},
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 381, "offset": 327,
"length": 25,
"value": "\".kEnableWorkForCellular\""
},
{
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "StringLiteral",
"offset": 493,
"length": 4, "length": 4,
"value": "\"US\"" "value": "\"US\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 327, "offset": 439,
"length": 15, "length": 15,
"value": "\".kCountryCode\"" "value": "\".kCountryCode\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 730, "offset": 842,
"length": 1, "length": 1,
"value": "0" "value": "0"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 842, "offset": 954,
"length": 2, "length": 2,
"value": "\"\"" "value": "\"\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 1331, "offset": 1443,
"length": 1, "length": 1,
"value": "0" "value": "0"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 1269, "offset": 1381,
"length": 22, "length": 22,
"value": "\".kSavedCfgVersionKey\"" "value": "\".kSavedCfgVersionKey\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 1368, "offset": 1480,
"length": 15, "length": 15,
"value": "\".kSavedCfgKey\"" "value": "\".kSavedCfgKey\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 8267, "offset": 8379,
"length": 11, "length": 11,
"value": "\"123aA@123\"" "value": "\"123aA@123\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils++V4.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils++V4.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 150, "offset": 153,
"length": 12, "length": 12,
"value": "\"image\/jpeg\"" "value": "\"image\/jpeg\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils++V4.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils++V4.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 191, "offset": 194,
"length": 18, "length": 18,
"value": "\"application\/json\"" "value": "\"application\/json\""
}, },
@ -26134,56 +26418,56 @@
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 3766, "offset": 3765,
"length": 1, "length": 1,
"value": "0" "value": "0"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift",
"kind": "Dictionary", "kind": "Dictionary",
"offset": 3951, "offset": 3950,
"length": 3, "length": 3,
"value": "[]" "value": "[]"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift",
"kind": "Dictionary", "kind": "Dictionary",
"offset": 4009, "offset": 4008,
"length": 3, "length": 3,
"value": "[]" "value": "[]"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 5667, "offset": 5666,
"length": 1, "length": 1,
"value": "0" "value": "0"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 5750, "offset": 5749,
"length": 1, "length": 1,
"value": "1" "value": "1"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 5843, "offset": 5842,
"length": 1, "length": 1,
"value": "2" "value": "2"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 5948, "offset": 5947,
"length": 1, "length": 1,
"value": "3" "value": "3"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 6042, "offset": 6041,
"length": 1, "length": 1,
"value": "4" "value": "4"
}, },
@ -26192,7 +26476,7 @@
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 131, "offset": 131,
"length": 6, "length": 6,
"value": "\"5.34\"" "value": "\"5.35\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2IAP.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2IAP.swift",
@ -26278,6 +26562,20 @@
"length": 1, "length": 1,
"value": "1" "value": "1"
}, },
{
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2NetMonitor.swift",
"kind": "BooleanLiteral",
"offset": 392,
"length": 5,
"value": "false"
},
{
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2NetMonitor.swift",
"kind": "BooleanLiteral",
"offset": 578,
"length": 5,
"value": "false"
},
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2Setting.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2Setting.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
@ -26911,19 +27209,19 @@
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2Utils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 807, "offset": 1112,
"length": 16, "length": 16,
"value": "\"workForChanged\"" "value": "\"workForChanged\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2Utils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 934, "offset": 1239,
"length": 14, "length": 14,
"value": "\"workForBegin\"" "value": "\"workForBegin\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Radio\/MTWebpage.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Radio\/MyTunerWebPage.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 296, "offset": 296,
"length": 35, "length": 35,

View File

@ -537,15 +537,28 @@ public enum M2NetConnecttionType {
get get
} }
} }
@_Concurrency.MainActor public struct M2NetMonitor { @_hasMissingDesignatedInitializers @_Concurrency.MainActor final public class M2NetMonitor : Foundation.ObservableObject {
@_Concurrency.MainActor public func start(monitorHandler: @escaping (_ isConnected: Swift.Bool) -> Swift.Void) @_Concurrency.MainActor public static let shared: M2Kit.M2NetMonitor
@_Concurrency.MainActor public var isConnected: Swift.Bool { @Combine.Published<Swift.Bool> @_projectedValueProperty($isConnected) @_Concurrency.MainActor final public var isConnected: Swift.Bool {
get get
} }
@_Concurrency.MainActor public var connectionType: M2Kit.M2NetConnecttionType { @_Concurrency.MainActor final public var $isConnected: Combine.Published<Swift.Bool>.Publisher {
get get
} }
@_Concurrency.MainActor public func stop() @Combine.Published<M2Kit.M2NetConnecttionType> @_projectedValueProperty($connectionType) @_Concurrency.MainActor final public var connectionType: M2Kit.M2NetConnecttionType {
get
}
@_Concurrency.MainActor final public var $connectionType: Combine.Published<M2Kit.M2NetConnecttionType>.Publisher {
get
}
@Combine.Published<Swift.Bool> @_projectedValueProperty($isReady) @_Concurrency.MainActor final public var isReady: Swift.Bool {
get
}
@_Concurrency.MainActor final public var $isReady: Combine.Published<Swift.Bool>.Publisher {
get
}
public typealias ObjectWillChangePublisher = Combine.ObservableObjectPublisher
@objc deinit
} }
@_Concurrency.MainActor public struct M2Radio { @_Concurrency.MainActor public struct M2Radio {
} }
@ -888,6 +901,7 @@ public enum M2VideoStatus {
@_Concurrency.MainActor public static func checkStatus(trackID: Swift.String) -> M2Kit.M2VideoStatus @_Concurrency.MainActor public static func checkStatus(trackID: Swift.String) -> M2Kit.M2VideoStatus
@_Concurrency.MainActor public static func deleteDataOf(trackID: Swift.String) @_Concurrency.MainActor public static func deleteDataOf(trackID: Swift.String)
@_Concurrency.MainActor public static func filePathOf(trackID: Swift.String) -> Swift.String @_Concurrency.MainActor public static func filePathOf(trackID: Swift.String) -> Swift.String
@_Concurrency.MainActor public static func enableWorkForInCellularNetwork(_ enable: Swift.Bool)
} }
extension M2Kit.M2Utils { extension M2Kit.M2Utils {
@_Concurrency.MainActor public static var countryCode: Swift.String { @_Concurrency.MainActor public static var countryCode: Swift.String {

View File

@ -537,15 +537,28 @@ public enum M2NetConnecttionType {
get get
} }
} }
@_Concurrency.MainActor public struct M2NetMonitor { @_hasMissingDesignatedInitializers @_Concurrency.MainActor final public class M2NetMonitor : Foundation.ObservableObject {
@_Concurrency.MainActor public func start(monitorHandler: @escaping (_ isConnected: Swift.Bool) -> Swift.Void) @_Concurrency.MainActor public static let shared: M2Kit.M2NetMonitor
@_Concurrency.MainActor public var isConnected: Swift.Bool { @Combine.Published<Swift.Bool> @_projectedValueProperty($isConnected) @_Concurrency.MainActor final public var isConnected: Swift.Bool {
get get
} }
@_Concurrency.MainActor public var connectionType: M2Kit.M2NetConnecttionType { @_Concurrency.MainActor final public var $isConnected: Combine.Published<Swift.Bool>.Publisher {
get get
} }
@_Concurrency.MainActor public func stop() @Combine.Published<M2Kit.M2NetConnecttionType> @_projectedValueProperty($connectionType) @_Concurrency.MainActor final public var connectionType: M2Kit.M2NetConnecttionType {
get
}
@_Concurrency.MainActor final public var $connectionType: Combine.Published<M2Kit.M2NetConnecttionType>.Publisher {
get
}
@Combine.Published<Swift.Bool> @_projectedValueProperty($isReady) @_Concurrency.MainActor final public var isReady: Swift.Bool {
get
}
@_Concurrency.MainActor final public var $isReady: Combine.Published<Swift.Bool>.Publisher {
get
}
public typealias ObjectWillChangePublisher = Combine.ObservableObjectPublisher
@objc deinit
} }
@_Concurrency.MainActor public struct M2Radio { @_Concurrency.MainActor public struct M2Radio {
} }
@ -888,6 +901,7 @@ public enum M2VideoStatus {
@_Concurrency.MainActor public static func checkStatus(trackID: Swift.String) -> M2Kit.M2VideoStatus @_Concurrency.MainActor public static func checkStatus(trackID: Swift.String) -> M2Kit.M2VideoStatus
@_Concurrency.MainActor public static func deleteDataOf(trackID: Swift.String) @_Concurrency.MainActor public static func deleteDataOf(trackID: Swift.String)
@_Concurrency.MainActor public static func filePathOf(trackID: Swift.String) -> Swift.String @_Concurrency.MainActor public static func filePathOf(trackID: Swift.String) -> Swift.String
@_Concurrency.MainActor public static func enableWorkForInCellularNetwork(_ enable: Swift.Bool)
} }
extension M2Kit.M2Utils { extension M2Kit.M2Utils {
@_Concurrency.MainActor public static var countryCode: Swift.String { @_Concurrency.MainActor public static var countryCode: Swift.String {

View File

@ -32,6 +32,13 @@
"declKind": "Import", "declKind": "Import",
"moduleName": "M2Kit" "moduleName": "M2Kit"
}, },
{
"kind": "Import",
"name": "Combine",
"printedName": "Combine",
"declKind": "Import",
"moduleName": "M2Kit"
},
{ {
"kind": "Import", "kind": "Import",
"name": "Foundation", "name": "Foundation",
@ -13841,6 +13848,13 @@
"declKind": "Import", "declKind": "Import",
"moduleName": "M2Kit" "moduleName": "M2Kit"
}, },
{
"kind": "Import",
"name": "Combine",
"printedName": "Combine",
"declKind": "Import",
"moduleName": "M2Kit"
},
{ {
"kind": "TypeDecl", "kind": "TypeDecl",
"name": "M2NetConnecttionType", "name": "M2NetConnecttionType",
@ -14135,43 +14149,56 @@
"printedName": "M2NetMonitor", "printedName": "M2NetMonitor",
"children": [ "children": [
{ {
"kind": "Function", "kind": "Var",
"name": "start", "name": "shared",
"printedName": "start(monitorHandler:)", "printedName": "shared",
"children": [ "children": [
{ {
"kind": "TypeNominal", "kind": "TypeNominal",
"name": "Void", "name": "M2NetMonitor",
"printedName": "()" "printedName": "M2Kit.M2NetMonitor",
}, "usr": "s:5M2Kit0A10NetMonitorC"
{
"kind": "TypeFunc",
"name": "Function",
"printedName": "(Swift.Bool) -> ()",
"children": [
{
"kind": "TypeNominal",
"name": "Void",
"printedName": "()"
},
{
"kind": "TypeNominal",
"name": "Bool",
"printedName": "Swift.Bool",
"usr": "s:Sb"
}
]
} }
], ],
"declKind": "Func", "declKind": "Var",
"usr": "s:5M2Kit0A10NetMonitorV5start14monitorHandleryySbc_tF", "usr": "s:5M2Kit0A10NetMonitorC6sharedACvpZ",
"mangledName": "$s5M2Kit0A10NetMonitorV5start14monitorHandleryySbc_tF", "mangledName": "$s5M2Kit0A10NetMonitorC6sharedACvpZ",
"moduleName": "M2Kit", "moduleName": "M2Kit",
"static": true,
"declAttributes": [ "declAttributes": [
"HasInitialValue",
"Final",
"HasStorage",
"Custom", "Custom",
"AccessControl" "AccessControl"
], ],
"funcSelfKind": "NonMutating" "isLet": true,
"hasStorage": true,
"accessors": [
{
"kind": "Accessor",
"name": "Get",
"printedName": "Get()",
"children": [
{
"kind": "TypeNominal",
"name": "M2NetMonitor",
"printedName": "M2Kit.M2NetMonitor",
"usr": "s:5M2Kit0A10NetMonitorC"
}
],
"declKind": "Accessor",
"usr": "s:5M2Kit0A10NetMonitorC6sharedACvgZ",
"mangledName": "$s5M2Kit0A10NetMonitorC6sharedACvgZ",
"moduleName": "M2Kit",
"static": true,
"implicit": true,
"declAttributes": [
"Final"
],
"accessorKind": "get"
}
]
}, },
{ {
"kind": "Var", "kind": "Var",
@ -14186,12 +14213,16 @@
} }
], ],
"declKind": "Var", "declKind": "Var",
"usr": "s:5M2Kit0A10NetMonitorV11isConnectedSbvp", "usr": "s:5M2Kit0A10NetMonitorC11isConnectedSbvp",
"mangledName": "$s5M2Kit0A10NetMonitorV11isConnectedSbvp", "mangledName": "$s5M2Kit0A10NetMonitorC11isConnectedSbvp",
"moduleName": "M2Kit", "moduleName": "M2Kit",
"declAttributes": [ "declAttributes": [
"Final",
"Custom", "Custom",
"AccessControl" "ProjectedValueProperty",
"SetterAccess",
"AccessControl",
"Custom"
], ],
"accessors": [ "accessors": [
{ {
@ -14207,9 +14238,59 @@
} }
], ],
"declKind": "Accessor", "declKind": "Accessor",
"usr": "s:5M2Kit0A10NetMonitorV11isConnectedSbvg", "usr": "s:5M2Kit0A10NetMonitorC11isConnectedSbvg",
"mangledName": "$s5M2Kit0A10NetMonitorV11isConnectedSbvg", "mangledName": "$s5M2Kit0A10NetMonitorC11isConnectedSbvg",
"moduleName": "M2Kit", "moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final"
],
"accessorKind": "get"
}
]
},
{
"kind": "Var",
"name": "$isConnected",
"printedName": "$isConnected",
"children": [
{
"kind": "TypeNominal",
"name": "Publisher",
"printedName": "Combine.Published<Swift.Bool>.Publisher",
"usr": "s:7Combine9PublishedV9PublisherV"
}
],
"declKind": "Var",
"usr": "s:5M2Kit0A10NetMonitorC12$isConnected7Combine9PublishedV9PublisherVySb_Gvp",
"mangledName": "$s5M2Kit0A10NetMonitorC12$isConnected7Combine9PublishedV9PublisherVySb_Gvp",
"moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final",
"Custom"
],
"accessors": [
{
"kind": "Accessor",
"name": "Get",
"printedName": "Get()",
"children": [
{
"kind": "TypeNominal",
"name": "Publisher",
"printedName": "Combine.Published<Swift.Bool>.Publisher",
"usr": "s:7Combine9PublishedV9PublisherV"
}
],
"declKind": "Accessor",
"usr": "s:5M2Kit0A10NetMonitorC12$isConnected7Combine9PublishedV9PublisherVySb_Gvg",
"mangledName": "$s5M2Kit0A10NetMonitorC12$isConnected7Combine9PublishedV9PublisherVySb_Gvg",
"moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final"
],
"accessorKind": "get" "accessorKind": "get"
} }
] ]
@ -14227,12 +14308,16 @@
} }
], ],
"declKind": "Var", "declKind": "Var",
"usr": "s:5M2Kit0A10NetMonitorV14connectionTypeAA0ac11ConnecttionF0Ovp", "usr": "s:5M2Kit0A10NetMonitorC14connectionTypeAA0ac11ConnecttionF0Ovp",
"mangledName": "$s5M2Kit0A10NetMonitorV14connectionTypeAA0ac11ConnecttionF0Ovp", "mangledName": "$s5M2Kit0A10NetMonitorC14connectionTypeAA0ac11ConnecttionF0Ovp",
"moduleName": "M2Kit", "moduleName": "M2Kit",
"declAttributes": [ "declAttributes": [
"Final",
"Custom", "Custom",
"AccessControl" "ProjectedValueProperty",
"SetterAccess",
"AccessControl",
"Custom"
], ],
"accessors": [ "accessors": [
{ {
@ -14248,44 +14333,193 @@
} }
], ],
"declKind": "Accessor", "declKind": "Accessor",
"usr": "s:5M2Kit0A10NetMonitorV14connectionTypeAA0ac11ConnecttionF0Ovg", "usr": "s:5M2Kit0A10NetMonitorC14connectionTypeAA0ac11ConnecttionF0Ovg",
"mangledName": "$s5M2Kit0A10NetMonitorV14connectionTypeAA0ac11ConnecttionF0Ovg", "mangledName": "$s5M2Kit0A10NetMonitorC14connectionTypeAA0ac11ConnecttionF0Ovg",
"moduleName": "M2Kit", "moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final"
],
"accessorKind": "get" "accessorKind": "get"
} }
] ]
}, },
{ {
"kind": "Function", "kind": "Var",
"name": "stop", "name": "$connectionType",
"printedName": "stop()", "printedName": "$connectionType",
"children": [ "children": [
{ {
"kind": "TypeNominal", "kind": "TypeNominal",
"name": "Void", "name": "Publisher",
"printedName": "()" "printedName": "Combine.Published<M2Kit.M2NetConnecttionType>.Publisher",
"usr": "s:7Combine9PublishedV9PublisherV"
} }
], ],
"declKind": "Func", "declKind": "Var",
"usr": "s:5M2Kit0A10NetMonitorV4stopyyF", "usr": "s:5M2Kit0A10NetMonitorC15$connectionType7Combine9PublishedV9PublisherVyAA0ac11ConnecttionF0O_Gvp",
"mangledName": "$s5M2Kit0A10NetMonitorV4stopyyF", "mangledName": "$s5M2Kit0A10NetMonitorC15$connectionType7Combine9PublishedV9PublisherVyAA0ac11ConnecttionF0O_Gvp",
"moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final",
"Custom"
],
"accessors": [
{
"kind": "Accessor",
"name": "Get",
"printedName": "Get()",
"children": [
{
"kind": "TypeNominal",
"name": "Publisher",
"printedName": "Combine.Published<M2Kit.M2NetConnecttionType>.Publisher",
"usr": "s:7Combine9PublishedV9PublisherV"
}
],
"declKind": "Accessor",
"usr": "s:5M2Kit0A10NetMonitorC15$connectionType7Combine9PublishedV9PublisherVyAA0ac11ConnecttionF0O_Gvg",
"mangledName": "$s5M2Kit0A10NetMonitorC15$connectionType7Combine9PublishedV9PublisherVyAA0ac11ConnecttionF0O_Gvg",
"moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final"
],
"accessorKind": "get"
}
]
},
{
"kind": "Var",
"name": "isReady",
"printedName": "isReady",
"children": [
{
"kind": "TypeNominal",
"name": "Bool",
"printedName": "Swift.Bool",
"usr": "s:Sb"
}
],
"declKind": "Var",
"usr": "s:5M2Kit0A10NetMonitorC7isReadySbvp",
"mangledName": "$s5M2Kit0A10NetMonitorC7isReadySbvp",
"moduleName": "M2Kit", "moduleName": "M2Kit",
"declAttributes": [ "declAttributes": [
"Final",
"Custom", "Custom",
"AccessControl" "ProjectedValueProperty",
"SetterAccess",
"AccessControl",
"Custom",
"RawDocComment"
], ],
"funcSelfKind": "NonMutating" "accessors": [
{
"kind": "Accessor",
"name": "Get",
"printedName": "Get()",
"children": [
{
"kind": "TypeNominal",
"name": "Bool",
"printedName": "Swift.Bool",
"usr": "s:Sb"
}
],
"declKind": "Accessor",
"usr": "s:5M2Kit0A10NetMonitorC7isReadySbvg",
"mangledName": "$s5M2Kit0A10NetMonitorC7isReadySbvg",
"moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final"
],
"accessorKind": "get"
}
]
},
{
"kind": "Var",
"name": "$isReady",
"printedName": "$isReady",
"children": [
{
"kind": "TypeNominal",
"name": "Publisher",
"printedName": "Combine.Published<Swift.Bool>.Publisher",
"usr": "s:7Combine9PublishedV9PublisherV"
}
],
"declKind": "Var",
"usr": "s:5M2Kit0A10NetMonitorC8$isReady7Combine9PublishedV9PublisherVySb_Gvp",
"mangledName": "$s5M2Kit0A10NetMonitorC8$isReady7Combine9PublishedV9PublisherVySb_Gvp",
"moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final",
"Custom"
],
"accessors": [
{
"kind": "Accessor",
"name": "Get",
"printedName": "Get()",
"children": [
{
"kind": "TypeNominal",
"name": "Publisher",
"printedName": "Combine.Published<Swift.Bool>.Publisher",
"usr": "s:7Combine9PublishedV9PublisherV"
}
],
"declKind": "Accessor",
"usr": "s:5M2Kit0A10NetMonitorC8$isReady7Combine9PublishedV9PublisherVySb_Gvg",
"mangledName": "$s5M2Kit0A10NetMonitorC8$isReady7Combine9PublishedV9PublisherVySb_Gvg",
"moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final"
],
"accessorKind": "get"
}
]
} }
], ],
"declKind": "Struct", "declKind": "Class",
"usr": "s:5M2Kit0A10NetMonitorV", "usr": "s:5M2Kit0A10NetMonitorC",
"mangledName": "$s5M2Kit0A10NetMonitorV", "mangledName": "$s5M2Kit0A10NetMonitorC",
"moduleName": "M2Kit", "moduleName": "M2Kit",
"declAttributes": [ "declAttributes": [
"Final",
"AccessControl", "AccessControl",
"Custom" "Custom"
], ],
"hasMissingDesignatedInitializers": true,
"conformances": [ "conformances": [
{
"kind": "Conformance",
"name": "ObservableObject",
"printedName": "ObservableObject",
"children": [
{
"kind": "TypeWitness",
"name": "ObjectWillChangePublisher",
"printedName": "ObjectWillChangePublisher",
"children": [
{
"kind": "TypeNominal",
"name": "ObservableObjectPublisher",
"printedName": "Combine.ObservableObjectPublisher",
"usr": "s:7Combine25ObservableObjectPublisherC"
}
]
}
],
"usr": "s:7Combine16ObservableObjectP",
"mangledName": "$s7Combine16ObservableObjectP"
},
{ {
"kind": "Conformance", "kind": "Conformance",
"name": "Copyable", "name": "Copyable",
@ -21891,6 +22125,35 @@
], ],
"funcSelfKind": "NonMutating" "funcSelfKind": "NonMutating"
}, },
{
"kind": "Function",
"name": "enableWorkForInCellularNetwork",
"printedName": "enableWorkForInCellularNetwork(_:)",
"children": [
{
"kind": "TypeNominal",
"name": "Void",
"printedName": "()"
},
{
"kind": "TypeNominal",
"name": "Bool",
"printedName": "Swift.Bool",
"usr": "s:Sb"
}
],
"declKind": "Func",
"usr": "s:5M2Kit0A5UtilsV30enableWorkForInCellularNetworkyySbFZ",
"mangledName": "$s5M2Kit0A5UtilsV30enableWorkForInCellularNetworkyySbFZ",
"moduleName": "M2Kit",
"static": true,
"declAttributes": [
"Custom",
"AccessControl",
"RawDocComment"
],
"funcSelfKind": "NonMutating"
},
{ {
"kind": "Var", "kind": "Var",
"name": "countryCode", "name": "countryCode",
@ -22908,15 +23171,15 @@
}, },
{ {
"kind": "Import", "kind": "Import",
"name": "WebKit", "name": "JavaScriptCore",
"printedName": "WebKit", "printedName": "JavaScriptCore",
"declKind": "Import", "declKind": "Import",
"moduleName": "M2Kit" "moduleName": "M2Kit"
}, },
{ {
"kind": "Import", "kind": "Import",
"name": "JavaScriptCore", "name": "M2KitMacros",
"printedName": "JavaScriptCore", "printedName": "M2KitMacros",
"declKind": "Import", "declKind": "Import",
"moduleName": "M2Kit" "moduleName": "M2Kit"
}, },
@ -22929,15 +23192,15 @@
}, },
{ {
"kind": "Import", "kind": "Import",
"name": "JavaScriptCore", "name": "WebKit",
"printedName": "JavaScriptCore", "printedName": "WebKit",
"declKind": "Import", "declKind": "Import",
"moduleName": "M2Kit" "moduleName": "M2Kit"
}, },
{ {
"kind": "Import", "kind": "Import",
"name": "M2KitMacros", "name": "JavaScriptCore",
"printedName": "M2KitMacros", "printedName": "JavaScriptCore",
"declKind": "Import", "declKind": "Import",
"moduleName": "M2Kit" "moduleName": "M2Kit"
}, },
@ -24881,77 +25144,77 @@
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 258, "offset": 256,
"length": 1, "length": 1,
"value": "0" "value": "0"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 277, "offset": 275,
"length": 1, "length": 1,
"value": "8" "value": "8"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 296, "offset": 294,
"length": 2, "length": 2,
"value": "16" "value": "16"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 318, "offset": 316,
"length": 2, "length": 2,
"value": "24" "value": "24"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 337, "offset": 335,
"length": 2, "length": 2,
"value": "32" "value": "32"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 359, "offset": 357,
"length": 2, "length": 2,
"value": "40" "value": "40"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 379, "offset": 377,
"length": 2, "length": 2,
"value": "48" "value": "48"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 399, "offset": 397,
"length": 2, "length": 2,
"value": "56" "value": "56"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 1065, "offset": 1063,
"length": 14, "length": 14,
"value": "\"HH:mm:ss.SSS\"" "value": "\"HH:mm:ss.SSS\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 1262, "offset": 1260,
"length": 3, "length": 3,
"value": "\" \"" "value": "\" \""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 1288, "offset": 1286,
"length": 4, "length": 4,
"value": "\"\n\"" "value": "\"\n\""
}, },
@ -25595,7 +25858,14 @@
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/NetMonitor.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/NetMonitor.swift",
"kind": "BooleanLiteral", "kind": "BooleanLiteral",
"offset": 345, "offset": 413,
"length": 5,
"value": "false"
},
{
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/NetMonitor.swift",
"kind": "BooleanLiteral",
"offset": 467,
"length": 5, "length": 5,
"value": "false" "value": "false"
}, },
@ -26008,14 +26278,14 @@
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/UserDefaultsWrapper.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/UserDefaultsWrapper.swift",
"kind": "BooleanLiteral", "kind": "BooleanLiteral",
"offset": 1624, "offset": 1631,
"length": 5, "length": 5,
"value": "false" "value": "false"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/UserDefaultsWrapper.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/UserDefaultsWrapper.swift",
"kind": "BooleanLiteral", "kind": "BooleanLiteral",
"offset": 1843, "offset": 1850,
"length": 5, "length": 5,
"value": "false" "value": "false"
}, },
@ -26033,73 +26303,87 @@
"length": 14, "length": 14,
"value": "\".kBackupCode\"" "value": "\".kBackupCode\""
}, },
{
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "BooleanLiteral",
"offset": 399,
"length": 4,
"value": "true"
},
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 381, "offset": 327,
"length": 25,
"value": "\".kEnableWorkForCellular\""
},
{
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "StringLiteral",
"offset": 493,
"length": 4, "length": 4,
"value": "\"US\"" "value": "\"US\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 327, "offset": 439,
"length": 15, "length": 15,
"value": "\".kCountryCode\"" "value": "\".kCountryCode\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 730, "offset": 842,
"length": 1, "length": 1,
"value": "0" "value": "0"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 842, "offset": 954,
"length": 2, "length": 2,
"value": "\"\"" "value": "\"\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 1331, "offset": 1443,
"length": 1, "length": 1,
"value": "0" "value": "0"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 1269, "offset": 1381,
"length": 22, "length": 22,
"value": "\".kSavedCfgVersionKey\"" "value": "\".kSavedCfgVersionKey\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 1368, "offset": 1480,
"length": 15, "length": 15,
"value": "\".kSavedCfgKey\"" "value": "\".kSavedCfgKey\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 8267, "offset": 8379,
"length": 11, "length": 11,
"value": "\"123aA@123\"" "value": "\"123aA@123\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils++V4.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils++V4.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 150, "offset": 153,
"length": 12, "length": 12,
"value": "\"image\/jpeg\"" "value": "\"image\/jpeg\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils++V4.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils++V4.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 191, "offset": 194,
"length": 18, "length": 18,
"value": "\"application\/json\"" "value": "\"application\/json\""
}, },
@ -26134,56 +26418,56 @@
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 3766, "offset": 3765,
"length": 1, "length": 1,
"value": "0" "value": "0"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift",
"kind": "Dictionary", "kind": "Dictionary",
"offset": 3951, "offset": 3950,
"length": 3, "length": 3,
"value": "[]" "value": "[]"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift",
"kind": "Dictionary", "kind": "Dictionary",
"offset": 4009, "offset": 4008,
"length": 3, "length": 3,
"value": "[]" "value": "[]"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 5667, "offset": 5666,
"length": 1, "length": 1,
"value": "0" "value": "0"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 5750, "offset": 5749,
"length": 1, "length": 1,
"value": "1" "value": "1"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 5843, "offset": 5842,
"length": 1, "length": 1,
"value": "2" "value": "2"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 5948, "offset": 5947,
"length": 1, "length": 1,
"value": "3" "value": "3"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 6042, "offset": 6041,
"length": 1, "length": 1,
"value": "4" "value": "4"
}, },
@ -26192,7 +26476,7 @@
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 131, "offset": 131,
"length": 6, "length": 6,
"value": "\"5.34\"" "value": "\"5.35\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2IAP.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2IAP.swift",
@ -26278,6 +26562,20 @@
"length": 1, "length": 1,
"value": "1" "value": "1"
}, },
{
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2NetMonitor.swift",
"kind": "BooleanLiteral",
"offset": 392,
"length": 5,
"value": "false"
},
{
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2NetMonitor.swift",
"kind": "BooleanLiteral",
"offset": 578,
"length": 5,
"value": "false"
},
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2Setting.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2Setting.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
@ -26911,19 +27209,19 @@
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2Utils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 807, "offset": 1112,
"length": 16, "length": 16,
"value": "\"workForChanged\"" "value": "\"workForChanged\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2Utils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 934, "offset": 1239,
"length": 14, "length": 14,
"value": "\"workForBegin\"" "value": "\"workForBegin\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Radio\/MTWebpage.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Radio\/MyTunerWebPage.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 296, "offset": 296,
"length": 35, "length": 35,

View File

@ -537,15 +537,28 @@ public enum M2NetConnecttionType {
get get
} }
} }
@_Concurrency.MainActor public struct M2NetMonitor { @_hasMissingDesignatedInitializers @_Concurrency.MainActor final public class M2NetMonitor : Foundation.ObservableObject {
@_Concurrency.MainActor public func start(monitorHandler: @escaping (_ isConnected: Swift.Bool) -> Swift.Void) @_Concurrency.MainActor public static let shared: M2Kit.M2NetMonitor
@_Concurrency.MainActor public var isConnected: Swift.Bool { @Combine.Published<Swift.Bool> @_projectedValueProperty($isConnected) @_Concurrency.MainActor final public var isConnected: Swift.Bool {
get get
} }
@_Concurrency.MainActor public var connectionType: M2Kit.M2NetConnecttionType { @_Concurrency.MainActor final public var $isConnected: Combine.Published<Swift.Bool>.Publisher {
get get
} }
@_Concurrency.MainActor public func stop() @Combine.Published<M2Kit.M2NetConnecttionType> @_projectedValueProperty($connectionType) @_Concurrency.MainActor final public var connectionType: M2Kit.M2NetConnecttionType {
get
}
@_Concurrency.MainActor final public var $connectionType: Combine.Published<M2Kit.M2NetConnecttionType>.Publisher {
get
}
@Combine.Published<Swift.Bool> @_projectedValueProperty($isReady) @_Concurrency.MainActor final public var isReady: Swift.Bool {
get
}
@_Concurrency.MainActor final public var $isReady: Combine.Published<Swift.Bool>.Publisher {
get
}
public typealias ObjectWillChangePublisher = Combine.ObservableObjectPublisher
@objc deinit
} }
@_Concurrency.MainActor public struct M2Radio { @_Concurrency.MainActor public struct M2Radio {
} }
@ -888,6 +901,7 @@ public enum M2VideoStatus {
@_Concurrency.MainActor public static func checkStatus(trackID: Swift.String) -> M2Kit.M2VideoStatus @_Concurrency.MainActor public static func checkStatus(trackID: Swift.String) -> M2Kit.M2VideoStatus
@_Concurrency.MainActor public static func deleteDataOf(trackID: Swift.String) @_Concurrency.MainActor public static func deleteDataOf(trackID: Swift.String)
@_Concurrency.MainActor public static func filePathOf(trackID: Swift.String) -> Swift.String @_Concurrency.MainActor public static func filePathOf(trackID: Swift.String) -> Swift.String
@_Concurrency.MainActor public static func enableWorkForInCellularNetwork(_ enable: Swift.Bool)
} }
extension M2Kit.M2Utils { extension M2Kit.M2Utils {
@_Concurrency.MainActor public static var countryCode: Swift.String { @_Concurrency.MainActor public static var countryCode: Swift.String {

View File

@ -537,15 +537,28 @@ public enum M2NetConnecttionType {
get get
} }
} }
@_Concurrency.MainActor public struct M2NetMonitor { @_hasMissingDesignatedInitializers @_Concurrency.MainActor final public class M2NetMonitor : Foundation.ObservableObject {
@_Concurrency.MainActor public func start(monitorHandler: @escaping (_ isConnected: Swift.Bool) -> Swift.Void) @_Concurrency.MainActor public static let shared: M2Kit.M2NetMonitor
@_Concurrency.MainActor public var isConnected: Swift.Bool { @Combine.Published<Swift.Bool> @_projectedValueProperty($isConnected) @_Concurrency.MainActor final public var isConnected: Swift.Bool {
get get
} }
@_Concurrency.MainActor public var connectionType: M2Kit.M2NetConnecttionType { @_Concurrency.MainActor final public var $isConnected: Combine.Published<Swift.Bool>.Publisher {
get get
} }
@_Concurrency.MainActor public func stop() @Combine.Published<M2Kit.M2NetConnecttionType> @_projectedValueProperty($connectionType) @_Concurrency.MainActor final public var connectionType: M2Kit.M2NetConnecttionType {
get
}
@_Concurrency.MainActor final public var $connectionType: Combine.Published<M2Kit.M2NetConnecttionType>.Publisher {
get
}
@Combine.Published<Swift.Bool> @_projectedValueProperty($isReady) @_Concurrency.MainActor final public var isReady: Swift.Bool {
get
}
@_Concurrency.MainActor final public var $isReady: Combine.Published<Swift.Bool>.Publisher {
get
}
public typealias ObjectWillChangePublisher = Combine.ObservableObjectPublisher
@objc deinit
} }
@_Concurrency.MainActor public struct M2Radio { @_Concurrency.MainActor public struct M2Radio {
} }
@ -888,6 +901,7 @@ public enum M2VideoStatus {
@_Concurrency.MainActor public static func checkStatus(trackID: Swift.String) -> M2Kit.M2VideoStatus @_Concurrency.MainActor public static func checkStatus(trackID: Swift.String) -> M2Kit.M2VideoStatus
@_Concurrency.MainActor public static func deleteDataOf(trackID: Swift.String) @_Concurrency.MainActor public static func deleteDataOf(trackID: Swift.String)
@_Concurrency.MainActor public static func filePathOf(trackID: Swift.String) -> Swift.String @_Concurrency.MainActor public static func filePathOf(trackID: Swift.String) -> Swift.String
@_Concurrency.MainActor public static func enableWorkForInCellularNetwork(_ enable: Swift.Bool)
} }
extension M2Kit.M2Utils { extension M2Kit.M2Utils {
@_Concurrency.MainActor public static var countryCode: Swift.String { @_Concurrency.MainActor public static var countryCode: Swift.String {

View File

@ -10,15 +10,15 @@
</data> </data>
<key>Info.plist</key> <key>Info.plist</key>
<data> <data>
hBQql2f1nqzZr8ThrAKMBmxOIOo= PYogd+hy6knzlZMlZqnt/6otXqQ=
</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>
DLFiYWNfE3LWDaPf90sW+sjd5No= Fva/KBWcztni5NvNeTyWvX2WlF4=
</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>
5sV9ST5PvM1vUAWG81tv+P3XibI= 8buWAw/ZK6G+N23carWf9WBJBU8=
</data> </data>
<key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key> <key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
<data> <data>
@ -26,19 +26,19 @@
</data> </data>
<key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftinterface</key> <key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftinterface</key>
<data> <data>
5sV9ST5PvM1vUAWG81tv+P3XibI= 8buWAw/ZK6G+N23carWf9WBJBU8=
</data> </data>
<key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key> <key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
<data> <data>
mHcFrolkGKA1Yg4/MC1ah6YnZYw= jZHFLq5c1zmMK8xKduqxECWpHRQ=
</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>
DLFiYWNfE3LWDaPf90sW+sjd5No= Fva/KBWcztni5NvNeTyWvX2WlF4=
</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>
pxKt6HpTwry7qw5k/SvavxYlDIk= BB78lMYBU4kDVqmC87ESvGuk5qI=
</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>
@ -46,11 +46,11 @@
</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>
pxKt6HpTwry7qw5k/SvavxYlDIk= BB78lMYBU4kDVqmC87ESvGuk5qI=
</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>
/gtcbPmxPuElEwYdN5GDnHF9i/c= ty9IdDafmqG0c3249Xyb0YCiuOM=
</data> </data>
<key>Modules/module.modulemap</key> <key>Modules/module.modulemap</key>
<data> <data>
@ -70,14 +70,14 @@
<dict> <dict>
<key>hash2</key> <key>hash2</key>
<data> <data>
umCu+f7IAazsTjTEHq8RXZ9D8wStad6NqkZh7xJGSOs= 98NrTOHY6D0BRebJlQsytBo5Ma+HcHhZ6gR6K/LUI1M=
</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>
JcLskbl1EF3whhLrSuxtLszpnCec1EI40i+/E4VXdRY= jEC4CyJZ9gD0BWPhiZcDKH1h4HyjH7xm73QW2rYFfDc=
</data> </data>
</dict> </dict>
<key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key> <key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
@ -91,28 +91,28 @@
<dict> <dict>
<key>hash2</key> <key>hash2</key>
<data> <data>
JcLskbl1EF3whhLrSuxtLszpnCec1EI40i+/E4VXdRY= jEC4CyJZ9gD0BWPhiZcDKH1h4HyjH7xm73QW2rYFfDc=
</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>
DM2UJ84/QGSG7nEZW8jReJb+aK2UHN+x01ImO2t23LI= 90ZfrZAPW5D3dN7yK92i2mNKBtZKeXAX2PGiAmbR9q0=
</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>
umCu+f7IAazsTjTEHq8RXZ9D8wStad6NqkZh7xJGSOs= 98NrTOHY6D0BRebJlQsytBo5Ma+HcHhZ6gR6K/LUI1M=
</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>
xe8+e4yJbAY3LD3Q49dHSCRB3IUuHkm0IQ3l6kvE2cg= Ab5oE/nYcAnFUkTWbAAe4wkbiFrJjiUJU2UoLHZW21c=
</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>
@ -126,14 +126,14 @@
<dict> <dict>
<key>hash2</key> <key>hash2</key>
<data> <data>
xe8+e4yJbAY3LD3Q49dHSCRB3IUuHkm0IQ3l6kvE2cg= Ab5oE/nYcAnFUkTWbAAe4wkbiFrJjiUJU2UoLHZW21c=
</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>
WmydAffhAHU9YFfiNqDxUSDu0A+cz37r2ECVA7QlmoE= 87Iq9BBtBpOJAK30WqkITfkM0hisfhk4VskgvOkDrRk=
</data> </data>
</dict> </dict>
<key>Modules/module.modulemap</key> <key>Modules/module.modulemap</key>

View File

@ -1,3 +1,3 @@
M2Kit M2Kit
===== =====
5.34 5.35