CGA_DiscoveryDetailsViewController
@MainActor
class CGA_DiscoveryDetailsViewController : CGA_BaseViewController
extension CGA_DiscoveryDetailsViewController: CGA_UpdatableScreenViewController
-
The segue ID of the “Show Discovery Details” screen.
Declaration
Swift
@MainActor static let connectSegueID: String -
Declaration
Swift
@MainActor var discoveryData: RVS_BlueThoth.DiscoveryData! -
Declaration
Swift
@IBOutlet @MainActor weak var detailsDisplayTextView: UITextView! -
Declaration
Swift
@IBOutlet @MainActor weak var connectButton: UIButton! -
This label displays the device name.
Declaration
Swift
@IBOutlet @MainActor weak var nameLabel: UILabel!
-
Called when the CONNECT button is selected and hit.
Declaration
Swift
@IBAction @MainActor func connectButtonHit(_: Any)
-
This sets up the accessibility and voiceover strings for the screen.
Declaration
Swift
@MainActor func setUpAccessibility()
-
Called just after the view hierarchy has loaded.
Declaration
Swift
@MainActor override func viewDidLoad() -
Called just before the view will appear. We use this to ensure that we are disconnected.
Declaration
Swift
@MainActor override func viewWillAppear(_ inAnimated: Bool)Parameters
inAnimatedignored, but passed to the superclas.
-
Called just before the connection screen is pushed.
Declaration
Swift
@MainActor override func prepare(for inSegue: UIStoryboardSegue, sender inSender: Any?)Parameters
forThe segue that is being executed.
senderThe discovery information.
-
This simply makes sure that the table is displayed if BT is available, or the “No BT” image is shown, if it is not.
Declaration
Swift
@MainActor func updateUI()
View on GitHub