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