Class ContextExtensionsKt
-
- All Implemented Interfaces:
public final class ContextExtensionsKt
-
-
Field Summary
Fields Modifier and Type Field Description private final static IntegerscreenWidthPixels
-
Method Summary
Modifier and Type Method Description final IntegergetScreenWidthPixels()final static UnitcopyTextToClipboard(Context $self, String label, String text, String toastText)final static Unittoast(Context $self, String text, Integer duration)final static ContextcreateLocalizedContext(Context $self, Locale locale)-
-
Method Detail
-
getScreenWidthPixels
@RestrictTo(value = {RestrictTo.Scope.LIBRARY_GROUP}) final Integer getScreenWidthPixels()
-
copyTextToClipboard
@RestrictTo(value = {RestrictTo.Scope.LIBRARY_GROUP}) final static Unit copyTextToClipboard(Context $self, String label, String text, String toastText)
-
toast
@RestrictTo(value = {RestrictTo.Scope.LIBRARY_GROUP}) final static Unit toast(Context $self, String text, Integer duration)
-
createLocalizedContext
@RestrictTo(value = {RestrictTo.Scope.LIBRARY_GROUP}) final static Context createLocalizedContext(Context $self, Locale locale)
-
-
-
-