FileDocCategorySizeDatePackage
RemoteDisplayState.javaAPI DocAndroid 5.1 API6169Thu Mar 12 22:22:30 GMT 2015android.media

RemoteDisplayState

public final class RemoteDisplayState extends Object implements android.os.Parcelable
Information available from IRemoteDisplayProvider about available remote displays. Clients must not modify the contents of this object.
hide

Fields Summary
public static final String
SERVICE_INTERFACE
public static final int
DISCOVERY_MODE_NONE
public static final int
DISCOVERY_MODE_PASSIVE
public static final int
DISCOVERY_MODE_ACTIVE
public final ArrayList
displays
A list of all remote displays.
public static final Parcelable.Creator
CREATOR
Constructors Summary
public RemoteDisplayState()


      
        displays = new ArrayList<RemoteDisplayInfo>();
    
RemoteDisplayState(android.os.Parcel src)

        displays = src.createTypedArrayList(RemoteDisplayInfo.CREATOR);
    
Methods Summary
public intdescribeContents()

        return 0;
    
public booleanisValid()

        if (displays == null) {
            return false;
        }
        final int count = displays.size();
        for (int i = 0; i < count; i++) {
            if (!displays.get(i).isValid()) {
                return false;
            }
        }
        return true;
    
public voidwriteToParcel(android.os.Parcel dest, int flags)

        dest.writeTypedList(displays);