Package apple.uikit.protocol
Interface UIAccessibilityReadingContent
-
public interface UIAccessibilityReadingContentUIAccessibilityReadingContent Implemented on an element that represents content meant to be read, like a book or periodical. Use in conjunction with UIAccessibilityTraitCausesPageTurn to provide a continuous reading experience with VoiceOver.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default @Nullable NSAttributedStringaccessibilityAttributedContentForLineNumber(long lineNumber)If an object adopting this protocol responds to these methods, the system will try sending them before sending the non-attributed versions.default @Nullable NSAttributedStringaccessibilityAttributedPageContent()API-Since: 11.0@Nullable java.lang.StringaccessibilityContentForLineNumber(long lineNumber)Returns the content associated with a line number as a string.CGRectaccessibilityFrameForLineNumber(long lineNumber)Returns the on-screen rectangle for a line number.longaccessibilityLineNumberForPoint(CGPoint point)Returns the line number given a point in the view's coordinate space.@Nullable java.lang.StringaccessibilityPageContent()Returns a string representing the text displayed on the current page.
-
-
-
Method Detail
-
accessibilityContentForLineNumber
@Nullable @Nullable java.lang.String accessibilityContentForLineNumber(long lineNumber)
Returns the content associated with a line number as a string. API-Since: 5.0
-
accessibilityFrameForLineNumber
CGRect accessibilityFrameForLineNumber(long lineNumber)
Returns the on-screen rectangle for a line number. API-Since: 5.0
-
accessibilityLineNumberForPoint
long accessibilityLineNumberForPoint(CGPoint point)
Returns the line number given a point in the view's coordinate space. API-Since: 5.0
-
accessibilityPageContent
@Nullable @Nullable java.lang.String accessibilityPageContent()
Returns a string representing the text displayed on the current page. API-Since: 5.0
-
accessibilityAttributedContentForLineNumber
@Nullable default @Nullable NSAttributedString accessibilityAttributedContentForLineNumber(long lineNumber)
If an object adopting this protocol responds to these methods, the system will try sending them before sending the non-attributed versions. API-Since: 11.0
-
accessibilityAttributedPageContent
@Nullable default @Nullable NSAttributedString accessibilityAttributedPageContent()
API-Since: 11.0
-
-