Page Summary
-
AccountChangeEventsRequest is a class used to request
AccountChangeEvents and implements theParcelableinterface. -
The class provides methods to get and set the account and event index for fetching account change events.
-
The
getAccountName()andsetAccountName()methods are deprecated and the corresponding methods usingAccountshould be used instead. -
It includes a public static final
CREATORfield for creating instances from a Parcel.
Requests for AccountChangeEvents.
Inherited Constant Summary
Field Summary
| public static final Creator<AccountChangeEventsRequest> | CREATOR |
Public Constructor Summary
Public Method Summary
| Account | |
| String |
getAccountName()
This method is deprecated. use
getAccount() instead.
|
| int | |
| AccountChangeEventsRequest | |
| AccountChangeEventsRequest |
setAccountName(String accountName)
This method is deprecated. use
setAccount(android.accounts.Account) instead.
|
| AccountChangeEventsRequest |
setEventIndex(int eventIndex)
Sets the event index to restrict the results by.
|
| void |
writeToParcel(Parcel dest, int
flags)
|
Inherited Method Summary
Fields
public static final Creator<AccountChangeEventsRequest> CREATOR
Public Constructors
public AccountChangeEventsRequest ()
Public Methods
public Account getAccount ()
public String getAccountName ()
This method is deprecated.
use
getAccount() instead.
public int getEventIndex ()
public AccountChangeEventsRequest setAccount (Account account)
Sets the account to fetch events for.
public AccountChangeEventsRequest setAccountName (String accountName)
This method is deprecated.
use
setAccount(android.accounts.Account) instead.
public AccountChangeEventsRequest setEventIndex (int eventIndex)
Sets the event index to restrict the results by.