C# Class Gchat.Utilities.GoogleTalkHelper

Afficher le fichier Open project: gchatapp/gtalkchat Class Usage Examples

Méthodes publiques

Méthode Description
AddRecentContact ( Contact contact ) : void
ChatLog ( string username ) : List
DownloadImage ( Contact contact, System.Action finished, System.Action error ) : void
GetOfflineMessages ( Gchat.Protocol.GoogleTalk cb ) : void
GetPinUri ( string email ) : Uri
GoogleLogin ( string username, string password, LoginCallback callback, ErrorCallback error ) : void
GoogleTalkHelper ( ) : System
IsContactPinned ( string email ) : bool
IsPaid ( ) : bool
Linkify ( string message ) : System.Windows.Documents.Paragraph
LoadRoster ( ) : void
LoginIfNeeded ( ) : void
Logout ( ) : void
PinContact ( string email ) : void
RawNotificationReceived ( string data ) : void
SetCorrectOrientation ( PhoneApplicationPage page ) : void
ShowToast ( Message m ) : void
ShowToast ( string message ) : void
ShowToast ( string message, string title ) : void
TokenUpdated ( ) : void
UriUpdated ( string uri ) : void

Private Methods

Méthode Description
AddWithFormat ( string text, System.Windows.Documents.Paragraph paragraph ) : void
FormatHelper ( string text, System.Windows.Documents.Paragraph paragraph, int i, int italics, int bold, int &pos, char character, int &checking ) : void
GracefulReLogin ( ) : void
NotifyMessageReceived ( Message message ) : void
Register ( string uri ) : void
Register ( string uri, bool keySet ) : void

Method Details

AddRecentContact() public méthode

public AddRecentContact ( Contact contact ) : void
contact Contact
Résultat void

ChatLog() public méthode

public ChatLog ( string username ) : List
username string
Résultat List

DownloadImage() public méthode

public DownloadImage ( Contact contact, System.Action finished, System.Action error ) : void
contact Contact
finished System.Action
error System.Action
Résultat void

GetOfflineMessages() public méthode

public GetOfflineMessages ( Gchat.Protocol.GoogleTalk cb ) : void
cb Gchat.Protocol.GoogleTalk
Résultat void

GetPinUri() public méthode

public GetPinUri ( string email ) : Uri
email string
Résultat System.Uri

GoogleLogin() public static méthode

public static GoogleLogin ( string username, string password, LoginCallback callback, ErrorCallback error ) : void
username string
password string
callback LoginCallback
error ErrorCallback
Résultat void

GoogleTalkHelper() public méthode

public GoogleTalkHelper ( ) : System
Résultat System

IsContactPinned() public méthode

public IsContactPinned ( string email ) : bool
email string
Résultat bool

IsPaid() public static méthode

public static IsPaid ( ) : bool
Résultat bool

Linkify() public static méthode

public static Linkify ( string message ) : System.Windows.Documents.Paragraph
message string
Résultat System.Windows.Documents.Paragraph

LoadRoster() public méthode

public LoadRoster ( ) : void
Résultat void

LoginIfNeeded() public méthode

public LoginIfNeeded ( ) : void
Résultat void

Logout() public méthode

public Logout ( ) : void
Résultat void

PinContact() public méthode

public PinContact ( string email ) : void
email string
Résultat void

RawNotificationReceived() public méthode

public RawNotificationReceived ( string data ) : void
data string
Résultat void

SetCorrectOrientation() public méthode

public SetCorrectOrientation ( PhoneApplicationPage page ) : void
page PhoneApplicationPage
Résultat void

ShowToast() public méthode

public ShowToast ( Message m ) : void
m Message
Résultat void

ShowToast() public méthode

public ShowToast ( string message ) : void
message string
Résultat void

ShowToast() public méthode

public ShowToast ( string message, string title ) : void
message string
title string
Résultat void

TokenUpdated() public méthode

public TokenUpdated ( ) : void
Résultat void

UriUpdated() public méthode

public UriUpdated ( string uri ) : void
uri string
Résultat void