C# Class PubnubWindowsStore.PubnubOperation

A basic page that provides characteristics common to most applications.
Inheritance: PubnubWindowsStore.Common.LayoutAwarePage
ファイルを表示 Open project: pubnub/c-sharp

Public Methods

Method Description
PubnubOperation ( ) : System

Protected Methods

Method Description
OnNavigatedTo ( NavigationEventArgs e ) : void

The methods provided in this section are simply used to allow NavigationHelper to respond to the page's navigation methods.

Page specific logic should be placed in event handlers for the NavigationHelper.LoadState and NavigationHelper.SaveState. The navigation parameter is available in the LoadState method in addition to page state preserved during an earlier session.

Private Methods

Method Description
CommandInvokedHandler ( IUICommand command ) : void
DisplayMessageInTextBox ( string msg ) : void
Page_Unloaded ( object sender, RoutedEventArgs e ) : void
PubnubCallbackResult ( string result ) : void

Callback method captures the response in JSON string format for all operations

PubnubCleanup ( ) : void
PubnubConnectCallbackResult ( string result ) : void
PubnubDisconnectCallbackResult ( string result ) : void
PubnubDisplayErrorMessage ( PubnubClientError result ) : void

Callback method for error messages

btnAuditPresence_Click ( object sender, RoutedEventArgs e ) : void
btnAudit_Click ( object sender, RoutedEventArgs e ) : void
btnChangeUUID_Click ( object sender, RoutedEventArgs e ) : void
btnChannelGroup_Click ( object sender, RoutedEventArgs e ) : void
btnDisableNetwork_Click ( object sender, RoutedEventArgs e ) : void
btnDisconnectRetry_Click ( object sender, RoutedEventArgs e ) : void
btnEnableNetwork_Click ( object sender, RoutedEventArgs e ) : void
btnGlobalHereNow_Click ( object sender, RoutedEventArgs e ) : void
btnGrantPresence_Click ( object sender, RoutedEventArgs e ) : void
btnGrant_Click ( object sender, RoutedEventArgs e ) : void
btnHereNow_Click ( object sender, RoutedEventArgs e ) : void
btnHistory_Click ( object sender, RoutedEventArgs e ) : void
btnHome_Click ( object sender, RoutedEventArgs e ) : void
btnPAMChannelGroup_Click ( object sender, RoutedEventArgs e ) : void
btnPAMChannel_Click ( object sender, RoutedEventArgs e ) : void
btnPresenceUnsub_Click ( object sender, RoutedEventArgs e ) : void
btnPresence_Click ( object sender, RoutedEventArgs e ) : void
btnPublish_Click ( object sender, RoutedEventArgs e ) : void
btnRevoke_Click ( object sender, RoutedEventArgs e ) : void
btnSubscribe_Click ( object sender, RoutedEventArgs e ) : void
btnTime_Click ( object sender, RoutedEventArgs e ) : void
btnUnsubscribe_Click ( object sender, RoutedEventArgs e ) : void
btnUserState_Click ( object sender, RoutedEventArgs e ) : void
btnWhereNow_Click ( object sender, RoutedEventArgs e ) : void
txtResult_DoubleTapped ( object sender, DoubleTappedRoutedEventArgs e ) : void

Method Details

OnNavigatedTo() protected method

The methods provided in this section are simply used to allow NavigationHelper to respond to the page's navigation methods.

Page specific logic should be placed in event handlers for the NavigationHelper.LoadState and NavigationHelper.SaveState. The navigation parameter is available in the LoadState method in addition to page state preserved during an earlier session.

protected OnNavigatedTo ( NavigationEventArgs e ) : void
e Windows.UI.Xaml.Navigation.NavigationEventArgs Provides data for navigation methods and event /// handlers that cannot cancel the navigation request.
return void

PubnubOperation() public method

public PubnubOperation ( ) : System
return System