DeviceLoginManager
Une version plus récente de cette classe est disponible. Rendez-vous sur la dernière version.

This class manages device login and permissions for Facebook.

Prolonge :LoginManager
Package :login
Constructeurs
DeviceLoginManager()
public DeviceLoginManager()
Méthodes Class
getInstance()

Getter for the login manager.

public static DeviceLoginManager getInstance()
Returns
The login manager.
Méthodes d’instance
setDeviceRedirectUri(Uri)

Set uri to redirect the user to after they complete the device login flow on the external device.

The Uri must be configured in your App Settings -> Advanced -> OAuth Redirect URIs.

public void setDeviceRedirectUri(Uri uri)
ParamètreDescription
uriThe URI to set.
getDeviceRedirectUri()

Get the previously set uri that will be used to redirect the user to after they complete the device login flow on the external device.

The Uri must be configured in your App Settings -> Advanced -> OAuth Redirect URIs.

public Uri getDeviceRedirectUri()
Returns
The current device redirect uri set.