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

Summary

Types

t()

Type that represents an QRCodeEncoder.Params struct.

Types

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

Type that represents an QRCodeEncoder.Params struct.

  • ref. reference()

    The underlying erlang resource variable.

Functions

Link to this function

get_correction_level(self)

View Source
@spec get_correction_level(t()) :: Evision.QRCodeEncoder.CorrectionLevel.enum()
@spec get_mode(t()) :: Evision.QRCodeEncoder.EncodeMode.enum()
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
  • self: Evision.QRCodeEncoder.Params.t()

Python prototype (for reference only):

QRCodeEncoder_Params() -> <QRCodeEncoder_Params object>
@spec params(Keyword.t()) :: any() | {:error, String.t()}
Link to this function

set_correction_level(self, prop)

View Source
@spec set_correction_level(t(), Evision.QRCodeEncoder.CorrectionLevel.enum()) :: t()
@spec set_mode(t(), Evision.QRCodeEncoder.EncodeMode.enum()) :: 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()