MonoMac.AVFoundation.AVCaptureDeviceInput.FromDevice Method
A constructor used when creating managed representations of unmanaged objects; Called by the runtime.

Syntax

[System.Obsolete("Use FromDevice (AVCaptureDevice, ref NSError) instead")]
public static AVCaptureDeviceInput FromDevice (AVCaptureDevice device, IntPtr handle)

Parameters

device
Pointer (handle) to the unmanaged object.
handle
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

This constructor is invoked by the runtime infrastructure (MonoMac.ObjCRuntime.GetNSObject (IntPtr)) to create a new managed representation for a pointer to an unmanaged Objective-C object. You should not invoke this method directly, instead you should call the GetNSObject method as it will prevent two instances of a managed object to point to the same native object.

Requirements

Namespace: MonoMac.AVFoundation
Assembly: XamMac (in XamMac.dll)
Assembly Versions: 0.0.0.0