コード例 #1
0
 private void setTimeline(Asset defaultAsset, Slideshow timeline) {
   timeline.setHeadline("Slideshow");
   timeline.setType("default");
   if (defaultAsset != null) {
     timeline.setText("This is your default Slideshow content");
     timeline.setAsset(defaultAsset);
   } else {
     timeline.setText("You dont have default content for Slideshow");
   }
 }
コード例 #2
0
 private void setDefaultProperties(Asset defaultAsset, Slideshow timeline) {
   timeline.setHeadline("Slideshow");
   timeline.setText("This is your default Slideshow content");
   timeline.setType("default");
   timeline.setAsset(defaultAsset);
 }