qisdk / com.aldebaran.qi.sdk.serialization / EnumConverter

EnumConverter

open class EnumConverter : Converter

Convert QiEnum from and to raw AnyObject.

Constructors

<init>

Convert QiEnum from and to raw AnyObject.

EnumConverter()

Functions

canDeserialize

open fun canDeserialize(object: Any!, type: Type!): Boolean

canSerialize

open fun canSerialize(object: Any!): Boolean

deserialize

open fun deserialize(serializer: QiSerializer!, object: Any!, targetType: Type!): QiEnum!

serialize

open fun serialize(serializer: QiSerializer!, object: Any!): Int!