-
public final class ContextExtensionsKt
-
-
Field Summary
Fields Modifier and Type Field Description private final static AlarmManageralarmManagerprivate final static NotificationManagernotificationManagerprivate final static JobSchedulerjobSchedulerprivate final static DownloadManagerdownloadManagerprivate final static ClipboardManagerclipboardManagerprivate final static SearchManagersearchManagerprivate final static InputMethodManagerinputManagerprivate final static ConnectivityManagerconnectivityManagerprivate final static ActivityManageractivityManagerprivate final static LocationManagerlocationManagerprivate final static AppWidgetManagerappWidgetManagerprivate final static SharedPreferencespreferencesprivate final static BooleanisOnlineprivate final static BooleanisOfflineprivate final static BooleanisNightModeprivate final static BooleanisLightModeprivate final static Localelocaleprivate final static BooleanisLandscapeprivate final static BooleanisTabletprivate final static BooleanisLowMemoryprivate final static LongfirstInstallTimeprivate final static LonglastUpdateTimeprivate final static BooleanisInstallFromUpdate
-
Method Summary
-
-
Method Detail
-
getAlarmManager
final AlarmManager getAlarmManager()
-
getNotificationManager
final NotificationManager getNotificationManager()
-
getJobScheduler
final JobScheduler getJobScheduler()
-
getDownloadManager
final DownloadManager getDownloadManager()
-
getClipboardManager
final ClipboardManager getClipboardManager()
-
getSearchManager
final SearchManager getSearchManager()
-
getInputManager
final InputMethodManager getInputManager()
-
getConnectivityManager
final ConnectivityManager getConnectivityManager()
-
getActivityManager
final ActivityManager getActivityManager()
-
getLocationManager
final LocationManager getLocationManager()
-
getAppWidgetManager
final AppWidgetManager getAppWidgetManager()
-
getPreferences
final SharedPreferences getPreferences()
-
getIsOnline
@RequiresPermission(value = android.permission.ACCESS_NETWORK_STATE) final Boolean getIsOnline()
-
getIsOffline
final Boolean getIsOffline()
-
getIsNightMode
final Boolean getIsNightMode()
-
getIsLightMode
final Boolean getIsLightMode()
-
getIsLandscape
final Boolean getIsLandscape()
-
getIsTablet
final Boolean getIsTablet()
-
getIsLowMemory
final Boolean getIsLowMemory()
-
getFirstInstallTime
final Long getFirstInstallTime()
-
getLastUpdateTime
final Long getLastUpdateTime()
-
getIsInstallFromUpdate
final Boolean getIsInstallFromUpdate()
-
dimensionPixelSize
final static Integer dimensionPixelSize(Context $self, @DimenRes() Integer id)
-
integer
final static Integer integer(Context $self, @IntegerRes() Integer id)
-
dimensionAttr
final static Float dimensionAttr(Context $self, @AttrRes() Integer attr)
-
hideKeyboard
final static Boolean hideKeyboard(Context $self, IBinder windowToken)
-
showKeyboard
final static Boolean showKeyboard(Context $self, View view)
-
forceShowKeyboard
final static Unit forceShowKeyboard(Context $self, View view)
-
hasPermission
final static Boolean hasPermission(Context $self, String permission)
-
-
-
-