-
public final class ContextUtilsKt
-
-
Method Summary
Modifier and Type Method Description final static UnitopenSystemSettings(Context $self)Forwards user to the application settings screen. final static BooleanisPermissionDeclared(Context $self, String permission)Returns if we need to check for the given permission or not. final static UnitshareLocalFile(Context $self, Uri uri, String mimeType, String text)Share a local file. -
-
Method Detail
-
openSystemSettings
final static Unit openSystemSettings(Context $self)
Forwards user to the application settings screen.
-
isPermissionDeclared
final static Boolean isPermissionDeclared(Context $self, String permission)
Returns if we need to check for the given permission or not.
- Parameters:
permission- The permission to check.
-
-
-
-