class GPhoto2::CameraAbilitiesList

Overview

Represents a list of camera abilities.

Included Modules

Defined in:

gphoto2/camera_abilities_list.cr

Constructors

Instance Method Summary

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.


[View source]

Instance Method Detail

def [](index : Int32) : CameraAbilities #

[View source]
def [](model : String) : CameraAbilities #

[View source]
def detect : CameraList #

[View source]
def finalize #

Finalizes object by freeing allocated memory.


[View source]
def lookup_model(model : String) : Int32 #

[View source]