Files
SellyCloudSDK_demo/Example/SellyCloudSDK/Play/SCPlayerDebugView.h
2026-03-01 15:59:27 +08:00

30 lines
637 B
Objective-C
Raw Permalink 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.
//
// 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