C# Класс Uber.Client

Показать файл Открыть проект

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

Метод Описание
HistoryAsync ( int offset, int limit ) : System.Threading.Tasks.Task

User Activity

HistoryAsync ( int offset, int limit, System cancellationToken ) : System.Threading.Tasks.Task

User Activity

MeAsync ( ) : System.Threading.Tasks.Task

User Profile

MeAsync ( System cancellationToken ) : System.Threading.Tasks.Task

User Profile

PriceAsync ( double start_latitude, double start_longitude, double end_latitude, double end_longitude ) : System.Threading.Tasks.Task>

Price Estimates

PriceAsync ( double start_latitude, double start_longitude, double end_latitude, double end_longitude, System cancellationToken ) : System.Threading.Tasks.Task>

Price Estimates

ProductsAsync ( double latitude, double longitude ) : System.Threading.Tasks.Task>

Product Types

ProductsAsync ( double latitude, double longitude, System cancellationToken ) : System.Threading.Tasks.Task>

Product Types

TimeAsync ( double start_latitude, double start_longitude, System customer_uuid, string product_id ) : System.Threading.Tasks.Task>

Time Estimates

TimeAsync ( double start_latitude, double start_longitude, System customer_uuid, string product_id, System cancellationToken ) : System.Threading.Tasks.Task>

Time Estimates

Приватные методы

Метод Описание
PrepareRequest ( System request, string &url ) : void
ProcessResponse ( System request, System response ) : void

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

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

User Activity
A server side error occurred.
public HistoryAsync ( int offset, int limit ) : System.Threading.Tasks.Task
offset int Offset the list of returned results by this amount. Default is zero.
limit int Number of items to retrieve. Default is 5, maximum is 100.
Результат System.Threading.Tasks.Task

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

User Activity
A server side error occurred.
public HistoryAsync ( int offset, int limit, System cancellationToken ) : System.Threading.Tasks.Task
offset int Offset the list of returned results by this amount. Default is zero.
limit int Number of items to retrieve. Default is 5, maximum is 100.
cancellationToken System A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Результат System.Threading.Tasks.Task

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

User Profile
A server side error occurred.
public MeAsync ( ) : System.Threading.Tasks.Task
Результат System.Threading.Tasks.Task

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

User Profile
A server side error occurred.
public MeAsync ( System cancellationToken ) : System.Threading.Tasks.Task
cancellationToken System A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Результат System.Threading.Tasks.Task

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

Price Estimates
A server side error occurred.
public PriceAsync ( double start_latitude, double start_longitude, double end_latitude, double end_longitude ) : System.Threading.Tasks.Task>
start_latitude double Latitude component of start location.
start_longitude double Longitude component of start location.
end_latitude double Latitude component of end location.
end_longitude double Longitude component of end location.
Результат System.Threading.Tasks.Task>

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

Price Estimates
A server side error occurred.
public PriceAsync ( double start_latitude, double start_longitude, double end_latitude, double end_longitude, System cancellationToken ) : System.Threading.Tasks.Task>
start_latitude double Latitude component of start location.
start_longitude double Longitude component of start location.
end_latitude double Latitude component of end location.
end_longitude double Longitude component of end location.
cancellationToken System A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Результат System.Threading.Tasks.Task>

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

Product Types
A server side error occurred.
public ProductsAsync ( double latitude, double longitude ) : System.Threading.Tasks.Task>
latitude double Latitude component of location.
longitude double Longitude component of location.
Результат System.Threading.Tasks.Task>

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

Product Types
A server side error occurred.
public ProductsAsync ( double latitude, double longitude, System cancellationToken ) : System.Threading.Tasks.Task>
latitude double Latitude component of location.
longitude double Longitude component of location.
cancellationToken System A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Результат System.Threading.Tasks.Task>

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

Time Estimates
A server side error occurred.
public TimeAsync ( double start_latitude, double start_longitude, System customer_uuid, string product_id ) : System.Threading.Tasks.Task>
start_latitude double Latitude component of start location.
start_longitude double Longitude component of start location.
customer_uuid System Unique customer identifier to be used for experience customization.
product_id string Unique identifier representing a specific product for a given latitude & longitude.
Результат System.Threading.Tasks.Task>

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

Time Estimates
A server side error occurred.
public TimeAsync ( double start_latitude, double start_longitude, System customer_uuid, string product_id, System cancellationToken ) : System.Threading.Tasks.Task>
start_latitude double Latitude component of start location.
start_longitude double Longitude component of start location.
customer_uuid System Unique customer identifier to be used for experience customization.
product_id string Unique identifier representing a specific product for a given latitude & longitude.
cancellationToken System A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Результат System.Threading.Tasks.Task>