Package apple.uikit.protocol
Interface UIPickerViewAccessibilityDelegate
-
- All Superinterfaces:
UIPickerViewDelegate
public interface UIPickerViewAccessibilityDelegate extends UIPickerViewDelegate
Optionally implement the following methods in a UIPickerView delegate in order to provide accessibility information per component. See UIAccessibility.h for more information about hints and labels.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default @Nullable NSAttributedStringpickerViewAccessibilityAttributedHintForComponent(@NotNull UIPickerView pickerView, long component)API-Since: 11.0default @Nullable NSAttributedStringpickerViewAccessibilityAttributedLabelForComponent(@NotNull UIPickerView pickerView, long component)If an object adopting this protocol responds to these methods, the system will try sending them before sending their non-attributed versions.default @NotNull NSArray<? extends NSAttributedString>pickerViewAccessibilityAttributedUserInputLabelsForComponent(@NotNull UIPickerView pickerView, long component)API-Since: 13.0default @Nullable java.lang.StringpickerViewAccessibilityHintForComponent(@NotNull UIPickerView pickerView, long component)default @Nullable java.lang.StringpickerViewAccessibilityLabelForComponent(@NotNull UIPickerView pickerView, long component)default @NotNull NSArray<java.lang.String>pickerViewAccessibilityUserInputLabelsForComponent(@NotNull UIPickerView pickerView, long component)API-Since: 13.0-
Methods inherited from interface apple.uikit.protocol.UIPickerViewDelegate
pickerViewAttributedTitleForRowForComponent, pickerViewDidSelectRowInComponent, pickerViewRowHeightForComponent, pickerViewTitleForRowForComponent, pickerViewViewForRowForComponentReusingView, pickerViewWidthForComponent
-
-
-
-
Method Detail
-
pickerViewAccessibilityHintForComponent
@Nullable default @Nullable java.lang.String pickerViewAccessibilityHintForComponent(@NotNull @NotNull UIPickerView pickerView, long component)
-
pickerViewAccessibilityLabelForComponent
@Nullable default @Nullable java.lang.String pickerViewAccessibilityLabelForComponent(@NotNull @NotNull UIPickerView pickerView, long component)
-
pickerViewAccessibilityAttributedHintForComponent
@Nullable default @Nullable NSAttributedString pickerViewAccessibilityAttributedHintForComponent(@NotNull @NotNull UIPickerView pickerView, long component)
API-Since: 11.0
-
pickerViewAccessibilityAttributedLabelForComponent
@Nullable default @Nullable NSAttributedString pickerViewAccessibilityAttributedLabelForComponent(@NotNull @NotNull UIPickerView pickerView, long component)
If an object adopting this protocol responds to these methods, the system will try sending them before sending their non-attributed versions. API-Since: 11.0
-
pickerViewAccessibilityAttributedUserInputLabelsForComponent
@NotNull default @NotNull NSArray<? extends NSAttributedString> pickerViewAccessibilityAttributedUserInputLabelsForComponent(@NotNull @NotNull UIPickerView pickerView, long component)
API-Since: 13.0
-
pickerViewAccessibilityUserInputLabelsForComponent
@NotNull default @NotNull NSArray<java.lang.String> pickerViewAccessibilityUserInputLabelsForComponent(@NotNull @NotNull UIPickerView pickerView, long component)
API-Since: 13.0
-
-