NonUiContext


@Retention(value = AnnotationRetention.SOURCE)
@Target(allowedTargets = [AnnotationTarget.ANNOTATION_CLASSAnnotationTarget.CLASSAnnotationTarget.FUNCTIONAnnotationTarget.PROPERTY_GETTERAnnotationTarget.PROPERTY_SETTERAnnotationTarget.VALUE_PARAMETERAnnotationTarget.FIELD])
public annotation NonUiContext


Denotes a android.content.Context that can not be used to obtain a android.view.Display via android.content.Context.getDisplay nor to obtain an instance of a visual service, such a android.view.WindowManager, android.view.LayoutInflater or android.app.WallpaperManager via android.content.Context.getSystemService.

This is a marker annotation and has no specific attributes.

Summary

Public constructors

Public constructors

NonUiContext

public NonUiContext()