C# Class Xamarin.PCL.QbProvider

显示文件 Open project: QuickBlox/quickblox-dotnet-sdk

Public Methods

Method Description
CreateDialogAsync ( string dialogName, string userIds, DialogType dialogType = DialogType.Private ) : Task
DeleteDialogAsync ( string dialogId ) : Task
DeleteUserById ( int userId ) : Task
GetBaseSession ( ) : Task
GetClient ( ) : QuickbloxClient
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>
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
SignUpUserWithLoginAsync ( string login, string password, string userName, string roomName ) : Task
UpdateDialogAsync ( string dialogId, List addedUsers = null, List deletedUsers = null, string name = null, string photo = null ) : Task
UpdateUserDataAsync ( int qbUserId, UserRequest updateUserRequest ) : 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

DeleteUserById() public method

public DeleteUserById ( int userId ) : Task
userId int
return Task

GetBaseSession() public method

public GetBaseSession ( ) : Task
return Task

GetClient() public method

public GetClient ( ) : QuickbloxClient
return QuickbloxClient

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>

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

SignUpUserWithLoginAsync() public method

public SignUpUserWithLoginAsync ( string login, string password, string userName, string roomName ) : Task
login string
password string
userName string
roomName 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