5b3e967b98a1123551ef8ca0e2de843efaf1d8e9
[mirrors/HsFileAgentSdk_iOS.git] /
1 {"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"connect"},{"kind":"text","text":"("},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"kind":"internalParam","text":"peripheral"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/com.thisiot.IOTBluetooth\/documentation\/IOTBluetooth\/IBPeripheral","preciseIdentifier":"s:12IOTBluetooth12IBPeripheralC","text":"IBPeripheral"},{"kind":"text","text":", "},{"kind":"externalParam","text":"completeHandler"},{"kind":"text","text":": "},{"kind":"attribute","text":"@escaping"},{"kind":"text","text":" "},{"kind":"typeIdentifier","identifier":"doc:\/\/com.thisiot.IOTBluetooth\/documentation\/IOTBluetooth\/IBCompleteHandler","preciseIdentifier":"s:12IOTBluetooth17IBCompleteHandlera","text":"IBCompleteHandler"},{"kind":"text","text":")"}],"languages":["swift"],"platforms":["iOS"]}]},{"kind":"parameters","parameters":[{"name":"peripheral","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"扫描发现的设备"}]}]},{"name":"completeHandler","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"结果回调"}]}]}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/iotbluetooth\/ibmanager\/connect(_:completehandler:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/com.thisiot.IOTBluetooth\/documentation\/IOTBluetooth\/IBManager\/connect(_:completeHandler:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"连接设备"}],"kind":"symbol","metadata":{"role":"symbol","title":"connect(_:completeHandler:)","roleHeading":"Type Method","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"connect"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"IBPeripheral","preciseIdentifier":"s:12IOTBluetooth12IBPeripheralC"},{"kind":"text","text":", "},{"kind":"externalParam","text":"completeHandler"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"IBCompleteHandler","preciseIdentifier":"s:12IOTBluetooth17IBCompleteHandlera"},{"kind":"text","text":")"}],"symbolKind":"method","externalID":"s:12IOTBluetooth9IBManagerC7connect_15completeHandleryAA12IBPeripheralC_ySbctFZ","extendedModule":"IOTBluetooth","modules":[{"name":"IOTBluetooth"}]},"hierarchy":{"paths":[["doc:\/\/com.thisiot.IOTBluetooth\/documentation\/IOTBluetooth","doc:\/\/com.thisiot.IOTBluetooth\/documentation\/IOTBluetooth\/IBManager"]]},"references":{"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/IBPeripheral":{"role":"symbol","title":"IBPeripheral","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"IBPeripheral"}],"abstract":[],"identifier":"doc:\/\/com.thisiot.IOTBluetooth\/documentation\/IOTBluetooth\/IBPeripheral","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"IBPeripheral"}],"url":"\/documentation\/iotbluetooth\/ibperipheral"},"doc://com.thisiot.IOTBluetooth/documentation/IOTBluetooth/IBManager/connect(_:completeHandler:)":{"role":"symbol","title":"connect(_:completeHandler:)","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"connect"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"IBPeripheral","preciseIdentifier":"s:12IOTBluetooth12IBPeripheralC"},{"kind":"text","text":", "},{"kind":"externalParam","text":"completeHandler"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"IBCompleteHandler","preciseIdentifier":"s:12IOTBluetooth17IBCompleteHandlera"},{"kind":"text","text":")"}],"abstract":[{"type":"text","text":"连接设备"}],"identifier":"doc:\/\/com.thisiot.IOTBluetooth\/documentation\/IOTBluetooth\/IBManager\/connect(_:completeHandler:)","kind":"symbol","type":"topic","url":"\/documentation\/iotbluetooth\/ibmanager\/connect(_:completehandler:)"},"doc://com.thisiot.IOTBluetooth/documentation/IOTBluetooth/IBManager":{"role":"symbol","title":"IBManager","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"IBManager"}],"abstract":[{"type":"text","text":"SDK 管理类"}],"identifier":"doc:\/\/com.thisiot.IOTBluetooth\/documentation\/IOTBluetooth\/IBManager","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"IBManager"}],"url":"\/documentation\/iotbluetooth\/ibmanager"},"doc://com.thisiot.IOTBluetooth/documentation/IOTBluetooth/IBCompleteHandler":{"role":"symbol","title":"IBCompleteHandler","fragments":[{"kind":"keyword","text":"typealias"},{"kind":"text","text":" "},{"kind":"identifier","text":"IBCompleteHandler"}],"abstract":[],"identifier":"doc:\/\/com.thisiot.IOTBluetooth\/documentation\/IOTBluetooth\/IBCompleteHandler","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"IBCompleteHandler"}],"url":"\/documentation\/iotbluetooth\/ibcompletehandler"}}}