C# Class BuildIt.Bot.Client.Services.BotClientMobileAppClient

Inheritance: IBotClientMobileAppClient
Afficher le fichier Open project: builttoroam/BuildIt Class Usage Examples

Méthodes publiques

Méthode Description
BotClientMobileAppClient ( EndpointRouteDetails endpointRouteDetails ) : System

Route to the server is build from BaseServiceUrl, ServiceAffix and registerPushRoute variables, specified in the constructor. The route by default could look like this: [your_base_url]/api/registerpush

DeregisterPushAsync ( PushRegistration pushRegistration ) : System.Threading.Tasks.Task

RegisterPushAsync ( PushRegistration pushRegistration ) : Task

Method which, by making a call to the service, registers your device to push notifications hub.

Method Details

BotClientMobileAppClient() public méthode

Route to the server is build from BaseServiceUrl, ServiceAffix and registerPushRoute variables, specified in the constructor. The route by default could look like this: [your_base_url]/api/registerpush
public BotClientMobileAppClient ( EndpointRouteDetails endpointRouteDetails ) : System
endpointRouteDetails BuildIt.Bot.Client.Models.EndpointRouteDetails
Résultat System

DeregisterPushAsync() public méthode

public DeregisterPushAsync ( PushRegistration pushRegistration ) : System.Threading.Tasks.Task
pushRegistration BuildIt.Web.Models.PushNotifications.PushRegistration
Résultat System.Threading.Tasks.Task

RegisterPushAsync() public méthode

Method which, by making a call to the service, registers your device to push notifications hub.
public RegisterPushAsync ( PushRegistration pushRegistration ) : Task
pushRegistration BuildIt.Web.Models.PushNotifications.PushRegistration
Résultat Task