class GPhoto2::CameraAbilitiesList
- GPhoto2::CameraAbilitiesList
- Reference
- Object
Overview
Represents a list of camera abilities.
Included Modules
Defined in:
gphoto2/camera_abilities_list.crConstructors
-
.new(context : GPhoto2::Context, port_info_list : GPhoto2::PortInfoList = PortInfoList.new)
NOTE allocates memory.
Instance Method Summary
- #[](index : Int32) : CameraAbilities
-
#[](model : String) : CameraAbilities
See:
#lookup_model
,#[]
- #detect : CameraList
-
#finalize
Finalizes object by freeing allocated memory.
- #lookup_model(model : String) : Int32
Instance methods inherited from module GPhoto2::Struct(LibGPhoto2::CameraAbilitiesList)
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(LibGPhoto2::CameraAbilitiesList)
new(ptr : Pointer(T) | Nil = nil)
new
Constructor Detail
def self.new(context : GPhoto2::Context, port_info_list : GPhoto2::PortInfoList = PortInfoList.new)
#
NOTE allocates memory.