C# Class PubnubMessagingExample.Pubnub_MessagingSub

Inheritance: MonoTouch.Dialog.DialogViewController
显示文件 Open project: pubnub/c-sharp Class Usage Examples

Public Properties

Property Type Description
showErrorMessageSegments bool

Private Properties

Property Type Description
CreateHeaderView UIView
DisplayConnectStatusMessage void
DisplayErrorMessage void
DisplayErrorMessage void
DisplayErrorMessageSegments void
DisplayReturnMessage void
DisplayWildcardPresenceMessage void
ShowAlertType1 void
ShowAlertType2 void
ShowAlertType3 void

Public Methods

Method Description
AddChannelToChannelGroup ( ) : void
AuthKey ( ) : void
ChangeUuid ( ) : void
DelUserState ( ) : void
DetailedHistory ( ) : void
Display ( string strText ) : void
GetChannelFromChannelGroup ( ) : void
GetTime ( ) : void
GetUserState ( ) : void
GlobalHereNow ( ) : void
HereNow ( ) : void
Presence ( ) : void
PresenceAudit ( ) : void
PresenceGrant ( ) : void
PresenceRevoke ( ) : void
Publish ( ) : void
Pubnub_MessagingSub ( string channelName, string channelGroupName, string cipher, bool enableSSL, Pubnub pubnub ) : System
RemoveChannelFromChannelGroup ( ) : void
SetPresenceHeartbeat ( ) : void
SetPresenceInterval ( ) : void
SetUserStateJson ( ) : void
SetUserStateKeyVal ( ) : void
Subscribe ( ) : void
SubscribeAudit ( ) : void
SubscribeGrant ( ) : void
SubscribeRevoke ( ) : void
Unsub ( ) : void
UnsubPresence ( ) : void
WhereNow ( ) : void

Private Methods

Method Description
CreateHeaderView ( int iViewHeight ) : UIView
DisplayConnectStatusMessage ( string result ) : void

Callback method to provide the connect status of Subscribe call

DisplayErrorMessage ( PubnubClientError result ) : void

Callback method for error messages

DisplayErrorMessage ( string result ) : void

Callback method to provide the connect status of Subscribe call

DisplayErrorMessageSegments ( PubnubClientError pubnubError ) : void
DisplayReturnMessage ( string result ) : void
DisplayWildcardPresenceMessage ( string result ) : void
ShowAlertType1 ( CommonDialogStates cds ) : void
ShowAlertType2 ( CommonDialogStates cds ) : void
ShowAlertType3 ( CommonDialogStates cds ) : void

Method Details

AddChannelToChannelGroup() public method

public AddChannelToChannelGroup ( ) : void
return void

AuthKey() public method

public AuthKey ( ) : void
return void

ChangeUuid() public method

public ChangeUuid ( ) : void
return void

DelUserState() public method

public DelUserState ( ) : void
return void

DetailedHistory() public method

public DetailedHistory ( ) : void
return void

Display() public method

public Display ( string strText ) : void
strText string
return void

GetChannelFromChannelGroup() public method

public GetChannelFromChannelGroup ( ) : void
return void

GetTime() public method

public GetTime ( ) : void
return void

GetUserState() public method

public GetUserState ( ) : void
return void

GlobalHereNow() public method

public GlobalHereNow ( ) : void
return void

HereNow() public method

public HereNow ( ) : void
return void

Presence() public method

public Presence ( ) : void
return void

PresenceAudit() public method

public PresenceAudit ( ) : void
return void

PresenceGrant() public method

public PresenceGrant ( ) : void
return void

PresenceRevoke() public method

public PresenceRevoke ( ) : void
return void

Publish() public method

public Publish ( ) : void
return void

Pubnub_MessagingSub() public method

public Pubnub_MessagingSub ( string channelName, string channelGroupName, string cipher, bool enableSSL, Pubnub pubnub ) : System
channelName string
channelGroupName string
cipher string
enableSSL bool
pubnub Pubnub
return System

RemoveChannelFromChannelGroup() public method

public RemoveChannelFromChannelGroup ( ) : void
return void

SetPresenceHeartbeat() public method

public SetPresenceHeartbeat ( ) : void
return void

SetPresenceInterval() public method

public SetPresenceInterval ( ) : void
return void

SetUserStateJson() public method

public SetUserStateJson ( ) : void
return void

SetUserStateKeyVal() public method

public SetUserStateKeyVal ( ) : void
return void

Subscribe() public method

public Subscribe ( ) : void
return void

SubscribeAudit() public method

public SubscribeAudit ( ) : void
return void

SubscribeGrant() public method

public SubscribeGrant ( ) : void
return void

SubscribeRevoke() public method

public SubscribeRevoke ( ) : void
return void

Unsub() public method

public Unsub ( ) : void
return void

UnsubPresence() public method

public UnsubPresence ( ) : void
return void

WhereNow() public method

public WhereNow ( ) : void
return void

Property Details

showErrorMessageSegments public_oe property

public bool showErrorMessageSegments
return bool