📘

Drivers are Users in the Bringg Driver SDK for Android.

Overview

The Bringg Driver SDK for Android contains user functionality you can implement in your apps.

The user functionality includes the following:

Methods

getUser

Use to get the current user's (driver's) detailed information from the server.

public User getUser()

Parameters

None

Method Type

User

A reference to a User data type containing detailed information about the current user (driver) from the server.

getUserFromCache

Use to get the current user's (driver's) detailed information from the cache.

public User getUserFromCache()

Parameters

None

Method Type

User

A reference to a User data type containing detailed information about the current user (driver) from the server.

getUserId

Use to get the current user's (driver's) Id.

public long getUserId()

Parameters

None

Method Type

long

The Id of the current user (driver).