Files
keyboard/Pods/LookinServer/Src/Main/Shared/LookinDisplayItemDetail.h
2025-10-28 10:18:10 +08:00

52 lines
1.5 KiB
Objective-C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#ifdef SHOULD_COMPILE_LOOKIN_SERVER
//
// LookinDisplayItemDetail.h
// Lookin
//
// Created by Li Kai on 2019/2/19.
// https://lookin.work
//
#import "LookinDefines.h"
@class LookinAttributesGroup;
@class LookinDisplayItem;
@interface LookinDisplayItemDetail : NSObject <NSSecureCoding>
@property(nonatomic, assign) unsigned long displayItemOid;
@property(nonatomic, strong) LookinImage *groupScreenshot;
@property(nonatomic, strong) LookinImage *soloScreenshot;
@property(nonatomic, strong) NSValue *frameValue;
@property(nonatomic, strong) NSValue *boundsValue;
@property(nonatomic, strong) NSNumber *hiddenValue;
@property(nonatomic, strong) NSNumber *alphaValue;
@property(nonatomic, copy) NSString *customDisplayTitle;
@property(nonatomic, copy) NSString *danceUISource;
@property(nonatomic, copy) NSArray<LookinAttributesGroup *> *attributesGroupList;
@property(nonatomic, copy) NSArray<LookinAttributesGroup *> *customAttrGroupList;
/// 注意 nil 和空数组的区别nil 表示该属性无意义,空数组表示 subviews 为空
/// Client 1.0.7 & Server 1.2.7 开始支持该属性
/// 默认为 nil
@property(nonatomic, copy) NSArray<LookinDisplayItem *> *subitems;
/// 当 Server 找不到 task 对应的图层时,会返回一个特殊的 LookinDisplayItemDetail 对象,这个对象会被设置 displayItemOid 和 failureCode其中 failureCode 会被置为 -1
/// Client 1.0.7 & Server 1.2.7 开始支持该属性
/// 默认为 0
@property(nonatomic, assign) NSInteger failureCode;
@end
#endif /* SHOULD_COMPILE_LOOKIN_SERVER */