Customize Playback

If the provided playback panel does not meet user needs, developers can implement the playback panel by themselves,refer to Tuya Smart Camera SDK - Playback

Declaration

Set PlaybackPanelListener to jump to the custom panel to implement playback

TuyaCameraPanelSDK.setCustomPlaybackPanelListener(PlaybackPanelListener playbackListener);

Parameters

Parameter Description
playbackListener PlaybackPanelListener interface, set this monitor to customize the playback panel; if not set, jump to the default Tuya camera playback panel

Example

TuyaCameraPanelSDK.setCustomPlaybackPanelListener(new PlaybackPanelListener() {
    @Override
    public void onPlaybackPanelClick(String deviceId) {
        L.d(TAG, "Customize Playback " + deviceId);
    }
});

results matching ""

    No results matching ""