View Source Evision.QRCodeEncoder.Params (Evision v0.1.21)

Link to this section Summary

Types

t()

Type that represents an Evision.QRCodeEncoder.Params struct.

Link to this section Types

@type t() :: %Evision.QRCodeEncoder.Params{ref: reference()}

Type that represents an Evision.QRCodeEncoder.Params struct.

  • ref. reference()

    The underlying erlang resource variable.

Link to this section Functions

Link to this function

get_correction_level(self)

View Source
@spec get_correction_level(t()) :: integer()
@spec get_mode(t()) :: integer()
Link to this function

get_structure_number(self)

View Source
@spec get_structure_number(t()) :: integer()
@spec get_version(t()) :: integer()
@spec params() :: t() | {:error, String.t()}

QRCodeEncoder_Params

Return

Python prototype (for reference only):

QRCodeEncoder_Params() -> <QRCodeEncoder_Params object>
Link to this function

set_correction_level(self, prop)

View Source
@spec set_correction_level(t(), integer()) :: t()
@spec set_mode(t(), integer()) :: t()
Link to this function

set_structure_number(self, prop)

View Source
@spec set_structure_number(t(), integer()) :: t()
@spec set_version(t(), integer()) :: t()