PusherPresenceChannel
@objcMembers
@objc
open class PusherPresenceChannel : PusherChannel
Undocumented
-
Undocumented
Declaration
Swift
open var members: [PusherPresenceChannelMember]
-
Undocumented
Declaration
Swift
open var onMemberAdded: ((PusherPresenceChannelMember) -> Void)?
-
Undocumented
Declaration
Swift
open var onMemberRemoved: ((PusherPresenceChannelMember) -> Void)?
-
Undocumented
Declaration
Swift
open var myId: String?
-
Returns the PusherPresenceChannelMember object for the given user id
Declaration
Swift
open func findMember(userId: String) -> PusherPresenceChannelMember?
Parameters
userId
The user id of the PusherPresenceChannelMember for whom you want the PusherPresenceChannelMember object
Return Value
The PusherPresenceChannelMember object for the given user id
-
Returns the connected user’s PusherPresenceChannelMember object
Declaration
Swift
open func me() -> PusherPresenceChannelMember?
Return Value
The connected user’s PusherPresenceChannelMember object