PusherChannels
@objcMembers
@objc
open class PusherChannels : NSObject
Undocumented
-
Undocumented
Declaration
Swift
open var channels: [String : PusherChannel] { get set }
-
Return the PusherChannel with the given channelName from the channels list, if it exists
Declaration
Swift
public func find(name: String) -> PusherChannel?
Parameters
name
The name of the channel to return
Return Value
A PusherChannel instance, if a channel with the given name existed, otherwise nil
-
Return the PusherPresenceChannel with the given channelName from the channels list, if it exists
Declaration
Swift
public func findPresence(name: String) -> PusherPresenceChannel?
Parameters
name
The name of the presence channel to return
Return Value
A PusherPresenceChannel instance, if a channel with the given name existed, otherwise nil