C# Class QbChat.Pcl.QbProvider

Mostrar archivo Open project: QuickBlox/quickblox-dotnet-sdk Class Usage Examples

Public Methods

Method Description
CreateDialogAsync ( string dialogName, string userIds, DialogType dialogType = DialogType.Private ) : Task
DeleteDialogAsync ( string dialogId ) : Task
GetBaseSession ( ) : Task
GetDialogAsync ( int userIds ) : Task
GetDialogAsync ( string dialogId ) : Task
GetDialogsAsync ( List dialogTypeParams ) : Task>
GetImageAsync ( int blobId ) : Task
GetMessagesAsync ( string dialogId ) : Task>
GetUserAsync ( int qbUserId ) : Task
GetUserByTag ( String tag ) : Task>
GetUsersByIdsAsync ( string ids ) : Task>
GetXmppClient ( ) : ChatXmppClient
LoginWithEmailAsync ( string email, string password ) : Task
LoginWithFbUserAsync ( String accessToken, System.Platform platform, string uid ) : Task
LoginWithLoginValueAsync ( string login, string password, System.Platform platform, string uid ) : Task
QbProvider ( System.Action showInternetNotification ) : System
SubscribeForPushNotificationAsync ( string pushtoken, string deviceUid ) : Task
UnsubscribeForPushNotificationAsync ( string deviceUid ) : Task
UpdateDialogAsync ( string dialogId, List addedUsers = null, List deletedUsers = null, string name = null, string photo = null ) : Task
UpdateUserDataAsync ( int qbUserId, UserRequest updateUserRequest ) : Task
UploadPrivateImageAsync ( byte imageBytes ) : Task

Private Methods

Method Description
HandleResponse ( HttpResponse response, HttpStatusCode resultStatusCode ) : Task
QbProvider ( ) : System

Method Details

CreateDialogAsync() public method

public CreateDialogAsync ( string dialogName, string userIds, DialogType dialogType = DialogType.Private ) : Task
dialogName string
userIds string
dialogType DialogType
return Task

DeleteDialogAsync() public method

public DeleteDialogAsync ( string dialogId ) : Task
dialogId string
return Task

GetBaseSession() public method

public GetBaseSession ( ) : Task
return Task

GetDialogAsync() public method

public GetDialogAsync ( int userIds ) : Task
userIds int
return Task

GetDialogAsync() public method

public GetDialogAsync ( string dialogId ) : Task
dialogId string
return Task

GetDialogsAsync() public method

public GetDialogsAsync ( List dialogTypeParams ) : Task>
dialogTypeParams List
return Task>

GetImageAsync() public method

public GetImageAsync ( int blobId ) : Task
blobId int
return Task

GetMessagesAsync() public method

public GetMessagesAsync ( string dialogId ) : Task>
dialogId string
return Task>

GetUserAsync() public method

public GetUserAsync ( int qbUserId ) : Task
qbUserId int
return Task

GetUserByTag() public method

public GetUserByTag ( String tag ) : Task>
tag String
return Task>

GetUsersByIdsAsync() public method

public GetUsersByIdsAsync ( string ids ) : Task>
ids string
return Task>

GetXmppClient() public method

public GetXmppClient ( ) : ChatXmppClient
return ChatXmppClient

LoginWithEmailAsync() public method

public LoginWithEmailAsync ( string email, string password ) : Task
email string
password string
return Task

LoginWithFbUserAsync() public method

public LoginWithFbUserAsync ( String accessToken, System.Platform platform, string uid ) : Task
accessToken String
platform System.Platform
uid string
return Task

LoginWithLoginValueAsync() public method

public LoginWithLoginValueAsync ( string login, string password, System.Platform platform, string uid ) : Task
login string
password string
platform System.Platform
uid string
return Task

QbProvider() public method

public QbProvider ( System.Action showInternetNotification ) : System
showInternetNotification System.Action
return System

SubscribeForPushNotificationAsync() public method

public SubscribeForPushNotificationAsync ( string pushtoken, string deviceUid ) : Task
pushtoken string
deviceUid string
return Task

UnsubscribeForPushNotificationAsync() public method

public UnsubscribeForPushNotificationAsync ( string deviceUid ) : Task
deviceUid string
return Task

UpdateDialogAsync() public method

public UpdateDialogAsync ( string dialogId, List addedUsers = null, List deletedUsers = null, string name = null, string photo = null ) : Task
dialogId string
addedUsers List
deletedUsers List
name string
photo string
return Task

UpdateUserDataAsync() public method

public UpdateUserDataAsync ( int qbUserId, UserRequest updateUserRequest ) : Task
qbUserId int
updateUserRequest UserRequest
return Task

UploadPrivateImageAsync() public method

public UploadPrivateImageAsync ( byte imageBytes ) : Task
imageBytes byte
return Task