public interface IContextService
Modifier and Type | Method and Description |
---|---|
IFuture<java.lang.Boolean> |
dispatchEvent(IJadexAndroidEvent event)
Dispatches an Event to the Android UI / Activity.
|
IFuture<java.io.File> |
getFile(java.lang.String name)
Returns a File
|
IFuture<java.util.List<java.net.InetAddress>> |
getNetworkIps()
Get the network ips.
|
IFuture<IPreferences> |
getSharedPreferences(java.lang.String preferenceFileName)
Gets an Android Shared Preference Container.
|
IFuture<java.lang.Void> |
openFile(java.lang.String path)
Opens a File with the default application.
|
IFuture<java.io.File> getFile(java.lang.String name)
name
- File nameFile
IFuture<java.lang.Void> openFile(java.lang.String path) throws java.io.IOException
path
- java.io.IOException
IFuture<IPreferences> getSharedPreferences(java.lang.String preferenceFileName)
preferenceFileName
- IFuture<java.lang.Boolean> dispatchEvent(IJadexAndroidEvent event)
event
- IJadexAndroidEvent
IFuture<java.util.List<java.net.InetAddress>> getNetworkIps()