Skip to main content

Property Type

Property type is a parameter where you define what property type you want to set. Please take a look at the enum of available types.

Swift
/*! KSMPropertyType */
typedef NS_ENUM(NSInteger, KSMPropertyType) {
KSMInvalid = -1,
KSMOctetString = 0,
KSMInteger,
KSMBoolean,
KSMUtf8String,
KSMDate
};

Kotlin
public enum PropertyType {
INVALID, OCTET_STRING, INTEGER, BOOLEAN, UTF8_STRING, DATE
}
Flutter
static const PropertyType invalid = PropertyType._(-1);
static const PropertyType octetString = PropertyType._(0);
static const PropertyType integer = PropertyType._(1);
static const PropertyType boolean = PropertyType._(2);
static const PropertyType utf8String = PropertyType._(3);
static const PropertyType date = PropertyType._(4);
static const Map<int, PropertyType> values = {
-1: invalid,
0: octetString,
1: integer,
2: boolean,
3: utf8String,
4: date
};