public interface

DLNAActionListener

com.baidu.cyberplayer.dlna.DLNAActionListener

Summary

Constants
int ACTION_AUTH_ERROR
int ACTION_CAN_NOT_BROWSE_ALL
int ACTION_FAILED
int ACTION_FAILURE
int ACTION_INVALID_RENDER
int ACTION_INVALID_SERVER
int ACTION_NULL_POINTER
int ACTION_SUCCESS
int BAD_REQUEST
int CONTINUE
int INTERNAL_SERVER_ERROR
int INVALID_ACTION
int INVALID_ARGS
int INVALID_MIME_TYPE
int INVALID_RANGE
int INVALID_VAR
int OK
int OUT_OF_SYNC
int PARTIAL_CONTENT
int PRECONDITION_FAILED
Public Methods
abstract void onBrowse(boolean isSucess, List<ContentItem> result, int errCode, String errDesc)
abstract void onBrowseFileItems(boolean isSucess, List<FileItem> result, int errCode, String errDesc)
abstract void onDisableDLNA(boolean isSuccess, int errCode, String errDesc)
abstract void onEnableDLNA(boolean isSuccess, int errCode, String errDesc)
abstract void onGetMute(boolean isSucess, boolean result, int errCode, String errDesc)
abstract void onGetSupportedProtocols(boolean isSucess, String result, int errCode, String errDesc)
abstract void onGetVolume(boolean isSucess, int result, int errCode, String errDesc)
abstract void onPause(boolean isSucess, int errCode, String errDesc)
abstract void onPlay(boolean isSucess, int errCode, String errDesc)
abstract void onSeek(boolean isSucess, int errCode, String errDesc)
abstract void onSelectRenderDevice(boolean isSuccess, int errCode, String errDesc)
abstract void onSelectServerDevice(boolean isSuccess, int errCode, String errDesc)
abstract void onSetMediaMetaData(boolean isSucess, int errCode, String errDesc)
abstract void onSetMediaURI(boolean isSucess, int errCode, String errDesc)
abstract void onSetMute(boolean isSucess, int errCode, String errDesc)
abstract void onSetSubSwitch(boolean isSucess, int errCode, String errDesc)
abstract void onSetVolume(boolean isSucess, int errCode, String errDesc)
abstract void onStop(boolean isSucess, int errCode, String errDesc)

Constants

public static final int ACTION_AUTH_ERROR

Constant Value: -4 (0xfffffffc)

public static final int ACTION_CAN_NOT_BROWSE_ALL

Constant Value: -6 (0xfffffffa)

public static final int ACTION_FAILED

Constant Value: 501 (0x000001f5)

public static final int ACTION_FAILURE

Constant Value: -1 (0xffffffff)

public static final int ACTION_INVALID_RENDER

Constant Value: -2 (0xfffffffe)

public static final int ACTION_INVALID_SERVER

Constant Value: -5 (0xfffffffb)

public static final int ACTION_NULL_POINTER

Constant Value: -3 (0xfffffffd)

public static final int ACTION_SUCCESS

Constant Value: 0 (0x00000000)

public static final int BAD_REQUEST

Constant Value: 400 (0x00000190)

public static final int CONTINUE

Constant Value: 100 (0x00000064)

public static final int INTERNAL_SERVER_ERROR

Constant Value: 500 (0x000001f4)

public static final int INVALID_ACTION

Constant Value: 401 (0x00000191)

public static final int INVALID_ARGS

Constant Value: 402 (0x00000192)

public static final int INVALID_MIME_TYPE

Constant Value: 714 (0x000002ca)

public static final int INVALID_RANGE

Constant Value: 416 (0x000001a0)

public static final int INVALID_VAR

Constant Value: 404 (0x00000194)

public static final int OK

Constant Value: 200 (0x000000c8)

public static final int OUT_OF_SYNC

Constant Value: 403 (0x00000193)

public static final int PARTIAL_CONTENT

Constant Value: 206 (0x000000ce)

public static final int PRECONDITION_FAILED

Constant Value: 412 (0x0000019c)

Public Methods

public abstract void onBrowse (boolean isSucess, List<ContentItem> result, int errCode, String errDesc)

public abstract void onBrowseFileItems (boolean isSucess, List<FileItem> result, int errCode, String errDesc)

public abstract void onDisableDLNA (boolean isSuccess, int errCode, String errDesc)

public abstract void onEnableDLNA (boolean isSuccess, int errCode, String errDesc)

public abstract void onGetMute (boolean isSucess, boolean result, int errCode, String errDesc)

public abstract void onGetSupportedProtocols (boolean isSucess, String result, int errCode, String errDesc)

public abstract void onGetVolume (boolean isSucess, int result, int errCode, String errDesc)

public abstract void onPause (boolean isSucess, int errCode, String errDesc)

public abstract void onPlay (boolean isSucess, int errCode, String errDesc)

public abstract void onSeek (boolean isSucess, int errCode, String errDesc)

public abstract void onSelectRenderDevice (boolean isSuccess, int errCode, String errDesc)

public abstract void onSelectServerDevice (boolean isSuccess, int errCode, String errDesc)

public abstract void onSetMediaMetaData (boolean isSucess, int errCode, String errDesc)

public abstract void onSetMediaURI (boolean isSucess, int errCode, String errDesc)

public abstract void onSetMute (boolean isSucess, int errCode, String errDesc)

public abstract void onSetSubSwitch (boolean isSucess, int errCode, String errDesc)

public abstract void onSetVolume (boolean isSucess, int errCode, String errDesc)

public abstract void onStop (boolean isSucess, int errCode, String errDesc)