Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
gphoto2
v0.8.0
GPhoto2
Camera
Capture
Configuration
Event
Filesystem
Info
CameraAbilities
CameraAbilitiesList
CameraCaptureType
CameraEvent
CameraEventType
CameraFile
CameraFileInfo
Audio
Base
File
Preview
CameraFileInfoFields
CameraFilePath
CameraFileStatus
CameraFileType
CameraFolder
CameraList
CameraOperation
CameraWidget
Base
Button
Date
Menu
Radio
Range
Section
Text
Toggle
Window
CameraWidgetType
Context
Callbacks
Error
ContextFeedback
Entry
Error
Exception
LogLevel
ManagedStruct
NoDevicesError
NotImplementedError
Port
PortInfo
PortInfoList
Struct
VersionVerbosity
Built with Crystal 1.9.2
2023-10-08 03:41:35 UTC
class
GPhoto2::Port
GPhoto2::Port
Reference
Object
Included Modules
GPhoto2::Struct(LibGPhoto2Port::GPPort)
Defined in:
gphoto2/port.cr
Constructors
.new
Instance Method Summary
#close
: Nil
#finalize
#info
: PortInfo
#info=
(info : PortInfo) : PortInfo
#open
: Nil
#reset
: Nil
Instance methods inherited from module
GPhoto2::Struct(LibGPhoto2Port::GPPort)
ptr : Pointer(T)
ptr
,
ptr? : Pointer(T) | Nil
ptr?
,
to_unsafe : Pointer(T)
to_unsafe
,
wrapped : T
wrapped
Constructor methods inherited from module
GPhoto2::Struct(LibGPhoto2Port::GPPort)
new(ptr : Pointer(T) | Nil =
nil
)
new
Constructor Detail
def self.
new
#
[
View source
]
Instance Method Detail
def
close
: Nil
#
[
View source
]
def
finalize
#
[
View source
]
def
info
:
PortInfo
#
[
View source
]
def
info=
(info :
PortInfo
) :
PortInfo
#
[
View source
]
def
open
: Nil
#
[
View source
]
def
reset
: Nil
#
[
View source
]