Share via


ITVInterfaceCreating Interface

Definition

This interface represents the Objective-C protocol TVInterfaceCreating.

[Foundation.Protocol(Name="TVInterfaceCreating", WrapperType=typeof(TVMLKit.TVInterfaceCreatingWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetViewForElement", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(TVMLKit.TVViewElement), typeof(UIKit.UIView) }, ReturnType=typeof(UIKit.UIView), Selector="viewForElement:existingView:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetViewControllerForElement", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(TVMLKit.TVViewElement), typeof(UIKit.UIViewController) }, ReturnType=typeof(UIKit.UIViewController), Selector="viewControllerForElement:existingViewController:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetUrlForResource", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(System.String) }, ReturnType=typeof(Foundation.NSUrl), Selector="URLForResource:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetImageForResource", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(System.String) }, ReturnType=typeof(UIKit.UIImage), Selector="imageForResource:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetCollectionViewCellClass", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(TVMLKit.TVViewElement) }, ReturnType=typeof(ObjCRuntime.Class), Selector="collectionViewCellClassForElement:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetPlayerViewController", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(TVMLKit.TVPlayer) }, ReturnType=typeof(UIKit.UIViewController), Selector="playerViewControllerForPlayer:")]
public interface ITVInterfaceCreating : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="TVInterfaceCreating", WrapperType=typeof(TVMLKit.TVInterfaceCreatingWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetViewForElement", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(TVMLKit.TVViewElement), typeof(UIKit.UIView) }, ReturnType=typeof(UIKit.UIView), Selector="viewForElement:existingView:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetViewControllerForElement", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(TVMLKit.TVViewElement), typeof(UIKit.UIViewController) }, ReturnType=typeof(UIKit.UIViewController), Selector="viewControllerForElement:existingViewController:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetUrlForResource", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(System.String) }, ReturnType=typeof(Foundation.NSUrl), Selector="URLForResource:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetImageForResource", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(System.String) }, ReturnType=typeof(UIKit.UIImage), Selector="imageForResource:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetCollectionViewCellClass", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(TVMLKit.TVViewElement) }, ReturnType=typeof(ObjCRuntime.Class), Selector="collectionViewCellClassForElement:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetPlayerViewController", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(TVMLKit.TVPlayer) }, ReturnType=typeof(UIKit.UIViewController), Selector="playerViewControllerForPlayer:")>]
type ITVInterfaceCreating = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Remarks

A class that implements this interface (and subclasses NSObject) will be exported to Objective-C as implementing the Objective-C protocol this interface represents.

A class may also implement members from this interface to implement members from the protocol.

Properties

Name Description
Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Methods

Name Description
GetCollectionViewCellClass(TVViewElement)
GetImageForResource(String)
GetPlayerViewController(TVPlayer)
GetUrlForResource(String)
GetViewControllerForElement(TVViewElement, UIViewController)
GetViewForElement(TVViewElement, UIView)

Extension Methods

Name Description
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)
GetCollectionViewCellClass(ITVInterfaceCreating, TVViewElement)
GetImageForResource(ITVInterfaceCreating, String)
GetPlayerViewController(ITVInterfaceCreating, TVPlayer)
GetUrlForResource(ITVInterfaceCreating, String)
GetViewControllerForElement(ITVInterfaceCreating, TVViewElement, UIViewController)
GetViewForElement(ITVInterfaceCreating, TVViewElement, UIView)

Applies to