initial commit

This commit is contained in:
Caleb
2026-03-01 15:59:27 +08:00
commit a9e97d56cb
1426 changed files with 172367 additions and 0 deletions

View File

@@ -0,0 +1,38 @@
//
// SCLiveItemModel.h
// SellyCloudSDK_Example
//
// Created by Caleb on 21/7/25.
// Copyright © 2025 Caleb. All rights reserved.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
typedef NS_ENUM(NSInteger, SCLiveItemType) {
// ========== 直播推流专用 (1-50) ==========
SCLiveItemTypeSwitchCamera = 1, // 翻转摄像头(直播)
SCLiveItemTypeMute = 2, // 静音/取消静音(直播 - 带状态切换)
SCLiveItemTypeCameraToggle = 3, // 摄像头开关(直播 - 带状态切换)
SCLiveItemTypeCapture = 5, // 截图(直播)
SCLiveItemTypeBackgroundImage = 6, // 背景图(直播)
// ========== 播放器专用 (51-100) ==========
SCLiveItemTypePlayPause = 51, // 播放/暂停(播放器)
SCLiveItemTypeVolume = 52, // 音量控制(播放器)
SCLiveItemTypeScreenshot = 53, // 截图(播放器)
SCLiveItemTypeSeekForward = 54, // 快进(播放器)
SCLiveItemTypeSettings = 55, // 设置/重新配置(播放器)
SCLiveItemTypePiP = 56 // 🎯 画中画(播放器 - 带状态切换)
};
@interface SCLiveItemModel : NSObject
@property (nonatomic, assign) SCLiveItemType type;
@property (nonatomic, strong) NSString *title;
@property (nonatomic, assign) BOOL isSelected; // 用于状态切换
@property (nonatomic, strong) void(^clickCallback)(void);
@end
NS_ASSUME_NONNULL_END