Last Updated on : 2021-09-18 05:30:49download
This topic describes the properties and example of the IP camera (IPC) music control component TYIpcMusicControl.
| Field | Description | Required | Type | Default value |
|---|---|---|---|---|
| ipcMusicControl | The play control. Valid values:
|
Yes | string | 1 |
| ipcMusicMode | The repeat mode. Valid values:
|
Yes | string | 0 |
| themeColor | The theme color. | No | string | red |
| containerStyle | The container style. | No | ViewStyle | {} |
| pressList | Taps the list. | Yes | () => void | () => {} |
| pressControl | Taps the control button. | No | () => void | () => {} |
| pressMode | Taps the mode button. | No | () => void | () => {} |
| pressPrev | Taps the Previous button. | No | () => void | () => {} |
| pressNext | Taps the Next button. | No | () => void | () => {} |
import { TYIpcMusicControl } from '@tuya/tuya-panel-ipc-sdk';
return (
<View>
<TYIpcMusicControl containerStyle={{ marginLeft: 50 }} />
</View>
)
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback