1<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 Android 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="#close">close()</a></code></p> 79<p class="firstline">Close httplib2 connections.</p> 80<p class="toc_element"> 81 <code><a href="#create">create(packageName, versionCode, body=None, x__xgafv=None)</a></code></p> 82<p class="firstline">Creates an APK which is suitable for inclusion in a system image from an already uploaded Android App Bundle.</p> 83<p class="toc_element"> 84 <code><a href="#download">download(packageName, versionCode, variantId, x__xgafv=None)</a></code></p> 85<p class="firstline">Downloads a previously created system APK which is suitable for inclusion in a system image.</p> 86<p class="toc_element"> 87 <code><a href="#download_media">download_media(packageName, versionCode, variantId, x__xgafv=None)</a></code></p> 88<p class="firstline">Downloads a previously created system APK which is suitable for inclusion in a system image.</p> 89<p class="toc_element"> 90 <code><a href="#get">get(packageName, versionCode, variantId, x__xgafv=None)</a></code></p> 91<p class="firstline">Returns a previously created system APK variant.</p> 92<p class="toc_element"> 93 <code><a href="#list">list(packageName, versionCode, x__xgafv=None)</a></code></p> 94<p class="firstline">Returns the list of previously created system APK variants.</p> 95<h3>Method Details</h3> 96<div class="method"> 97 <code class="details" id="close">close()</code> 98 <pre>Close httplib2 connections.</pre> 99</div> 100 101<div class="method"> 102 <code class="details" id="create">create(packageName, versionCode, body=None, x__xgafv=None)</code> 103 <pre>Creates an APK which is suitable for inclusion in a system image from an already uploaded Android App Bundle. 104 105Args: 106 packageName: string, Package name of the app. (required) 107 versionCode: string, The version code of the App Bundle. (required) 108 body: object, The request body. 109 The object takes the form of: 110 111{ # APK that is suitable for inclusion in a system image. The resource of SystemApksService. 112 "deviceSpec": { # The device spec used to generate a system APK. # The device spec used to generate the APK. 113 "screenDensity": 42, # Screen dpi. 114 "supportedAbis": [ # Supported ABI architectures in the order of preference. The values should be the string as reported by the platform, e.g. "armeabi-v7a", "x86_64". 115 "A String", 116 ], 117 "supportedLocales": [ # All installed locales represented as BCP-47 strings, e.g. "en-US". 118 "A String", 119 ], 120 }, 121 "variantId": 42, # Output only. The ID of a previously created system APK variant. 122} 123 124 x__xgafv: string, V1 error format. 125 Allowed values 126 1 - v1 error format 127 2 - v2 error format 128 129Returns: 130 An object of the form: 131 132 { # APK that is suitable for inclusion in a system image. The resource of SystemApksService. 133 "deviceSpec": { # The device spec used to generate a system APK. # The device spec used to generate the APK. 134 "screenDensity": 42, # Screen dpi. 135 "supportedAbis": [ # Supported ABI architectures in the order of preference. The values should be the string as reported by the platform, e.g. "armeabi-v7a", "x86_64". 136 "A String", 137 ], 138 "supportedLocales": [ # All installed locales represented as BCP-47 strings, e.g. "en-US". 139 "A String", 140 ], 141 }, 142 "variantId": 42, # Output only. The ID of a previously created system APK variant. 143}</pre> 144</div> 145 146<div class="method"> 147 <code class="details" id="download">download(packageName, versionCode, variantId, x__xgafv=None)</code> 148 <pre>Downloads a previously created system APK which is suitable for inclusion in a system image. 149 150Args: 151 packageName: string, Package name of the app. (required) 152 versionCode: string, The version code of the App Bundle. (required) 153 variantId: integer, The ID of a previously created system APK variant. (required) 154 x__xgafv: string, V1 error format. 155 Allowed values 156 1 - v1 error format 157 2 - v2 error format 158</pre> 159</div> 160 161<div class="method"> 162 <code class="details" id="download_media">download_media(packageName, versionCode, variantId, x__xgafv=None)</code> 163 <pre>Downloads a previously created system APK which is suitable for inclusion in a system image. 164 165Args: 166 packageName: string, Package name of the app. (required) 167 versionCode: string, The version code of the App Bundle. (required) 168 variantId: integer, The ID of a previously created system APK variant. (required) 169 x__xgafv: string, V1 error format. 170 Allowed values 171 1 - v1 error format 172 2 - v2 error format 173</pre> 174</div> 175 176<div class="method"> 177 <code class="details" id="get">get(packageName, versionCode, variantId, x__xgafv=None)</code> 178 <pre>Returns a previously created system APK variant. 179 180Args: 181 packageName: string, Package name of the app. (required) 182 versionCode: string, The version code of the App Bundle. (required) 183 variantId: integer, The ID of a previously created system APK variant. (required) 184 x__xgafv: string, V1 error format. 185 Allowed values 186 1 - v1 error format 187 2 - v2 error format 188 189Returns: 190 An object of the form: 191 192 { # APK that is suitable for inclusion in a system image. The resource of SystemApksService. 193 "deviceSpec": { # The device spec used to generate a system APK. # The device spec used to generate the APK. 194 "screenDensity": 42, # Screen dpi. 195 "supportedAbis": [ # Supported ABI architectures in the order of preference. The values should be the string as reported by the platform, e.g. "armeabi-v7a", "x86_64". 196 "A String", 197 ], 198 "supportedLocales": [ # All installed locales represented as BCP-47 strings, e.g. "en-US". 199 "A String", 200 ], 201 }, 202 "variantId": 42, # Output only. The ID of a previously created system APK variant. 203}</pre> 204</div> 205 206<div class="method"> 207 <code class="details" id="list">list(packageName, versionCode, x__xgafv=None)</code> 208 <pre>Returns the list of previously created system APK variants. 209 210Args: 211 packageName: string, Package name of the app. (required) 212 versionCode: string, The version code of the App Bundle. (required) 213 x__xgafv: string, V1 error format. 214 Allowed values 215 1 - v1 error format 216 2 - v2 error format 217 218Returns: 219 An object of the form: 220 221 { # Response to list previously created system APK variants. 222 "variants": [ # All system APK variants created. 223 { # APK that is suitable for inclusion in a system image. The resource of SystemApksService. 224 "deviceSpec": { # The device spec used to generate a system APK. # The device spec used to generate the APK. 225 "screenDensity": 42, # Screen dpi. 226 "supportedAbis": [ # Supported ABI architectures in the order of preference. The values should be the string as reported by the platform, e.g. "armeabi-v7a", "x86_64". 227 "A String", 228 ], 229 "supportedLocales": [ # All installed locales represented as BCP-47 strings, e.g. "en-US". 230 "A String", 231 ], 232 }, 233 "variantId": 42, # Output only. The ID of a previously created system APK variant. 234 }, 235 ], 236}</pre> 237</div> 238 239</body></html>