GCKApplicationMetadata.h
1 // Copyright 2013 Google Inc.
2 
3 #import <GoogleCast/GCKDefines.h>
4 
5 #import <Foundation/Foundation.h>
6 
7 @class GCKImage;
9 
10 GCK_ASSUME_NONNULL_BEGIN
11 
15 GCK_EXPORT
16 @interface GCKApplicationMetadata : NSObject <NSCopying>
17 
19 @property(nonatomic, copy, readonly) NSString *applicationID;
20 
22 @property(nonatomic, copy, readonly) NSString *applicationName;
23 
25 @property(nonatomic, copy, readonly, GCK_NULLABLE) NSArray<GCKImage *> *images;
26 
28 @property(nonatomic, copy, readonly, GCK_NULLABLE) NSArray<NSString *> *namespaces;
29 
34 @property(nonatomic, copy, readonly, GCK_NULLABLE) GCKSenderApplicationInfo *senderApplicationInfo;
35 
40 - (NSString * GCK_NULLABLE_TYPE)senderAppIdentifier;
41 
46 - (NSURL * GCK_NULLABLE_TYPE)senderAppLaunchURL;
47 
48 @end
49 
50 GCK_ASSUME_NONNULL_END
NSString * applicationName
The application&#39;s name, in a format that is appropriate for display.
Definition: GCKApplicationMetadata.h:22
NSString * applicationID
The application&#39;s unique ID.
Definition: GCKApplicationMetadata.h:19
NSURL *GCK_NULLABLE_TYPE senderAppLaunchURL()
The launch URL (URL scheme) for the sender application that is the counterpart to the receiver applic...
GCKSenderApplicationInfo * senderApplicationInfo
Information about the sender application that is the counterpart to the receiver application, if any.
Definition: GCKApplicationMetadata.h:34
A class that represents an image that is located on a web server.
Definition: GCKImage.h:14
Information about a receiver application.
Definition: GCKApplicationMetadata.h:16
NSArray< NSString * > * namespaces
The set of protocol namespaces supported by this application.
Definition: GCKApplicationMetadata.h:28
Information about a sender application.
Definition: GCKSenderApplicationInfo.h:32
NSString *GCK_NULLABLE_TYPE senderAppIdentifier()
The identifier (app ID) of the sender application that is the counterpart to the receiver application...
NSArray< GCKImage * > * images
Any icon images for the application, as an array of GCKImage objects.
Definition: GCKApplicationMetadata.h:25