Portrait.instruction Property

Module: Portrait

Type: PortraitInstruction

Definition

Instruction to be given to the user for portrait capture.

instruction: PortraitInstruction

Exceptions

An error has occurred during Face Library execution.
PortraitInstruction get instruction => getInstruction();

Exceptions

An error has occurred during Face Library execution.
public PortraitInstruction instruction
{
    get => Getinstruction();
}

Exceptions

An error has occurred during Face Library execution.
public PortraitInstruction getInstruction() throws FaceException

Exceptions

An error has occurred during Face Library execution.
public var instruction: PortraitInstruction
    get {
        return try! getInstruction()
    }
}

Exceptions

An error has occurred during Face Library execution.
int id3FacePortrait_GetInstruction (ID3_FACE_PORTRAIT hPortrait, id3FacePortraitInstruction * eInstruction)

Returns

int
An error code.
See id3FaceError file for the list of possible error codes.