AEMessageQueue.h File Reference
#import <Foundation/Foundation.h>

Go to the source code of this file.


class  AEMessageQueue
 Message Queue. More...


typedef void(* AEMessageQueueMessageHandler )(void *userInfo, int userInfoLength)
 Main thread message handler function.

Typedef Documentation

typedef void(* AEMessageQueueMessageHandler)(void *userInfo, int userInfoLength)

Main thread message handler function.

Create functions of this type in order to handle messages from the realtime thread on the main thread. You then pass a pointer to these functions when using AEMessageQueueSendMessageToMainThread on the realtime thread, along with data to pass through via the userInfo parameter.

See AEMessageQueueSendMessageToMainThread for further discussion.

userInfoPointer to your data
userInfoLengthLength of userInfo in bytes