Show / Hide Table of Contents

Class InternalappsharingartifactsResource

The "internalappsharingartifacts" collection of methods.

Inheritance
System.Object
InternalappsharingartifactsResource
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.AndroidPublisher.v3
Assembly: Google.Apis.AndroidPublisher.v3.dll
Syntax
public class InternalappsharingartifactsResource

Constructors

InternalappsharingartifactsResource(IClientService)

Constructs a new resource.

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

Methods

Uploadapk(String)

Uploads an APK to internal app sharing. If you are using the Google API client libraries, please increase the timeout of the http request before calling this endpoint (a timeout of 2 minutes is recommended). See Timeouts and Errors for an example in java.

Declaration
public virtual InternalappsharingartifactsResource.UploadapkRequest Uploadapk(string packageName)
Parameters
Type Name Description
System.String packageName

Package name of the app.

Returns
Type Description
InternalappsharingartifactsResource.UploadapkRequest

Uploadapk(String, Stream, String)

Uploads an APK to internal app sharing. If you are using the Google API client libraries, please increase the timeout of the http request before calling this endpoint (a timeout of 2 minutes is recommended). See Timeouts and Errors for an example in java.

Declaration
public virtual InternalappsharingartifactsResource.UploadapkMediaUpload Uploadapk(string packageName, Stream stream, string contentType)
Parameters
Type Name Description
System.String packageName

Package name of the app.

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
InternalappsharingartifactsResource.UploadapkMediaUpload
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

Uploadbundle(String)

Uploads an app bundle to internal app sharing. If you are using the Google API client libraries, please increase the timeout of the http request before calling this endpoint (a timeout of 2 minutes is recommended). See Timeouts and Errors for an example in java.

Declaration
public virtual InternalappsharingartifactsResource.UploadbundleRequest Uploadbundle(string packageName)
Parameters
Type Name Description
System.String packageName

Package name of the app.

Returns
Type Description
InternalappsharingartifactsResource.UploadbundleRequest

Uploadbundle(String, Stream, String)

Uploads an app bundle to internal app sharing. If you are using the Google API client libraries, please increase the timeout of the http request before calling this endpoint (a timeout of 2 minutes is recommended). See Timeouts and Errors for an example in java.

Declaration
public virtual InternalappsharingartifactsResource.UploadbundleMediaUpload Uploadbundle(string packageName, Stream stream, string contentType)
Parameters
Type Name Description
System.String packageName

Package name of the app.

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
InternalappsharingartifactsResource.UploadbundleMediaUpload
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
In This Article
Back to top Generated by DocFX