Android Open Source - edu-video-client Video






From Project

Back to project page edu-video-client.

License

The source code is released under:

Apache License

If you think the Android project edu-video-client listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.ngm.explaintome.data;
//from   w w w.  ja v a 2 s.  c o m
import java.util.ArrayList;
import java.util.List;

import com.ngm.explaintome.FilterableEntity;

import android.net.Uri;

public class Video extends ModelElement implements FilterableEntity {
  private List<Tag> tags = new ArrayList<Tag>();
  private Uri videoUri;
  private String title;
  private String description;
  private List<Question> questions = new ArrayList<Question>();
  private float rating;

  public Uri getVideoUri() {
    return videoUri;
  }

  public void setVideoUri(Uri videoUri) {
    this.videoUri = videoUri;
  }

  public String getTitle() {
    return title;
  }

  @Override
  public String toString() {
    return "Video [tags=" + tags + ", videoUri=" + videoUri + ", title="
        + title + ", description=" + description + ", questions="
        + questions + ", rating=" + rating + "]";
  }

  public void setTitle(String title) {
    this.title = title;
  }

  public String getDescription() {
    return description;
  }

  public void setDescription(String description) {
    this.description = description;
  }

  public List<Question> getQuestions() {
    return questions;
  }

  public void setQuestions(List<Question> questions) {
    this.questions = questions;
  }

  public float getRating() {
    return rating;
  }

  public void setRating(float rating) {
    this.rating = rating;
  }

  public void setUri(String path) {
    this.videoUri = Uri.parse(path);
  }

  public void setTags(List<Tag> tags) {
    this.tags = tags;
  }

  public Uri getPath() {
    return videoUri;
  }

  public List<Tag> getTags() {
    return tags;
  }

  @Override
  public String getFilterText() {
    return getTitle();
  }
}




Java Source Code List

com.ngm.exlpaintome.video.VideoControllerView.java
com.ngm.explaintome.BaseActivity.java
com.ngm.explaintome.BaseListActivity.java
com.ngm.explaintome.BrowseActivity.java
com.ngm.explaintome.ColoredSearchView.java
com.ngm.explaintome.Constants.java
com.ngm.explaintome.ExplainActivity.java
com.ngm.explaintome.FilterableEntity.java
com.ngm.explaintome.FirstActivity.java
com.ngm.explaintome.FixedPagerAdapter.java
com.ngm.explaintome.RestConfig.java
com.ngm.explaintome.VideoViewActivity.java
com.ngm.explaintome.VideosActivity.java
com.ngm.explaintome.YoutubeUrlAsyncTask.java
com.ngm.explaintome.data.Answer.java
com.ngm.explaintome.data.ModelElement.java
com.ngm.explaintome.data.QuestionType.java
com.ngm.explaintome.data.Question.java
com.ngm.explaintome.data.Tag.java
com.ngm.explaintome.data.Video.java
com.ngm.explaintome.modules.ModuleProvider.java
com.ngm.explaintome.service.Callback.java
com.ngm.explaintome.service.MockRestActions.java
com.ngm.explaintome.service.RestActionsImpl.java
com.ngm.explaintome.service.RestActions.java