Sync Android Service
Can execute periodic sync task. An IntentService is used in conjunction with the AlarmManager and a Broadcast Receiver in order to be able to perform a sync even if the app is not running. The
Constructors
Types
Functions
Link copied to clipboard
open override fun bindIsolatedService( p0: Intent, p1: Int, p2: String, p3: Executor, p4: ServiceConnection): Boolean
Content copied to clipboard
Link copied to clipboard
open override fun bindService( p0: Intent, p1: ServiceConnection, p2: Int): Boolean
Content copied to clipboard
open override fun bindService( p0: Intent, p1: Int, p2: Executor, p3: ServiceConnection): Boolean
Content copied to clipboard
Link copied to clipboard
open override fun bindServiceAsUser( p0: Intent, p1: ServiceConnection, p2: Int, p3: UserHandle): Boolean
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun checkCallingOrSelfUriPermissions(p0: MutableList<Uri>, p1: Int): IntArray
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun checkCallingUriPermissions(p0: MutableList<Uri>, p1: Int): IntArray
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun checkUriPermissions( p0: MutableList<Uri>, p1: Int, p2: Int, p3: Int): IntArray
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun createWindowContext( p0: Display, p1: Int, p2: Bundle?): Context
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun enforceCallingOrSelfPermission(p0: String, p1: String?)
Content copied to clipboard
Link copied to clipboard
open override fun enforceCallingOrSelfUriPermission( p0: Uri, p1: Int, p2: String)
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun enforceCallingUriPermission( p0: Uri, p1: Int, p2: String)
Content copied to clipboard
Link copied to clipboard
open override fun enforcePermission( p0: String, p1: Int, p2: Int, p3: String?)
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun getSharedPreferences(p0: String, p1: Int): SharedPreferences
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun moveSharedPreferencesFrom(p0: Context, p1: String): Boolean
Content copied to clipboard
Link copied to clipboard
fun obtainStyledAttributes( p0: AttributeSet?, p1: IntArray, p2: Int, p3: Int): TypedArray
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun onNetworkError( sessionId: String, syncTimeoutSeconds: Int, syncDelaySeconds: Int, isPeriodic: Boolean)
Content copied to clipboard
Link copied to clipboard
abstract fun onRescheduleAsked( sessionId: String, syncTimeoutSeconds: Int, syncDelaySeconds: Int)
Content copied to clipboard
Link copied to clipboard
open override fun onStartCommand( intent: Intent?, flags: Int, startId: Int): Int
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun openOrCreateDatabase( p0: String, p1: Int, p2: SQLiteDatabase.CursorFactory): SQLiteDatabase
Content copied to clipboard
open override fun openOrCreateDatabase( p0: String, p1: Int, p2: SQLiteDatabase.CursorFactory, p3: DatabaseErrorHandler?): SQLiteDatabase
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun registerReceiver(p0: BroadcastReceiver?, p1: IntentFilter): Intent?
Content copied to clipboard
open override fun registerReceiver( p0: BroadcastReceiver?, p1: IntentFilter, p2: Int): Intent?
Content copied to clipboard
open override fun registerReceiver( p0: BroadcastReceiver?, p1: IntentFilter, p2: String?, p3: Handler?): Intent?
Content copied to clipboard
open override fun registerReceiver( p0: BroadcastReceiver?, p1: IntentFilter, p2: String?, p3: Handler?, p4: Int): Intent?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun revokeSelfPermissionsOnKill(p0: MutableCollection<String>)
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun sendBroadcastAsUser( p0: Intent, p1: UserHandle, p2: String?)
Content copied to clipboard
Link copied to clipboard
open fun sendBroadcastWithMultiplePermissions(p0: Intent, p1: Array<String>)
Content copied to clipboard
Link copied to clipboard
open override fun sendOrderedBroadcast( p0: Intent, p1: String?, p2: BroadcastReceiver?, p3: Handler?, p4: Int, p5: String?, p6: Bundle?)
Content copied to clipboard
open override fun sendOrderedBroadcast( p0: Intent, p1: String?, p2: String?, p3: BroadcastReceiver?, p4: Handler?, p5: Int, p6: String?, p7: Bundle?)
Content copied to clipboard
open fun sendOrderedBroadcast( p0: Intent, p1: Int, p2: String?, p3: String?, p4: BroadcastReceiver?, p5: Handler?, p6: String?, p7: Bundle?, p8: Bundle?)
Content copied to clipboard
Link copied to clipboard
open override fun sendOrderedBroadcastAsUser( p0: Intent, p1: UserHandle, p2: String?, p3: BroadcastReceiver?, p4: Handler?, p5: Int, p6: String?, p7: Bundle?)
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Content copied to clipboard
Link copied to clipboard
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun startInstrumentation( p0: ComponentName, p1: String?, p2: Bundle?): Boolean
Content copied to clipboard
Link copied to clipboard
open override fun startIntentSender( p0: IntentSender, p1: Intent?, p2: Int, p3: Int, p4: Int)
Content copied to clipboard
open override fun startIntentSender( p0: IntentSender, p1: Intent?, p2: Int, p3: Int, p4: Int, p5: Bundle?)
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun updateServiceGroup( p0: ServiceConnection, p1: Int, p2: Int)
Content copied to clipboard