AgentService

public final class AgentService extends Service


앱투앱 연동 서비스


  • 앱투앱 연동을 위해 클라이언트 앱 구동시 해당 서비스를 활성화 해야함


사용 예

class ClientApp : Application() {
private lateinit var serviceIntent: Intent

override fun onCreate() {
super.onCreate()

serviceIntent = Intent(this, AgentService::class.java)

/**
* AgentService 활성화
* @see AgentService - ForegroundService
* 앱 시작시 서비스 활성화가 선행되어야 전문처리 가능
*/
startForegroundService(serviceIntent)
}

override fun onTerminate() {
super.onTerminate()
stopService(serviceIntent)
}
}

Constructors

Link copied to clipboard
AgentService AgentService()

Types

Link copied to clipboard
public class Companion

Functions

Link copied to clipboard
Unit attachBaseContext(Context p0)
Link copied to clipboard
Boolean bindIsolatedService(Intent p0, Integer p1, String p2, Executor p3, ServiceConnection p4)
Link copied to clipboard
Boolean bindService(Intent p0, ServiceConnection p1, Integer p2)
Boolean bindService(Intent p0, Integer p1, Executor p2, ServiceConnection p3)
Link copied to clipboard
Boolean bindServiceAsUser(Intent p0, ServiceConnection p1, Integer p2, UserHandle p3)
Link copied to clipboard
Integer checkCallingOrSelfPermission(String p0)
Link copied to clipboard
Integer checkCallingOrSelfUriPermission(Uri p0, Integer p1)
Link copied to clipboard
IntArray checkCallingOrSelfUriPermissions(List<Uri> p0, Integer p1)
Link copied to clipboard
Integer checkCallingPermission(String p0)
Link copied to clipboard
Integer checkCallingUriPermission(Uri p0, Integer p1)
Link copied to clipboard
IntArray checkCallingUriPermissions(List<Uri> p0, Integer p1)
Link copied to clipboard
Integer checkPermission(String p0, Integer p1, Integer p2)
Link copied to clipboard
Integer checkSelfPermission(String p0)
Link copied to clipboard
Integer checkUriPermission(Uri p0, Integer p1, Integer p2, Integer p3)
Integer checkUriPermission(Uri p0, String p1, String p2, Integer p3, Integer p4, Integer p5)
Link copied to clipboard
IntArray checkUriPermissions(List<Uri> p0, Integer p1, Integer p2, Integer p3)
Link copied to clipboard
@Deprecated(message = "Deprecated in Java")
Unit clearWallpaper()
Link copied to clipboard
Context createAttributionContext(String p0)
Link copied to clipboard
Context createConfigurationContext(Configuration p0)
Link copied to clipboard
Context createContext(ContextParams p0)
Link copied to clipboard
Context createContextForSplit(String p0)
Link copied to clipboard
Context createDeviceProtectedStorageContext()
Link copied to clipboard
Context createDisplayContext(Display p0)
Link copied to clipboard
Context createPackageContext(String p0, Integer p1)
Link copied to clipboard
Context createWindowContext(Integer p0, Bundle p1)
Context createWindowContext(Display p0, Integer p1, Bundle p2)
Link copied to clipboard
Array<String> databaseList()
Link copied to clipboard
Boolean deleteDatabase(String p0)
Link copied to clipboard
Boolean deleteFile(String p0)
Link copied to clipboard
Boolean deleteSharedPreferences(String p0)
Link copied to clipboard
Unit dump(FileDescriptor p0, PrintWriter p1, Array<String> p2)
Link copied to clipboard
Unit enforceCallingOrSelfPermission(String p0, String p1)
Link copied to clipboard
Unit enforceCallingOrSelfUriPermission(Uri p0, Integer p1, String p2)
Link copied to clipboard
Unit enforceCallingPermission(String p0, String p1)
Link copied to clipboard
Unit enforceCallingUriPermission(Uri p0, Integer p1, String p2)
Link copied to clipboard
Unit enforcePermission(String p0, Integer p1, Integer p2, String p3)
Link copied to clipboard
Unit enforceUriPermission(Uri p0, Integer p1, Integer p2, Integer p3, String p4)
Unit enforceUriPermission(Uri p0, String p1, String p2, Integer p3, Integer p4, Integer p5, String p6)
Link copied to clipboard
Array<String> fileList()
Link copied to clipboard
final Application getApplication()
Link copied to clipboard
Context getApplicationContext()
Link copied to clipboard
ApplicationInfo getApplicationInfo()
Link copied to clipboard
AssetManager getAssets()
Link copied to clipboard
AttributionSource getAttributionSource()
Link copied to clipboard
String getAttributionTag()
Link copied to clipboard
Context getBaseContext()
Link copied to clipboard
File getCacheDir()
Link copied to clipboard
ClassLoader getClassLoader()
Link copied to clipboard
File getCodeCacheDir()
Link copied to clipboard
final Integer getColor(Integer p0)
Link copied to clipboard
final ColorStateList getColorStateList(Integer p0)
Link copied to clipboard
ContentResolver getContentResolver()
Link copied to clipboard
File getDatabasePath(String p0)
Link copied to clipboard
File getDataDir()
Link copied to clipboard
File getDir(String p0, Integer p1)
Link copied to clipboard
Display getDisplay()
Link copied to clipboard
final Drawable getDrawable(Integer p0)
Link copied to clipboard
File getExternalCacheDir()
Link copied to clipboard
Array<File> getExternalCacheDirs()
Link copied to clipboard
File getExternalFilesDir(String p0)
Link copied to clipboard
Array<File> getExternalFilesDirs(String p0)
Link copied to clipboard
Array<File> getExternalMediaDirs()
Link copied to clipboard
File getFilesDir()
Link copied to clipboard
File getFileStreamPath(String p0)
Link copied to clipboard
final Integer getForegroundServiceType()
Link copied to clipboard
Executor getMainExecutor()
Link copied to clipboard
Looper getMainLooper()
Link copied to clipboard
File getNoBackupFilesDir()
Link copied to clipboard
File getObbDir()
Link copied to clipboard
Array<File> getObbDirs()
Link copied to clipboard
String getOpPackageName()
Link copied to clipboard
String getPackageCodePath()
Link copied to clipboard
PackageManager getPackageManager()
Link copied to clipboard
String getPackageName()
Link copied to clipboard
String getPackageResourcePath()
Link copied to clipboard
ContextParams getParams()
Link copied to clipboard
Resources getResources()
Link copied to clipboard
SharedPreferences getSharedPreferences(String p0, Integer p1)
Link copied to clipboard
final String getString(Integer p0)
final String getString(Integer p0, Object p1)
Link copied to clipboard
final T getSystemService<T extends Any>(Class<T> p0)
Object getSystemService(String p0)
Link copied to clipboard
String getSystemServiceName(Class<?> p0)
Link copied to clipboard
final CharSequence getText(Integer p0)
Link copied to clipboard
Resources.Theme getTheme()
Link copied to clipboard
@Deprecated(message = "Deprecated in Java")
Drawable getWallpaper()
Link copied to clipboard
@Deprecated(message = "Deprecated in Java")
Integer getWallpaperDesiredMinimumHeight()
Link copied to clipboard
@Deprecated(message = "Deprecated in Java")
Integer getWallpaperDesiredMinimumWidth()
Link copied to clipboard
Unit grantUriPermission(String p0, Uri p1, Integer p2)
Link copied to clipboard
Boolean isDeviceProtectedStorage()
Link copied to clipboard
Boolean isRestricted()
Link copied to clipboard
Boolean isUiContext()
Link copied to clipboard
Boolean moveDatabaseFrom(Context p0, String p1)
Link copied to clipboard
Boolean moveSharedPreferencesFrom(Context p0, String p1)
Link copied to clipboard
final TypedArray obtainStyledAttributes(IntArray p0)
final TypedArray obtainStyledAttributes(AttributeSet p0, IntArray p1)
final TypedArray obtainStyledAttributes(Integer p0, IntArray p1)
final TypedArray obtainStyledAttributes(AttributeSet p0, IntArray p1, Integer p2, Integer p3)
Link copied to clipboard
IBinder onBind(Intent intent)
Link copied to clipboard
Unit onConfigurationChanged(Configuration p0)
Link copied to clipboard
Unit onCreate()
Link copied to clipboard
Unit onDestroy()
Link copied to clipboard
Unit onLowMemory()
Link copied to clipboard
Unit onRebind(Intent p0)
Link copied to clipboard
@Deprecated(message = "Deprecated in Java")
Unit onStart(Intent p0, Integer p1)
Link copied to clipboard
Integer onStartCommand(Intent intent, Integer flags, Integer startId)
Link copied to clipboard
Unit onTaskRemoved(Intent rootIntent)
Link copied to clipboard
Unit onTrimMemory(Integer p0)
Link copied to clipboard
Boolean onUnbind(Intent p0)
Link copied to clipboard
FileInputStream openFileInput(String p0)
Link copied to clipboard
FileOutputStream openFileOutput(String p0, Integer p1)
Link copied to clipboard
Link copied to clipboard
@Deprecated(message = "Deprecated in Java")
Drawable peekWallpaper()
Link copied to clipboard
Unit registerComponentCallbacks(ComponentCallbacks p0)
Link copied to clipboard
Intent registerReceiver(BroadcastReceiver p0, IntentFilter p1)
Intent registerReceiver(BroadcastReceiver p0, IntentFilter p1, Integer p2)
Intent registerReceiver(BroadcastReceiver p0, IntentFilter p1, String p2, Handler p3)
Intent registerReceiver(BroadcastReceiver p0, IntentFilter p1, String p2, Handler p3, Integer p4)
Link copied to clipboard
@Deprecated(message = "Deprecated in Java")
Unit removeStickyBroadcast(Intent p0)
Link copied to clipboard
@Deprecated(message = "Deprecated in Java")
Unit removeStickyBroadcastAsUser(Intent p0, UserHandle p1)
Link copied to clipboard
Unit revokeSelfPermissionOnKill(String p0)
Link copied to clipboard
Unit revokeSelfPermissionsOnKill(Collection<String> p0)
Link copied to clipboard
Unit revokeUriPermission(Uri p0, Integer p1)
Unit revokeUriPermission(String p0, Uri p1, Integer p2)
Link copied to clipboard
Unit sendBroadcast(Intent p0)
Unit sendBroadcast(Intent p0, String p1)
Link copied to clipboard
Unit sendBroadcastAsUser(Intent p0, UserHandle p1)
Unit sendBroadcastAsUser(Intent p0, UserHandle p1, String p2)
Link copied to clipboard
Unit sendBroadcastWithMultiplePermissions(Intent p0, Array<String> p1)
Link copied to clipboard
Unit sendOrderedBroadcast(Intent p0, String p1)
Unit sendOrderedBroadcast(Intent p0, String p1, BroadcastReceiver p2, Handler p3, Integer p4, String p5, Bundle p6)
Unit sendOrderedBroadcast(Intent p0, String p1, String p2, BroadcastReceiver p3, Handler p4, Integer p5, String p6, Bundle p7)
Unit sendOrderedBroadcast(Intent p0, Integer p1, String p2, String p3, BroadcastReceiver p4, Handler p5, String p6, Bundle p7, Bundle p8)
Link copied to clipboard
Unit sendOrderedBroadcastAsUser(Intent p0, UserHandle p1, String p2, BroadcastReceiver p3, Handler p4, Integer p5, String p6, Bundle p7)
Link copied to clipboard
@Deprecated(message = "Deprecated in Java")
Unit sendStickyBroadcast(Intent p0)
@Deprecated(message = "Deprecated in Java")
Unit sendStickyBroadcast(Intent p0, Bundle p1)
Link copied to clipboard
@Deprecated(message = "Deprecated in Java")
Unit sendStickyBroadcastAsUser(Intent p0, UserHandle p1)
Link copied to clipboard
@Deprecated(message = "Deprecated in Java")
Unit sendStickyOrderedBroadcast(Intent p0, BroadcastReceiver p1, Handler p2, Integer p3, String p4, Bundle p5)
Link copied to clipboard
@Deprecated(message = "Deprecated in Java")
Unit sendStickyOrderedBroadcastAsUser(Intent p0, UserHandle p1, BroadcastReceiver p2, Handler p3, Integer p4, String p5, Bundle p6)
Link copied to clipboard
Unit setTheme(Integer p0)
Link copied to clipboard
@Deprecated(message = "Deprecated in Java")
Unit setWallpaper(Bitmap p0)
@Deprecated(message = "Deprecated in Java")
Unit setWallpaper(InputStream p0)
Link copied to clipboard
Unit startActivities(Array<Intent> p0)
Unit startActivities(Array<Intent> p0, Bundle p1)
Link copied to clipboard
Unit startActivity(Intent p0)
Unit startActivity(Intent p0, Bundle p1)
Link copied to clipboard
final Unit startForeground(Integer p0, Notification p1)
final Unit startForeground(Integer p0, Notification p1, Integer p2)
Link copied to clipboard
ComponentName startForegroundService(Intent p0)
Link copied to clipboard
Boolean startInstrumentation(ComponentName p0, String p1, Bundle p2)
Link copied to clipboard
Unit startIntentSender(IntentSender p0, Intent p1, Integer p2, Integer p3, Integer p4)
Unit startIntentSender(IntentSender p0, Intent p1, Integer p2, Integer p3, Integer p4, Bundle p5)
Link copied to clipboard
ComponentName startService(Intent p0)
Link copied to clipboard
@Deprecated(message = "Deprecated in Java")
final Unit stopForeground(Boolean p0)
final Unit stopForeground(Integer p0)
Link copied to clipboard
final Unit stopSelf()
final Unit stopSelf(Integer p0)
Link copied to clipboard
final Boolean stopSelfResult(Integer p0)
Link copied to clipboard
Boolean stopService(Intent p0)
Link copied to clipboard
Unit unbindService(ServiceConnection p0)
Link copied to clipboard
Unit unregisterComponentCallbacks(ComponentCallbacks p0)
Link copied to clipboard
Unit unregisterReceiver(BroadcastReceiver p0)
Link copied to clipboard
Unit updateServiceGroup(ServiceConnection p0, Integer p1, Integer p2)