Hide

ApplicationMetadata

public final class ApplicationMetadata extends Object
implements Parcelable
java.lang.Object
   ↳ com.google.android.gms.cast.ApplicationMetadata

Cast application metadata.

Contains metadata about the receiver application, supplied in Cast.ApplicationConnectionResult.

Inherited Constant Summary

Field Summary

public static final Creator<ApplicationMetadata> CREATOR

Public Method Summary

boolean
int
boolean
equals(Object obj)
String
List<WebImage>
String
String
int
boolean
String
void
writeToParcel(Parcel out, int flags)

Fields

public static final Creator<ApplicationMetadata> CREATOR

Public Methods

public boolean areNamespacesSupported (List<String> namespaces)

Tests if the application supports all of the given namespaces.

Parameters
namespaces The list of namespaces.

public int describeContents ()

public boolean equals (Object obj)

public String getApplicationId ()

Returns the application's ID.

public List<WebImage> getImages ()

Returns the list of images. If there are no images, returns an empty list.

public String getName ()

Returns the application's human-readable name.

public String getSenderAppIdentifier ()

Returns the identifier of the sender application that is the counterpart to the receiver application, if any.

public int hashCode ()

public boolean isNamespaceSupported (String namespace)

Tests if the application supports the given namespace.

Parameters
namespace The namespace.

public String toString ()

public void writeToParcel (Parcel out, int flags)