Class EditsResource.DeobfuscationfilesResource
The "deobfuscationfiles" collection of methods.
Inherited Members
Namespace: Google.Apis.AndroidPublisher.v3
Assembly: Google.Apis.AndroidPublisher.v3.dll
Syntax
public class EditsResource.DeobfuscationfilesResource
Constructors
DeobfuscationfilesResource(IClientService)
Constructs a new resource.
Declaration
public DeobfuscationfilesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Upload(string, string, int, DeobfuscationFileTypeEnum, Stream, string)
Uploads a new deobfuscation file and attaches to the specified APK.
Declaration
public virtual EditsResource.DeobfuscationfilesResource.UploadMediaUpload Upload(string packageName, string editId, int apkVersionCode, EditsResource.DeobfuscationfilesResource.UploadMediaUpload.DeobfuscationFileTypeEnum deobfuscationFileType, Stream stream, string contentType)
Parameters
Type | Name | Description |
---|---|---|
string | packageName | Unique identifier for the Android app. |
string | editId | Unique identifier for this edit. |
int | apkVersionCode | The version code of the APK whose Deobfuscation File is being uploaded. |
EditsResource.DeobfuscationfilesResource.UploadMediaUpload.DeobfuscationFileTypeEnum | deobfuscationFileType | The type of the deobfuscation file. |
Stream | stream | The stream to upload. See remarks for further information. |
string | contentType | The content type of the stream to upload. |
Returns
Type | Description |
---|---|
EditsResource.DeobfuscationfilesResource.UploadMediaUpload |
Remarks
Considerations regarding stream
:
-
If
stream
is seekable, then the stream position will be reset to0
before reading commences. Ifstream
is not seekable, then it will be read from its current position -
Caller is responsible for maintaining the
stream
open until the upload is completed - Caller is responsible for closing the
stream
Upload(string, string, int, DeobfuscationFileTypeEnum)
Uploads a new deobfuscation file and attaches to the specified APK.
Declaration
public virtual EditsResource.DeobfuscationfilesResource.UploadRequest Upload(string packageName, string editId, int apkVersionCode, EditsResource.DeobfuscationfilesResource.UploadRequest.DeobfuscationFileTypeEnum deobfuscationFileType)
Parameters
Type | Name | Description |
---|---|---|
string | packageName | Unique identifier for the Android app. |
string | editId | Unique identifier for this edit. |
int | apkVersionCode | The version code of the APK whose Deobfuscation File is being uploaded. |
EditsResource.DeobfuscationfilesResource.UploadRequest.DeobfuscationFileTypeEnum | deobfuscationFileType | The type of the deobfuscation file. |
Returns
Type | Description |
---|---|
EditsResource.DeobfuscationfilesResource.UploadRequest |