xamarintvos
namespace UIKit
{
[Introduced(PlatformName.iOS, 9, 0, PlatformArchitecture.All, null)]
[Protocol(Name = "UIFocusEnvironment", WrapperType = typeof(UIFocusEnvironmentWrapper))]
[ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "SetNeedsFocusUpdate", Selector = "setNeedsFocusUpdate")]
[ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "UpdateFocusIfNeeded", Selector = "updateFocusIfNeeded")]
[ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "DidUpdateFocus", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(UIFocusUpdateContext), typeof(UIFocusAnimationCoordinator) }, Selector = "didUpdateFocusInContext:withAnimationCoordinator:")]
[ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "ShouldUpdateFocus", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(UIFocusUpdateContext) }, ReturnType = typeof(bool), Selector = "shouldUpdateFocusInContext:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetSoundIdentifier", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(UIFocusUpdateContext) }, ReturnType = typeof(NSString), Selector = "soundIdentifierForFocusUpdateInContext:")]
[ProtocolMember(ArgumentSemantic = ArgumentSemantic.Weak, GetterSelector = "preferredFocusedView", IsProperty = true, IsRequired = true, IsStatic = false, Name = "PreferredFocusedView", PropertyType = typeof(UIView), Selector = "preferredFocusedView")]
[ProtocolMember(ArgumentSemantic = ArgumentSemantic.Copy, GetterSelector = "preferredFocusEnvironments", IsProperty = true, IsRequired = false, IsStatic = false, Name = "PreferredFocusEnvironments", PropertyType = typeof(IUIFocusEnvironment[]), Selector = "preferredFocusEnvironments")]
[ProtocolMember(ArgumentSemantic = ArgumentSemantic.Weak, GetterSelector = "parentFocusEnvironment", IsProperty = true, IsRequired = false, IsStatic = false, Name = "ParentFocusEnvironment", PropertyType = typeof(IUIFocusEnvironment), Selector = "parentFocusEnvironment")]
[ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "focusItemContainer", IsProperty = true, IsRequired = false, IsStatic = false, Name = "FocusItemContainer", PropertyType = typeof(IUIFocusItemContainer), Selector = "focusItemContainer")]
[Unavailable(PlatformName.WatchOS, PlatformArchitecture.All, null)]
public interface IUIFocusEnvironment : INativeObject, IDisposable
{
[BindingImpl(BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[Export("didUpdateFocusInContext:withAnimationCoordinator:")]
[Preserve(Conditional = true)]
void DidUpdateFocus(UIFocusUpdateContext! context, UIFocusAnimationCoordinator! coordinator);
}
}
.NET | 6.07.08.09.0 |
---|---|
Information specific to xamarintvos | |
Assembly | Xamarin.TVOS , Version=0.0.0.0, PublicKeyToken=84e04ff9cfb79065 |
Referencing | The API is automatically referenced. |
Platform Restrictions | This framework does not have platform annotations. |