public class MirrorRegion extends java.lang.Object implements Region, android.os.Parcelable
Modifier and Type | Field and Description |
---|---|
static android.os.Parcelable.Creator<MirrorRegion> |
CREATOR |
Constructor and Description |
---|
MirrorRegion(java.lang.String identifier,
java.util.List<DeviceId> mirrorsInThisRegion)
Builds region for Mirror devices.
|
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
boolean |
equals(java.lang.Object o) |
java.util.List<DeviceId> |
getDevicesInThisRegion()
Mirror devices in this region
|
java.lang.String |
getIdentifier() |
int |
hashCode() |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
public static final android.os.Parcelable.Creator<MirrorRegion> CREATOR
public MirrorRegion(java.lang.String identifier, java.util.List<DeviceId> mirrorsInThisRegion)
identifier
- custom, unique id for this region.mirrorsInThisRegion
- list of identifiers of Mirror devices inside this region.
May be null - then every Mirror device will match this region.public java.lang.String getIdentifier()
getIdentifier
in interface Region
public java.util.List<DeviceId> getDevicesInThisRegion()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public int describeContents()
describeContents
in interface android.os.Parcelable
public void writeToParcel(android.os.Parcel dest, int flags)
writeToParcel
in interface android.os.Parcelable