Trait

org.scaloid.common

SContext

Related Doc: package common

Permalink

trait SContext extends Context with TraitContext[SContext] with TagUtil

Enriched trait of the class android.content.Context. To enable Scaloid support for subclasses android.content.Context, extend this trait.

Refer the URL below for more details.

https://github.com/pocorall/scaloid/?134#trait-scontext

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SContext
  2. TagUtil
  3. TraitContext
  4. Context
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def bindService(arg0: Intent, arg1: ServiceConnection, arg2: Int): Boolean

    Permalink
    Definition Classes
    Context
  2. abstract def checkCallingOrSelfPermission(arg0: String): Int

    Permalink
    Definition Classes
    Context
  3. abstract def checkCallingOrSelfUriPermission(arg0: Uri, arg1: Int): Int

    Permalink
    Definition Classes
    Context
  4. abstract def checkCallingPermission(arg0: String): Int

    Permalink
    Definition Classes
    Context
  5. abstract def checkCallingUriPermission(arg0: Uri, arg1: Int): Int

    Permalink
    Definition Classes
    Context
  6. abstract def checkPermission(arg0: String, arg1: Int, arg2: Int): Int

    Permalink
    Definition Classes
    Context
  7. abstract def checkUriPermission(arg0: Uri, arg1: String, arg2: String, arg3: Int, arg4: Int, arg5: Int): Int

    Permalink
    Definition Classes
    Context
  8. abstract def checkUriPermission(arg0: Uri, arg1: Int, arg2: Int, arg3: Int): Int

    Permalink
    Definition Classes
    Context
  9. abstract def createPackageContext(arg0: String, arg1: Int): Context

    Permalink
    Definition Classes
    Context
    Annotations
    @throws( ... )
  10. abstract def databaseList(): Array[String]

    Permalink
    Definition Classes
    Context
  11. abstract def deleteDatabase(arg0: String): Boolean

    Permalink
    Definition Classes
    Context
  12. abstract def deleteFile(arg0: String): Boolean

    Permalink
    Definition Classes
    Context
  13. abstract def enforceCallingOrSelfPermission(arg0: String, arg1: String): Unit

    Permalink
    Definition Classes
    Context
  14. abstract def enforceCallingOrSelfUriPermission(arg0: Uri, arg1: Int, arg2: String): Unit

    Permalink
    Definition Classes
    Context
  15. abstract def enforceCallingPermission(arg0: String, arg1: String): Unit

    Permalink
    Definition Classes
    Context
  16. abstract def enforceCallingUriPermission(arg0: Uri, arg1: Int, arg2: String): Unit

    Permalink
    Definition Classes
    Context
  17. abstract def enforcePermission(arg0: String, arg1: Int, arg2: Int, arg3: String): Unit

    Permalink
    Definition Classes
    Context
  18. abstract def enforceUriPermission(arg0: Uri, arg1: String, arg2: String, arg3: Int, arg4: Int, arg5: Int, arg6: String): Unit

    Permalink
    Definition Classes
    Context
  19. abstract def enforceUriPermission(arg0: Uri, arg1: Int, arg2: Int, arg3: Int, arg4: String): Unit

    Permalink
    Definition Classes
    Context
  20. abstract def fileList(): Array[String]

    Permalink
    Definition Classes
    Context
  21. abstract def getApplicationContext(): Context

    Permalink
    Definition Classes
    Context
  22. abstract def getApplicationInfo(): ApplicationInfo

    Permalink
    Definition Classes
    Context
  23. abstract def getAssets(): AssetManager

    Permalink
    Definition Classes
    Context
  24. abstract def getCacheDir(): File

    Permalink
    Definition Classes
    Context
  25. abstract def getClassLoader(): ClassLoader

    Permalink
    Definition Classes
    Context
  26. abstract def getContentResolver(): ContentResolver

    Permalink
    Definition Classes
    Context
  27. abstract def getDatabasePath(arg0: String): File

    Permalink
    Definition Classes
    Context
  28. abstract def getDir(arg0: String, arg1: Int): File

    Permalink
    Definition Classes
    Context
  29. abstract def getExternalCacheDir(): File

    Permalink
    Definition Classes
    Context
  30. abstract def getExternalFilesDir(arg0: String): File

    Permalink
    Definition Classes
    Context
  31. abstract def getFileStreamPath(arg0: String): File

    Permalink
    Definition Classes
    Context
  32. abstract def getFilesDir(): File

    Permalink
    Definition Classes
    Context
  33. abstract def getMainLooper(): Looper

    Permalink
    Definition Classes
    Context
  34. abstract def getObbDir(): File

    Permalink
    Definition Classes
    Context
  35. abstract def getPackageCodePath(): String

    Permalink
    Definition Classes
    Context
  36. abstract def getPackageManager(): PackageManager

    Permalink
    Definition Classes
    Context
  37. abstract def getPackageName(): String

    Permalink
    Definition Classes
    Context
  38. abstract def getPackageResourcePath(): String

    Permalink
    Definition Classes
    Context
  39. abstract def getResources(): Resources

    Permalink
    Definition Classes
    Context
  40. abstract def getSharedPreferences(arg0: String, arg1: Int): SharedPreferences

    Permalink
    Definition Classes
    Context
  41. abstract def getSystemService(arg0: String): AnyRef

    Permalink
    Definition Classes
    Context
  42. abstract def getTheme(): Theme

    Permalink
    Definition Classes
    Context
  43. abstract def grantUriPermission(arg0: String, arg1: Uri, arg2: Int): Unit

    Permalink
    Definition Classes
    Context
  44. abstract def openFileInput(arg0: String): FileInputStream

    Permalink
    Definition Classes
    Context
    Annotations
    @throws( ... )
  45. abstract def openFileOutput(arg0: String, arg1: Int): FileOutputStream

    Permalink
    Definition Classes
    Context
    Annotations
    @throws( ... )
  46. abstract def openOrCreateDatabase(arg0: String, arg1: Int, arg2: CursorFactory, arg3: DatabaseErrorHandler): SQLiteDatabase

    Permalink
    Definition Classes
    Context
  47. abstract def openOrCreateDatabase(arg0: String, arg1: Int, arg2: CursorFactory): SQLiteDatabase

    Permalink
    Definition Classes
    Context
  48. abstract def registerReceiver(arg0: BroadcastReceiver, arg1: IntentFilter, arg2: String, arg3: Handler): Intent

    Permalink
    Definition Classes
    Context
  49. abstract def registerReceiver(arg0: BroadcastReceiver, arg1: IntentFilter): Intent

    Permalink
    Definition Classes
    Context
  50. abstract def removeStickyBroadcast(arg0: Intent): Unit

    Permalink
    Definition Classes
    Context
  51. abstract def revokeUriPermission(arg0: Uri, arg1: Int): Unit

    Permalink
    Definition Classes
    Context
  52. abstract def sendBroadcast(arg0: Intent, arg1: String): Unit

    Permalink
    Definition Classes
    Context
  53. abstract def sendBroadcast(arg0: Intent): Unit

    Permalink
    Definition Classes
    Context
  54. abstract def sendOrderedBroadcast(arg0: Intent, arg1: String, arg2: BroadcastReceiver, arg3: Handler, arg4: Int, arg5: String, arg6: Bundle): Unit

    Permalink
    Definition Classes
    Context
  55. abstract def sendOrderedBroadcast(arg0: Intent, arg1: String): Unit

    Permalink
    Definition Classes
    Context
  56. abstract def sendStickyBroadcast(arg0: Intent): Unit

    Permalink
    Definition Classes
    Context
  57. abstract def sendStickyOrderedBroadcast(arg0: Intent, arg1: BroadcastReceiver, arg2: Handler, arg3: Int, arg4: String, arg5: Bundle): Unit

    Permalink
    Definition Classes
    Context
  58. abstract def setTheme(arg0: Int): Unit

    Permalink
    Definition Classes
    Context
  59. abstract def startActivities(arg0: Array[Intent], arg1: Bundle): Unit

    Permalink
    Definition Classes
    Context
  60. abstract def startActivities(arg0: Array[Intent]): Unit

    Permalink
    Definition Classes
    Context
  61. abstract def startActivity(arg0: Intent, arg1: Bundle): Unit

    Permalink
    Definition Classes
    Context
  62. abstract def startActivity(arg0: Intent): Unit

    Permalink
    Definition Classes
    Context
  63. abstract def startInstrumentation(arg0: ComponentName, arg1: String, arg2: Bundle): Boolean

    Permalink
    Definition Classes
    Context
  64. abstract def startIntentSender(arg0: IntentSender, arg1: Intent, arg2: Int, arg3: Int, arg4: Int, arg5: Bundle): Unit

    Permalink
    Definition Classes
    Context
    Annotations
    @throws( ... )
  65. abstract def startIntentSender(arg0: IntentSender, arg1: Intent, arg2: Int, arg3: Int, arg4: Int): Unit

    Permalink
    Definition Classes
    Context
    Annotations
    @throws( ... )
  66. abstract def startService(arg0: Intent): ComponentName

    Permalink
    Definition Classes
    Context
  67. abstract def stopService(arg0: Intent): Boolean

    Permalink
    Definition Classes
    Context
  68. abstract def unbindService(arg0: ServiceConnection): Unit

    Permalink
    Definition Classes
    Context
  69. abstract def unregisterReceiver(arg0: BroadcastReceiver): Unit

    Permalink
    Definition Classes
    Context
  70. abstract def clearWallpaper(): Unit

    Permalink
    Definition Classes
    Context
    Annotations
    @Deprecated @deprecated @throws( classOf[java.io.IOException] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  71. abstract def getWallpaper(): Drawable

    Permalink
    Definition Classes
    Context
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  72. abstract def getWallpaperDesiredMinimumHeight(): Int

    Permalink
    Definition Classes
    Context
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  73. abstract def getWallpaperDesiredMinimumWidth(): Int

    Permalink
    Definition Classes
    Context
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  74. abstract def peekWallpaper(): Drawable

    Permalink
    Definition Classes
    Context
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  75. abstract def setWallpaper(arg0: InputStream): Unit

    Permalink
    Definition Classes
    Context
    Annotations
    @Deprecated @deprecated @throws( classOf[java.io.IOException] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  76. abstract def setWallpaper(arg0: Bitmap): Unit

    Permalink
    Definition Classes
    Context
    Annotations
    @Deprecated @deprecated @throws( classOf[java.io.IOException] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def applicationContext: Context

    Permalink

    Shortcut for getApplicationContext()

    Definition Classes
    TraitContext
    Annotations
    @inline()
  5. def applicationInfo: ApplicationInfo

    Permalink

    Shortcut for getApplicationInfo()

    Shortcut for getApplicationInfo()

    Definition Classes
    TraitContext
    Annotations
    @inline()
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def assets: AssetManager

    Permalink

    Shortcut for getAssets()

    Shortcut for getAssets()

    Definition Classes
    TraitContext
    Annotations
    @inline()
  8. def basis: SContext

    Permalink
    Definition Classes
    SContextTraitContext
  9. def bindService[T](p1: ServiceConnection, p2: Int)(implicit arg0: ClassTag[T], context: Context): Boolean

    Permalink
    Definition Classes
    TraitContext
    Annotations
    @inline()
  10. def cacheDir: File

    Permalink

    Shortcut for getCacheDir()

    Shortcut for getCacheDir()

    Definition Classes
    TraitContext
    Annotations
    @inline()
  11. def classLoader: ClassLoader

    Permalink

    Shortcut for getClassLoader()

    Shortcut for getClassLoader()

    Definition Classes
    TraitContext
    Annotations
    @inline()
  12. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. def contentResolver: ContentResolver

    Permalink

    Shortcut for getContentResolver()

    Shortcut for getContentResolver()

    Definition Classes
    TraitContext
    Annotations
    @inline()
  14. implicit val ctx: SContext

    Permalink
    Definition Classes
    TraitContext
  15. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  17. def externalCacheDir: File

    Permalink

    Shortcut for getExternalCacheDir()

    Shortcut for getExternalCacheDir()

    Definition Classes
    TraitContext
    Annotations
    @inline()
  18. def filesDir: File

    Permalink

    Shortcut for getFilesDir()

    Shortcut for getFilesDir()

    Definition Classes
    TraitContext
    Annotations
    @inline()
  19. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  21. final def getString(arg0: Int, arg1: <repeated...>[AnyRef]): String

    Permalink
    Definition Classes
    Context
  22. final def getString(arg0: Int): String

    Permalink
    Definition Classes
    Context
  23. final def getText(arg0: Int): CharSequence

    Permalink
    Definition Classes
    Context
  24. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  25. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  26. def isRestricted(): Boolean

    Permalink
    Definition Classes
    Context
  27. implicit val loggerTag: LoggerTag

    Permalink
    Definition Classes
    TagUtil
  28. def mainLooper: Looper

    Permalink

    Shortcut for getMainLooper()

    Shortcut for getMainLooper()

    Definition Classes
    TraitContext
    Annotations
    @inline()
  29. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  30. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  31. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  32. def obbDir: File

    Permalink

    Shortcut for getObbDir()

    Shortcut for getObbDir()

    Definition Classes
    TraitContext
    Annotations
    @inline()
  33. final def obtainStyledAttributes(arg0: AttributeSet, arg1: Array[Int], arg2: Int, arg3: Int): TypedArray

    Permalink
    Definition Classes
    Context
  34. final def obtainStyledAttributes(arg0: AttributeSet, arg1: Array[Int]): TypedArray

    Permalink
    Definition Classes
    Context
  35. final def obtainStyledAttributes(arg0: Int, arg1: Array[Int]): TypedArray

    Permalink
    Definition Classes
    Context
    Annotations
    @throws( ... )
  36. final def obtainStyledAttributes(arg0: Array[Int]): TypedArray

    Permalink
    Definition Classes
    Context
  37. def packageCodePath: String

    Permalink

    Shortcut for getPackageCodePath()

    Shortcut for getPackageCodePath()

    Definition Classes
    TraitContext
    Annotations
    @inline()
  38. def packageManager: PackageManager

    Permalink

    Shortcut for getPackageManager()

    Shortcut for getPackageManager()

    Definition Classes
    TraitContext
    Annotations
    @inline()
  39. def packageName: String

    Permalink

    Shortcut for getPackageName()

    Shortcut for getPackageName()

    Definition Classes
    TraitContext
    Annotations
    @inline()
  40. def packageResourcePath: String

    Permalink

    Shortcut for getPackageResourcePath()

    Definition Classes
    TraitContext
    Annotations
    @inline()
  41. def registerComponentCallbacks(arg0: ComponentCallbacks): Unit

    Permalink
    Definition Classes
    Context
  42. def removeStickyBroadcast[T](implicit arg0: ClassTag[T], context: Context): Unit

    Permalink
    Definition Classes
    TraitContext
    Annotations
    @inline()
  43. def resources: Resources

    Permalink

    Shortcut for getResources()

    Shortcut for getResources()

    Definition Classes
    TraitContext
    Annotations
    @inline()
  44. def sendBroadcast[T](p: String)(implicit arg0: ClassTag[T], context: Context): Unit

    Permalink
    Definition Classes
    TraitContext
    Annotations
    @inline()
  45. def sendBroadcast[T](implicit arg0: ClassTag[T], context: Context): Unit

    Permalink
    Definition Classes
    TraitContext
    Annotations
    @inline()
  46. def sendOrderedBroadcast[T](p1: String, p2: BroadcastReceiver, p3: Handler, p4: Int, p5: String, p6: Bundle)(implicit arg0: ClassTag[T], context: Context): Unit

    Permalink
    Definition Classes
    TraitContext
    Annotations
    @inline()
  47. def sendOrderedBroadcast[T](p: String)(implicit arg0: ClassTag[T], context: Context): Unit

    Permalink
    Definition Classes
    TraitContext
    Annotations
    @inline()
  48. def sendStickyBroadcast[T](implicit arg0: ClassTag[T], context: Context): Unit

    Permalink
    Definition Classes
    TraitContext
    Annotations
    @inline()
  49. def sendStickyOrderedBroadcast[T](p1: BroadcastReceiver, p2: Handler, p3: Int, p4: String, p5: Bundle)(implicit arg0: ClassTag[T], context: Context): Unit

    Permalink
    Definition Classes
    TraitContext
    Annotations
    @inline()
  50. def startActivity[T](p: Bundle)(implicit arg0: ClassTag[T], context: Context): Unit

    Permalink
    Definition Classes
    TraitContext
    Annotations
    @inline()
  51. def startActivity[T](implicit arg0: ClassTag[T], context: Context): Unit

    Permalink
    Definition Classes
    TraitContext
    Annotations
    @inline()
  52. def startService[T](implicit arg0: ClassTag[T], context: Context): ComponentName

    Permalink
    Definition Classes
    TraitContext
    Annotations
    @inline()
  53. def stopService[T](implicit arg0: ClassTag[T], context: Context): Boolean

    Permalink
    Definition Classes
    TraitContext
    Annotations
    @inline()
  54. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  55. def theme(p: Int): SContext

    Permalink

    Shortcut for setTheme(int)

    Shortcut for setTheme(int)

    Definition Classes
    TraitContext
    Annotations
    @inline()
  56. def theme: Theme

    Permalink

    Shortcut for getTheme()

    Shortcut for getTheme()

    Definition Classes
    TraitContext
    Annotations
    @inline()
  57. def theme_=(p: Int): SContext

    Permalink

    Shortcut for setTheme(int)

    Shortcut for setTheme(int)

    Definition Classes
    TraitContext
    Annotations
    @inline()
  58. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  59. def unregisterComponentCallbacks(arg0: ComponentCallbacks): Unit

    Permalink
    Definition Classes
    Context
  60. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  61. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  62. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def wallpaper(p: InputStream): SContext

    Permalink

    Shortcut for setWallpaper(java.io.InputStream)

    Definition Classes
    TraitContext
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version )

  2. def wallpaper(p: Bitmap): SContext

    Permalink

    Shortcut for setWallpaper(android.graphics.Bitmap)

    Definition Classes
    TraitContext
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version )

  3. def wallpaper: Drawable

    Permalink

    Shortcut for getWallpaper()

    Shortcut for getWallpaper()

    Definition Classes
    TraitContext
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version )

  4. def wallpaperDesiredMinimumHeight: Int

    Permalink

    Shortcut for getWallpaperDesiredMinimumHeight()

    Definition Classes
    TraitContext
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version )

  5. def wallpaperDesiredMinimumWidth: Int

    Permalink

    Shortcut for getWallpaperDesiredMinimumWidth()

    Definition Classes
    TraitContext
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version )

  6. def wallpaper_=(p: InputStream): SContext

    Permalink

    Shortcut for setWallpaper(java.io.InputStream)

    Definition Classes
    TraitContext
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version )

  7. def wallpaper_=(p: Bitmap): SContext

    Permalink

    Shortcut for setWallpaper(android.graphics.Bitmap)

    Definition Classes
    TraitContext
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version )

Inherited from TagUtil

Inherited from TraitContext[SContext]

Inherited from Context

Inherited from AnyRef

Inherited from Any

Ungrouped