| // Copyright 2015 The Vanadium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style |
| // license that can be found in the LICENSE file. |
| |
| package io.v.syncslides.model; |
| |
| import android.graphics.Bitmap; |
| |
| /** |
| * A deck, aka a set of slides. |
| */ |
| public interface Deck { |
| /** |
| * Returns a Bitmap suitable as a thumbnail of the deck (e.g. the title |
| * slide). |
| */ |
| Bitmap getThumb(); |
| |
| /** |
| * Returns raw thumbnail data. |
| */ |
| byte[] getThumbData(); |
| |
| /** |
| * Returns the title of the deck. |
| */ |
| String getTitle(); |
| |
| /** |
| * Returns the deck id. |
| */ |
| String getId(); |
| } |