PageRenderTime 5ms CodeModel.GetById 1ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/MusicLockTutorial/src/com/marvin/rocklock/SongPicker.java

http://eyes-free.googlecode.com/
Java | 55 lines | 17 code | 16 blank | 22 comment | 0 complexity | 33819f085e1f1422c4cc51dd87563bb5 MD5 | raw file
 1/*
 2 * Copyright (C) 2010 Google Inc.
 3 * 
 4 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 5 * use this file except in compliance with the License. You may obtain a copy of
 6 * the License at
 7 * 
 8 * http://www.apache.org/licenses/LICENSE-2.0
 9 * 
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 * License for the specific language governing permissions and limitations under
14 * the License.
15 */
16
17package com.marvin.rocklock;
18
19/**
20 * Interface for traversing through the songs on the device. Individual
21 * implementations can handle traversal differently - for example, traversal
22 * through tagged content vs directory structure vs playlists.
23 * 
24 * @author clchen@google.com (Charles L. Chen)
25 */
26public interface SongPicker {
27
28    public String peekNextArtist();
29
30    public String peekPrevArtist();
31
32    public String goNextArtist();
33
34    public String goPrevArtist();
35
36    public String peekNextAlbum();
37
38    public String goNextAlbum();
39
40    public String peekPrevAlbum();
41
42    public String goPrevAlbum();
43
44    public String peekNextTrack();
45
46    public String goNextTrack();
47
48    public String peekPrevTrack();
49
50    public String goPrevTrack();
51
52    public String getCurrentSongFile();
53
54    public String getCurrentSongInfo();
55}