blob: 3552b5edfcb1121ba3d684206b05309fde2bfe89 [file] [log] [blame]
Bu Sun Kim65020912020-05-20 12:08:20 -07001<html><body>
2<style>
3
4body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13}
14
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51}
52
53.toc_element {
54 margin-top: 0.5em;
55}
56
57.firstline {
58 margin-left: 2 em;
59}
60
61.method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66}
67
68.details {
69 font-weight: bold;
70 font-size: 14px;
71}
72
73</style>
74
75<h1><a href="androidpublisher_v3.html">Google Play Developer API</a> . <a href="androidpublisher_v3.systemapks.html">systemapks</a> . <a href="androidpublisher_v3.systemapks.variants.html">variants</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78 <code><a href="#create">create(packageName, versionCode, body=None)</a></code></p>
79<p class="firstline">Creates a new variant of APK which is suitable for inclusion in a system image.</p>
80<p class="toc_element">
81 <code><a href="#download">download(packageName, versionCode, variantId)</a></code></p>
82<p class="firstline">Download a previously created APK which is suitable for inclusion in a system image.</p>
83<p class="toc_element">
84 <code><a href="#download_media">download_media(packageName, versionCode, variantId)</a></code></p>
85<p class="firstline">Download a previously created APK which is suitable for inclusion in a system image.</p>
86<p class="toc_element">
87 <code><a href="#get">get(packageName, versionCode, variantId)</a></code></p>
88<p class="firstline">Returns a previously created system APK variant.</p>
89<p class="toc_element">
90 <code><a href="#list">list(packageName, versionCode)</a></code></p>
91<p class="firstline">Returns the list of previously created system APK variants.</p>
92<h3>Method Details</h3>
93<div class="method">
94 <code class="details" id="create">create(packageName, versionCode, body=None)</code>
95 <pre>Creates a new variant of APK which is suitable for inclusion in a system image.
96
97Args:
98 packageName: string, Unique identifier for the Android app; for example, &quot;com.spiffygame&quot;. (required)
99 versionCode: string, The version code of the App Bundle. (required)
100 body: object, The request body.
101 The object takes the form of:
102
103{
104 &quot;deviceSpec&quot;: {
105 &quot;screenDensity&quot;: 42,
106 &quot;supportedAbis&quot;: [
107 &quot;A String&quot;,
108 ],
109 &quot;supportedLocales&quot;: [
110 &quot;A String&quot;,
111 ],
112 },
113 }
114
115
116Returns:
117 An object of the form:
118
119 { # Represents the variant of a generated system APK from an uploaded App Bundle.
120 &quot;deviceSpec&quot;: {
121 &quot;screenDensity&quot;: 42,
122 &quot;supportedAbis&quot;: [
123 &quot;A String&quot;,
124 ],
125 &quot;supportedLocales&quot;: [
126 &quot;A String&quot;,
127 ],
128 },
129 &quot;variantId&quot;: 42,
130 }</pre>
131</div>
132
133<div class="method">
134 <code class="details" id="download">download(packageName, versionCode, variantId)</code>
135 <pre>Download a previously created APK which is suitable for inclusion in a system image.
136
137Args:
138 packageName: string, Unique identifier for the Android app; for example, &quot;com.spiffygame&quot;. (required)
139 versionCode: string, The version code of the App Bundle. (required)
140 variantId: integer, A parameter (required)
141</pre>
142</div>
143
144<div class="method">
145 <code class="details" id="download_media">download_media(packageName, versionCode, variantId)</code>
146 <pre>Download a previously created APK which is suitable for inclusion in a system image.
147
148Args:
149 packageName: string, Unique identifier for the Android app; for example, &quot;com.spiffygame&quot;. (required)
150 versionCode: string, The version code of the App Bundle. (required)
151 variantId: integer, A parameter (required)
152</pre>
153</div>
154
155<div class="method">
156 <code class="details" id="get">get(packageName, versionCode, variantId)</code>
157 <pre>Returns a previously created system APK variant.
158
159Args:
160 packageName: string, Unique identifier for the Android app; for example, &quot;com.spiffygame&quot;. (required)
161 versionCode: string, The version code of the App Bundle. (required)
162 variantId: integer, Unique identifier for this variant. (required)
163
164Returns:
165 An object of the form:
166
167 { # Represents the variant of a generated system APK from an uploaded App Bundle.
168 &quot;deviceSpec&quot;: {
169 &quot;screenDensity&quot;: 42,
170 &quot;supportedAbis&quot;: [
171 &quot;A String&quot;,
172 ],
173 &quot;supportedLocales&quot;: [
174 &quot;A String&quot;,
175 ],
176 },
177 &quot;variantId&quot;: 42,
178 }</pre>
179</div>
180
181<div class="method">
182 <code class="details" id="list">list(packageName, versionCode)</code>
183 <pre>Returns the list of previously created system APK variants.
184
185Args:
186 packageName: string, Unique identifier for the Android app; for example, &quot;com.spiffygame&quot;. (required)
187 versionCode: string, The version code of the App Bundle. (required)
188
189Returns:
190 An object of the form:
191
192 {
193 &quot;variants&quot;: [
194 { # Represents the variant of a generated system APK from an uploaded App Bundle.
195 &quot;deviceSpec&quot;: {
196 &quot;screenDensity&quot;: 42,
197 &quot;supportedAbis&quot;: [
198 &quot;A String&quot;,
199 ],
200 &quot;supportedLocales&quot;: [
201 &quot;A String&quot;,
202 ],
203 },
204 &quot;variantId&quot;: 42,
205 },
206 ],
207 }</pre>
208</div>
209
210</body></html>