Show / Hide Table of Contents

Class EditsResource.DeobfuscationfilesResource

The "deobfuscationfiles" collection of methods.

Inheritance
System.Object
EditsResource.DeobfuscationfilesResource
Namespace: Google.Apis.AndroidPublisher.v2
Assembly: Google.Apis.AndroidPublisher.v2.dll
Syntax
public class DeobfuscationfilesResource : object

Constructors

DeobfuscationfilesResource(IClientService)

Constructs a new resource.

Declaration
public DeobfuscationfilesResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Upload(String, String, Int32, EditsResource.DeobfuscationfilesResource.UploadMediaUpload.DeobfuscationFileTypeEnum, Stream, String)

Uploads the deobfuscation file of the specified APK. If a deobfuscation file already exists, it will be replaced.

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
System.String packageName

Unique identifier of the Android app for which the deobfuscatiuon files are being uploaded; for example, "com.spiffygame".

System.String editId

Unique identifier for this edit.

System.Int32 apkVersionCode

The version code of the APK whose deobfuscation file is being uploaded.

EditsResource.DeobfuscationfilesResource.UploadMediaUpload.DeobfuscationFileTypeEnum deobfuscationFileType
System.IO.Stream stream

The stream to upload. See remarks for further information.

System.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 to 0 before reading commences. If stream 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, Int32, EditsResource.DeobfuscationfilesResource.UploadRequest.DeobfuscationFileTypeEnum)

Uploads the deobfuscation file of the specified APK. If a deobfuscation file already exists, it will be replaced.

Declaration
public virtual EditsResource.DeobfuscationfilesResource.UploadRequest Upload(string packageName, string editId, int apkVersionCode, EditsResource.DeobfuscationfilesResource.UploadRequest.DeobfuscationFileTypeEnum deobfuscationFileType)
Parameters
Type Name Description
System.String packageName

Unique identifier of the Android app for which the deobfuscatiuon files are being uploaded; for example, "com.spiffygame".

System.String editId

Unique identifier for this edit.

System.Int32 apkVersionCode

The version code of the APK whose deobfuscation file is being uploaded.

EditsResource.DeobfuscationfilesResource.UploadRequest.DeobfuscationFileTypeEnum deobfuscationFileType
Returns
Type Description
EditsResource.DeobfuscationfilesResource.UploadRequest
Back to top