public abstract class Platform
extends java.lang.Object
Constructor and Description |
---|
Platform() |
Modifier and Type | Method and Description |
---|---|
abstract java.util.concurrent.Executor |
callbackExecutor()
Return an executor for this platform.
|
static Platform |
get() |
abstract java.lang.String |
name()
How do you call this platform?
|
abstract java.lang.String |
version()
Which version of the platform is executing this app?
|
public static Platform get()
public abstract java.util.concurrent.Executor callbackExecutor()
public abstract java.lang.String name()
Valid values are "Windows", "Linux", "Mac OS" and "Android".
public abstract java.lang.String version()
Copyright © 2019 Contentful, GmbH.. All Rights Reserved.