//[tvlib](../../../index.md)/[org.mjdev.tvlib.extensions](../index.md)/[ContextExt](index.md) # ContextExt [androidJvm]\ object [ContextExt](index.md) ## Functions | Name | Summary | |---|---| | [activity](activity.md) | [androidJvm]
inline fun <[T](activity.md) : [Activity](https://developer.android.com/reference/kotlin/android/app/Activity.html)> [Context](https://developer.android.com/reference/kotlin/android/content/Context.html).[activity](activity.md)(messageBlock: (context: [Context](https://developer.android.com/reference/kotlin/android/content/Context.html)) -> [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) = { ctx -> "Expected an activity context but instead found: $ctx" }): [T](activity.md) | | [equals](../../org.mjdev.tvlib.webscrapper.select/-element-not-found-exception/index.md#585090901%2FFunctions%2F-1596939238) | [androidJvm]
open operator fun [equals](../../org.mjdev.tvlib.webscrapper.select/-element-not-found-exception/index.md#585090901%2FFunctions%2F-1596939238)(other: [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)?): [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) | | [hashCode](../../org.mjdev.tvlib.webscrapper.select/-element-not-found-exception/index.md#1794629105%2FFunctions%2F-1596939238) | [androidJvm]
open fun [hashCode](../../org.mjdev.tvlib.webscrapper.select/-element-not-found-exception/index.md#1794629105%2FFunctions%2F-1596939238)(): [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | | [toString](../../org.mjdev.tvlib.webscrapper.select/-element-not-found-exception/index.md#1616463040%2FFunctions%2F-1596939238) | [androidJvm]
open fun [toString](../../org.mjdev.tvlib.webscrapper.select/-element-not-found-exception/index.md#1616463040%2FFunctions%2F-1596939238)(): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | ## Properties | Name | Summary | |---|---| | [dateAsString](date-as-string.md) | [androidJvm]
val [Context](https://developer.android.com/reference/kotlin/android/content/Context.html).[dateAsString](date-as-string.md): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | | [isEink](is-eink.md) | [androidJvm]
val [Context](https://developer.android.com/reference/kotlin/android/content/Context.html).[isEink](is-eink.md): [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) | | [isTV](is-t-v.md) | [androidJvm]
val [Context](https://developer.android.com/reference/kotlin/android/content/Context.html).[isTV](is-t-v.md): [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) | | [timeAsString](time-as-string.md) | [androidJvm]
val [Context](https://developer.android.com/reference/kotlin/android/content/Context.html).[timeAsString](time-as-string.md): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) |