CanIOPeer

Class Overview

An instance of this class is passed on to your app for any discovered peer. Use this class to access the peer's profile and space information, to send requests and responses to the peer, and to join and interact with the peer's spaces.

Properties

@property (nonatomic, readonly, getter = getProfileInfo) NSDictionary *profileInfo;

A dictionary containing profile information about this peer. This information originates from the canioManagerProfileForLocalPeer: method defined in the CanIODelegate protocol/

@property (nonatomic, readonly, getter = getSpacesList) NSArray *spacesList;

An array of dictionaries containing the list of spaces owned by this peer. Each dictionary contains contains at least a value for "space_uuid" with the spaces UUID, and may contain a value of "title" with the space's title.

Here is a sample dictionary describing a space:

{
    "space_uuid": "40071168-0836-4560-a022-cb7a315b1855",
    "title": "My amazing space"
}