download

package
v0.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 29, 2026 License: CC0-1.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ManagerClient added in v0.0.6

type ManagerClient struct {
	// contains filtered or unexported fields
}

ManagerClient wraps the gRPC ManagerService client.

func NewManagerClient added in v0.0.6

func NewManagerClient(cc grpc.ClientConnInterface) *ManagerClient

NewManagerClient creates a new Manager client.

func (*ManagerClient) AddCompletedDownload7 added in v0.0.6

func (c *ManagerClient) AddCompletedDownload7(ctx context.Context, arg0 string, arg1 string, arg2 bool, arg3 string, arg4 string, arg5 int64, arg6 bool) (int64, error)

AddCompletedDownload7 calls the AddCompletedDownload7 RPC.

func (*ManagerClient) AddCompletedDownload9_1 added in v0.0.6

func (c *ManagerClient) AddCompletedDownload9_1(ctx context.Context, arg0 string, arg1 string, arg2 bool, arg3 string, arg4 string, arg5 int64, arg6 bool, arg7 int64, arg8 int64) (int64, error)

AddCompletedDownload9_1 calls the AddCompletedDownload9_1 RPC.

func (*ManagerClient) Enqueue added in v0.0.6

func (c *ManagerClient) Enqueue(ctx context.Context, arg0 int64) (int64, error)

Enqueue calls the Enqueue RPC.

func (*ManagerClient) GetMaxBytesOverMobile added in v0.0.6

func (c *ManagerClient) GetMaxBytesOverMobile(ctx context.Context, arg0 int64) (int64, error)

GetMaxBytesOverMobile calls the GetMaxBytesOverMobile RPC.

func (*ManagerClient) GetMimeTypeForDownloadedFile added in v0.0.6

func (c *ManagerClient) GetMimeTypeForDownloadedFile(ctx context.Context, arg0 int64) (string, error)

GetMimeTypeForDownloadedFile calls the GetMimeTypeForDownloadedFile RPC.

func (*ManagerClient) GetRecommendedMaxBytesOverMobile added in v0.0.6

func (c *ManagerClient) GetRecommendedMaxBytesOverMobile(ctx context.Context, arg0 int64) (int64, error)

GetRecommendedMaxBytesOverMobile calls the GetRecommendedMaxBytesOverMobile RPC.

func (*ManagerClient) GetUriForDownloadedFile added in v0.0.6

func (c *ManagerClient) GetUriForDownloadedFile(ctx context.Context, arg0 int64) (int64, error)

GetUriForDownloadedFile calls the GetUriForDownloadedFile RPC.

func (*ManagerClient) OpenDownloadedFile added in v0.0.6

func (c *ManagerClient) OpenDownloadedFile(ctx context.Context, arg0 int64) (int64, error)

OpenDownloadedFile calls the OpenDownloadedFile RPC.

func (*ManagerClient) Query added in v0.0.6

func (c *ManagerClient) Query(ctx context.Context, arg0 int64) (int64, error)

Query calls the Query RPC.

func (*ManagerClient) Remove added in v0.0.6

func (c *ManagerClient) Remove(ctx context.Context, arg0 int64) (int32, error)

Remove calls the Remove RPC.

type ManagerQueryClient added in v0.0.6

type ManagerQueryClient struct {
	// contains filtered or unexported fields
}

ManagerQueryClient wraps the gRPC ManagerQueryService client.

func NewManagerQueryClient added in v0.0.6

func NewManagerQueryClient(cc grpc.ClientConnInterface) *ManagerQueryClient

NewManagerQueryClient creates a new ManagerQuery client.

func (*ManagerQueryClient) SetFilterById added in v0.0.6

func (c *ManagerQueryClient) SetFilterById(ctx context.Context, arg0 int64) (int64, error)

SetFilterById calls the SetFilterById RPC.

func (*ManagerQueryClient) SetFilterByStatus added in v0.0.6

func (c *ManagerQueryClient) SetFilterByStatus(ctx context.Context, arg0 int32) (int64, error)

SetFilterByStatus calls the SetFilterByStatus RPC.

type ManagerRequestClient added in v0.0.6

type ManagerRequestClient struct {
	// contains filtered or unexported fields
}

ManagerRequestClient wraps the gRPC ManagerRequestService client.

func NewManagerRequestClient added in v0.0.6

func NewManagerRequestClient(cc grpc.ClientConnInterface) *ManagerRequestClient

NewManagerRequestClient creates a new ManagerRequest client.

func (*ManagerRequestClient) AddRequestHeader added in v0.0.6

func (c *ManagerRequestClient) AddRequestHeader(ctx context.Context, arg0 string, arg1 string) (int64, error)

AddRequestHeader calls the AddRequestHeader RPC.

func (*ManagerRequestClient) AllowScanningByMediaScanner added in v0.0.6

func (c *ManagerRequestClient) AllowScanningByMediaScanner(ctx context.Context) error

AllowScanningByMediaScanner calls the AllowScanningByMediaScanner RPC.

func (*ManagerRequestClient) SetAllowedNetworkTypes added in v0.0.6

func (c *ManagerRequestClient) SetAllowedNetworkTypes(ctx context.Context, arg0 int32) (int64, error)

SetAllowedNetworkTypes calls the SetAllowedNetworkTypes RPC.

func (*ManagerRequestClient) SetAllowedOverMetered added in v0.0.6

func (c *ManagerRequestClient) SetAllowedOverMetered(ctx context.Context, arg0 bool) (int64, error)

SetAllowedOverMetered calls the SetAllowedOverMetered RPC.

func (*ManagerRequestClient) SetAllowedOverRoaming added in v0.0.6

func (c *ManagerRequestClient) SetAllowedOverRoaming(ctx context.Context, arg0 bool) (int64, error)

SetAllowedOverRoaming calls the SetAllowedOverRoaming RPC.

func (*ManagerRequestClient) SetDescription added in v0.0.6

func (c *ManagerRequestClient) SetDescription(ctx context.Context, arg0 string) (int64, error)

SetDescription calls the SetDescription RPC.

func (*ManagerRequestClient) SetDestinationInExternalFilesDir added in v0.0.6

func (c *ManagerRequestClient) SetDestinationInExternalFilesDir(ctx context.Context, arg0 int64, arg1 string, arg2 string) (int64, error)

SetDestinationInExternalFilesDir calls the SetDestinationInExternalFilesDir RPC.

func (*ManagerRequestClient) SetDestinationInExternalPublicDir added in v0.0.6

func (c *ManagerRequestClient) SetDestinationInExternalPublicDir(ctx context.Context, arg0 string, arg1 string) (int64, error)

SetDestinationInExternalPublicDir calls the SetDestinationInExternalPublicDir RPC.

func (*ManagerRequestClient) SetDestinationUri added in v0.0.6

func (c *ManagerRequestClient) SetDestinationUri(ctx context.Context, arg0 int64) (int64, error)

SetDestinationUri calls the SetDestinationUri RPC.

func (*ManagerRequestClient) SetMimeType added in v0.0.6

func (c *ManagerRequestClient) SetMimeType(ctx context.Context, arg0 string) (int64, error)

SetMimeType calls the SetMimeType RPC.

func (*ManagerRequestClient) SetNotificationVisibility added in v0.0.6

func (c *ManagerRequestClient) SetNotificationVisibility(ctx context.Context, arg0 int32) (int64, error)

SetNotificationVisibility calls the SetNotificationVisibility RPC.

func (*ManagerRequestClient) SetRequiresCharging added in v0.0.6

func (c *ManagerRequestClient) SetRequiresCharging(ctx context.Context, arg0 bool) (int64, error)

SetRequiresCharging calls the SetRequiresCharging RPC.

func (*ManagerRequestClient) SetRequiresDeviceIdle added in v0.0.6

func (c *ManagerRequestClient) SetRequiresDeviceIdle(ctx context.Context, arg0 bool) (int64, error)

SetRequiresDeviceIdle calls the SetRequiresDeviceIdle RPC.

func (*ManagerRequestClient) SetShowRunningNotification added in v0.0.6

func (c *ManagerRequestClient) SetShowRunningNotification(ctx context.Context, arg0 bool) (int64, error)

SetShowRunningNotification calls the SetShowRunningNotification RPC.

func (*ManagerRequestClient) SetTitle added in v0.0.6

func (c *ManagerRequestClient) SetTitle(ctx context.Context, arg0 string) (int64, error)

SetTitle calls the SetTitle RPC.

func (*ManagerRequestClient) SetVisibleInDownloadsUi added in v0.0.6

func (c *ManagerRequestClient) SetVisibleInDownloadsUi(ctx context.Context, arg0 bool) (int64, error)

SetVisibleInDownloadsUi calls the SetVisibleInDownloadsUi RPC.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL