DeviceLoginManager
有此級別的更新版本。前往查看 最新版本。

This class manages device login and permissions for Facebook.

伸延:LoginManager
套件:login
建構函式
DeviceLoginManager()
public DeviceLoginManager()
類別方式
getInstance()

Getter for the login manager.

public static DeviceLoginManager getInstance()
Returns
The login manager.
執行個體方法
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)
參數說明
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.