Skip navigation links
A B C D F G O V 

A

APPLICATION_ID - Static variable in class drewhamilton.skylight.android.nightmode.BuildConfig
 
AutoNightActivity - Class in drewhamilton.skylight.android.nightmode
A base Activity that sets the current night mode using an class AutoNightDelegate.
AutoNightActivity() - Constructor for class drewhamilton.skylight.android.nightmode.AutoNightActivity
A base Activity that sets the current night mode using an class AutoNightDelegate.
AutoNightDelegate - Class in drewhamilton.skylight.android.nightmode
A androidx.lifecycle.FullLifecycleObserver that updates the AppCompatDelegate's default night mode. The night is updated when the given LifecycleOwner is started, and again at the next dawn/dusk event if the LifecycleOwner has not stopped.
AutoNightDelegate(appCompatDelegate, skylight) - Constructor for class drewhamilton.skylight.android.nightmode.AutoNightDelegate
A androidx.lifecycle.FullLifecycleObserver that updates the AppCompatDelegate's default night mode. The night is updated when the given LifecycleOwner is started, and again at the next dawn/dusk event if the LifecycleOwner has not stopped.
AutoNightDelegate.Companion - Class in drewhamilton.skylight.android.nightmode
 

B

BUILD_TYPE - Static variable in class drewhamilton.skylight.android.nightmode.BuildConfig
 
BuildConfig - Class in drewhamilton.skylight.android.nightmode
 

C

Companion - Static variable in class drewhamilton.skylight.android.nightmode.AutoNightDelegate
 

D

DEBUG - Static variable in class drewhamilton.skylight.android.nightmode.BuildConfig
 
drewhamilton.skylight.android.nightmode - package drewhamilton.skylight.android.nightmode
 

F

fallback(appCompatDelegate) - Method in class drewhamilton.skylight.android.nightmode.AutoNightDelegate.Companion
Construct an class AutoNightDelegate that updates the night mode at the default times of 7am and 10pm.
fallback(appCompatDelegate) - Static method in class drewhamilton.skylight.android.nightmode.AutoNightDelegate
Construct an class AutoNightDelegate that updates the night mode at the default times of 7am and 10pm.
FLAVOR - Static variable in class drewhamilton.skylight.android.nightmode.BuildConfig
 

G

getAutoNightDelegate() - Method in class drewhamilton.skylight.android.nightmode.AutoNightActivity
The delegate used to update this Activity's night mode while the Activity is displayed.

O

ofCoordinates(appCompatDelegate, latitude, longitude) - Method in class drewhamilton.skylight.android.nightmode.AutoNightDelegate.Companion
Construct an class AutoNightDelegate that updates the night mode at dawn and dusk at the given latitude and longitude.
ofCoordinates(appCompatDelegate, latitude, longitude) - Static method in class drewhamilton.skylight.android.nightmode.AutoNightDelegate
Construct an class AutoNightDelegate that updates the night mode at dawn and dusk at the given latitude and longitude.
ofTimes(appCompatDelegate, dawn, dusk) - Method in class drewhamilton.skylight.android.nightmode.AutoNightDelegate.Companion
Construct an class AutoNightDelegate that updates the night mode at the given dawn and dusk times.
ofTimes(appCompatDelegate, dawn, dusk) - Static method in class drewhamilton.skylight.android.nightmode.AutoNightDelegate
Construct an class AutoNightDelegate that updates the night mode at the given dawn and dusk times.
onCreate(savedInstanceState) - Method in class drewhamilton.skylight.android.nightmode.AutoNightActivity
 
onStart(owner) - Method in class drewhamilton.skylight.android.nightmode.AutoNightDelegate
Update the current night mode setting and watch for the next dawn/dusk event when the given owner starts.
onStop(owner) - Method in class drewhamilton.skylight.android.nightmode.AutoNightDelegate
Stop watching for the next dawn/dusk event when the given owner stops.

V

VERSION_CODE - Static variable in class drewhamilton.skylight.android.nightmode.BuildConfig
 
VERSION_NAME - Static variable in class drewhamilton.skylight.android.nightmode.BuildConfig
 
A B C D F G O V 
Skip navigation links