ResponseCode

object ResponseCode

All Responses contain a 30-byte response dataset including a response code, a sessionId, a transactionId and a parameter field.

Functions

Link copied to clipboard
open override fun toString(): String

Properties

Link copied to clipboard
const val AccessDenied: Int = 8207
Link copied to clipboard
const val CaptureAlreadyTerminated: Int = 8216
Link copied to clipboard
const val DeviceBusy: Int = 8217
Link copied to clipboard
const val DevicePropNotSupported: Int = 8202
Link copied to clipboard
const val EK_FilenameConflicts: Int = 40962
Link copied to clipboard
const val EK_FilenameInvalid: Int = 40963
Link copied to clipboard
const val EK_FilenameRequired: Int = 40961
Link copied to clipboard
const val EXTENSION: Int = 40960
Link copied to clipboard
const val EXTENSION_MASK: Int = 61440
Link copied to clipboard
const val GeneralError: Int = 8194

Operation did not complete. This response is used when the cause of the error is unknown or there is no better failure ResponseCode to use.

Link copied to clipboard
const val GroupNotSupported: Int = 43013
Link copied to clipboard
const val IncompleteTransfer: Int = 8199
Link copied to clipboard
const val InvalidCodeFormat: Int = 8214
Link copied to clipboard
const val InvalidDataset: Int = 43014
Link copied to clipboard
const val InvalidDevicePropFormat: Int = 8219
Link copied to clipboard
const val InvalidDevicePropValue: Int = 8220
Link copied to clipboard
const val InvalidObjectFormatCode: Int = 8203
Link copied to clipboard
const val InvalidObjectHandle: Int = 8201
Link copied to clipboard
const val InvalidObjectProbCode: Int = 43009
Link copied to clipboard
const val InvalidObjectProbFormat: Int = 43010
Link copied to clipboard
const val InvalidObjectProbValue: Int = 43011
Link copied to clipboard
const val InvalidObjectReference: Int = 43012
Link copied to clipboard
const val InvalidParameter: Int = 8221
Link copied to clipboard
const val InvalidParentObject: Int = 8218
Link copied to clipboard
const val InvalidStorageId: Int = 8200
Link copied to clipboard
const val InvalidTransactionID: Int = 8196

Indicates that the TransactionID of this operation does not identify a valid transaction.

Link copied to clipboard
const val Nikon_PropertyReadOnly: Int = 40965
Link copied to clipboard
const val NoThumbnailPresent: Int = 8208
Link copied to clipboard
const val NoValidObjectInfo: Int = 8213
Link copied to clipboard
const val ObjectProbNotSupported: Int = 43018
Link copied to clipboard
const val ObjectTooLarge: Int = 43017
Link copied to clipboard
const val ObjectWriteProtected: Int = 8205
Link copied to clipboard
const val OK: Int = 8193

Operation has completed successfully.

Link copied to clipboard
const val OperationNotSupported: Int = 8197

This response indicates that an Operation has been called with what appears to be a valid code, but the responder does not support the operation identified by that code. The initiator should only invoke operations contained in the responder`s DeviceInfo dataset, so this response should not normally be returned.

Link copied to clipboard
const val ParameterNotSupported: Int = 8198

Indicates that a parameter of an operation contains a non-zero value, but is not supported. This response is different from Invalid_Parameter.

Link copied to clipboard
const val PartialDeletion: Int = 8210
Link copied to clipboard
const val SelfTestFailed: Int = 8209
Link copied to clipboard
const val SessionAlreadyOpened: Int = 8222
Link copied to clipboard
const val SessionNotOpen: Int = 8195

Indicates that the session handle identified by the operation dataset for this operation is not a currently open session.

Link copied to clipboard
const val SpecificationByDepthUnsupported: Int = 43016
Link copied to clipboard
const val SpecificationByFormatUnsupported: Int = 8212
Link copied to clipboard
const val SpecificationByGroupUnsupported: Int = 43015
Link copied to clipboard
const val SpecificationOfDestinationUnsupported: Int = 8224
Link copied to clipboard
const val StoreFull: Int = 8204
Link copied to clipboard
const val StoreNotAvailable: Int = 8211
Link copied to clipboard
const val StoreReadOnly: Int = 8206
Link copied to clipboard
const val TransactionCanceled: Int = 8223
Link copied to clipboard
const val Undefined: Int = 8192

This response code is not used.

Link copied to clipboard
const val UnknownVendorCode: Int = 8215