|
||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||
java.lang.Objectcom.eligor.Eligor
public final class Eligor
Contract of the content provider periodic sync control.
| フィールドの概要 | |
|---|---|
static java.lang.String |
TAG
|
| メソッドの概要 | |
|---|---|
void |
applySyncPeriod()
Apply automatic sync period with default value for all of the registered IPeriodicSyncManager. |
void |
applySyncPeriod(android.os.Bundle args)
Apply automatic sync period with default value and extra arguments for all of the registered IPeriodicSyncManager. |
void |
applySyncPeriod(int period)
Apply automatic sync period with the specified value in seconds for all of the registered IPeriodicSyncManager. |
void |
applySyncPeriod(int period,
android.os.Bundle args)
Apply automatic sync period with the specified value in seconds and extra arguments for all of the registered IPeriodicSyncManager. |
void |
applySyncPeriod(java.lang.String authority)
Apply automatic sync period with the default value for the specified authority's IPeriodicSyncManager. |
void |
applySyncPeriod(java.lang.String authority,
android.os.Bundle args)
Apply automatic sync period with the default value and extra arguments for the specified authority's IPeriodicSyncManager. |
void |
applySyncPeriod(java.lang.String authority,
int period)
Apply automatic sync period with the specified value in seconds for the specified authority's IPeriodicSyncManager. |
void |
applySyncPeriod(java.lang.String authority,
int period,
android.os.Bundle args)
Apply automatic sync period with the specified value in seconds and extra arguments for the specified authority's IPeriodicSyncManager. |
void |
cancelSync()
Request to cancel currently working or enqueued sync operation for all of the registered IPeriodicSyncManager. |
void |
cancelSync(java.lang.String authority)
Request to cancel currently working or enqueued sync operation for the specified authority's IPeriodicSyncManager. |
static void |
destroy()
Terminate and release all references of this class. |
void |
disableSync()
Set sync setting as disabled for all of the registered IPeriodicSyncManager. |
void |
disableSync(java.lang.String authority)
Set sync setting as disabled for the specified authority's IPeriodicSyncManager. |
void |
enableSync()
Set sync setting as enabled for all of the registered IPeriodicSyncManager. |
void |
enableSync(java.lang.String authority)
Set sync setting as enabled for the specified authority's IPeriodicSyncManager. |
static Eligor |
getInstance()
Returns a singleton instance of this class. |
IPeriodicSyncManager |
getPeriodicSyncManager(java.lang.String authority)
Returns an instance of the registered periodic sync manager. |
static void |
initialize(int defaultPeriod)
Initialize singleton instance of this class. |
boolean |
isMasterSyncEnabled()
Checks the settings whether the master automatic periodic sync is enabled or not on the phone. |
boolean |
isSyncable(java.lang.String authority)
Checks if the specified provider authority is syncable or not. |
boolean |
isSyncActive()
Checks if all of the registered IPeriodicSyncManager sync active. |
boolean |
isSyncActive(java.lang.String authority)
Checks if the specified IPeriodicSyncManager sync active. |
boolean |
isSyncEnabled()
Checks if all of the registered IPeriodicSyncManager sync enabled. |
boolean |
isSyncEnabled(java.lang.String authority)
Checks if the specified IPeriodicSyncManager sync enabled. |
boolean |
isSyncPending()
Checks if all of the registered IPeriodicSyncManager sync pending. |
boolean |
isSyncPending(java.lang.String authority)
Checks if the specified IPeriodicSyncManager sync pending. |
void |
registerPeriodicSyncManager(IPeriodicSyncManager manager)
Register periodic sync manager instance. |
void |
requestSync()
Request on demand sync for all of the registered IPeriodicSyncManager. |
void |
requestSync(boolean enableFallback)
|
void |
requestSync(android.os.Bundle args)
Request on demand sync for all of the registered IPeriodicSyncManager with the extra arguments. |
void |
requestSync(android.os.Bundle args,
boolean enableFallbak)
|
void |
requestSync(java.lang.String authority)
Request on demand sync for the specified authority's IPeriodicSyncManager. |
void |
requestSync(java.lang.String authority,
boolean enableFallback)
|
void |
requestSync(java.lang.String authority,
android.os.Bundle args)
Request on demand sync for the specified authority's IPeriodicSyncManager with the extra arguments. |
void |
requestSync(java.lang.String authority,
android.os.Bundle args,
boolean enableFallback)
|
void |
setNotSyncable()
Set the ContentProvider as not syncable for all of the registered IPeriodicSyncManager. |
void |
setNotSyncable(java.lang.String authority)
Set the ContentProvider as not syncable for the specified authority's IPeriodicSyncManager. |
void |
setSyncable()
Set the ContentProvider as syncable for all of the registered IPeriodicSyncManager. |
void |
setSyncable(java.lang.String authority)
Set the ContentProvider as syncable for the specified authority's IPeriodicSyncManager. |
void |
unregisterPeriodicSyncManager(java.lang.String authority)
Release registered periodic sync manager instance from this contract. |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| フィールドの詳細 |
|---|
public static final java.lang.String TAG
| メソッドの詳細 |
|---|
public static void initialize(int defaultPeriod)
defaultPeriod - default period of the automatic sync.public static Eligor getInstance()
public static void destroy()
public boolean isMasterSyncEnabled()
public void registerPeriodicSyncManager(IPeriodicSyncManager manager)
manager - periodic sync manager for the Account and authority.@Nullable public IPeriodicSyncManager getPeriodicSyncManager(java.lang.String authority)
authority - the periodic sync manager is associated with.
null if not registered for the authority.public void unregisterPeriodicSyncManager(java.lang.String authority)
authority - the periodic sync manager is associated with.public void applySyncPeriod()
IPeriodicSyncManager.
public void applySyncPeriod(android.os.Bundle args)
IPeriodicSyncManager.
args - extra arguments for the AbstractThreadedSyncAdapter.public void applySyncPeriod(int period)
IPeriodicSyncManager.
period - automatic sync period in seconds.
public void applySyncPeriod(int period,
android.os.Bundle args)
IPeriodicSyncManager.
period - automatic sync period in seconds.args - extra arguments for the AbstractThreadedSyncAdapter.public void applySyncPeriod(java.lang.String authority)
IPeriodicSyncManager.
authority - the periodic sync manager is associated with.
public void applySyncPeriod(java.lang.String authority,
int period)
IPeriodicSyncManager.
authority - the periodic sync manager is associated with.period - automatic sync period in seconds.
public void applySyncPeriod(java.lang.String authority,
android.os.Bundle args)
IPeriodicSyncManager.
authority - the periodic sync manager is associated with.args - extra arguments for the AbstractThreadedSyncAdapter.
public void applySyncPeriod(java.lang.String authority,
int period,
android.os.Bundle args)
IPeriodicSyncManager.
authority - the periodic sync manager is associated with.period - automatic sync period in seconds.args - extra arguments for the AbstractThreadedSyncAdapter.public void requestSync()
IPeriodicSyncManager.
public void requestSync(boolean enableFallback)
public void requestSync(android.os.Bundle args)
IPeriodicSyncManager with the extra arguments.
args - extra arguments for the AbstractThreadedSyncAdapter.
public void requestSync(android.os.Bundle args,
boolean enableFallbak)
public void requestSync(java.lang.String authority)
IPeriodicSyncManager.
authority - the periodic sync manager is associated with.
public void requestSync(java.lang.String authority,
boolean enableFallback)
public void requestSync(java.lang.String authority,
android.os.Bundle args)
IPeriodicSyncManager with the extra arguments.
authority - the periodic sync manager is associated with.args - extra arguments for the AbstractThreadedSyncAdapter.
public void requestSync(java.lang.String authority,
android.os.Bundle args,
boolean enableFallback)
public void cancelSync()
IPeriodicSyncManager.
public void cancelSync(java.lang.String authority)
IPeriodicSyncManager.
authority - the periodic sync manager is associated with.public void enableSync()
IPeriodicSyncManager.
public void enableSync(java.lang.String authority)
IPeriodicSyncManager.
authority - the periodic sync manager is associated with.public void disableSync()
IPeriodicSyncManager.
public void disableSync(java.lang.String authority)
IPeriodicSyncManager.
authority - the periodic sync manager is associated with.public void setSyncable()
ContentProvider as syncable for all of the registered IPeriodicSyncManager.
public void setSyncable(java.lang.String authority)
ContentProvider as syncable for the specified authority's IPeriodicSyncManager.
authority - the periodic sync manager is associated with.public void setNotSyncable()
ContentProvider as not syncable for all of the registered IPeriodicSyncManager.
public void setNotSyncable(java.lang.String authority)
ContentProvider as not syncable for the specified authority's IPeriodicSyncManager.
authority - the periodic sync manager is associated with.public boolean isSyncEnabled()
IPeriodicSyncManager sync enabled.
public boolean isSyncEnabled(java.lang.String authority)
IPeriodicSyncManager sync enabled.
authority - the periodic sync manager is associated with.
public boolean isSyncActive()
IPeriodicSyncManager sync active.
public boolean isSyncActive(java.lang.String authority)
IPeriodicSyncManager sync active.
authority - the periodic sync manager is associated with.
public boolean isSyncPending()
IPeriodicSyncManager sync pending.
public boolean isSyncPending(java.lang.String authority)
IPeriodicSyncManager sync pending.
authority - the periodic sync manager is associated with.
public boolean isSyncable(java.lang.String authority)
authority - the periodic sync manager is associated with.
|
||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||