public class ModInterfaceDelegation extends Object implements Parcelable
The ModInterfaceDelegation class should primarily be used by application when retrieving the Interface delegation for a Raw channel.
List<ModInterfaceDelegation> rds = mManager.getModInterfaceDelegationsByProtocol(devices.get(0), ModProtocol.Protocol.Raw);
Parcelable.ClassLoaderCreator, Parcelable.Creator
Modifier and Type | Field and Description |
---|---|
static Parcelable.Creator |
CREATOR |
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
boolean |
equals(Object other) |
String |
getDevPath()
Return the device path of this device node.
|
ModDevice.Interface |
getInterface()
Return the greybus interface which this device is associated with
|
ModProtocol.Protocol |
getProtocol()
Return the greybus protocol which this device is using
|
void |
writeToParcel(Parcel out,
int flags) |
public static final Parcelable.Creator CREATOR
public String getDevPath()
public ModProtocol.Protocol getProtocol()
public ModDevice.Interface getInterface()
public int describeContents()
describeContents
in interface Parcelable
public void writeToParcel(Parcel out, int flags)
writeToParcel
in interface Parcelable
(c) 2016 Motorola Mobility LLC. All Rights Reserved
MOTOROLA and the Stylized M Logo are registered trademarks of Motorola Trademark Holdings, LLC
Android, Google, Google Play, Nexus and other marks are trademarks of Google Inc.