MainService

Main service class for ML inference offloading.

Constructors

Link copied to clipboard
constructor()

Creates the Main Service.

Properties

Link copied to clipboard

Models repository instance for accessing model data.

Link copied to clipboard

Offloading service repository instance for accessing offloading service data.

Link copied to clipboard

Preferences data store instance for accessing preference data.

Functions

Link copied to clipboard
open override fun onBind(intent: Intent): IBinder

A lifecycle callback method that overrides Service.onBind.

Link copied to clipboard
open override fun onCreate()

A lifecycle callback method that overrides Service.onCreate.

Link copied to clipboard
open override fun onDestroy()

A lifecycle callback method that overrides Service.onDestroy.

Link copied to clipboard
open override fun onStartCommand(intent: Intent?, flags: Int, startId: Int): Int

A lifecycle callback method that overrides Service.onStartCommand.