public class SupportedInterfaces extends Object
Interfaces supported by the Alexa client.| Modifier and Type | Class and Description |
|---|---|
static class |
SupportedInterfaces.Builder
Builder used to construct a new
SupportedInterfaces. |
| Modifier and Type | Method and Description |
|---|---|
static SupportedInterfaces.Builder |
builder()
Returns a new builder instance used to construct a new
SupportedInterfaces. |
<T extends Interface> |
getSupportedInterface(Class<T> clazz)
Returns
Interface for interface class if it exists, null otherwise. |
<T extends Interface> |
isInterfaceSupported(Class<T> clazz)
Returns true if the interface class exists, false otherwise.
|
public static SupportedInterfaces.Builder builder()
SupportedInterfaces.public <T extends Interface> boolean isInterfaceSupported(Class<T> clazz)
T - the interface subtypeclazz - the interface classpublic <T extends Interface> T getSupportedInterface(Class<T> clazz)
Interface for interface class if it exists, null otherwise.T - the interface subtypeclazz - the interface classCopyright © 2016. All rights reserved.