Classe GCKAdBreakClipVastAdsRequest
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Eredita GCKVASTAdsRequest.
|
NSURL * | adTagUrl |
| Un URL per il file VAST. Altro...
|
|
NSString * | adsResponse |
| Una stringa che specifica un documento VAST da utilizzare come risposta agli annunci anziché effettuare una richiesta tramite l'URL di un tag annuncio. Altro...
|
|
- (nullable instancetype) initWithAdTagURL: |
|
(nullable NSURL *) |
adTagURL |
adsResponse: |
|
(nullable NSString *) |
adsResponse |
|
|
| |
Inizializza un oggetto GCKVASTAdsRequest.
Richiede un adTagURL o un adsResponse.
- Parameters
-
adTagURL | The ad tag URL for the request. |
adsResponse | The ads response for the request. If this is non-nil, adTagURL will be ignored by the receiver. |
- Dal
- 4.3.4
|
readnonatomicassigninherited |
Un URL per il file VAST.
- Dal
- 4,1
- (NSString*) adsResponse |
|
readnonatomicassigninherited |
Una stringa che specifica un documento VAST da utilizzare come risposta agli annunci anziché effettuare una richiesta tramite l'URL di un tag annuncio.
Questo può essere utile per il debug e altre situazioni in cui è già disponibile una risposta VAST. Se adsResponse non è null, l'URL adTagURL verrà ignorato dal destinatario.
- Dal
- 4,1
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2023-12-02 UTC.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Mancano le informazioni di cui ho bisogno","missingTheInformationINeed","thumb-down"],["Troppo complicato/troppi passaggi","tooComplicatedTooManySteps","thumb-down"],["Obsoleti","outOfDate","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Problema relativo a esempi/codice","samplesCodeIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2023-12-02 UTC."],[[["The `GCKAdBreakClipVastAdsRequest` class handles VAST ad requests for ad break clips within Google Cast."],["It inherits from `GCKVASTAdsRequest` and can be initialized with either an ad tag URL or a pre-fetched VAST response."],["The `adTagUrl` property stores the URL for fetching the VAST file, while `adsResponse` can hold a pre-fetched VAST response."],["If `adsResponse` is provided during initialization, `adTagUrl` is ignored."]]],["The `GCKAdBreakClipVastAdsRequest` class, inheriting from `GCKVASTAdsRequest`, manages VAST ad requests for ad break clips. It can be initialized using an ad tag URL or a VAST ad response string. Key properties include `adTagUrl`, a URL for the VAST file, and `adsResponse`, a string containing a VAST document. When both properties are given, `adsResponse` takes priority and it's considered the main source of the ads.\n"]]