---
title: OBEXTransportEvent
framework: IOBluetooth
role: symbol
role_heading: Structure
path: iobluetooth/obextransportevent
---

# OBEXTransportEvent

## Declaration

```swift
struct OBEXTransportEvent
```

## Overview

Overview You will need to construcy these when data is received, and then pass a pointer to it to one of the incoming data methods defined below. Pass 0 as your status if data was received OK. Otherwise, you can put your own error code in there. For the transport type, be sure to use one of the defined types above.

## Topics

### Initializers

- [init()](iobluetooth/obextransportevent/init().md)
- [init(type:status:dataPtr:dataLength:)](iobluetooth/obextransportevent/init(type:status:dataptr:datalength:).md)

### Instance Properties

- [dataLength](iobluetooth/obextransportevent/datalength.md)
- [dataPtr](iobluetooth/obextransportevent/dataptr.md)
- [status](iobluetooth/obextransportevent/status.md)
- [type](iobluetooth/obextransportevent/type.md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)

## See Also

### DataTypes

- [OBEXTransportEventType](iobluetooth/obextransporteventtype.md)
