OnObbStateChangeListener.java revision 05105f7abe02b2dff91d6260b3628c8b97816bab
105105f7abe02b2dff91d6260b3628c8b97816babKenny Root/*
205105f7abe02b2dff91d6260b3628c8b97816babKenny Root * Copyright (C) 2010 The Android Open Source Project
305105f7abe02b2dff91d6260b3628c8b97816babKenny Root *
405105f7abe02b2dff91d6260b3628c8b97816babKenny Root * Licensed under the Apache License, Version 2.0 (the "License");
505105f7abe02b2dff91d6260b3628c8b97816babKenny Root * you may not use this file except in compliance with the License.
605105f7abe02b2dff91d6260b3628c8b97816babKenny Root * You may obtain a copy of the License at
705105f7abe02b2dff91d6260b3628c8b97816babKenny Root *
805105f7abe02b2dff91d6260b3628c8b97816babKenny Root *      http://www.apache.org/licenses/LICENSE-2.0
905105f7abe02b2dff91d6260b3628c8b97816babKenny Root *
1005105f7abe02b2dff91d6260b3628c8b97816babKenny Root * Unless required by applicable law or agreed to in writing, software
1105105f7abe02b2dff91d6260b3628c8b97816babKenny Root * distributed under the License is distributed on an "AS IS" BASIS,
1205105f7abe02b2dff91d6260b3628c8b97816babKenny Root * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1305105f7abe02b2dff91d6260b3628c8b97816babKenny Root * See the License for the specific language governing permissions and
1405105f7abe02b2dff91d6260b3628c8b97816babKenny Root * limitations under the License.
1505105f7abe02b2dff91d6260b3628c8b97816babKenny Root */
1605105f7abe02b2dff91d6260b3628c8b97816babKenny Root
1705105f7abe02b2dff91d6260b3628c8b97816babKenny Rootpackage android.os.storage;
1805105f7abe02b2dff91d6260b3628c8b97816babKenny Root
1905105f7abe02b2dff91d6260b3628c8b97816babKenny Root/**
2005105f7abe02b2dff91d6260b3628c8b97816babKenny Root * Used for receiving notifications from {@link StorageManager}.
2105105f7abe02b2dff91d6260b3628c8b97816babKenny Root */
2205105f7abe02b2dff91d6260b3628c8b97816babKenny Rootpublic abstract class OnObbStateChangeListener {
2305105f7abe02b2dff91d6260b3628c8b97816babKenny Root    /**
2405105f7abe02b2dff91d6260b3628c8b97816babKenny Root     * Called when an OBB has changed states.
2505105f7abe02b2dff91d6260b3628c8b97816babKenny Root     *
2605105f7abe02b2dff91d6260b3628c8b97816babKenny Root     * @param path path to the OBB file the state change has happened on
2705105f7abe02b2dff91d6260b3628c8b97816babKenny Root     * @param state the current state of the OBB
2805105f7abe02b2dff91d6260b3628c8b97816babKenny Root     */
2905105f7abe02b2dff91d6260b3628c8b97816babKenny Root    public void onObbStateChange(String path, String state) {
3005105f7abe02b2dff91d6260b3628c8b97816babKenny Root    }
3105105f7abe02b2dff91d6260b3628c8b97816babKenny Root}
32