UIKit.UIView.SpeakSelectionStatusDidChangeNotification Property
Notification constant for SpeakSelectionStatusDidChange

Syntax

[Foundation.Field("UIAccessibilitySpeakSelectionStatusDidChangeNotification", "UIKit")]
[ObjCRuntime.Availability(Introduced=ObjCRuntime.Platform.iOS_8_0)]
[get: ObjCRuntime.Availability(Introduced=ObjCRuntime.Platform.iOS_8_0)]
public static Foundation.NSString SpeakSelectionStatusDidChangeNotification { get; }

Value

NSString constant, should be used as a token to NSNotificationCenter.

Remarks

This constant can be used with the Foundation.NSNotificationCenter to register a listener for this notification. This is an NSString instead of a string, because these values can be used as tokens in some native libraries instead of being used purely for their actual string content. The 'notification' parameter to the callback contains extra information that is specific to the notification type.

c# Example

// Lambda style
NSNotificationCenter.DefaultCenter.AddObserver (
        UIView.SpeakSelectionStatusDidChangeNotification, (notification) => {Console.WriteLine ("Received the notification UIView", notification); }


// Method style
void Callback (NSNotification notification)
{
    Console.WriteLine ("Received a notification UIView", notification);
}

void Setup ()
{
    NSNotificationCenter.DefaultCenter.AddObserver (UIView.SpeakSelectionStatusDidChangeNotification, Callback);
}

Requirements

Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0