1e1571705e6ea8367e7ee93d61104ce27035492dcLucas Dupin/* 2e1571705e6ea8367e7ee93d61104ce27035492dcLucas Dupin * Copyright (C) 2017 The Android Open Source Project 3e1571705e6ea8367e7ee93d61104ce27035492dcLucas Dupin * 4e1571705e6ea8367e7ee93d61104ce27035492dcLucas Dupin * Licensed under the Apache License, Version 2.0 (the "License"); 5e1571705e6ea8367e7ee93d61104ce27035492dcLucas Dupin * you may not use this file except in compliance with the License. 6e1571705e6ea8367e7ee93d61104ce27035492dcLucas Dupin * You may obtain a copy of the License at 7e1571705e6ea8367e7ee93d61104ce27035492dcLucas Dupin * 8e1571705e6ea8367e7ee93d61104ce27035492dcLucas Dupin * http://www.apache.org/licenses/LICENSE-2.0 9e1571705e6ea8367e7ee93d61104ce27035492dcLucas Dupin * 10e1571705e6ea8367e7ee93d61104ce27035492dcLucas Dupin * Unless required by applicable law or agreed to in writing, software 11e1571705e6ea8367e7ee93d61104ce27035492dcLucas Dupin * distributed under the License is distributed on an "AS IS" BASIS, 12e1571705e6ea8367e7ee93d61104ce27035492dcLucas Dupin * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13e1571705e6ea8367e7ee93d61104ce27035492dcLucas Dupin * See the License for the specific language governing permissions and 14e1571705e6ea8367e7ee93d61104ce27035492dcLucas Dupin * limitations under the License. 15e1571705e6ea8367e7ee93d61104ce27035492dcLucas Dupin */ 16e1571705e6ea8367e7ee93d61104ce27035492dcLucas Dupin 17e1571705e6ea8367e7ee93d61104ce27035492dcLucas Dupinpackage android.view; 18e1571705e6ea8367e7ee93d61104ce27035492dcLucas Dupin 19e1571705e6ea8367e7ee93d61104ce27035492dcLucas Dupin/** 20e1571705e6ea8367e7ee93d61104ce27035492dcLucas Dupin * Listener to be invoked when wallpaper visibility changes. 21e1571705e6ea8367e7ee93d61104ce27035492dcLucas Dupin * {@hide} 22e1571705e6ea8367e7ee93d61104ce27035492dcLucas Dupin */ 23e1571705e6ea8367e7ee93d61104ce27035492dcLucas Dupinoneway interface IWallpaperVisibilityListener { 24e1571705e6ea8367e7ee93d61104ce27035492dcLucas Dupin /** 25e1571705e6ea8367e7ee93d61104ce27035492dcLucas Dupin * Method that will be invoked when wallpaper becomes visible or hidden. 26e1571705e6ea8367e7ee93d61104ce27035492dcLucas Dupin * @param visible True if wallpaper is being displayed; false otherwise. 27e1571705e6ea8367e7ee93d61104ce27035492dcLucas Dupin * @param displayId The id of the display where wallpaper visibility changed. 28e1571705e6ea8367e7ee93d61104ce27035492dcLucas Dupin */ 29e1571705e6ea8367e7ee93d61104ce27035492dcLucas Dupin void onWallpaperVisibilityChanged(boolean visible, int displayId); 30e1571705e6ea8367e7ee93d61104ce27035492dcLucas Dupin} 31