1 {"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"IBSendOta"}],"languages":["swift"],"platforms":["iOS"]}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/iotbluetooth\/ibsendota"],"traits":[{"interfaceLanguage":"swift"}]}],"relationshipsSections":[{"identifiers":["doc:\/\/com.thisiot.IOTBluetooth\/Se","doc:\/\/com.thisiot.IOTBluetooth\/SE"],"kind":"relationships","title":"Conforms To","type":"conformsTo"}],"identifier":{"url":"doc:\/\/com.thisiot.IOTBluetooth\/documentation\/IOTBluetooth\/IBSendOta","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"发送OTA文件模型"}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"IBSendOta"}],"title":"IBSendOta","roleHeading":"Class","role":"symbol","symbolKind":"class","externalID":"s:12IOTBluetooth9IBSendOtaC","modules":[{"name":"IOTBluetooth"}],"navigatorTitle":[{"kind":"identifier","text":"IBSendOta"}]},"hierarchy":{"paths":[["doc:\/\/com.thisiot.IOTBluetooth\/documentation\/IOTBluetooth"]]},"topicSections":[{"title":"Initializers","identifiers":["doc:\/\/com.thisiot.IOTBluetooth\/documentation\/IOTBluetooth\/IBSendOta\/init()","doc:\/\/com.thisiot.IOTBluetooth\/documentation\/IOTBluetooth\/IBSendOta\/init(from:)"]},{"title":"Instance Properties","identifiers":["doc:\/\/com.thisiot.IOTBluetooth\/documentation\/IOTBluetooth\/IBSendOta\/filePath","doc:\/\/com.thisiot.IOTBluetooth\/documentation\/IOTBluetooth\/IBSendOta\/isForced","doc:\/\/com.thisiot.IOTBluetooth\/documentation\/IOTBluetooth\/IBSendOta\/major","doc:\/\/com.thisiot.IOTBluetooth\/documentation\/IOTBluetooth\/IBSendOta\/mid","doc:\/\/com.thisiot.IOTBluetooth\/documentation\/IOTBluetooth\/IBSendOta\/minor"]}],"references":{"doc://com.thisiot.IOTBluetooth/documentation/IOTBluetooth/IBSendOta/filePath":{"role":"symbol","title":"filePath","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"filePath"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"}],"abstract":[{"type":"text","text":"文件路径"}],"identifier":"doc:\/\/com.thisiot.IOTBluetooth\/documentation\/IOTBluetooth\/IBSendOta\/filePath","kind":"symbol","type":"topic","url":"\/documentation\/iotbluetooth\/ibsendota\/filepath"},"doc://com.thisiot.IOTBluetooth/documentation/IOTBluetooth":{"role":"collection","title":"IOTBluetooth","abstract":[],"identifier":"doc:\/\/com.thisiot.IOTBluetooth\/documentation\/IOTBluetooth","kind":"symbol","type":"topic","url":"\/documentation\/iotbluetooth"},"doc://com.thisiot.IOTBluetooth/documentation/IOTBluetooth/IBSendOta/mid":{"role":"symbol","title":"mid","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"mid"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"}],"abstract":[{"type":"text","text":"mid是中间版本号"}],"identifier":"doc:\/\/com.thisiot.IOTBluetooth\/documentation\/IOTBluetooth\/IBSendOta\/mid","kind":"symbol","type":"topic","url":"\/documentation\/iotbluetooth\/ibsendota\/mid"},"doc://com.thisiot.IOTBluetooth/documentation/IOTBluetooth/IBSendOta/minor":{"role":"symbol","title":"minor","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"minor"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"}],"abstract":[{"type":"text","text":"minor是次版本号"}],"identifier":"doc:\/\/com.thisiot.IOTBluetooth\/documentation\/IOTBluetooth\/IBSendOta\/minor","kind":"symbol","type":"topic","url":"\/documentation\/iotbluetooth\/ibsendota\/minor"},"doc://com.thisiot.IOTBluetooth/SE":{"type":"unresolvable","title":"Swift.Encodable","identifier":"doc:\/\/com.thisiot.IOTBluetooth\/SE"},"doc://com.thisiot.IOTBluetooth/documentation/IOTBluetooth/IBSendOta/init(from:)":{"role":"symbol","title":"init(from:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"from"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"abstract":[],"identifier":"doc:\/\/com.thisiot.IOTBluetooth\/documentation\/IOTBluetooth\/IBSendOta\/init(from:)","kind":"symbol","type":"topic","url":"\/documentation\/iotbluetooth\/ibsendota\/init(from:)"},"doc://com.thisiot.IOTBluetooth/documentation/IOTBluetooth/IBSendOta/major":{"role":"symbol","title":"major","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"major"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"}],"abstract":[{"type":"text","text":"major是主版本号,mid是中间版本号,minor是次版本号,用于与手表当前版本比较,新于当前版本才可升级"}],"identifier":"doc:\/\/com.thisiot.IOTBluetooth\/documentation\/IOTBluetooth\/IBSendOta\/major","kind":"symbol","type":"topic","url":"\/documentation\/iotbluetooth\/ibsendota\/major"},"doc://com.thisiot.IOTBluetooth/Se":{"type":"unresolvable","title":"Swift.Decodable","identifier":"doc:\/\/com.thisiot.IOTBluetooth\/Se"},"doc://com.thisiot.IOTBluetooth/documentation/IOTBluetooth/IBSendOta/init()":{"role":"symbol","title":"init()","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"()"}],"abstract":[],"identifier":"doc:\/\/com.thisiot.IOTBluetooth\/documentation\/IOTBluetooth\/IBSendOta\/init()","kind":"symbol","type":"topic","url":"\/documentation\/iotbluetooth\/ibsendota\/init()"},"doc://com.thisiot.IOTBluetooth/documentation/IOTBluetooth/IBSendOta/isForced":{"role":"symbol","title":"isForced","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"isForced"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"}],"abstract":[{"type":"text","text":"是否强制升级,0为非强制,1为强制"}],"identifier":"doc:\/\/com.thisiot.IOTBluetooth\/documentation\/IOTBluetooth\/IBSendOta\/isForced","kind":"symbol","type":"topic","url":"\/documentation\/iotbluetooth\/ibsendota\/isforced"},"doc://com.thisiot.IOTBluetooth/documentation/IOTBluetooth/IBSendOta":{"role":"symbol","title":"IBSendOta","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"IBSendOta"}],"abstract":[{"type":"text","text":"发送OTA文件模型"}],"identifier":"doc:\/\/com.thisiot.IOTBluetooth\/documentation\/IOTBluetooth\/IBSendOta","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"IBSendOta"}],"url":"\/documentation\/iotbluetooth\/ibsendota"}}}