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 com.google.android.gms.common.internal.safeparcel.SafeParcelable
From interface android.os.Parcelable
Fields
public static final Creator<ApplicationMetadata> CREATOR
Public Methods
boolean areNamespacesSupported(List<String> namespaces)
Tests if the application supports all of the given namespaces.
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.
List<String> getSupportedNamespaces()
Returns an unmodifiable list of namespaces supported by the application.
int hashCode()
boolean isNamespaceSupported(String namespace)
Tests if the application supports the given namespace.
String toString()
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 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 List<String> getSupportedNamespaces ()

Returns an unmodifiable list of namespaces supported by the application.

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)