/// /// HybridFaceSpec.kt /// This file was generated by nitrogen. DO NOT MODIFY THIS FILE. /// https://github.com/mrousavy/nitro /// Copyright © Marc Rousavy @ Margelo /// package com.margelo.nitro.camera.facedetector import androidx.annotation.Keep import com.facebook.jni.HybridData import com.facebook.proguard.annotations.DoNotStrip import com.margelo.nitro.core.HybridObject /** * A Kotlin class representing the Face HybridObject. * Implement this abstract class to create Kotlin-based instances of Face. */ @DoNotStrip @Keep @Suppress( "KotlinJniMissingFunction", "unused", "RedundantSuppression", "RedundantUnitReturnType", "SimpleRedundantLet", "LocalVariableName", "PropertyName", "PrivatePropertyName", "FunctionName" ) abstract class HybridFaceSpec: HybridObject() { // Properties @get:DoNotStrip @get:Keep abstract val landmarks: Landmarks? @get:DoNotStrip @get:Keep abstract val contours: Contours? @get:DoNotStrip @get:Keep abstract val bounds: Bounds @get:DoNotStrip @get:Keep abstract val leftEyeOpenProbability: Double? @get:DoNotStrip @get:Keep abstract val rightEyeOpenProbability: Double? @get:DoNotStrip @get:Keep abstract val smilingProbability: Double? @get:DoNotStrip @get:Keep abstract val trackingId: Double? @get:DoNotStrip @get:Keep abstract val pitchAngle: Double @get:DoNotStrip @get:Keep abstract val rollAngle: Double @get:DoNotStrip @get:Keep abstract val yawAngle: Double // Methods // Default implementation of `HybridObject.toString()` override fun toString(): String { return "[HybridObject Face]" } // C++ backing class @DoNotStrip @Keep protected open class CxxPart(javaPart: HybridFaceSpec): HybridObject.CxxPart(javaPart) { // C++ JHybridFaceSpec::CxxPart::initHybrid(...) external override fun initHybrid(): HybridData } override fun createCxxPart(): CxxPart { return CxxPart(this) } companion object { protected const val TAG = "HybridFaceSpec" } }