Class UdpDataSource.UdpDataSourceException

    • Constructor Detail

      • UdpDataSourceException

        public UdpDataSourceException​(Throwable cause,
                                      @ErrorCode
                                      @com.google.android.exoplayer2.PlaybackException.ErrorCode int errorCode)
        Creates a UdpDataSourceException.
        Parameters:
        cause - The error cause.
        errorCode - Reason of the error, should be one of the ERROR_CODE_IO_* in PlaybackException.ErrorCode.