mtp

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 ConstantsClient

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

ConstantsClient wraps the gRPC ConstantsService client.

func NewConstantsClient

func NewConstantsClient(cc grpc.ClientConnInterface) *ConstantsClient

NewConstantsClient creates a new Constants client.

func (*ConstantsClient) IsAbstractObject

func (c *ConstantsClient) IsAbstractObject(ctx context.Context, handle int64, arg0 int32) (bool, error)

IsAbstractObject calls the IsAbstractObject RPC.

type DeviceClient

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

DeviceClient wraps the gRPC DeviceService client.

func NewDeviceClient

func NewDeviceClient(cc grpc.ClientConnInterface) *DeviceClient

NewDeviceClient creates a new Device client.

func (*DeviceClient) Close

func (c *DeviceClient) Close(ctx context.Context, handle int64) error

Close calls the Close RPC.

func (*DeviceClient) DeleteObject

func (c *DeviceClient) DeleteObject(ctx context.Context, handle int64, arg0 int32) (bool, error)

DeleteObject calls the DeleteObject RPC.

func (*DeviceClient) GetDeviceId

func (c *DeviceClient) GetDeviceId(ctx context.Context, handle int64) (int32, error)

GetDeviceId calls the GetDeviceId RPC.

func (*DeviceClient) GetDeviceInfo

func (c *DeviceClient) GetDeviceInfo(ctx context.Context, handle int64) (int64, error)

GetDeviceInfo calls the GetDeviceInfo RPC.

func (*DeviceClient) GetDeviceName

func (c *DeviceClient) GetDeviceName(ctx context.Context, handle int64) (string, error)

GetDeviceName calls the GetDeviceName RPC.

func (*DeviceClient) GetObject

func (c *DeviceClient) GetObject(ctx context.Context, handle int64, arg0 int32, arg1 int32) (int64, error)

GetObject calls the GetObject RPC.

func (*DeviceClient) GetObjectHandles

func (c *DeviceClient) GetObjectHandles(ctx context.Context, handle int64, arg0 int32, arg1 int32, arg2 int32) (int64, error)

GetObjectHandles calls the GetObjectHandles RPC.

func (*DeviceClient) GetObjectInfo

func (c *DeviceClient) GetObjectInfo(ctx context.Context, handle int64, arg0 int32) (int64, error)

GetObjectInfo calls the GetObjectInfo RPC.

func (*DeviceClient) GetParent

func (c *DeviceClient) GetParent(ctx context.Context, handle int64, arg0 int32) (int64, error)

GetParent calls the GetParent RPC.

func (*DeviceClient) GetPartialObject

func (c *DeviceClient) GetPartialObject(ctx context.Context, handle int64, arg0 int32, arg1 int64, arg2 int64, arg3 int64) (int64, error)

GetPartialObject calls the GetPartialObject RPC.

func (*DeviceClient) GetPartialObject64

func (c *DeviceClient) GetPartialObject64(ctx context.Context, handle int64, arg0 int32, arg1 int64, arg2 int64, arg3 int64) (int64, error)

GetPartialObject64 calls the GetPartialObject64 RPC.

func (*DeviceClient) GetStorageId

func (c *DeviceClient) GetStorageId(ctx context.Context, handle int64, arg0 int32) (int64, error)

GetStorageId calls the GetStorageId RPC.

func (*DeviceClient) GetStorageIds

func (c *DeviceClient) GetStorageIds(ctx context.Context, handle int64) (int64, error)

GetStorageIds calls the GetStorageIds RPC.

func (*DeviceClient) GetStorageInfo

func (c *DeviceClient) GetStorageInfo(ctx context.Context, handle int64, arg0 int32) (int64, error)

GetStorageInfo calls the GetStorageInfo RPC.

func (*DeviceClient) GetThumbnail

func (c *DeviceClient) GetThumbnail(ctx context.Context, handle int64, arg0 int32) (int64, error)

GetThumbnail calls the GetThumbnail RPC.

func (*DeviceClient) ImportFile2

func (c *DeviceClient) ImportFile2(ctx context.Context, handle int64, arg0 int32, arg1 int64) (bool, error)

ImportFile2 calls the ImportFile2 RPC.

func (*DeviceClient) ImportFile2_1

func (c *DeviceClient) ImportFile2_1(ctx context.Context, handle int64, arg0 int32, arg1 string) (bool, error)

ImportFile2_1 calls the ImportFile2_1 RPC.

func (*DeviceClient) Open

func (c *DeviceClient) Open(ctx context.Context, handle int64, arg0 int64) (bool, error)

Open calls the Open RPC.

func (*DeviceClient) ReadEvent

func (c *DeviceClient) ReadEvent(ctx context.Context, handle int64, arg0 int64) (int64, error)

ReadEvent calls the ReadEvent RPC.

func (*DeviceClient) SendObject

func (c *DeviceClient) SendObject(ctx context.Context, handle int64, arg0 int32, arg1 int64, arg2 int64) (bool, error)

SendObject calls the SendObject RPC.

func (*DeviceClient) SendObjectInfo

func (c *DeviceClient) SendObjectInfo(ctx context.Context, handle int64, arg0 int64) (int64, error)

SendObjectInfo calls the SendObjectInfo RPC.

func (*DeviceClient) ToString

func (c *DeviceClient) ToString(ctx context.Context, handle int64) (string, error)

ToString calls the ToString RPC.

type DeviceInfoClient

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

DeviceInfoClient wraps the gRPC DeviceInfoService client.

func NewDeviceInfoClient

func NewDeviceInfoClient(cc grpc.ClientConnInterface) *DeviceInfoClient

NewDeviceInfoClient creates a new DeviceInfo client.

func (*DeviceInfoClient) GetEventsSupported

func (c *DeviceInfoClient) GetEventsSupported(ctx context.Context) (int64, error)

GetEventsSupported calls the GetEventsSupported RPC.

func (*DeviceInfoClient) GetManufacturer

func (c *DeviceInfoClient) GetManufacturer(ctx context.Context) (string, error)

GetManufacturer calls the GetManufacturer RPC.

func (*DeviceInfoClient) GetModel

func (c *DeviceInfoClient) GetModel(ctx context.Context) (string, error)

GetModel calls the GetModel RPC.

func (*DeviceInfoClient) GetOperationsSupported

func (c *DeviceInfoClient) GetOperationsSupported(ctx context.Context) (int64, error)

GetOperationsSupported calls the GetOperationsSupported RPC.

func (*DeviceInfoClient) GetSerialNumber

func (c *DeviceInfoClient) GetSerialNumber(ctx context.Context) (string, error)

GetSerialNumber calls the GetSerialNumber RPC.

func (*DeviceInfoClient) GetVersion

func (c *DeviceInfoClient) GetVersion(ctx context.Context) (string, error)

GetVersion calls the GetVersion RPC.

func (*DeviceInfoClient) IsEventSupported

func (c *DeviceInfoClient) IsEventSupported(ctx context.Context, arg0 int32) (bool, error)

IsEventSupported calls the IsEventSupported RPC.

func (*DeviceInfoClient) IsOperationSupported

func (c *DeviceInfoClient) IsOperationSupported(ctx context.Context, arg0 int32) (bool, error)

IsOperationSupported calls the IsOperationSupported RPC.

type EventClient

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

EventClient wraps the gRPC EventService client.

func NewEventClient

func NewEventClient(cc grpc.ClientConnInterface) *EventClient

NewEventClient creates a new Event client.

func (*EventClient) GetDevicePropCode

func (c *EventClient) GetDevicePropCode(ctx context.Context) (int32, error)

GetDevicePropCode calls the GetDevicePropCode RPC.

func (*EventClient) GetEventCode

func (c *EventClient) GetEventCode(ctx context.Context) (int32, error)

GetEventCode calls the GetEventCode RPC.

func (*EventClient) GetObjectFormatCode

func (c *EventClient) GetObjectFormatCode(ctx context.Context) (int32, error)

GetObjectFormatCode calls the GetObjectFormatCode RPC.

func (*EventClient) GetObjectHandle

func (c *EventClient) GetObjectHandle(ctx context.Context) (int32, error)

GetObjectHandle calls the GetObjectHandle RPC.

func (*EventClient) GetObjectPropCode

func (c *EventClient) GetObjectPropCode(ctx context.Context) (int32, error)

GetObjectPropCode calls the GetObjectPropCode RPC.

func (*EventClient) GetParameter1

func (c *EventClient) GetParameter1(ctx context.Context) (int32, error)

GetParameter1 calls the GetParameter1 RPC.

func (*EventClient) GetParameter2

func (c *EventClient) GetParameter2(ctx context.Context) (int32, error)

GetParameter2 calls the GetParameter2 RPC.

func (*EventClient) GetParameter3

func (c *EventClient) GetParameter3(ctx context.Context) (int32, error)

GetParameter3 calls the GetParameter3 RPC.

func (*EventClient) GetStorageId

func (c *EventClient) GetStorageId(ctx context.Context) (int32, error)

GetStorageId calls the GetStorageId RPC.

func (*EventClient) GetTransactionId

func (c *EventClient) GetTransactionId(ctx context.Context) (int32, error)

GetTransactionId calls the GetTransactionId RPC.

type ObjectInfoBuilderClient

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

ObjectInfoBuilderClient wraps the gRPC ObjectInfoBuilderService client.

func NewObjectInfoBuilderClient

func NewObjectInfoBuilderClient(cc grpc.ClientConnInterface) *ObjectInfoBuilderClient

NewObjectInfoBuilderClient creates a new ObjectInfoBuilder client.

func (*ObjectInfoBuilderClient) Build

Build calls the Build RPC.

func (*ObjectInfoBuilderClient) SetAssociationDesc

func (c *ObjectInfoBuilderClient) SetAssociationDesc(ctx context.Context, arg0 int32) (int64, error)

SetAssociationDesc calls the SetAssociationDesc RPC.

func (*ObjectInfoBuilderClient) SetAssociationType

func (c *ObjectInfoBuilderClient) SetAssociationType(ctx context.Context, arg0 int32) (int64, error)

SetAssociationType calls the SetAssociationType RPC.

func (*ObjectInfoBuilderClient) SetCompressedSize

func (c *ObjectInfoBuilderClient) SetCompressedSize(ctx context.Context, arg0 int64) (int64, error)

SetCompressedSize calls the SetCompressedSize RPC.

func (*ObjectInfoBuilderClient) SetDateCreated

func (c *ObjectInfoBuilderClient) SetDateCreated(ctx context.Context, arg0 int64) (int64, error)

SetDateCreated calls the SetDateCreated RPC.

func (*ObjectInfoBuilderClient) SetDateModified

func (c *ObjectInfoBuilderClient) SetDateModified(ctx context.Context, arg0 int64) (int64, error)

SetDateModified calls the SetDateModified RPC.

func (*ObjectInfoBuilderClient) SetFormat

func (c *ObjectInfoBuilderClient) SetFormat(ctx context.Context, arg0 int32) (int64, error)

SetFormat calls the SetFormat RPC.

func (*ObjectInfoBuilderClient) SetImagePixDepth

func (c *ObjectInfoBuilderClient) SetImagePixDepth(ctx context.Context, arg0 int64) (int64, error)

SetImagePixDepth calls the SetImagePixDepth RPC.

func (*ObjectInfoBuilderClient) SetImagePixHeight

func (c *ObjectInfoBuilderClient) SetImagePixHeight(ctx context.Context, arg0 int64) (int64, error)

SetImagePixHeight calls the SetImagePixHeight RPC.

func (*ObjectInfoBuilderClient) SetImagePixWidth

func (c *ObjectInfoBuilderClient) SetImagePixWidth(ctx context.Context, arg0 int64) (int64, error)

SetImagePixWidth calls the SetImagePixWidth RPC.

func (*ObjectInfoBuilderClient) SetKeywords

func (c *ObjectInfoBuilderClient) SetKeywords(ctx context.Context, arg0 string) (int64, error)

SetKeywords calls the SetKeywords RPC.

func (*ObjectInfoBuilderClient) SetName

func (c *ObjectInfoBuilderClient) SetName(ctx context.Context, arg0 string) (int64, error)

SetName calls the SetName RPC.

func (*ObjectInfoBuilderClient) SetObjectHandle

func (c *ObjectInfoBuilderClient) SetObjectHandle(ctx context.Context, arg0 int32) (int64, error)

SetObjectHandle calls the SetObjectHandle RPC.

func (*ObjectInfoBuilderClient) SetParent

func (c *ObjectInfoBuilderClient) SetParent(ctx context.Context, arg0 int32) (int64, error)

SetParent calls the SetParent RPC.

func (*ObjectInfoBuilderClient) SetProtectionStatus

func (c *ObjectInfoBuilderClient) SetProtectionStatus(ctx context.Context, arg0 int32) (int64, error)

SetProtectionStatus calls the SetProtectionStatus RPC.

func (*ObjectInfoBuilderClient) SetSequenceNumber

func (c *ObjectInfoBuilderClient) SetSequenceNumber(ctx context.Context, arg0 int64) (int64, error)

SetSequenceNumber calls the SetSequenceNumber RPC.

func (*ObjectInfoBuilderClient) SetStorageId

func (c *ObjectInfoBuilderClient) SetStorageId(ctx context.Context, arg0 int32) (int64, error)

SetStorageId calls the SetStorageId RPC.

func (*ObjectInfoBuilderClient) SetThumbCompressedSize

func (c *ObjectInfoBuilderClient) SetThumbCompressedSize(ctx context.Context, arg0 int64) (int64, error)

SetThumbCompressedSize calls the SetThumbCompressedSize RPC.

func (*ObjectInfoBuilderClient) SetThumbFormat

func (c *ObjectInfoBuilderClient) SetThumbFormat(ctx context.Context, arg0 int32) (int64, error)

SetThumbFormat calls the SetThumbFormat RPC.

func (*ObjectInfoBuilderClient) SetThumbPixHeight

func (c *ObjectInfoBuilderClient) SetThumbPixHeight(ctx context.Context, arg0 int64) (int64, error)

SetThumbPixHeight calls the SetThumbPixHeight RPC.

func (*ObjectInfoBuilderClient) SetThumbPixWidth

func (c *ObjectInfoBuilderClient) SetThumbPixWidth(ctx context.Context, arg0 int64) (int64, error)

SetThumbPixWidth calls the SetThumbPixWidth RPC.

type ObjectInfoClient

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

ObjectInfoClient wraps the gRPC ObjectInfoService client.

func NewObjectInfoClient

func NewObjectInfoClient(cc grpc.ClientConnInterface) *ObjectInfoClient

NewObjectInfoClient creates a new ObjectInfo client.

func (*ObjectInfoClient) GetAssociationDesc

func (c *ObjectInfoClient) GetAssociationDesc(ctx context.Context) (int32, error)

GetAssociationDesc calls the GetAssociationDesc RPC.

func (*ObjectInfoClient) GetAssociationType

func (c *ObjectInfoClient) GetAssociationType(ctx context.Context) (int32, error)

GetAssociationType calls the GetAssociationType RPC.

func (*ObjectInfoClient) GetCompressedSize

func (c *ObjectInfoClient) GetCompressedSize(ctx context.Context) (int32, error)

GetCompressedSize calls the GetCompressedSize RPC.

func (*ObjectInfoClient) GetCompressedSizeLong

func (c *ObjectInfoClient) GetCompressedSizeLong(ctx context.Context) (int64, error)

GetCompressedSizeLong calls the GetCompressedSizeLong RPC.

func (*ObjectInfoClient) GetDateCreated

func (c *ObjectInfoClient) GetDateCreated(ctx context.Context) (int64, error)

GetDateCreated calls the GetDateCreated RPC.

func (*ObjectInfoClient) GetDateModified

func (c *ObjectInfoClient) GetDateModified(ctx context.Context) (int64, error)

GetDateModified calls the GetDateModified RPC.

func (*ObjectInfoClient) GetFormat

func (c *ObjectInfoClient) GetFormat(ctx context.Context) (int32, error)

GetFormat calls the GetFormat RPC.

func (*ObjectInfoClient) GetImagePixDepth

func (c *ObjectInfoClient) GetImagePixDepth(ctx context.Context) (int32, error)

GetImagePixDepth calls the GetImagePixDepth RPC.

func (*ObjectInfoClient) GetImagePixDepthLong

func (c *ObjectInfoClient) GetImagePixDepthLong(ctx context.Context) (int64, error)

GetImagePixDepthLong calls the GetImagePixDepthLong RPC.

func (*ObjectInfoClient) GetImagePixHeight

func (c *ObjectInfoClient) GetImagePixHeight(ctx context.Context) (int32, error)

GetImagePixHeight calls the GetImagePixHeight RPC.

func (*ObjectInfoClient) GetImagePixHeightLong

func (c *ObjectInfoClient) GetImagePixHeightLong(ctx context.Context) (int64, error)

GetImagePixHeightLong calls the GetImagePixHeightLong RPC.

func (*ObjectInfoClient) GetImagePixWidth

func (c *ObjectInfoClient) GetImagePixWidth(ctx context.Context) (int32, error)

GetImagePixWidth calls the GetImagePixWidth RPC.

func (*ObjectInfoClient) GetImagePixWidthLong

func (c *ObjectInfoClient) GetImagePixWidthLong(ctx context.Context) (int64, error)

GetImagePixWidthLong calls the GetImagePixWidthLong RPC.

func (*ObjectInfoClient) GetKeywords

func (c *ObjectInfoClient) GetKeywords(ctx context.Context) (string, error)

GetKeywords calls the GetKeywords RPC.

func (*ObjectInfoClient) GetName

func (c *ObjectInfoClient) GetName(ctx context.Context) (string, error)

GetName calls the GetName RPC.

func (*ObjectInfoClient) GetObjectHandle

func (c *ObjectInfoClient) GetObjectHandle(ctx context.Context) (int32, error)

GetObjectHandle calls the GetObjectHandle RPC.

func (*ObjectInfoClient) GetParent

func (c *ObjectInfoClient) GetParent(ctx context.Context) (int32, error)

GetParent calls the GetParent RPC.

func (*ObjectInfoClient) GetProtectionStatus

func (c *ObjectInfoClient) GetProtectionStatus(ctx context.Context) (int32, error)

GetProtectionStatus calls the GetProtectionStatus RPC.

func (*ObjectInfoClient) GetSequenceNumber

func (c *ObjectInfoClient) GetSequenceNumber(ctx context.Context) (int32, error)

GetSequenceNumber calls the GetSequenceNumber RPC.

func (*ObjectInfoClient) GetSequenceNumberLong

func (c *ObjectInfoClient) GetSequenceNumberLong(ctx context.Context) (int64, error)

GetSequenceNumberLong calls the GetSequenceNumberLong RPC.

func (*ObjectInfoClient) GetStorageId

func (c *ObjectInfoClient) GetStorageId(ctx context.Context) (int32, error)

GetStorageId calls the GetStorageId RPC.

func (*ObjectInfoClient) GetThumbCompressedSize

func (c *ObjectInfoClient) GetThumbCompressedSize(ctx context.Context) (int32, error)

GetThumbCompressedSize calls the GetThumbCompressedSize RPC.

func (*ObjectInfoClient) GetThumbCompressedSizeLong

func (c *ObjectInfoClient) GetThumbCompressedSizeLong(ctx context.Context) (int64, error)

GetThumbCompressedSizeLong calls the GetThumbCompressedSizeLong RPC.

func (*ObjectInfoClient) GetThumbFormat

func (c *ObjectInfoClient) GetThumbFormat(ctx context.Context) (int32, error)

GetThumbFormat calls the GetThumbFormat RPC.

func (*ObjectInfoClient) GetThumbPixHeight

func (c *ObjectInfoClient) GetThumbPixHeight(ctx context.Context) (int32, error)

GetThumbPixHeight calls the GetThumbPixHeight RPC.

func (*ObjectInfoClient) GetThumbPixHeightLong

func (c *ObjectInfoClient) GetThumbPixHeightLong(ctx context.Context) (int64, error)

GetThumbPixHeightLong calls the GetThumbPixHeightLong RPC.

func (*ObjectInfoClient) GetThumbPixWidth

func (c *ObjectInfoClient) GetThumbPixWidth(ctx context.Context) (int32, error)

GetThumbPixWidth calls the GetThumbPixWidth RPC.

func (*ObjectInfoClient) GetThumbPixWidthLong

func (c *ObjectInfoClient) GetThumbPixWidthLong(ctx context.Context) (int64, error)

GetThumbPixWidthLong calls the GetThumbPixWidthLong RPC.

type StorageInfoClient

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

StorageInfoClient wraps the gRPC StorageInfoService client.

func NewStorageInfoClient

func NewStorageInfoClient(cc grpc.ClientConnInterface) *StorageInfoClient

NewStorageInfoClient creates a new StorageInfo client.

func (*StorageInfoClient) GetDescription

func (c *StorageInfoClient) GetDescription(ctx context.Context) (string, error)

GetDescription calls the GetDescription RPC.

func (*StorageInfoClient) GetFreeSpace

func (c *StorageInfoClient) GetFreeSpace(ctx context.Context) (int64, error)

GetFreeSpace calls the GetFreeSpace RPC.

func (*StorageInfoClient) GetMaxCapacity

func (c *StorageInfoClient) GetMaxCapacity(ctx context.Context) (int64, error)

GetMaxCapacity calls the GetMaxCapacity RPC.

func (*StorageInfoClient) GetStorageId

func (c *StorageInfoClient) GetStorageId(ctx context.Context) (int32, error)

GetStorageId calls the GetStorageId RPC.

func (*StorageInfoClient) GetVolumeIdentifier

func (c *StorageInfoClient) GetVolumeIdentifier(ctx context.Context) (string, error)

GetVolumeIdentifier calls the GetVolumeIdentifier RPC.

Jump to

Keyboard shortcuts

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