---
title: OBEXSessionEvent
framework: IOBluetooth
role: symbol
role_heading: Structure
path: iobluetooth/obexsessionevent
---

# OBEXSessionEvent

## Declaration

```swift
struct OBEXSessionEvent
```

## Overview

Overview When a new session event occurs, your selector (or C callback) will be given an OBEXSessionEvent pointer, and in it will be information you might find interesting so that you can then reply back appropriately. For example, of you receive a kOBEXSessionEventTypeConnectCommandResponseReceived event, you can then parse out the information related to that event, and if all looks well to you, you could them send a “Get” command to get a file off of the OBEX server you just connected to.

## Topics

### Initializers

- [init()](iobluetooth/obexsessionevent/init().md)
- [init(type:session:refCon:isEndOfEventData:reserved1:reserved2:u:)](iobluetooth/obexsessionevent/init(type:session:refcon:isendofeventdata:reserved1:reserved2:u:).md)

### Instance Properties

- [isEndOfEventData](iobluetooth/obexsessionevent/isendofeventdata.md)
- [refCon](iobluetooth/obexsessionevent/refcon.md)
- [reserved1](iobluetooth/obexsessionevent/reserved1.md)
- [reserved2](iobluetooth/obexsessionevent/reserved2.md)
- [session](iobluetooth/obexsessionevent/session.md)
- [type](iobluetooth/obexsessionevent/type.md)
- [u](iobluetooth/obexsessionevent/u.md)

## See Also

### Data Types

- [OBEXAbortCommandData](iobluetooth/obexabortcommanddata.md)
- [OBEXAbortCommandResponseData](iobluetooth/obexabortcommandresponsedata.md)
- [OBEXConnectCommandData](iobluetooth/obexconnectcommanddata.md)
- [OBEXConnectCommandResponseData](iobluetooth/obexconnectcommandresponsedata.md)
- [OBEXDisconnectCommandData](iobluetooth/obexdisconnectcommanddata.md)
- [OBEXDisconnectCommandResponseData](iobluetooth/obexdisconnectcommandresponsedata.md)
- [OBEXErrorData](iobluetooth/obexerrordata.md)
- [OBEXGetCommandData](iobluetooth/obexgetcommanddata.md)
- [OBEXGetCommandResponseData](iobluetooth/obexgetcommandresponsedata.md)
- [OBEXPutCommandData](iobluetooth/obexputcommanddata.md)
- [OBEXPutCommandResponseData](iobluetooth/obexputcommandresponsedata.md)
- [OBEXSetPathCommandData](iobluetooth/obexsetpathcommanddata.md)
- [OBEXSetPathCommandResponseData](iobluetooth/obexsetpathcommandresponsedata.md)
