Skip to main content

Property Owner 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.

TypeDescription
DeviceThis property will be available only from current device
UserThis property will be available for current user
GroupThis property will be available for current user's group
Swift
/*! KSMPropertyOwnerType */
typedef NS_ENUM(NSInteger, KSMPropertyOwnerType) {
KSMDevice = 0,
KSMUser,
KSMGroup
};
Kotlin
public enum PropertyOwnerType {
DEVICE, USER, GROUP;

private PropertyOwnerType() { /* compiled code */ }
}
Flutter
static const PropertyOwnerType device = PropertyOwnerType._(0);
static const PropertyOwnerType user = PropertyOwnerType._(1);
static const PropertyOwnerType group = PropertyOwnerType._(2);
static const Map<int, PropertyOwnerType> values = {
0: device,
1: user,
2: group
};