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 conjuction 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 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 NSAttributedStringaccessibilityAttributedPageContent()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.java.lang.StringaccessibilityPageContent()Returns a string representing the text displayed on the current page.
-
-
-
Method Detail
-
accessibilityContentForLineNumber
java.lang.String accessibilityContentForLineNumber(long lineNumber)
Returns the content associated with a line number as a string.
-
accessibilityFrameForLineNumber
CGRect accessibilityFrameForLineNumber(long lineNumber)
Returns the on-screen rectangle for a line number.
-
accessibilityLineNumberForPoint
long accessibilityLineNumberForPoint(CGPoint point)
Returns the line number given a point in the view's coordinate space.
-
accessibilityPageContent
java.lang.String accessibilityPageContent()
Returns a string representing the text displayed on the current page.
-
accessibilityAttributedContentForLineNumber
default 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.
-
accessibilityAttributedPageContent
default NSAttributedString accessibilityAttributedPageContent()
-
-