---
title: hasOpenTransportConnection()
framework: IOBluetooth
role: symbol
role_heading: Instance Method
path: iobluetooth/obexsession/hasopentransportconnection()
---

# hasOpenTransportConnection()

You must override this - it will be called periodically to determine if a transport connection is open or not.

## Declaration

```swift
func hasOpenTransportConnection() -> Bool
```

## Return Value

Return Value Return whether or not the transport connection is still open.

## Discussion

Discussion Tranport subclasses must override this! When called you simply return if the transport connection is still open or not.
