11ce40f9fa1d1816f1b3de68c90e8076b74123b93Kirill Grouchnikov/* 21ce40f9fa1d1816f1b3de68c90e8076b74123b93Kirill Grouchnikov * Copyright 2017 The Android Open Source Project 31ce40f9fa1d1816f1b3de68c90e8076b74123b93Kirill Grouchnikov * 41ce40f9fa1d1816f1b3de68c90e8076b74123b93Kirill Grouchnikov * Licensed under the Apache License, Version 2.0 (the "License"); 51ce40f9fa1d1816f1b3de68c90e8076b74123b93Kirill Grouchnikov * you may not use this file except in compliance with the License. 61ce40f9fa1d1816f1b3de68c90e8076b74123b93Kirill Grouchnikov * You may obtain a copy of the License at 71ce40f9fa1d1816f1b3de68c90e8076b74123b93Kirill Grouchnikov * 81ce40f9fa1d1816f1b3de68c90e8076b74123b93Kirill Grouchnikov * http://www.apache.org/licenses/LICENSE-2.0 91ce40f9fa1d1816f1b3de68c90e8076b74123b93Kirill Grouchnikov * 101ce40f9fa1d1816f1b3de68c90e8076b74123b93Kirill Grouchnikov * Unless required by applicable law or agreed to in writing, software 111ce40f9fa1d1816f1b3de68c90e8076b74123b93Kirill Grouchnikov * distributed under the License is distributed on an "AS IS" BASIS, 121ce40f9fa1d1816f1b3de68c90e8076b74123b93Kirill Grouchnikov * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 131ce40f9fa1d1816f1b3de68c90e8076b74123b93Kirill Grouchnikov * See the License for the specific language governing permissions and 141ce40f9fa1d1816f1b3de68c90e8076b74123b93Kirill Grouchnikov * limitations under the License. 151ce40f9fa1d1816f1b3de68c90e8076b74123b93Kirill Grouchnikov */ 161ce40f9fa1d1816f1b3de68c90e8076b74123b93Kirill Grouchnikov 17ac5fe7c617c66850fff75a9fce9979c6e5674b0fAurimas Liutikaspackage androidx.appcompat.widget; 181ce40f9fa1d1816f1b3de68c90e8076b74123b93Kirill Grouchnikov 19ac5fe7c617c66850fff75a9fce9979c6e5674b0fAurimas Liutikasimport static androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP; 201ce40f9fa1d1816f1b3de68c90e8076b74123b93Kirill Grouchnikov 21ac5fe7c617c66850fff75a9fce9979c6e5674b0fAurimas Liutikasimport androidx.annotation.Nullable; 22ac5fe7c617c66850fff75a9fce9979c6e5674b0fAurimas Liutikasimport androidx.annotation.RestrictTo; 231ce40f9fa1d1816f1b3de68c90e8076b74123b93Kirill Grouchnikov 241ce40f9fa1d1816f1b3de68c90e8076b74123b93Kirill Grouchnikov/** 251ce40f9fa1d1816f1b3de68c90e8076b74123b93Kirill Grouchnikov * @hide 261ce40f9fa1d1816f1b3de68c90e8076b74123b93Kirill Grouchnikov */ 271ce40f9fa1d1816f1b3de68c90e8076b74123b93Kirill Grouchnikov@RestrictTo(LIBRARY_GROUP) 281ce40f9fa1d1816f1b3de68c90e8076b74123b93Kirill Grouchnikovpublic interface WithHint { 291ce40f9fa1d1816f1b3de68c90e8076b74123b93Kirill Grouchnikov /** 301ce40f9fa1d1816f1b3de68c90e8076b74123b93Kirill Grouchnikov * Returns the hint which is displayed in the floating label, if enabled. 311ce40f9fa1d1816f1b3de68c90e8076b74123b93Kirill Grouchnikov * 321ce40f9fa1d1816f1b3de68c90e8076b74123b93Kirill Grouchnikov * @return the hint, or null if there isn't one set, or the hint is not enabled. 331ce40f9fa1d1816f1b3de68c90e8076b74123b93Kirill Grouchnikov */ 341ce40f9fa1d1816f1b3de68c90e8076b74123b93Kirill Grouchnikov @Nullable 351ce40f9fa1d1816f1b3de68c90e8076b74123b93Kirill Grouchnikov CharSequence getHint(); 361ce40f9fa1d1816f1b3de68c90e8076b74123b93Kirill Grouchnikov} 37