TYHomeRoleType Constants Reference

Declared in TuyaSmartHomeModelUtils.h

TYHomeRoleType

Definition

typedef NS_ENUM(NSInteger, TYHomeRoleType ) {
   TYHomeRoleType_Unknown = -999,
   TYHomeRoleType_Custom = -1,
   TYHomeRoleType_Member = 0,
   TYHomeRoleType_Admin,
   TYHomeRoleType_Owner,
};

Constants

TYHomeRoleType_Unknown

Declared In TuyaSmartHomeModelUtils.h.

TYHomeRoleType_Custom

< 家庭角色 无效 invalid role

Declared In TuyaSmartHomeModelUtils.h.

TYHomeRoleType_Member

< 自定义角色 home custom role

Declared In TuyaSmartHomeModelUtils.h.

TYHomeRoleType_Admin

< 家庭普通成员 home ordinary member

Declared In TuyaSmartHomeModelUtils.h.

TYHomeRoleType_Owner

< 家庭管理员 无增删除其他管理员权限 home admin, can’t add or remove other admin

Declared In TuyaSmartHomeModelUtils.h.