public interface UISearchBarDelegate
Modifier and Type | Method and Description |
---|---|
default void |
bookmarkButtonClicked(UISearchBar p1)
It is used when the bookmark button was tapped.
|
default void |
cancelButtonClicked(UISearchBar p1)
It is used when the cancel button was tapped.
|
default void |
searchButtonClicked(UISearchBar p1)
It is used when the search button was tapped.
|
default void |
selectedScopeButtonIndexDidChange(UISearchBar p1,
int p2)
It is used when the scope button selected changed.
|
default boolean |
shouldBeginEditing(UISearchBar p1)
It is used when the search text editing is permitted.
|
default boolean |
shouldEndEditing(UISearchBar p1)
It is used when the search text editing should finish.
|
default void |
textDidBeginEditing(UISearchBar p1)
It is used when the search text editing just finished.
|
default void |
textDidChange(UISearchBar p1,
String p2)
It is used when the user changed the search text.
|
default void |
textDidEndEditing(UISearchBar p1)
It is used when the search text editing has finished.
|
default void textDidChange(UISearchBar p1, String p2)
p1
- The search bar that corresponds to this delegate.p2
- The current text of the search field.default boolean shouldBeginEditing(UISearchBar p1)
p1
- The search bar that corresponds to this delegate.default void textDidBeginEditing(UISearchBar p1)
p1
- The search bar that corresponds to this delegate.default boolean shouldEndEditing(UISearchBar p1)
p1
- The search bar that corresponds to this delegate.default void textDidEndEditing(UISearchBar p1)
p1
- The search bar that corresponds to this delegate.default void bookmarkButtonClicked(UISearchBar p1)
p1
- The search bar that corresponds to this delegate.default void cancelButtonClicked(UISearchBar p1)
p1
- The search bar that corresponds to this delegate.default void searchButtonClicked(UISearchBar p1)
p1
- The search bar that corresponds to this delegate.default void selectedScopeButtonIndexDidChange(UISearchBar p1, int p2)
p1
- The search bar that corresponds to this delegate.p2
- The selected scope button defined by its index.Copyright © 2020. All rights reserved.