C# Класс BuildIt.Bot.Client.Services.BotClientMobileAppClient

Наследование: IBotClientMobileAppClient
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

BotClientMobileAppClient() публичный Метод

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
Результат System

DeregisterPushAsync() публичный Метод

public DeregisterPushAsync ( PushRegistration pushRegistration ) : System.Threading.Tasks.Task
pushRegistration BuildIt.Web.Models.PushNotifications.PushRegistration
Результат System.Threading.Tasks.Task

RegisterPushAsync() публичный Метод

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
Результат Task