Class AccountsResource.CustomAppsResource
The "customApps" collection of methods.
Inherited Members
Namespace: Google.Apis.Playcustomapp.v1
Assembly: Google.Apis.Playcustomapp.v1.dll
Syntax
public class AccountsResource.CustomAppsResource
Constructors
CustomAppsResource(IClientService)
Constructs a new resource.
Declaration
public CustomAppsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(CustomApp, long)
Creates a new custom app.
Declaration
public virtual AccountsResource.CustomAppsResource.CreateRequest Create(CustomApp body, long account)
Parameters
Type | Name | Description |
---|---|---|
CustomApp | body | The body of the request. |
long | account | Developer account ID. |
Returns
Type | Description |
---|---|
AccountsResource.CustomAppsResource.CreateRequest |
Create(CustomApp, long, Stream, string)
Creates a new custom app.
Declaration
public virtual AccountsResource.CustomAppsResource.CreateMediaUpload Create(CustomApp body, long account, Stream stream, string contentType)
Parameters
Type | Name | Description |
---|---|---|
CustomApp | body | The body of the request. |
long | account | Developer account ID. |
Stream | stream | The stream to upload. See remarks for further information. |
string | contentType | The content type of the stream to upload. |
Returns
Type | Description |
---|---|
AccountsResource.CustomAppsResource.CreateMediaUpload |
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