1 /* 2 * Copyright (C) 2014 The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except 5 * in compliance with the License. You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software distributed under the License 10 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express 11 * or implied. See the License for the specific language governing permissions and limitations under 12 * the License. 13 */ 14 15 package com.android.camera.burst; 16 17 import java.util.List; 18 19 /** 20 * Represents an artifact generated by burst. 21 * <p/> 22 * An artifact consists of media items of the same type. An artifact can be a 23 * collection of images, collages, GIFs or any other media item. 24 * <p/> 25 * The type of artifact is returned by {@link #getType()}. 26 */ 27 public interface BurstArtifact { 28 /** 29 * Gets all media items in the artifact. 30 * 31 * @return all media items in the artifact. 32 */ 33 public List<BurstMediaItem> getMediaItems(); 34 35 /** 36 * Returns the type name of this artifact. 37 */ 38 public String getType(); 39 40 /** 41 * Returns the localized name of this artifact. 42 */ 43 public String getLocalizedName(); 44 }