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 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