public final class

ApplicationMetadata

extends Object
implements SafeParcelable
java.lang.Object
   ↳ com.google.android.gms.cast.ApplicationMetadata

Class Overview

Cast application metadata.

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

Summary

[Expand]
Inherited Constants
From interface android.os.Parcelable
From interface com.google.android.gms.common.internal.safeparcel.SafeParcelable
Fields
public static final Creator<ApplicationMetadata> CREATOR
Public Methods
boolean areNamespacesSupported(List<String> namespaces)
Tests if the application supports all of the given namespaces.
int describeContents()
boolean equals(Object obj)
String getApplicationId()
Returns the application's ID.
List<WebImage> getImages()
Returns the list of images.
String getName()
Returns the application's human-readable name.
String getSenderAppIdentifier()
Returns the identifier of the sender application that is the counterpart to the receiver application, if any.
int hashCode()
boolean isNamespaceSupported(String namespace)
Tests if the application supports the given namespace.
String toString()
Returns the application's human-readable name.
void writeToParcel(Parcel out, int flags)
[Expand]
Inherited Methods
From class java.lang.Object
From interface android.os.Parcelable

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 ()

Returns the application's human-readable name.

public void writeToParcel (Parcel out, int flags)