PhoneLoginTracker
คลาสนี้ไม่มีให้ใช้งานใน SDK เวอร์ชั่นล่าสุดอีกต่อไป

Tracks broadcasts about changes in the status of the current phone login model

The PhoneLoginTracker.stopTracking() method should be called in the onDestroy() method of the receiving Activity or Fragment.

ขยาย:TrackerBase
แพ็คเกจ:accountkit
ผู้สร้าง
PhoneLoginTracker()
public PhoneLoginTracker()
วิธีการแบบอินสแตนซ์
getCode()

Returns the code that is stored on this tracker.

public String getCode()
Returns
The confirmation code
setCode(String)

Stores a code on this tracker.

public void setCode(String code)
พารามิเตอร์คำอธิบาย
codeThe confirmation code
onStarted(PhoneLoginModel)

The method that will be called when the login has started.

The polling has started at this point.

protected abstract void onStarted(PhoneLoginModel loginModel)
พารามิเตอร์คำอธิบาย
loginModelThe current login model
onSuccess(PhoneLoginModel)

The method that will be called when the login has completed

protected abstract void onSuccess(PhoneLoginModel loginModel)
พารามิเตอร์คำอธิบาย
loginModelThe current login model
onError(AccountKitException)

The method that will be called when the login has an error

protected abstract void onError(AccountKitException exception)
พารามิเตอร์คำอธิบาย
exceptionThe exception
onCancel(PhoneLoginModel)

The method that will be called when the login was canceled

protected abstract void onCancel(PhoneLoginModel loginModel)
พารามิเตอร์คำอธิบาย
loginModelThe login that was canceled
ค่าคงตัว
ACTION_PHONE_LOGIN_STATE_CHANGED
public static final String ACTION_PHONE_LOGIN_STATE_CHANGED