com.samsung.android.sdk.professionalaudio.widgets
public class FloatingController extends RelativeLayout
Constructor and Description |
---|
FloatingController(Context context,
AttributeSet attrs)
This ctor is used mostly when FloatingControler is inflated from xml layout
|
Modifier and Type | Method and Description |
---|---|
boolean |
getBarExpanded()
This method exposes information whether whole bar is expanded or not.
|
java.util.Map<java.lang.String,java.lang.Boolean> |
getDevicesExpanded()
This method exposes information about which devices shall have their actions shown.
|
void |
setSapaAppService(com.samsung.android.sdk.professionalaudio.app.SapaAppService sapaAppService)
This method sets instance of SapaAppService of the host application, from which info about
apps and actions will be received.
|
void |
stopConnections()
This method stops connection of var to connection service and stops checking whether list of
active devices was changed.
|
public FloatingController(Context context, AttributeSet attrs)
context
- The context for which the view is being inflated. If it is not an Activity the
exception may be thrown.attrs
- Attributes given in xml declaration of FloatingControlerpublic void setSapaAppService(com.samsung.android.sdk.professionalaudio.app.SapaAppService sapaAppService)
sapaAppService
- An instance of SapaAppServicepublic java.util.Map<java.lang.String,java.lang.Boolean> getDevicesExpanded()
public boolean getBarExpanded()
public void stopConnections()