選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

1 行
4.2 KiB

  1. {"hierarchy":{"paths":[["doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/NetworkMonitor"]]},"abstract":[{"type":"text","text":"Disconnects from the controller WiFi network."}],"schemaVersion":{"major":0,"minor":3,"patch":0},"kind":"symbol","identifier":{"interfaceLanguage":"swift","url":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/NetworkMonitor\/closeControllerWiFi(ssid:)"},"sections":[],"metadata":{"modules":[{"name":"Fueling"}],"role":"symbol","externalID":"s:7Fueling14NetworkMonitorC19closeControllerWiFi4ssidySS_tF","roleHeading":"Instance Method","title":"closeControllerWiFi(ssid:)","symbolKind":"method","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"closeControllerWiFi","kind":"identifier"},{"kind":"text","text":"("},{"text":"ssid","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":")","kind":"text"}]},"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"closeControllerWiFi","kind":"identifier"},{"kind":"text","text":"("},{"text":"ssid","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"kind":"text","text":")"}],"platforms":["iOS"]}]},{"parameters":[{"name":"ssid","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The SSID of the WiFi network to disconnect from."}]}]}],"kind":"parameters"},{"content":[{"level":2,"text":"Discussion","type":"heading","anchor":"discussion"},{"syntax":"swift","code":["func closeControllerWiFi(ssid: String) {"," isLoading = true"," closeControllerWiFi(ssid: ssid) { success in"," if success {"," DispatchQueue.main.async {"," self.controllerSSID = \"\""," self.fetchNetworkInfo()"," self.isLoading = false"," }"," }"," }","}"],"type":"codeListing"}],"kind":"content"}],"variants":[{"paths":["\/documentation\/fueling\/networkmonitor\/closecontrollerwifi(ssid:)"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://rpm.com.production.Scanner/documentation/Fueling/NetworkMonitor":{"navigatorTitle":[{"text":"NetworkMonitor","kind":"identifier"}],"url":"\/documentation\/fueling\/networkmonitor","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/NetworkMonitor","kind":"symbol","title":"NetworkMonitor","role":"symbol","fragments":[{"text":"class","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"NetworkMonitor"}],"type":"topic","abstract":[{"type":"text","text":"A class that monitors network connectivity, particularly WiFi."}]},"doc://rpm.com.production.Scanner/documentation/Fueling":{"kind":"symbol","url":"\/documentation\/fueling","title":"Fueling","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling","abstract":[{"type":"text","text":"The Scanner app is designed to facilitate secure and efficient fuel management operations, primarily focusing on user authentication, fuel data collection, and network communication. The app includes several key features to ensure seamless and reliable interactions between users and the backend systems, leveraging technologies like WebSockets, Core Data, and biometric authentication."}],"type":"topic","role":"collection"},"doc://rpm.com.production.Scanner/documentation/Fueling/NetworkMonitor/closeControllerWiFi(ssid:)":{"title":"closeControllerWiFi(ssid:)","type":"topic","abstract":[{"text":"Disconnects from the controller WiFi network.","type":"text"}],"kind":"symbol","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/NetworkMonitor\/closeControllerWiFi(ssid:)","role":"symbol","url":"\/documentation\/fueling\/networkmonitor\/closecontrollerwifi(ssid:)","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"closeControllerWiFi"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"ssid"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}]}}}