Class AntPlusBaseRemoteControlPcc.ControlDeviceCapabilities
java.lang.Object
com.dsi.ant.plugins.antplus.pcc.controls.pccbase.AntPlusBaseRemoteControlPcc.ControlDeviceCapabilities
- All Implemented Interfaces:
android.os.Parcelable
- Enclosing class:
- AntPlusBaseRemoteControlPcc
public static class AntPlusBaseRemoteControlPcc.ControlDeviceCapabilities
extends Object
implements android.os.Parcelable
-
Nested Class Summary
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final android.os.Parcelable.Creator<AntPlusBaseRemoteControlPcc.ControlDeviceCapabilities>
static final String
Default IPC keyFields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
-
Constructor Summary
ConstructorsConstructorDescriptionDefault Constructor for ControlDeviceAvailabilities.ControlDeviceCapabilities
(boolean isMaximumNumberRemotesConnected, boolean isAudioControlSupported, boolean isGenericControlSupported, boolean isVideoControlSupported, boolean isBurstCommandSupported) Constructor for ControlDeviceAvailabilitiesControlDeviceCapabilities
(android.os.Parcel in) -
Method Summary
Modifier and TypeMethodDescriptionint
boolean
Returns whether audio control is supportedboolean
Returns whether burst commands are supportedboolean
Returns whether generic control is supportedboolean
Returns whether the maximum number of remotes have been reachedboolean
Returns whether video control is supportedvoid
setAudioControlSupported
(boolean isAudioControlSupported) Sets whether audio control is supportedvoid
setBurstCommandSupported
(boolean isBurstCommandSupported) Sets whether burst commands are supportedvoid
setGenericControlSupported
(boolean isGenericControlSupported) Sets whether generic control is supportedvoid
setMaximumNumberRemotesConnected
(boolean isMaximumNumberRemotesConnected) Sets whether the maximum number of remotes have been reachedvoid
setVideoControlSupported
(boolean isVideoControlSupported) Sets whether video control is supportedvoid
writeToParcel
(android.os.Parcel out, int flags)
-
Field Details
-
KEY_DEFAULT_CONTROLDEVICEAVAILABILITIESKEY
Default IPC key- See Also:
-
CREATOR
public static final android.os.Parcelable.Creator<AntPlusBaseRemoteControlPcc.ControlDeviceCapabilities> CREATOR
-
-
Constructor Details
-
ControlDeviceCapabilities
public ControlDeviceCapabilities()Default Constructor for ControlDeviceAvailabilities. Sets all fiels to false -
ControlDeviceCapabilities
public ControlDeviceCapabilities(boolean isMaximumNumberRemotesConnected, boolean isAudioControlSupported, boolean isGenericControlSupported, boolean isVideoControlSupported, boolean isBurstCommandSupported) Constructor for ControlDeviceAvailabilities- Parameters:
isMaximumNumberRemotesConnected
- Indicates if the controllable device is connected to its maximum number of remotes.isAudioControlSupported
- Indicates if the controllable device is capable of audio control.isGenericControlSupported
- Indicates if the controllable device is capable of generic control.isVideoControlSupported
- Indicates if the controllable device is capable of video control.isBurstCommandSupported
- Indicates if the controllable device is capable of receiving burst commands.
-
ControlDeviceCapabilities
public ControlDeviceCapabilities(android.os.Parcel in)
-
-
Method Details
-
writeToParcel
public void writeToParcel(android.os.Parcel out, int flags) - Specified by:
writeToParcel
in interfaceandroid.os.Parcelable
-
describeContents
public int describeContents()- Specified by:
describeContents
in interfaceandroid.os.Parcelable
-
getMaximumNumberRemotesConnected
public boolean getMaximumNumberRemotesConnected()Returns whether the maximum number of remotes have been reached -
getAudioControlSupported
public boolean getAudioControlSupported()Returns whether audio control is supported -
getGenericControlSupported
public boolean getGenericControlSupported()Returns whether generic control is supported -
getVideoControlSupported
public boolean getVideoControlSupported()Returns whether video control is supported -
getBurstCommandSupported
public boolean getBurstCommandSupported()Returns whether burst commands are supported -
setMaximumNumberRemotesConnected
public void setMaximumNumberRemotesConnected(boolean isMaximumNumberRemotesConnected) Sets whether the maximum number of remotes have been reached -
setAudioControlSupported
public void setAudioControlSupported(boolean isAudioControlSupported) Sets whether audio control is supported -
setGenericControlSupported
public void setGenericControlSupported(boolean isGenericControlSupported) Sets whether generic control is supported -
setVideoControlSupported
public void setVideoControlSupported(boolean isVideoControlSupported) Sets whether video control is supported -
setBurstCommandSupported
public void setBurstCommandSupported(boolean isBurstCommandSupported) Sets whether burst commands are supported
-