Skip to content

Commit 609db66

Browse files
committed
Fire App Builder v1.0.7
1 parent e2d244b commit 609db66

File tree

262 files changed

+12581
-3343
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

262 files changed

+12581
-3343
lines changed

AdobepassAuthComponent/src/main/res/values-de/strings.xml

Lines changed: 9 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -14,23 +14,13 @@ express or implied. See the License for the specific language governing
1414
permissions and limitations under the License.
1515
-->
1616
<resources>
17-
<string name="title_activity_adobe_authentication">Authentifizierung</string>
18-
<string name="adobepass_login_instruction_line_1">Gehen Sie zu Ihrem Computer oder Mobilgerät
19-
</string>
20-
<string name="adobepass_login_instruction_line_3">Geben Sie den folgenden Code ein
21-
(Groß-/Kleinschreibung beachten):
22-
</string>
23-
<string name="adobepass_login_instruction_line_4">Wird geladen…</string>
24-
<string name="btn_submit">SENDEN</string>
25-
<string name="btn_get_new_code">NEUEN CODE ANFORDERN</string>
26-
<string name="adobe_pass_error_authentication_message">Bei der Authentifizierung des Kontos ist
27-
ein Fehler aufgetreten. Bitte versuchen Sie es später erneut.
28-
</string>
29-
<string name="adobe_pass_error_registration_message">Bei der Authentifizierung des Kontos ist
30-
ein Fehler aufgetreten. Bitte versuchen Sie es später erneut.
31-
</string>
32-
<string name="adobe_pass_no_authorization_message">Dieses Video ist nicht in Ihrem Abonnement
33-
enthalten. Bitte kontaktieren Sie Ihren Anbieter, um ein Upgrade für Ihr Abonnement zu
34-
erhalten.
35-
</string>
17+
<string name="title_activity_adobe_authentication">Authentifizierung</string>
18+
<string name="adobepass_login_instruction_line_1">Gehen Sie zu Ihrem Computer oder Mobilgerät</string>
19+
<string name="adobepass_login_instruction_line_3">Geben Sie den folgenden Code ein (Groß-/Kleinschreibung beachten):</string>
20+
<string name="adobepass_login_instruction_line_4">Wird geladen…</string>
21+
<string name="btn_submit">SENDEN</string>
22+
<string name="btn_get_new_code">NEUEN CODE ANFORDERN</string>
23+
<string name="adobe_pass_error_authentication_message">Bei der Authentifizierung des Kontos ist ein Fehler aufgetreten. Bitte versuchen Sie es später erneut.</string>
24+
<string name="adobe_pass_error_registration_message">Bei der Authentifizierung des Kontos ist ein Fehler aufgetreten. Bitte versuchen Sie es später erneut.</string>
25+
<string name="adobe_pass_no_authorization_message">Dieses Video ist nicht in Ihrem Abonnement enthalten. Bitte kontaktieren Sie Ihren Dienstanbieter, um Ihr Abonnement zu ändern.</string>
3626
</resources>

AdobepassAuthComponent/src/main/res/values-en/strings.xml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,20 @@ express or implied. See the License for the specific language governing
1414
permissions and limitations under the License.
1515
-->
1616
<resources>
17-
<string name="title_activity_adobe_authentication">Authentication</string>
18-
<string name="adobepass_login_instruction_line_1">Go to your computer or mobile device</string>
19-
<string name="adobepass_login_instruction_line_3">Enter the following case-sensitive code:
17+
<string name="title_activity_adobe_authentication">Authentication</string>
18+
<string name="adobepass_login_instruction_line_1">Go to your computer or mobile device</string>
19+
<string name="adobepass_login_instruction_line_3">Enter the following case-sensitive code:
2020
</string>
21-
<string name="adobepass_login_instruction_line_4">Loading…</string>
22-
<string name="btn_submit">SUBMIT</string>
23-
<string name="btn_get_new_code">GET NEW CODE</string>
24-
<string name="adobe_pass_error_authentication_message">There was an error authenticating the
21+
<string name="adobepass_login_instruction_line_4">Loading…</string>
22+
<string name="btn_submit">SUBMIT</string>
23+
<string name="btn_get_new_code">GET NEW CODE</string>
24+
<string name="adobe_pass_error_authentication_message">There was an error authenticating the
2525
account. Please try again later.
2626
</string>
27-
<string name="adobe_pass_error_registration_message">There was an error authenticating the
27+
<string name="adobe_pass_error_registration_message">There was an error authenticating the
2828
account. Please try again later.
2929
</string>
30-
<string name="adobe_pass_no_authorization_message">Your subscription package does not include
31-
this video. Please contact your provider in order to upgrade your subscription.
30+
<string name="adobe_pass_no_authorization_message">Your subscription package does not include
31+
this video. Please contact your cable provider in order to upgrade your subscription.
3232
</string>
3333
</resources>
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<?xml version='1.0' encoding='utf-8'?>
2+
<!--
3+
Copyright 2015-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
4+
5+
Licensed under the Apache License, Version 2.0 (the "License");
6+
you may not use this file except in compliance with the License.
7+
A copy of the License is located at
8+
9+
http://aws.amazon.com/apache2.0/
10+
11+
or in the "license" file accompanying this file. This file is distributed
12+
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13+
express or implied. See the License for the specific language governing
14+
permissions and limitations under the License.
15+
-->
16+
<resources>
17+
<string name="title_activity_adobe_authentication">Autenticación</string>
18+
<string name="adobepass_login_instruction_line_1">Accede a tu equipo o dispositivo móvil</string>
19+
<string name="adobepass_login_instruction_line_3">Introduce el siguiente código (distingue entre mayúsculas y minúsculas):</string>
20+
<string name="adobepass_login_instruction_line_4">Cargando…</string>
21+
<string name="btn_submit">ENVIAR</string>
22+
<string name="btn_get_new_code">OBTENER UN CÓDIGO NUEVO</string>
23+
<string name="adobe_pass_error_authentication_message">Se ha producido un error al autenticar la cuenta. Vuelve a intentarlo más tarde.</string>
24+
<string name="adobe_pass_error_registration_message">Se ha producido un error al autenticar la cuenta. Vuelve a intentarlo más tarde.</string>
25+
<string name="adobe_pass_no_authorization_message">Tu suscripción no incluye este vídeo. Ponte en contacto con el proveedor del servicio para actualizar la suscripción.</string>
26+
</resources>
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
<?xml version='1.0' encoding='utf-8'?>
2+
<!--
3+
Copyright 2015-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
4+
5+
Licensed under the Apache License, Version 2.0 (the "License");
6+
you may not use this file except in compliance with the License.
7+
A copy of the License is located at
8+
9+
http://aws.amazon.com/apache2.0/
10+
11+
or in the "license" file accompanying this file. This file is distributed
12+
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13+
express or implied. See the License for the specific language governing
14+
permissions and limitations under the License.
15+
-->
16+
<resources>
17+
<string name="title_activity_adobe_authentication">Authentification</string>
18+
<string name="adobepass_login_instruction_line_1">Allez sur votre ordinateur ou appareil mobile</string>
19+
<string name="adobepass_login_instruction_line_3">Saisissez le code sensible aux majuscules suivant&#160;:
20+
</string>
21+
<string name="adobepass_login_instruction_line_4">Chargement…</string>
22+
<string name="btn_submit">ENVOYER</string>
23+
<string name="btn_get_new_code">OBTENIR UN NOUVEAU CODE</string>
24+
<string name="adobe_pass_error_authentication_message">Une erreur s\'est produite lors de l\'authentification du
25+
compte. Veuillez réessayer ultérieurement.
26+
</string>
27+
<string name="adobe_pass_error_registration_message">Une erreur s\'est produite lors de l\'authentification du
28+
compte. Veuillez réessayer ultérieurement.
29+
</string>
30+
<string name="adobe_pass_no_authorization_message">Votre abonnement n\'inclut pas
31+
cette vidéo. Veuillez contacter votre opérateur TV pour mettre à niveau votre abonnement.
32+
</string>
33+
</resources>
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
<?xml version='1.0' encoding='utf-8'?>
2+
<!--
3+
Copyright 2015-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
4+
5+
Licensed under the Apache License, Version 2.0 (the "License");
6+
you may not use this file except in compliance with the License.
7+
A copy of the License is located at
8+
9+
http://aws.amazon.com/apache2.0/
10+
11+
or in the "license" file accompanying this file. This file is distributed
12+
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13+
express or implied. See the License for the specific language governing
14+
permissions and limitations under the License.
15+
-->
16+
<resources>
17+
<string name="title_activity_adobe_authentication">Autenticazione</string>
18+
<string name="adobepass_login_instruction_line_1">Accedi al computer o dispositivo mobile</string>
19+
<string name="adobepass_login_instruction_line_3">Inserisci il codice seguente (distingue maiuscole/minuscole):
20+
</string>
21+
<string name="adobepass_login_instruction_line_4">Caricamento…</string>
22+
<string name="btn_submit">INVIA</string>
23+
<string name="btn_get_new_code">OTTIENI NUOVO CODICE</string>
24+
<string name="adobe_pass_error_authentication_message">Si è verificato un errore durante l\'autenticazione
25+
dell\'account. Riprova più tardi.
26+
</string>
27+
<string name="adobe_pass_error_registration_message">Si è verificato un errore durante l\'autenticazione
28+
dell\'account. Riprova più tardi.
29+
</string>
30+
<string name="adobe_pass_no_authorization_message">Il tuo pacchetto d\'iscrizione non include
31+
questo video. Contatta il gestore del tuo servizio TV per migliorare la tua iscrizione.
32+
</string>
33+
</resources>

AdobepassAuthComponent/src/main/res/values-ja/strings.xml

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,13 @@ express or implied. See the License for the specific language governing
1414
permissions and limitations under the License.
1515
-->
1616
<resources>
17-
<string name="title_activity_adobe_authentication">認証</string>
18-
<string name="adobepass_login_instruction_line_1">コンピューターまたはモバイル端末を使用します。</string>
19-
<string name="adobepass_login_instruction_line_3">以下のコード(大文字小文字を区別)を入力します。</string>
20-
<string name="adobepass_login_instruction_line_4">読み込み中…</string>
21-
<string name="btn_submit">送信</string>
22-
<string name="btn_get_new_code">新しいコードを取得</string>
23-
<string name="adobe_pass_error_authentication_message">アカウントの認証中にエラーが発生しました。後でもう一度お試しください。
24-
</string>
25-
<string name="adobe_pass_error_registration_message">アカウントの認証中にエラーが発生しました。後でもう一度お試しください。
26-
</string>
27-
<string name="adobe_pass_no_authorization_message">
28-
このビデオはご契約中のサービスに含まれていません。ケーブルのサービスプランをアップグレードするには、ケーブルプロバイダーにご連絡ください。
29-
</string>
17+
<string name="title_activity_adobe_authentication">認証</string>
18+
<string name="adobepass_login_instruction_line_1">コンピューターまたはモバイル端末を使用します。</string>
19+
<string name="adobepass_login_instruction_line_3">以下のコード(大文字小文字を区別)を入力してください。</string>
20+
<string name="adobepass_login_instruction_line_4">読み込み中…</string>
21+
<string name="btn_submit">送信</string>
22+
<string name="btn_get_new_code">新しいコードを取得</string>
23+
<string name="adobe_pass_error_authentication_message">アカウントの認証中にエラーが発生しました。後でもう一度お試しください。</string>
24+
<string name="adobe_pass_error_registration_message">アカウントの認証中にエラーが発生しました。後でもう一度お試しください。</string>
25+
<string name="adobe_pass_no_authorization_message">このビデオは、ご契約中のパッケージでは視聴できません。視聴するには、ケーブルプロバイダーに連絡してパッケージをアップグレードしてください。</string>
3026
</resources>
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<?xml version='1.0' encoding='utf-8'?>
2+
<!--
3+
Copyright 2015-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
4+
5+
Licensed under the Apache License, Version 2.0 (the "License");
6+
you may not use this file except in compliance with the License.
7+
A copy of the License is located at
8+
9+
http://aws.amazon.com/apache2.0/
10+
11+
or in the "license" file accompanying this file. This file is distributed
12+
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13+
express or implied. See the License for the specific language governing
14+
permissions and limitations under the License.
15+
-->
16+
<resources>
17+
<string name="title_activity_adobe_authentication">Autenticação</string>
18+
<string name="adobepass_login_instruction_line_1">Ir para seu computador ou dispositivo móvel</string>
19+
<string name="adobepass_login_instruction_line_3">Digite o seguinte código que diferencia entre maiúsculas e minúsculas:
20+
</string>
21+
<string name="adobepass_login_instruction_line_4">Carregando…</string>
22+
<string name="btn_submit">ENVIAR</string>
23+
<string name="btn_get_new_code">OBTER NOVO CÓDIGO</string>
24+
<string name="adobe_pass_error_authentication_message">Ocorreu um erro com a autenticação da
25+
conta. Tente novamente mais tarde.
26+
</string>
27+
<string name="adobe_pass_error_registration_message">Ocorreu um erro com a autenticação da
28+
conta. Tente novamente mais tarde.
29+
30+
</string>
31+
<string name="adobe_pass_no_authorization_message">O pacote de inscrição não inclui
32+
este vídeo. Entre em contato com o seu provedor de TV a cabo para atualizar sua inscrição.
33+
</string>
34+
</resources>

AdsInterface/src/main/java/com/amazon/ads/IAds.java

Lines changed: 33 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,16 @@ public interface IAds {
6969
*/
7070
String CORRELATOR_PARAMETER = "correlator";
7171

72+
/**
73+
* Constant for getting the videos extras bundle from the ad implementation's extras bundle.
74+
*/
75+
String VIDEO_EXTRAS = "video";
76+
77+
/**
78+
* Constant for getting the video duration long out of the video extras bundle.
79+
*/
80+
String VIDEO_DURATION = "duration";
81+
7282
/**
7383
* Major version number.
7484
*/
@@ -89,9 +99,9 @@ public interface IAds {
8999
void init(Context context, FrameLayout frameLayout, Bundle extras);
90100

91101
/**
92-
* Method to show Pre Roll Ads.
102+
* Method to show Ads.
93103
*/
94-
void showPreRollAd();
104+
void showAds();
95105

96106
/**
97107
* Interface for Ads events.
@@ -141,7 +151,8 @@ enum ActivityState {
141151
START,
142152
RESUME,
143153
PAUSE,
144-
STOP
154+
STOP,
155+
DESTROY
145156
}
146157

147158
/**
@@ -180,4 +191,23 @@ enum PlayerState {
180191
* @return Bundle for extra data.
181192
*/
182193
Bundle getExtra();
194+
195+
/**
196+
* Gets the total number of segments in ad.
197+
* Indicates the total number of segments of the content media, which is equal to the number of
198+
* mid-roll ad pods + 1. Value is 1 if there are no mid-roll ad pods for the content media.
199+
*
200+
* @return int number of total segments.
201+
*/
202+
int getNumberOfSegments();
203+
204+
/**
205+
* Get the current segment number of the content based on the mid roll ads list.
206+
*
207+
* @param position playback location of current Content.
208+
* @param duration total duration of the current Content.
209+
* @return the current segment of the content media. Start with value 1 and calculated based on
210+
* mid roll ads.
211+
*/
212+
int getCurrentContentSegmentNumber(long position, long duration);
183213
}

AmazonInAppPurchaseComponent/src/main/res/values-de/strings.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,4 @@ on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
1313
express or implied. See the License for the specific language governing
1414
permissions and limitations under the License.
1515
-->
16-
<resources>
17-
</resources>
16+
<resources/>

AmazonInAppPurchaseComponent/src/main/res/values-en/strings.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,4 @@ on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
1313
express or implied. See the License for the specific language governing
1414
permissions and limitations under the License.
1515
-->
16-
<resources>
17-
</resources>
16+
<resources/>

0 commit comments

Comments
 (0)