player_error_cb typedef
@brief Called when an error occurs in the media player.
@details Following error codes can be delivered.
#PLAYER_ERROR_INVALID_OPERATION
#PLAYER_ERROR_INVALID_STATE
#PLAYER_ERROR_INVALID_URI
#PLAYER_ERROR_CONNECTION_FAILED
#PLAYER_ERROR_DRM_NOT_PERMITTED
#PLAYER_ERROR_FILE_NO_SPACE_ON_DEVICE
#PLAYER_ERROR_NOT_SUPPORTED_FILE
#PLAYER_ERROR_SEEK_FAILED
#PLAYER_ERROR_SERVICE_DISCONNECTED
#PLAYER_ERROR_NOT_SUPPORTED_AUDIO_CODEC (Since 4.0)
#PLAYER_ERROR_NOT_SUPPORTED_VIDEO_CODEC (Since 4.0)
#PLAYER_ERROR_NOT_SUPPORTED_SUBTITLE (Since 4.0)
@since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif
@paramin
error_code The error code
@paramin
user_data The user data passed from the callback registration function
@see player_set_error_cb()
@see player_unset_error_cb()
Implementation
typedef player_error_cb
= ffi.Pointer<ffi.NativeFunction<player_error_cbFunction>>;