mirror of
https://github.com/TeamNewPipe/NewPipeExtractor.git
synced 2024-12-12 21:30:33 +05:30
Merge pull request #1 from mauriciocolli/master
Make 'Stream' classes implement Serializable
This commit is contained in:
commit
8ff28a6999
@ -1,5 +1,7 @@
|
||||
package org.schabi.newpipe.extractor.stream_info;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* Created by Christian Schabesberger on 04.03.16.
|
||||
*
|
||||
@ -20,7 +22,7 @@ package org.schabi.newpipe.extractor.stream_info;
|
||||
* along with NewPipe. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
public class AudioStream {
|
||||
public class AudioStream implements Serializable{
|
||||
public String url = "";
|
||||
public int format = -1;
|
||||
public int bandwidth = -1;
|
||||
|
@ -1,5 +1,7 @@
|
||||
package org.schabi.newpipe.extractor.stream_info;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* Created by Christian Schabesberger on 04.03.16.
|
||||
*
|
||||
@ -20,7 +22,7 @@ package org.schabi.newpipe.extractor.stream_info;
|
||||
* along with NewPipe. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
public class VideoStream {
|
||||
public class VideoStream implements Serializable{
|
||||
//url of the stream
|
||||
public String url = "";
|
||||
public int format = -1;
|
||||
|
Loading…
Reference in New Issue
Block a user