Documentation
¶
Index ¶
- type ManagerClient
- func (c *ManagerClient) AddCompletedDownload7(ctx context.Context, arg0 string, arg1 string, arg2 bool, arg3 string, ...) (int64, error)
- func (c *ManagerClient) AddCompletedDownload9_1(ctx context.Context, arg0 string, arg1 string, arg2 bool, arg3 string, ...) (int64, error)
- func (c *ManagerClient) Enqueue(ctx context.Context, arg0 int64) (int64, error)
- func (c *ManagerClient) GetMaxBytesOverMobile(ctx context.Context, arg0 int64) (int64, error)
- func (c *ManagerClient) GetMimeTypeForDownloadedFile(ctx context.Context, arg0 int64) (string, error)
- func (c *ManagerClient) GetRecommendedMaxBytesOverMobile(ctx context.Context, arg0 int64) (int64, error)
- func (c *ManagerClient) GetUriForDownloadedFile(ctx context.Context, arg0 int64) (int64, error)
- func (c *ManagerClient) OpenDownloadedFile(ctx context.Context, arg0 int64) (int64, error)
- func (c *ManagerClient) Query(ctx context.Context, arg0 int64) (int64, error)
- func (c *ManagerClient) Remove(ctx context.Context, arg0 int64) (int32, error)
- type ManagerQueryClient
- type ManagerRequestClient
- func (c *ManagerRequestClient) AddRequestHeader(ctx context.Context, arg0 string, arg1 string) (int64, error)
- func (c *ManagerRequestClient) AllowScanningByMediaScanner(ctx context.Context) error
- func (c *ManagerRequestClient) SetAllowedNetworkTypes(ctx context.Context, arg0 int32) (int64, error)
- func (c *ManagerRequestClient) SetAllowedOverMetered(ctx context.Context, arg0 bool) (int64, error)
- func (c *ManagerRequestClient) SetAllowedOverRoaming(ctx context.Context, arg0 bool) (int64, error)
- func (c *ManagerRequestClient) SetDescription(ctx context.Context, arg0 string) (int64, error)
- func (c *ManagerRequestClient) SetDestinationInExternalFilesDir(ctx context.Context, arg0 int64, arg1 string, arg2 string) (int64, error)
- func (c *ManagerRequestClient) SetDestinationInExternalPublicDir(ctx context.Context, arg0 string, arg1 string) (int64, error)
- func (c *ManagerRequestClient) SetDestinationUri(ctx context.Context, arg0 int64) (int64, error)
- func (c *ManagerRequestClient) SetMimeType(ctx context.Context, arg0 string) (int64, error)
- func (c *ManagerRequestClient) SetNotificationVisibility(ctx context.Context, arg0 int32) (int64, error)
- func (c *ManagerRequestClient) SetRequiresCharging(ctx context.Context, arg0 bool) (int64, error)
- func (c *ManagerRequestClient) SetRequiresDeviceIdle(ctx context.Context, arg0 bool) (int64, error)
- func (c *ManagerRequestClient) SetShowRunningNotification(ctx context.Context, arg0 bool) (int64, error)
- func (c *ManagerRequestClient) SetTitle(ctx context.Context, arg0 string) (int64, error)
- func (c *ManagerRequestClient) SetVisibleInDownloadsUi(ctx context.Context, arg0 bool) (int64, error)
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) GetMaxBytesOverMobile ¶ added in v0.0.6
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
GetUriForDownloadedFile calls the GetUriForDownloadedFile RPC.
func (*ManagerClient) OpenDownloadedFile ¶ added in v0.0.6
OpenDownloadedFile calls the OpenDownloadedFile 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
SetFilterById calls the SetFilterById RPC.
func (*ManagerQueryClient) SetFilterByStatus ¶ added in v0.0.6
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
SetAllowedOverMetered calls the SetAllowedOverMetered RPC.
func (*ManagerRequestClient) SetAllowedOverRoaming ¶ added in v0.0.6
SetAllowedOverRoaming calls the SetAllowedOverRoaming RPC.
func (*ManagerRequestClient) SetDescription ¶ added in v0.0.6
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
SetDestinationUri calls the SetDestinationUri RPC.
func (*ManagerRequestClient) SetMimeType ¶ added in v0.0.6
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
SetRequiresCharging calls the SetRequiresCharging RPC.
func (*ManagerRequestClient) SetRequiresDeviceIdle ¶ added in v0.0.6
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) SetVisibleInDownloadsUi ¶ added in v0.0.6
func (c *ManagerRequestClient) SetVisibleInDownloadsUi(ctx context.Context, arg0 bool) (int64, error)
SetVisibleInDownloadsUi calls the SetVisibleInDownloadsUi RPC.