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