-
public class NativeMediaPlayer.Companion
-
-
Field Summary
-
Method Summary
Modifier and Type Method Description final IntegergetMEDIA_ERROR_UNKNOWN()Unspecified media player error. final IntegergetMEDIA_ERROR_SERVER_DIED()Media server died. final IntegergetMEDIA_ERROR_NOT_VALID_FOR_PROGRESSIVE_PLAYBACK()The video is streamed and its container is not valid for progressive playback i.e the video's index (e.g moov atom) is not at the start of the file. final IntegergetMEDIA_ERROR_IO()File or network related operation errors. final IntegergetMEDIA_ERROR_MALFORMED()Bitstream is not conforming to the related coding standard or file spec. final IntegergetMEDIA_ERROR_UNSUPPORTED()Bitstream is conforming to the related coding standard or file spec, but the media framework does not support the feature. final IntegergetMEDIA_ERROR_TIMED_OUT()Some operation takes too long to complete, usually more than 3-5 seconds. final IntegergetMEDIA_ERROR_SYSTEM()Unspecified low-level system error. final IntegergetMEDIA_ERROR_OK()Unspecified low-level system error. final IntegergetMEDIA_ERROR_UNKNOWN_ERROR()Unspecified low-level system error. final IntegergetMEDIA_ERROR_NO_MEMORY()Unspecified low-level system error. final IntegergetMEDIA_ERROR_INVALID_OPERATION()Unspecified low-level system error. final IntegergetMEDIA_ERROR_BAD_VALUE()Unspecified low-level system error. final IntegergetMEDIA_ERROR_BAD_TYPE()Unspecified low-level system error. final IntegergetMEDIA_ERROR_NAME_NOT_FOUND()Unspecified low-level system error. final IntegergetMEDIA_ERROR_PERMISSION_DENIED()Unspecified low-level system error. final IntegergetMEDIA_ERROR_NO_INIT()Unspecified low-level system error. final IntegergetMEDIA_ERROR_ALREADY_EXISTS()Unspecified low-level system error. final IntegergetMEDIA_ERROR_DEAD_OBJECT()Unspecified low-level system error. final IntegergetMEDIA_ERROR_FAILED_TRANSACTION()Unspecified low-level system error. final IntegergetMEDIA_ERROR_JPARKS_BROKE_IT()Unspecified low-level system error. final IntegergetMEDIA_ERROR_BAD_INDEX()Unspecified low-level system error. final IntegergetMEDIA_ERROR_NOT_ENOUGH_DATA()Unspecified low-level system error. final IntegergetMEDIA_ERROR_WOULD_BLOCK()Unspecified low-level system error. -
-
Method Detail
-
getMEDIA_ERROR_UNKNOWN
final Integer getMEDIA_ERROR_UNKNOWN()
Unspecified media player error.
-
getMEDIA_ERROR_SERVER_DIED
final Integer getMEDIA_ERROR_SERVER_DIED()
Media server died. In this case, the application must release the MediaPlayer object and instantiate a new one.
-
getMEDIA_ERROR_NOT_VALID_FOR_PROGRESSIVE_PLAYBACK
final Integer getMEDIA_ERROR_NOT_VALID_FOR_PROGRESSIVE_PLAYBACK()
The video is streamed and its container is not valid for progressive playback i.e the video's index (e.g moov atom) is not at the start of the file.
-
getMEDIA_ERROR_IO
final Integer getMEDIA_ERROR_IO()
File or network related operation errors.
-
getMEDIA_ERROR_MALFORMED
final Integer getMEDIA_ERROR_MALFORMED()
Bitstream is not conforming to the related coding standard or file spec.
-
getMEDIA_ERROR_UNSUPPORTED
final Integer getMEDIA_ERROR_UNSUPPORTED()
Bitstream is conforming to the related coding standard or file spec, but the media framework does not support the feature.
-
getMEDIA_ERROR_TIMED_OUT
final Integer getMEDIA_ERROR_TIMED_OUT()
Some operation takes too long to complete, usually more than 3-5 seconds.
-
getMEDIA_ERROR_SYSTEM
final Integer getMEDIA_ERROR_SYSTEM()
Unspecified low-level system error. This value originated from UNKNOWN_ERROR in system/core/include/utils/Errors.h
-
getMEDIA_ERROR_OK
final Integer getMEDIA_ERROR_OK()
Unspecified low-level system error. This value originated from OK in system/core/include/utils/Errors.h
-
getMEDIA_ERROR_UNKNOWN_ERROR
final Integer getMEDIA_ERROR_UNKNOWN_ERROR()
Unspecified low-level system error. This value originated from UNKNOWN_ERROR in system/core/include/utils/Errors.h
-
getMEDIA_ERROR_NO_MEMORY
final Integer getMEDIA_ERROR_NO_MEMORY()
Unspecified low-level system error. This value originated from NO_MEMORY in system/core/include/utils/Errors.h
-
getMEDIA_ERROR_INVALID_OPERATION
final Integer getMEDIA_ERROR_INVALID_OPERATION()
Unspecified low-level system error. This value originated from INVALID_OPERATION in system/core/include/utils/Errors.h
-
getMEDIA_ERROR_BAD_VALUE
final Integer getMEDIA_ERROR_BAD_VALUE()
Unspecified low-level system error. This value originated from BAD_VALUE in system/core/include/utils/Errors.h
-
getMEDIA_ERROR_BAD_TYPE
final Integer getMEDIA_ERROR_BAD_TYPE()
Unspecified low-level system error. This value originated from BAD_TYPE in system/core/include/utils/Errors.h
-
getMEDIA_ERROR_NAME_NOT_FOUND
final Integer getMEDIA_ERROR_NAME_NOT_FOUND()
Unspecified low-level system error. This value originated from NAME_NOT_FOUND in system/core/include/utils/Errors.h
-
getMEDIA_ERROR_PERMISSION_DENIED
final Integer getMEDIA_ERROR_PERMISSION_DENIED()
Unspecified low-level system error. This value originated from PERMISSION_DENIED in system/core/include/utils/Errors.h
-
getMEDIA_ERROR_NO_INIT
final Integer getMEDIA_ERROR_NO_INIT()
Unspecified low-level system error. This value originated from NO_INIT in system/core/include/utils/Errors.h
-
getMEDIA_ERROR_ALREADY_EXISTS
final Integer getMEDIA_ERROR_ALREADY_EXISTS()
Unspecified low-level system error. This value originated from ALREADY_EXISTS in system/core/include/utils/Errors.h
-
getMEDIA_ERROR_DEAD_OBJECT
final Integer getMEDIA_ERROR_DEAD_OBJECT()
Unspecified low-level system error. This value originated from DEAD_OBJECT in system/core/include/utils/Errors.h
-
getMEDIA_ERROR_FAILED_TRANSACTION
final Integer getMEDIA_ERROR_FAILED_TRANSACTION()
Unspecified low-level system error. This value originated from FAILED_TRANSACTION in system/core/include/utils/Errors.h
-
getMEDIA_ERROR_JPARKS_BROKE_IT
final Integer getMEDIA_ERROR_JPARKS_BROKE_IT()
Unspecified low-level system error. This value originated from JPARKS_BROKE_IT in system/core/include/utils/Errors.h
-
getMEDIA_ERROR_BAD_INDEX
final Integer getMEDIA_ERROR_BAD_INDEX()
Unspecified low-level system error. This value originated from BAD_INDEX in system/core/include/utils/Errors.h
-
getMEDIA_ERROR_NOT_ENOUGH_DATA
final Integer getMEDIA_ERROR_NOT_ENOUGH_DATA()
Unspecified low-level system error. This value originated from NOT_ENOUGH_DATA in system/core/include/utils/Errors.h
-
getMEDIA_ERROR_WOULD_BLOCK
final Integer getMEDIA_ERROR_WOULD_BLOCK()
Unspecified low-level system error. This value originated from WOULD_BLOCK in system/core/include/utils/Errors.h
-
-
-
-