PFObserverDelegate
IntroductionA formal protocol declaring delegate messages sent by PFObserver. DiscussionThe PFObserverDelegate protocol implements one optional delegate method, applicationWithIdentifier:atPath:didPostAccessibilityNotification:fromObservedUIElement:forAffectedUIElement:. Clients that implement this delegate method must declare that they adopt this formal protocol. Methods
applicationWithIdentifier:atPath:didPostAccessibilityNotification:fromObservedUIElement:forAffectedUIElement:Sent when the receiving observer detects an accessibility notification. - (void)applicationWithIdentifier:(NSString *)identifier atPath:(NSString *)fullPath didPostAccessibilityNotification:(NSString *)notification fromObservedUIElement:(PFUIElement *)observedUIElement forAffectedUIElement:(PFUIElement *)affectedUIElement; Parameters
DiscussionSent when the accessibility API detects a change in the observed UI element. To use this delegate method, a client application must implement it, create a PFObserver object using -initWithPath: or one of the other initializers or factory methods that do not include parameters for a callback (i.e., temporary notification delegate and callback selector), set one of its classes as the delegate of the PFObserver object, and register to observe the notification. In the delegate method, use the - (void)observer:(PFObserver *)observer notification:(NSString *)notification element:(PFUIElement *)element contextInfo:(void *)contextInfo |