initial commit
This commit is contained in:
29
Example/SellyCloudSDK/Play/SCPlayerDebugView.h
Normal file
29
Example/SellyCloudSDK/Play/SCPlayerDebugView.h
Normal file
@@ -0,0 +1,29 @@
|
||||
//
|
||||
// SCPlayerDebugView.h
|
||||
// SellyCloudSDK_Example
|
||||
//
|
||||
// Created by Caleb on 07/1/26.
|
||||
// Copyright © 2026 Caleb. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@interface SCPlayerDebugView : UIView
|
||||
|
||||
/// 添加一条调试信息(自动添加时间戳)
|
||||
- (void)appendLog:(NSString *)message;
|
||||
|
||||
/// 添加一条调试信息(带自定义标签,如 ⚠️ 🔴 等)
|
||||
- (void)appendLog:(NSString *)message withPrefix:(nullable NSString *)prefix;
|
||||
|
||||
/// 清空所有日志
|
||||
- (void)clearLogs;
|
||||
|
||||
/// 展开状态(默认为 YES)
|
||||
@property (nonatomic, assign) BOOL isExpanded;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
Reference in New Issue
Block a user