Package | Description |
---|---|
com.mixer.interactive.gson |
Contains custom type adapters for use in serializing/de-serializing Json using Gson.
|
com.mixer.interactive.resources.control |
Provides interfaces and classes relating to Interactive controls.
|
Modifier and Type | Method and Description |
---|---|
InteractiveCanvasSize |
InteractiveCanvasSizeAdapter.deserialize(com.google.gson.JsonElement json,
Type typeOfT,
com.google.gson.JsonDeserializationContext context) |
Modifier and Type | Method and Description |
---|---|
com.google.gson.JsonElement |
InteractiveCanvasSizeAdapter.serialize(InteractiveCanvasSize src,
Type typeOfSrc,
com.google.gson.JsonSerializationContext context) |
Modifier and Type | Method and Description |
---|---|
static InteractiveCanvasSize |
InteractiveCanvasSize.from(String layoutSize)
Returns the associated
InteractiveCanvasSize object for the provided canvas size (if there is one). |
InteractiveCanvasSize |
InteractiveControlPosition.getCanvasSize()
Returns the
InteractiveCanvasSize for this control position. |
static InteractiveCanvasSize |
InteractiveCanvasSize.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InteractiveCanvasSize[] |
InteractiveCanvasSize.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
InteractiveControlPosition |
InteractiveControl.getPositionFor(InteractiveCanvasSize canvasSize)
Returns the
InteractiveControlPosition for the provided InteractiveCanvasSize if
there exists one, null otherwise. |
boolean |
InteractiveControl.hasPositionFor(InteractiveCanvasSize canvasSize)
Returns
true if this InteractiveControl has a controlPositions for the provided
InteractiveCanvasSize , false otherwise. |
T |
InteractiveControl.removePosition(InteractiveCanvasSize canvasSize)
Attempts to remove any
InteractiveControlPosition associated with the provided
InteractiveCanvasSize . |
Constructor and Description |
---|
InteractiveControlPosition(InteractiveCanvasSize size)
Initializes a new
InteractiveControlPosition with default values. |
InteractiveControlPosition(InteractiveCanvasSize size,
int width,
int height,
int x,
int y)
Initializes a new
InteractiveControlPosition . |
Copyright © 2018. All rights reserved.