/documentation/RockLockTutorial/RockLock_03/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
- /*
- * Copyright (C) 2010 Google Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not
- * use this file except in compliance with the License. You may obtain a copy of
- * the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations under
- * the License.
- */
-
- package com.marvin.rocklock;
-
- /**
- * Interface for traversing through the songs on the device. Individual
- * implementations can handle traversal differently - for example, traversal
- * through tagged content vs directory structure vs playlists.
- *
- * @author clchen@google.com (Charles L. Chen)
- */
- public interface SongPicker {
-
- public String peekNextArtist();
-
- public String peekPrevArtist();
-
- public String goNextArtist();
-
- public String goPrevArtist();
-
- public String peekNextAlbum();
-
- public String goNextAlbum();
-
- public String peekPrevAlbum();
-
- public String goPrevAlbum();
-
- public String peekNextTrack();
-
- public String goNextTrack();
-
- public String peekPrevTrack();
-
- public String goPrevTrack();
-
- public String getCurrentSongFile();
-
- public String getCurrentSongInfo();
- }