Remove unnecessary public from binding definition files

- Was causing conflicts between {App,UI}Kit and CloudKit
This commit is contained in:
Chris Hamons 2016-09-16 11:11:56 -05:00
Родитель 4f5fc6d263
Коммит c80d72c7d6
48 изменённых файлов: 1450 добавлений и 1439 удалений

Просмотреть файл

@ -126,7 +126,7 @@ automatically for Objective-C APIs by the generator).
**Objective-C Binding**
```csharp
public interface Fooable {
interface Fooable {
[Export ("foo:")]
void Foo (NSTableViewDropOperation dropOp);
}

Просмотреть файл

@ -995,7 +995,7 @@ namespace XamCore.UIKit {
}
#if !WATCH
public delegate void UIPrintInteractionCompletionHandler (UIPrintInteractionController printInteractionController, bool completed, NSError error);
delegate void UIPrintInteractionCompletionHandler (UIPrintInteractionController printInteractionController, bool completed, NSError error);
#endif
// untyped (and unamed) enum -> UIPrintError.h

Просмотреть файл

@ -65,8 +65,8 @@ namespace XamCore.Accounts {
string OAuthToken { get; set; }
}
public delegate void ACAccountStoreSaveCompletionHandler (bool success, NSError error);
public delegate void ACRequestCompletionHandler (bool granted, NSError error);
delegate void ACAccountStoreSaveCompletionHandler (bool success, NSError error);
delegate void ACRequestCompletionHandler (bool granted, NSError error);
[Since (5,0)]
[Mac (10,8, onlyOn64 : true)]

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Просмотреть файл

@ -1,4 +1,4 @@
//
//
// Contacts bindings
//
// Authors:
@ -16,17 +16,17 @@ namespace XamCore.Contacts {
#if XAMCORE_2_0 // The Contacts framework uses generics heavily, which is only supported in Unified (for now at least)
public interface ICNKeyDescriptor {}
interface ICNKeyDescriptor {}
[iOS (9,0), Mac (10,11, onlyOn64: true)]
[Protocol]
// Headers say "This protocol is reserved for Contacts framework usage.", so don't create a model
public interface CNKeyDescriptor : NSObjectProtocol, NSSecureCoding, NSCopying {
interface CNKeyDescriptor : NSObjectProtocol, NSSecureCoding, NSCopying {
}
[iOS (9,0), Mac (10,11, onlyOn64: true)]
[BaseType (typeof (NSObject))]
public interface CNContact : NSCopying, NSMutableCopying, NSSecureCoding {
interface CNContact : NSCopying, NSMutableCopying, NSSecureCoding {
[Export ("identifier")]
string Identifier { get; }
@ -182,7 +182,7 @@ namespace XamCore.Contacts {
[iOS (9,0), Mac (10,11, onlyOn64: true)]
[Static]
[EditorBrowsable (EditorBrowsableState.Advanced)]
public interface CNContactKey {
interface CNContactKey {
[Field ("CNContactIdentifierKey")]
NSString Identifier { get; }
@ -281,7 +281,7 @@ namespace XamCore.Contacts {
[iOS (9,0), Mac (10,11, onlyOn64: true)]
[BaseType (typeof (NSObject))]
[DisableDefaultCtor] // using init raises an exception according to docs
public interface CNContactFetchRequest : NSSecureCoding {
interface CNContactFetchRequest : NSSecureCoding {
[DesignatedInitializer]
[Export ("initWithKeysToFetch:")]
@ -310,7 +310,7 @@ namespace XamCore.Contacts {
[iOS (9,0), Mac (10,11, onlyOn64: true)]
[BaseType (typeof (NSFormatter))]
public interface CNContactFormatter {
interface CNContactFormatter {
[Static]
[Export ("descriptorForRequiredKeysForStyle:")]
@ -347,7 +347,7 @@ namespace XamCore.Contacts {
[iOS (9,0), Mac (10,11, onlyOn64: true)]
[BaseType (typeof (NSObject))]
public interface CNContactProperty : NSCopying, NSSecureCoding {
interface CNContactProperty : NSCopying, NSSecureCoding {
[Export ("contact", ArgumentSemantic.Copy)]
CNContact Contact { get; }
@ -370,7 +370,7 @@ namespace XamCore.Contacts {
[iOS (9,0), Mac (10,11, onlyOn64: true)]
[BaseType (typeof (NSObject))]
public interface CNContactRelation : NSCopying, NSSecureCoding, INSCopying, INSSecureCoding {
interface CNContactRelation : NSCopying, NSSecureCoding, INSCopying, INSSecureCoding {
[Static]
[Export ("contactRelationWithName:")]
@ -386,7 +386,7 @@ namespace XamCore.Contacts {
[iOS (9,0), Mac (10,11, onlyOn64: true)]
[Static]
[EditorBrowsable (EditorBrowsableState.Advanced)]
public interface CNLabelContactRelationKey {
interface CNLabelContactRelationKey {
[Field ("CNLabelContactRelationFather")]
NSString Father { get; }
@ -422,15 +422,15 @@ namespace XamCore.Contacts {
NSString Manager { get; }
}
public delegate void CNContactStoreRequestAccessHandler (bool granted, NSError error);
delegate void CNContactStoreRequestAccessHandler (bool granted, NSError error);
#if !XAMCORE_4_0
public delegate void CNContactStoreEnumerateContactsHandler (CNContact contact, bool stop);
delegate void CNContactStoreEnumerateContactsHandler (CNContact contact, bool stop);
#endif
public delegate void CNContactStoreListContactsHandler (CNContact contact, ref bool stop);
delegate void CNContactStoreListContactsHandler (CNContact contact, ref bool stop);
[iOS (9,0), Mac (10,11, onlyOn64: true)]
[BaseType (typeof (NSObject))]
public interface CNContactStore {
interface CNContactStore {
[Static]
[Export ("authorizationStatusForEntityType:")]
@ -485,7 +485,7 @@ namespace XamCore.Contacts {
[iOS (9,0), Mac (10,11, onlyOn64: true)]
[BaseType (typeof (NSObject))]
[ThreadSafe (false)]
public interface CNContactsUserDefaults {
interface CNContactsUserDefaults {
[Static]
[Export ("sharedDefaults")]
@ -500,7 +500,7 @@ namespace XamCore.Contacts {
[iOS (9,0), Mac (10,11, onlyOn64: true)]
[BaseType (typeof (NSObject))]
public interface CNContactVCardSerialization {
interface CNContactVCardSerialization {
[Static]
[Export ("descriptorForRequiredKeys")]
@ -518,7 +518,7 @@ namespace XamCore.Contacts {
[iOS (9,0), Mac (10,11, onlyOn64: true)]
[Category]
[BaseType (typeof (CNContainer))]
public interface CNContainer_PredicatesExtension {
interface CNContainer_PredicatesExtension {
[Static]
[Export ("predicateForContainersWithIdentifiers:")]
@ -535,7 +535,7 @@ namespace XamCore.Contacts {
[iOS (9,0), Mac (10,11, onlyOn64: true)]
[BaseType (typeof (NSObject))]
public interface CNContainer : NSCopying, NSSecureCoding {
interface CNContainer : NSCopying, NSSecureCoding {
[Export ("identifier")]
string Identifier { get; }
@ -550,7 +550,7 @@ namespace XamCore.Contacts {
[iOS (9,0), Mac (10,11, onlyOn64: true)]
[Static]
[EditorBrowsable (EditorBrowsableState.Advanced)]
public interface CNContainerKey { // Can be used in KVO
interface CNContainerKey { // Can be used in KVO
[Field ("CNContainerIdentifierKey")]
NSString Identifier { get; }
@ -565,7 +565,7 @@ namespace XamCore.Contacts {
[iOS (9,0), Mac (10,11, onlyOn64: true)]
[Static]
[EditorBrowsable (EditorBrowsableState.Advanced)]
public interface CNErrorUserInfoKey {
interface CNErrorUserInfoKey {
[Field ("CNErrorUserInfoAffectedRecordsKey")]
NSString AffectedRecords { get; }
@ -583,7 +583,7 @@ namespace XamCore.Contacts {
[iOS (9,0), Mac (10,11, onlyOn64: true)]
[Category]
[BaseType (typeof (CNGroup))]
public interface CNGroup_PredicatesExtension {
interface CNGroup_PredicatesExtension {
[Static]
[Export ("predicateForGroupsWithIdentifiers:")]
@ -601,7 +601,7 @@ namespace XamCore.Contacts {
[iOS (9,0), Mac (10,11, onlyOn64: true)]
[BaseType (typeof (NSObject))]
public interface CNGroup : NSCopying, NSMutableCopying, NSSecureCoding {
interface CNGroup : NSCopying, NSMutableCopying, NSSecureCoding {
[Export ("identifier")]
string Identifier { get; }
@ -613,7 +613,7 @@ namespace XamCore.Contacts {
[iOS (9,0), Mac (10,11, onlyOn64: true)]
[Static]
[EditorBrowsable (EditorBrowsableState.Advanced)]
public interface CNGroupKey { // Can be used in KVO
interface CNGroupKey { // Can be used in KVO
[Field ("CNGroupIdentifierKey")]
NSString Identifier { get; }
@ -624,7 +624,7 @@ namespace XamCore.Contacts {
[iOS (9,0), Mac (10,11, onlyOn64: true)]
[BaseType (typeof (NSObject))]
public interface CNInstantMessageAddress : NSCopying, NSSecureCoding, INSCopying, INSSecureCoding {
interface CNInstantMessageAddress : NSCopying, NSSecureCoding, INSCopying, INSSecureCoding {
[Export ("initWithUsername:service:")]
IntPtr Constructor (string username, string service);
@ -647,7 +647,7 @@ namespace XamCore.Contacts {
[iOS (9,0), Mac (10,11, onlyOn64: true)]
[Static]
[EditorBrowsable (EditorBrowsableState.Advanced)]
public interface CNInstantMessageAddressKey { // Can be used in KVO
interface CNInstantMessageAddressKey { // Can be used in KVO
[Field ("CNInstantMessageAddressUsernameKey")]
NSString Username { get; }
@ -659,7 +659,7 @@ namespace XamCore.Contacts {
[iOS (9,0), Mac (10,11, onlyOn64: true)]
[Static]
[EditorBrowsable (EditorBrowsableState.Advanced)]
public interface CNInstantMessageServiceKey {
interface CNInstantMessageServiceKey {
[Field ("CNInstantMessageServiceAIM")]
NSString Aim { get; }
@ -694,7 +694,7 @@ namespace XamCore.Contacts {
[iOS (9,0), Mac (10,11, onlyOn64: true)]
[BaseType (typeof (NSObject))]
public interface CNLabeledValue<ValueType> : NSCopying, NSSecureCoding
interface CNLabeledValue<ValueType> : NSCopying, NSSecureCoding
where ValueType : INSCopying, INSSecureCoding
{
@ -733,7 +733,7 @@ namespace XamCore.Contacts {
[iOS (9,0), Mac (10,11, onlyOn64: true)]
[Static]
[EditorBrowsable (EditorBrowsableState.Advanced)]
public interface CNLabelKey {
interface CNLabelKey {
[Field ("CNLabelHome")]
NSString Home { get; }
@ -756,7 +756,7 @@ namespace XamCore.Contacts {
[iOS (9,0), Mac (10,11, onlyOn64: true)]
[BaseType (typeof (CNContact))]
public interface CNMutableContact {
interface CNMutableContact {
[New]
[Export ("contactType")]
@ -874,7 +874,7 @@ namespace XamCore.Contacts {
[iOS (9,0), Mac (10,11, onlyOn64: true)]
[BaseType (typeof (CNGroup))]
public interface CNMutableGroup {
interface CNMutableGroup {
[New]
[Export ("name")]
@ -883,7 +883,7 @@ namespace XamCore.Contacts {
[iOS (9,0), Mac (10,11, onlyOn64: true)]
[BaseType (typeof (CNPostalAddress))]
public interface CNMutablePostalAddress {
interface CNMutablePostalAddress {
[New]
[Export ("street")]
@ -913,7 +913,7 @@ namespace XamCore.Contacts {
[iOS (9,0), Mac (10,11, onlyOn64: true)]
[BaseType (typeof (NSObject))]
[DisableDefaultCtor] // Apple doc: no handle (nil) if no string (or nil string) is given
public interface CNPhoneNumber : NSCopying, NSSecureCoding, INSCopying, INSSecureCoding {
interface CNPhoneNumber : NSCopying, NSSecureCoding, INSCopying, INSSecureCoding {
// @required + (instancetype)phoneNumberWithStringValue:(NSString *)stringValue;
[Static, Export ("phoneNumberWithStringValue:")]
@ -931,7 +931,7 @@ namespace XamCore.Contacts {
[iOS (9,0), Mac (10,11, onlyOn64: true)]
[Static]
[EditorBrowsable (EditorBrowsableState.Advanced)]
public interface CNLabelPhoneNumberKey {
interface CNLabelPhoneNumberKey {
[Field ("CNLabelPhoneNumberiPhone")]
NSString iPhone { get; }
@ -957,7 +957,7 @@ namespace XamCore.Contacts {
[iOS (9,0)] [Mac (10,11, onlyOn64: true)]
[BaseType (typeof (NSObject))]
public interface CNPostalAddress : NSCopying, NSMutableCopying, NSSecureCoding, INSCopying, INSSecureCoding {
interface CNPostalAddress : NSCopying, NSMutableCopying, NSSecureCoding, INSCopying, INSSecureCoding {
[Export ("street")]
string Street { get; }
@ -985,7 +985,7 @@ namespace XamCore.Contacts {
[iOS (9,0), Mac (10,11, onlyOn64: true)]
[Static]
[EditorBrowsable (EditorBrowsableState.Advanced)]
public interface CNPostalAddressKey { // Can be used in KVO
interface CNPostalAddressKey { // Can be used in KVO
[Field ("CNPostalAddressStreetKey")]
NSString Street { get; }
@ -1008,7 +1008,7 @@ namespace XamCore.Contacts {
[iOS (9,0), Mac (10,11, onlyOn64: true)]
[BaseType (typeof (NSFormatter))]
public interface CNPostalAddressFormatter {
interface CNPostalAddressFormatter {
[Static]
[Export ("stringFromPostalAddress:style:")]
@ -1037,7 +1037,7 @@ namespace XamCore.Contacts {
#if !WATCH
[iOS (9,0), Mac (10,11, onlyOn64: true)]
[BaseType (typeof (NSObject))]
public interface CNSaveRequest {
interface CNSaveRequest {
[Export ("addContact:toContainerWithIdentifier:")]
void AddContact (CNMutableContact contact, [NullAllowed] string identifier);
@ -1075,7 +1075,7 @@ namespace XamCore.Contacts {
[iOS (9,0), Mac (10,11, onlyOn64: true)]
[BaseType (typeof (NSObject))]
public interface CNSocialProfile : NSCopying, NSSecureCoding, INSCopying, INSSecureCoding {
interface CNSocialProfile : NSCopying, NSSecureCoding, INSCopying, INSSecureCoding {
[Export ("urlString")]
string UrlString { get; }
@ -1104,7 +1104,7 @@ namespace XamCore.Contacts {
[iOS (9,0), Mac (10,11, onlyOn64: true)]
[Static]
[EditorBrowsable (EditorBrowsableState.Advanced)]
public interface CNSocialProfileKey { // Can be used in KVO
interface CNSocialProfileKey { // Can be used in KVO
[Field ("CNSocialProfileURLStringKey")]
NSString UrlString { get; }
@ -1122,7 +1122,7 @@ namespace XamCore.Contacts {
[iOS (9,0), Mac (10,11, onlyOn64: true)]
[Static]
[EditorBrowsable (EditorBrowsableState.Advanced)]
public interface CNSocialProfileServiceKey {
interface CNSocialProfileServiceKey {
[Field ("CNSocialProfileServiceFacebook")]
NSString Facebook { get; }

Просмотреть файл

@ -1,4 +1,4 @@
using System;
using System;
using System.ComponentModel;
using XamCore.ObjCRuntime;
using XamCore.Foundation;
@ -26,7 +26,7 @@ namespace XamCore.ContactsUI {
void Close ();
}
public interface ICNContactPickerDelegate { }
interface ICNContactPickerDelegate { }
[Mac (10,11, onlyOn64: true)]
[Protocol, Model]

Просмотреть файл

@ -52,7 +52,7 @@ namespace XamCore.CoreAnimation {
[BaseType (typeof (NSObject))]
[Model]
[Protocol]
public interface CAMediaTiming {
interface CAMediaTiming {
#if XAMCORE_2_0
[Abstract]
#endif
@ -102,18 +102,18 @@ namespace XamCore.CoreAnimation {
string FillMode { get; set; }
}
public interface ICAMediaTiming {}
interface ICAMediaTiming {}
#if MONOMAC
[BaseType (typeof (NSObject))]
public interface CAConstraintLayoutManager : NSCoding {
interface CAConstraintLayoutManager : NSCoding {
[Static]
[Export ("layoutManager")]
CAConstraintLayoutManager LayoutManager { get; }
}
[BaseType (typeof (NSObject))]
public interface CAConstraint : NSCoding {
interface CAConstraint : NSCoding {
[Export ("attribute")]
CAConstraintAttribute Attribute { get; }
@ -144,7 +144,7 @@ namespace XamCore.CoreAnimation {
#else
[BaseType (typeof (NSObject))]
public interface CADisplayLink {
interface CADisplayLink {
[Export ("displayLinkWithTarget:selector:")][Static]
CADisplayLink Create (NSObject target, Selector sel);
@ -200,7 +200,7 @@ namespace XamCore.CoreAnimation {
[BaseType (typeof (NSObject))]
[Dispose ("OnDispose ();")]
public interface CALayer : CAMediaTiming, NSCoding {
interface CALayer : CAMediaTiming, NSCoding {
[Export ("layer")][Static]
CALayer Create ();
@ -630,7 +630,7 @@ namespace XamCore.CoreAnimation {
#endif
[BaseType (typeof (CALayer))]
public interface CATiledLayer {
interface CATiledLayer {
[Export ("layer"), New, Static]
CALayer Create ();
@ -648,7 +648,7 @@ namespace XamCore.CoreAnimation {
}
[BaseType (typeof (CALayer))]
public interface CAReplicatorLayer {
interface CAReplicatorLayer {
[Export ("layer"), New, Static]
CALayer Create ();
@ -682,7 +682,7 @@ namespace XamCore.CoreAnimation {
[BaseType (typeof (CALayer))]
public interface CAScrollLayer {
interface CAScrollLayer {
[Export ("layer"), New, Static]
CALayer Create ();
@ -709,7 +709,7 @@ namespace XamCore.CoreAnimation {
}
[BaseType (typeof (CALayer))]
public interface CAShapeLayer {
interface CAShapeLayer {
[Export ("layer"), New, Static]
CALayer Create ();
@ -777,7 +777,7 @@ namespace XamCore.CoreAnimation {
}
[BaseType (typeof (CALayer))]
public interface CATransformLayer {
interface CATransformLayer {
[Export ("layer"), New, Static]
CALayer Create ();
@ -787,7 +787,7 @@ namespace XamCore.CoreAnimation {
[Since (3,2)]
[BaseType (typeof (CALayer))]
public interface CATextLayer {
interface CATextLayer {
[Export ("layer"), New, Static]
CALayer Create ();
@ -853,7 +853,7 @@ namespace XamCore.CoreAnimation {
[BaseType (typeof (NSObject))]
[Model]
[Protocol (IsInformal = true)] // not informal as of iOS 10+, but removing the IsInformal value breaks when building with older SDKs (see bug #43585).
public interface CALayerDelegate {
interface CALayerDelegate {
[Export ("displayLayer:")]
void DisplayLayer (CALayer layer);
@ -873,7 +873,7 @@ namespace XamCore.CoreAnimation {
#if !MONOMAC
[BaseType (typeof (CALayer))]
public interface CAEAGLLayer : EAGLDrawable {
interface CAEAGLLayer : EAGLDrawable {
[Export ("layer"), New, Static]
CALayer Create ();
@ -887,7 +887,7 @@ namespace XamCore.CoreAnimation {
[Model]
[Protocol]
[DisableDefaultCtor]
public interface CAAction {
interface CAAction {
#if XAMCORE_2_0
[Abstract]
#endif
@ -896,7 +896,7 @@ namespace XamCore.CoreAnimation {
}
[BaseType (typeof (NSObject), Delegates=new string [] {"WeakDelegate"}, Events=new Type [] { typeof (CAAnimationDelegate)})]
public interface CAAnimation : CAAction, CAMediaTiming, NSCoding, NSMutableCopying {
interface CAAnimation : CAAction, CAMediaTiming, NSCoding, NSMutableCopying {
[Export ("animation"), Static]
CAAnimation CreateAnimation ();
@ -1007,7 +1007,7 @@ namespace XamCore.CoreAnimation {
[BaseType (typeof (NSObject))]
[Model]
[Synthetic]
public interface CAAnimationDelegate {
interface CAAnimationDelegate {
[Export ("animationDidStart:")]
void AnimationStarted ([NullAllowed] CAAnimation anim);
@ -1017,7 +1017,7 @@ namespace XamCore.CoreAnimation {
}
[BaseType (typeof (CAAnimation))]
public interface CAPropertyAnimation {
interface CAPropertyAnimation {
[Static]
[Export ("animationWithKeyPath:")]
CAPropertyAnimation FromKeyPath ([NullAllowed] string path);
@ -1038,7 +1038,7 @@ namespace XamCore.CoreAnimation {
}
[BaseType (typeof (CAPropertyAnimation))]
public interface CABasicAnimation {
interface CABasicAnimation {
[Static, New, Export ("animationWithKeyPath:")]
CABasicAnimation FromKeyPath ([NullAllowed] string path);
@ -1084,7 +1084,7 @@ namespace XamCore.CoreAnimation {
}
[BaseType (typeof (CAPropertyAnimation), Name="CAKeyframeAnimation")]
public interface CAKeyFrameAnimation {
interface CAKeyFrameAnimation {
[Static, Export ("animationWithKeyPath:")]
#if XAMCORE_2_0
CAKeyFrameAnimation FromKeyPath ([NullAllowed] string path);
@ -1144,7 +1144,7 @@ namespace XamCore.CoreAnimation {
}
[BaseType (typeof (CAAnimation))]
public interface CATransition {
interface CATransition {
[Export ("animation"), Static, New]
CATransition CreateAnimation ();
@ -1176,7 +1176,7 @@ namespace XamCore.CoreAnimation {
#else
[Partial] // keep default .ctor for API compatibility
#endif
public interface CAFillMode {
interface CAFillMode {
[Field ("kCAFillModeForwards")]
NSString Forwards { get; }
@ -1197,7 +1197,7 @@ namespace XamCore.CoreAnimation {
}
[BaseType (typeof (NSObject))]
public interface CATransaction {
interface CATransaction {
[Static]
[Export ("begin")]
void Begin ();
@ -1256,7 +1256,7 @@ namespace XamCore.CoreAnimation {
}
[BaseType (typeof (CAAnimation))]
public interface CAAnimationGroup {
interface CAAnimationGroup {
[NullAllowed] // by default this property is null
[Export ("animations", ArgumentSemantic.Copy)]
CAAnimation [] Animations { get; set; }
@ -1266,7 +1266,7 @@ namespace XamCore.CoreAnimation {
}
[BaseType (typeof (CALayer))]
public interface CAGradientLayer {
interface CAGradientLayer {
[Export ("layer"), New, Static]
CALayer Create ();
@ -1293,7 +1293,7 @@ namespace XamCore.CoreAnimation {
[BaseType (typeof (NSObject))]
[DisableDefaultCtor]
public interface CAMediaTimingFunction : NSCoding {
interface CAMediaTimingFunction : NSCoding {
[Export ("functionWithName:")][Static]
CAMediaTimingFunction FromName (NSString name);
@ -1324,7 +1324,7 @@ namespace XamCore.CoreAnimation {
}
[BaseType (typeof (NSObject))]
public interface CAValueFunction : NSCoding {
interface CAValueFunction : NSCoding {
[Export ("functionWithName:"), Static]
CAValueFunction FromName (string name);

Просмотреть файл

@ -14,7 +14,7 @@ using XamCore.ObjCRuntime;
namespace XamCore.CoreData
{
[StrongDictionary ("UserInfoKeys")]
public interface UserInfo {
interface UserInfo {
NSError [] DetailedErrors { get; set; }
NSManagedObject ObjectForValidationError { get; set; }
NSString KeyForValidationError { get; set; }
@ -71,7 +71,7 @@ namespace XamCore.CoreData
[BaseType (typeof (NSPersistentStore))]
// Objective-C exception thrown. Name: NSInternalInconsistencyException Reason: NSMappedObjectStore must be initialized with initWithPersistentStoreCoordinator:configurationName:URL:options
[DisableDefaultCtor]
public interface NSAtomicStore {
interface NSAtomicStore {
[Export ("initWithPersistentStoreCoordinator:configurationName:URL:options:")]
IntPtr Constructor (NSPersistentStoreCoordinator coordinator, string configurationName, NSUrl url, [NullAllowed] NSDictionary options);
@ -127,7 +127,7 @@ namespace XamCore.CoreData
[BaseType (typeof (NSObject))]
// Objective-C exception thrown. Name: NSInvalidArgumentException Reason: NSAtomicStoreCacheNodes must be initialized using initWithObjectID:(NSManagedObjectID *)
[DisableDefaultCtor]
public interface NSAtomicStoreCacheNode {
interface NSAtomicStoreCacheNode {
[Export ("initWithObjectID:")]
IntPtr Constructor (NSManagedObjectID moid);
@ -151,7 +151,7 @@ namespace XamCore.CoreData
}
[BaseType (typeof (NSPropertyDescription))]
public interface NSAttributeDescription {
interface NSAttributeDescription {
[Export ("attributeType")]
NSAttributeType AttributeType { get; set; }
@ -178,7 +178,7 @@ namespace XamCore.CoreData
}
[BaseType (typeof (NSObject))]
public interface NSEntityDescription : NSCoding, NSCopying {
interface NSEntityDescription : NSCoding, NSCopying {
[Static, Export ("entityForName:inManagedObjectContext:")]
[return: NullAllowed]
@ -272,7 +272,7 @@ namespace XamCore.CoreData
}
[BaseType (typeof (NSObject))]
public interface NSEntityMapping {
interface NSEntityMapping {
[Export ("name")]
string Name { get; set; }
@ -316,7 +316,7 @@ namespace XamCore.CoreData
}
[BaseType (typeof (NSObject))]
public interface NSEntityMigrationPolicy {
interface NSEntityMigrationPolicy {
[Export ("beginEntityMapping:manager:error:")]
bool BeginEntityMapping (NSEntityMapping mapping, NSMigrationManager manager, out NSError error);
@ -341,7 +341,7 @@ namespace XamCore.CoreData
}
[BaseType (typeof (NSPropertyDescription))]
public interface NSExpressionDescription {
interface NSExpressionDescription {
[NullAllowed, Export ("expression", ArgumentSemantic.Strong)]
NSExpression Expression { get; set; }
@ -351,7 +351,7 @@ namespace XamCore.CoreData
}
[BaseType (typeof (NSPropertyDescription))]
public interface NSFetchedPropertyDescription {
interface NSFetchedPropertyDescription {
[NullAllowed] // by default this property is null
[Export ("fetchRequest", ArgumentSemantic.Retain)]
@ -360,7 +360,7 @@ namespace XamCore.CoreData
[DisableDefaultCtor]
[BaseType (typeof (NSExpression))]
public interface NSFetchRequestExpression {
interface NSFetchRequestExpression {
[Internal]
[DesignatedInitializer]
@ -380,14 +380,14 @@ namespace XamCore.CoreData
bool IsCountOnly { [Bind ("isCountOnlyRequest")] get;}
}
public interface INSFetchRequestResult {}
interface INSFetchRequestResult {}
[Watch (3,0), TV (10,0), iOS (10,0), Mac (10,12)]
[Protocol]
public interface NSFetchRequestResult {}
interface NSFetchRequestResult {}
[BaseType (typeof (NSPersistentStoreRequest))]
public interface NSFetchRequest : NSCoding {
interface NSFetchRequest : NSCoding {
[Export ("entity", ArgumentSemantic.Retain)]
[NullAllowed]
@ -672,7 +672,7 @@ namespace XamCore.CoreData
// 'init' issues a warning: CoreData: error: Failed to call designated initializer on NSManagedObject class 'NSManagedObject'
// then crash while disposing the instance
[DisableDefaultCtor]
public interface NSManagedObject {
interface NSManagedObject {
[DesignatedInitializer]
[Export ("initWithEntity:insertIntoManagedObjectContext:")]
IntPtr Constructor (NSEntityDescription entity, [NullAllowed] NSManagedObjectContext context);
@ -844,14 +844,14 @@ namespace XamCore.CoreData
[Watch (3,0), TV (10,0), iOS (10,0), Mac (10,12)]
[BaseType (typeof(NSObject))]
public interface NSQueryGenerationToken : NSCopying
interface NSQueryGenerationToken : NSCopying
{
[Static, Export ("currentQueryGenerationToken", ArgumentSemantic.Strong)]
NSQueryGenerationToken CurrentToken { get; }
}
[BaseType (typeof (NSObject))]
public interface NSManagedObjectContext : NSCoding
interface NSManagedObjectContext : NSCoding
#if !WATCH && !TVOS
, NSLocking
#endif // !WATCH
@ -1067,7 +1067,7 @@ namespace XamCore.CoreData
void RefreshAllObjects ();
}
public interface NSManagedObjectChangeEventArgs {
interface NSManagedObjectChangeEventArgs {
[Export ("NSInsertedObjectsKey")]
NSSet InsertedObjects { get; }
@ -1091,7 +1091,7 @@ namespace XamCore.CoreData
[BaseType (typeof (NSObject))]
// Objective-C exception thrown. Name: NSInvalidArgumentException Reason: *** -URIRepresentation cannot be sent to an abstract object of class NSManagedObjectID: Create a concrete instance!
[DisableDefaultCtor]
public interface NSManagedObjectID : NSCopying {
interface NSManagedObjectID : NSCopying {
[Export ("entity", ArgumentSemantic.Strong)]
NSEntityDescription Entity { get; }
@ -1108,7 +1108,7 @@ namespace XamCore.CoreData
}
[BaseType (typeof (NSObject))]
public interface NSManagedObjectModel : NSCoding, NSCopying {
interface NSManagedObjectModel : NSCoding, NSCopying {
[Static, Export ("mergedModelFromBundles:")]
[return: NullAllowed]
@ -1210,7 +1210,7 @@ namespace XamCore.CoreData
}
[BaseType (typeof (NSObject))]
public interface NSMappingModel {
interface NSMappingModel {
[Static, Export ("mappingModelFromBundles:forSourceModel:destinationModel:")]
[return: NullAllowed]
@ -1242,7 +1242,7 @@ namespace XamCore.CoreData
[Since(5,0)][Lion]
[BaseType (typeof (NSObject))]
[DisableDefaultCtor]
public interface NSMergeConflict {
interface NSMergeConflict {
[Export ("sourceObject", ArgumentSemantic.Retain)]
NSManagedObject SourceObject { get; }
@ -1330,7 +1330,7 @@ namespace XamCore.CoreData
}
[BaseType (typeof (NSObject))]
public interface NSMigrationManager {
interface NSMigrationManager {
[Export ("initWithSourceModel:destinationModel:")]
IntPtr Constructor (NSManagedObjectModel sourceModel, NSManagedObjectModel destinationModel);
@ -1399,7 +1399,7 @@ namespace XamCore.CoreData
// make our managed version [Abstract].
[BaseType (typeof (NSObject))]
[DisableDefaultCtor]
public interface NSPersistentStore {
interface NSPersistentStore {
[Static, Export ("metadataForPersistentStoreWithURL:error:")]
[return: NullAllowed]
@ -1470,7 +1470,7 @@ namespace XamCore.CoreData
[Watch (3,0), TV (10,0), iOS (10,0), Mac (10,12)]
[BaseType (typeof(NSObject))]
[DisableDefaultCtor]
public interface NSPersistentStoreDescription : NSCopying
interface NSPersistentStoreDescription : NSCopying
{
[Static]
[Export ("persistentStoreDescriptionWithURL:")]
@ -1520,7 +1520,7 @@ namespace XamCore.CoreData
[Watch (3,0), TV (10,0), iOS (10,0), Mac (10,12)]
[BaseType (typeof(NSObject))]
[DisableDefaultCtor]
public interface NSPersistentContainer
interface NSPersistentContainer
{
[Static]
[Export ("persistentContainerWithName:")]
@ -1569,7 +1569,7 @@ namespace XamCore.CoreData
[BaseType (typeof (NSObject))]
[DisableDefaultCtor] // iOS8 -> Core Data: warning: client failed to call designated initializer on NSPersistentStoreCoordinator
public partial interface NSPersistentStoreCoordinator
partial interface NSPersistentStoreCoordinator
#if !WATCH && !TVOS
: NSLocking
#endif // !WATCH
@ -1849,7 +1849,7 @@ namespace XamCore.CoreData
}
[BaseType (typeof (NSObject))]
public interface NSPersistentStoreRequest : NSCopying {
interface NSPersistentStoreRequest : NSCopying {
[Export ("requestType")]
NSPersistentStoreRequestType RequestType { get; }
@ -1875,7 +1875,7 @@ namespace XamCore.CoreData
[iOS (8,0), Mac (10,10)]
[BaseType (typeof (NSObject))]
public interface NSPersistentStoreResult {
interface NSPersistentStoreResult {
}
@ -1919,7 +1919,7 @@ namespace XamCore.CoreData
}
[BaseType (typeof (NSObject))]
public interface NSPropertyDescription : NSCoding, NSCopying {
interface NSPropertyDescription : NSCoding, NSCopying {
[Export ("entity")]
NSEntityDescription Entity { get; }
@ -1970,7 +1970,7 @@ namespace XamCore.CoreData
}
[BaseType (typeof (NSObject))]
public interface NSPropertyMapping {
interface NSPropertyMapping {
[NullAllowed] // by default this property is null
[Export ("name")]
@ -1986,7 +1986,7 @@ namespace XamCore.CoreData
}
[BaseType (typeof (NSPropertyDescription))]
public interface NSRelationshipDescription {
interface NSRelationshipDescription {
[NullAllowed] // by default this property is null
[Export ("destinationEntity")]

Просмотреть файл

@ -11,7 +11,7 @@ using XamCore.ObjCRuntime;
namespace XamCore.CoreFoundation {
[Partial]
public interface CFAllocator {
interface CFAllocator {
[Internal][Field ("kCFAllocatorDefault")]
IntPtr default_ptr { get; }
@ -30,7 +30,7 @@ namespace XamCore.CoreFoundation {
}
[Partial]
public interface CFRunLoop {
interface CFRunLoop {
[Field ("kCFRunLoopDefaultMode")]
NSString ModeDefault { get; }
@ -41,7 +41,7 @@ namespace XamCore.CoreFoundation {
#if !WATCH
[Partial]
public interface CFNetwork {
interface CFNetwork {
[Field ("kCFErrorDomainCFNetwork", "CFNetwork")]
NSString ErrorDomain { get; }

Просмотреть файл

@ -76,7 +76,7 @@ namespace XamCore.CoreGraphics {
[Static]
[iOS (9,0)]
public interface CGColorSpaceNames {
interface CGColorSpaceNames {
[Field ("kCGColorSpaceGenericGray")]
NSString GenericGray { get; }

Просмотреть файл

@ -47,7 +47,7 @@ namespace XamCore.CoreImage {
[BaseType (typeof (NSObject))]
[Since (5,0)]
[DisableDefaultCtor]
public interface CIColor : NSSecureCoding, NSCopying {
interface CIColor : NSSecureCoding, NSCopying {
[Static]
[Export ("colorWithCGColor:")]
CIColor FromCGColor (CGColor c);
@ -200,7 +200,7 @@ namespace XamCore.CoreImage {
[BaseType (typeof (NSObject))]
[Since (5,0)]
[DisableDefaultCtor]
public interface CIContext {
interface CIContext {
// When we bind OpenGL add these:
//[Export ("contextWithCGLContext:pixelFormat:colorSpace:options:")]
//CIContext ContextWithCGLContextpixelFormatcolorSpaceoptions (CGLContextObj ctx, CGLPixelFormatObj pf, CGColorSpaceRef cs, NSDictionary dict, );
@ -407,7 +407,7 @@ namespace XamCore.CoreImage {
[BaseType (typeof (NSObject))]
[Since (5,0)]
[DisableDefaultCtor] // In iOS8 they expose custom filters, we expose a protected one in CIFilter.cs
public interface CIFilter : NSSecureCoding, NSCopying {
interface CIFilter : NSSecureCoding, NSCopying {
[Export ("inputKeys")]
string [] InputKeys { get; }
@ -662,7 +662,7 @@ namespace XamCore.CoreImage {
[TV (10,0)]
[StrongDictionary ("CIRawFilterKeys")]
public interface CIRawFilterOptions {
interface CIRawFilterOptions {
[iOS (10,0)]
bool AllowDraftMode { get; set; }
@ -749,14 +749,14 @@ namespace XamCore.CoreImage {
[Since (5,0)]
[Static]
public interface CIFilterOutputKey {
interface CIFilterOutputKey {
[Field ("kCIOutputImageKey", "+CoreImage")]
NSString Image { get; }
}
[Since (5,0)]
[Static]
public interface CIFilterInputKey {
interface CIFilterInputKey {
[Field ("kCIInputBackgroundImageKey", "+CoreImage")]
NSString BackgroundImage { get; }
@ -862,7 +862,7 @@ namespace XamCore.CoreImage {
[Since (5,0)]
[Static]
public interface CIFilterAttributes {
interface CIFilterAttributes {
[Field ("kCIAttributeFilterName", "+CoreImage")]
NSString FilterName { get; }
@ -978,7 +978,7 @@ namespace XamCore.CoreImage {
[Since (5,0)]
[Static]
public interface CIFilterCategory {
interface CIFilterCategory {
[Field ("kCICategoryDistortionEffect", "+CoreImage")]
NSString DistortionEffect { get; }
@ -1044,11 +1044,11 @@ namespace XamCore.CoreImage {
NSString FilterGenerator { get; }
}
public interface ICIFilterConstructor {}
interface ICIFilterConstructor {}
[iOS (9,0)]
[Protocol]
public interface CIFilterConstructor
interface CIFilterConstructor
{
// @required -(CIFilter * __nullable)filterWithName:(NSString * __nonnull)name;
[Abstract]
@ -1059,7 +1059,7 @@ namespace XamCore.CoreImage {
[Static]
[iOS (9,0)]
public interface CIUIParameterSet {
interface CIUIParameterSet {
[Field ("kCIUISetBasic", "+CoreImage")]
NSString Basic { get; }
@ -1075,7 +1075,7 @@ namespace XamCore.CoreImage {
#if MONOMAC
[Static]
public interface CIFilterApply {
interface CIFilterApply {
[Field ("kCIApplyOptionExtent", "+CoreImage")]
NSString OptionExtent { get; }
@ -1149,7 +1149,7 @@ namespace XamCore.CoreImage {
[BaseType (typeof (NSObject))]
[DisableDefaultCtor]
[iOS(9,0)]
public interface CIFilterShape : NSCopying {
interface CIFilterShape : NSCopying {
[Static]
[Export ("shapeWithRect:")]
CIFilterShape FromRect (CGRect rect);
@ -1182,7 +1182,7 @@ namespace XamCore.CoreImage {
[BaseType (typeof (NSObject))]
[Since (5,0)]
[DisableDefaultCtor]
public interface CIImage : NSSecureCoding, NSCopying {
interface CIImage : NSSecureCoding, NSCopying {
[Static]
[Export ("imageWithCGImage:")]
CIImage FromCGImage (CGImage image);
@ -1663,7 +1663,7 @@ namespace XamCore.CoreImage {
CGImage CGImage { get; }
}
public interface ICIImageProcessorInput {}
interface ICIImageProcessorInput {}
[iOS (10,0)][Mac (10,12)]
[Protocol]
@ -1695,7 +1695,7 @@ namespace XamCore.CoreImage {
#endif
}
public interface ICIImageProcessorOutput {}
interface ICIImageProcessorOutput {}
[iOS (10,0)][Mac (10,12)]
[Protocol]
@ -1749,7 +1749,7 @@ namespace XamCore.CoreImage {
NSString UserInfoKey { get; }
}
public interface ICIImageProvider {}
interface ICIImageProvider {}
// Informal protocol
[Protocol (IsInformal = true)]
@ -1759,12 +1759,12 @@ namespace XamCore.CoreImage {
unsafe void ProvideImageData (IntPtr data, nuint rowbytes, nuint x, nuint y, nuint width, nuint height, [NullAllowed] NSObject info);
}
public delegate CGRect CIKernelRoiCallback (int /* int, not NSInteger */ index, CGRect rect);
delegate CGRect CIKernelRoiCallback (int /* int, not NSInteger */ index, CGRect rect);
[iOS (8,0), Mac (10,10)]
[BaseType (typeof (NSObject))]
[DisableDefaultCtor] // avoid crashes
public interface CIKernel {
interface CIKernel {
#if !XAMCORE_2_0
[Obsolete ("Use FromProgramSingle")] // better API
[Static, Export ("kernelWithString:")]
@ -1820,7 +1820,7 @@ namespace XamCore.CoreImage {
[iOS (9,0)]
[BaseType (typeof (NSObject))]
public interface CIImageAccumulator {
interface CIImageAccumulator {
[Static]
[Export ("imageAccumulatorWithExtent:format:")]
#if !MONOMAC
@ -1862,7 +1862,7 @@ namespace XamCore.CoreImage {
#if MONOMAC
[BaseType (typeof (NSObject))]
public interface CIPlugIn {
interface CIPlugIn {
[Static]
[Export ("loadAllPlugIns")]
void LoadAllPlugIns ();
@ -1880,7 +1880,7 @@ namespace XamCore.CoreImage {
[iOS (9,0)]
[BaseType (typeof (NSObject))]
[DisableDefaultCtor]
public interface CISampler : NSCopying {
interface CISampler : NSCopying {
[Static, Export ("samplerWithImage:")]
CISampler FromImage (CIImage sourceImage);
@ -1930,7 +1930,7 @@ namespace XamCore.CoreImage {
[BaseType (typeof (NSObject))]
[Since (5,0)]
[DisableDefaultCtor]
public interface CIVector : NSSecureCoding, NSCopying {
interface CIVector : NSSecureCoding, NSCopying {
[Static, Internal, Export ("vectorWithValues:count:")]
CIVector _FromValues (IntPtr values, nint count);
@ -2231,7 +2231,7 @@ namespace XamCore.CoreImage {
[iOS (8,0)]
[Mac (10,12)]
[BaseType (typeof (CIFeature))]
public partial interface CIQRCodeFeature {
partial interface CIQRCodeFeature {
[Export ("bounds", ArgumentSemantic.Assign)]
CGRect Bounds { get; }

Просмотреть файл

@ -501,7 +501,7 @@ namespace XamCore.CoreLocation {
[Mac (10,7)]
[BaseType (typeof (NSObject))]
[DisableDefaultCtor] // will crash, see CoreLocation.cs for compatibility stubs
public partial interface CLRegion : NSSecureCoding, NSCopying {
partial interface CLRegion : NSSecureCoding, NSCopying {
[NoTV]
[Availability (Deprecated = Platform.iOS_7_0 | Platform.Mac_10_10, Message = "Use CLCircularRegion instead")]
[Export ("center")]
@ -600,7 +600,7 @@ namespace XamCore.CoreLocation {
#if MONOMAC
[DisableDefaultCtor]
#endif
public partial interface CLCircularRegion {
partial interface CLCircularRegion {
[Export ("initWithCenter:radius:identifier:")]
IntPtr Constructor (CLLocationCoordinate2D center, double radius, string identifier);
@ -619,7 +619,7 @@ namespace XamCore.CoreLocation {
[NoWatch][NoMac][NoTV]
[Since (7,0), BaseType (typeof (CLRegion))]
[DisableDefaultCtor] // nil-Handle on iOS8 if 'init' is used
public partial interface CLBeaconRegion {
partial interface CLBeaconRegion {
[Export ("initWithProximityUUID:identifier:")]
IntPtr Constructor (NSUuid proximityUuid, string identifier);
@ -648,7 +648,7 @@ namespace XamCore.CoreLocation {
[NoWatch][NoMac][NoTV]
[Since (7,0), BaseType (typeof (NSObject))]
public partial interface CLBeacon : NSCopying, NSSecureCoding {
partial interface CLBeacon : NSCopying, NSSecureCoding {
[Export ("proximityUUID", ArgumentSemantic.Copy)]
NSUuid ProximityUuid { get; }

Просмотреть файл

@ -217,7 +217,7 @@ namespace XamCore.CoreMotion {
[BaseType (typeof (CMLogItem))]
[Since (5,0)]
[DisableDefaultCtor] // will crash, see Extra.cs for compatibility stubs
public interface CMMagnetometerData : NSSecureCoding {
interface CMMagnetometerData : NSSecureCoding {
[Export ("magneticField")]
CMMagneticField MagneticField { get; }
}

Просмотреть файл

@ -1,4 +1,4 @@
//
//
// CoreSpotlight bindings
//
// Authors:
@ -17,14 +17,14 @@ namespace XamCore.CoreSpotlight {
[NoTV] // CS_TVOS_UNAVAILABLE
[iOS (9,0)]
[BaseType (typeof (NSObject))]
public interface CSIndexExtensionRequestHandler : NSExtensionRequestHandling, CSSearchableIndexDelegate {
interface CSIndexExtensionRequestHandler : NSExtensionRequestHandling, CSSearchableIndexDelegate {
}
[NoTV] // CS_TVOS_UNAVAILABLE
[iOS (9,0)]
[BaseType (typeof (NSObject))]
public interface CSPerson : NSSecureCoding, NSCopying {
interface CSPerson : NSSecureCoding, NSCopying {
[Export ("initWithDisplayName:handles:handleIdentifier:")]
IntPtr Constructor ([NullAllowed] string displayName, string [] handles, NSString handleIdentifier);
@ -47,7 +47,7 @@ namespace XamCore.CoreSpotlight {
[NoTV] // CS_TVOS_UNAVAILABLE
[iOS (9,0)]
[BaseType (typeof (NSObject))]
public interface CSSearchableIndex {
interface CSSearchableIndex {
[Export ("indexDelegate", ArgumentSemantic.Weak)][NullAllowed]
ICSSearchableIndexDelegate IndexDelegate { get; set; }
@ -81,13 +81,13 @@ namespace XamCore.CoreSpotlight {
void DeleteAll ([NullAllowed] Action<NSError> completionHandler);
}
public delegate void CSSearchableIndexFetchHandler (NSData clientState, NSError error);
delegate void CSSearchableIndexFetchHandler (NSData clientState, NSError error);
[NoTV] // CS_TVOS_UNAVAILABLE
[iOS (9,0)]
[Category]
[BaseType (typeof (CSSearchableIndex))]
public interface CSSearchableIndex_CSOptionalBatchingExtension {
interface CSSearchableIndex_CSOptionalBatchingExtension {
[Export ("beginIndexBatch")]
void BeginIndexBatch ();
@ -99,13 +99,13 @@ namespace XamCore.CoreSpotlight {
void FetchLastClientState (CSSearchableIndexFetchHandler completionHandler);
}
public interface ICSSearchableIndexDelegate {}
interface ICSSearchableIndexDelegate {}
[NoTV] // CS_TVOS_UNAVAILABLE
[iOS (9,0)]
[Protocol, Model]
[BaseType (typeof (NSObject))]
public interface CSSearchableIndexDelegate {
interface CSSearchableIndexDelegate {
[Abstract]
[Export ("searchableIndex:reindexAllSearchableItemsWithAcknowledgementHandler:")]
@ -125,7 +125,7 @@ namespace XamCore.CoreSpotlight {
[NoTV] // CS_TVOS_UNAVAILABLE
[iOS (9,0)]
[BaseType (typeof (NSObject))]
public interface CSSearchableItem : NSSecureCoding, NSCopying {
interface CSSearchableItem : NSSecureCoding, NSCopying {
[Field ("CSSearchableItemActionType")]
NSString ActionType { get; }
@ -163,7 +163,7 @@ namespace XamCore.CoreSpotlight {
[iOS (9,0)]
[BaseType (typeof (NSString))]
// hack: it seems that generator.cs can't track NSCoding correctly ? maybe because the type is named NSString2 at that time
public interface CSLocalizedString : NSCoding {
interface CSLocalizedString : NSCoding {
[Export ("initWithLocalizedStrings:")]
IntPtr Constructor (NSDictionary localizedStrings);
@ -176,7 +176,7 @@ namespace XamCore.CoreSpotlight {
[iOS (9,0)]
[BaseType (typeof (NSObject))]
[DisableDefaultCtor] // NSInvalidArgumentException Reason: You must call -[CSCustomAttributeKey initWithKeyName...]
public interface CSCustomAttributeKey : NSCopying, NSSecureCoding {
interface CSCustomAttributeKey : NSCopying, NSSecureCoding {
[Export ("initWithKeyName:")]
IntPtr Constructor (string keyName);
@ -204,7 +204,7 @@ namespace XamCore.CoreSpotlight {
[iOS (9,0)]
[EditorBrowsable (EditorBrowsableState.Advanced)]
[Static]
public interface CSMailboxKey {
interface CSMailboxKey {
[Field ("CSMailboxInbox")]
NSString Inbox { get; }
@ -228,12 +228,12 @@ namespace XamCore.CoreSpotlight {
[NoTV]
[iOS (9,0)]
[BaseType (typeof (NSObject))]
public interface CSSearchableItemAttributeSet : NSCopying, NSSecureCoding {
interface CSSearchableItemAttributeSet : NSCopying, NSSecureCoding {
[Export ("initWithItemContentType:")]
IntPtr Constructor (string itemContentType);
// FIXME: Should we keep all the following Categories inline? or should we make them actual [Category] public interfaces
// FIXME: Should we keep all the following Categories inline? or should we make them actual [Category] interfaces
// There are no methods on any of the following categories, just properties
// CSSearchableItemAttributeSet_Documents.h

Просмотреть файл

@ -129,17 +129,17 @@ namespace XamCore.CoreTelephony {
[BaseType (typeof (NSObject))]
[Since (7,0)]
public partial interface CTSubscriber {
partial interface CTSubscriber {
[Since (7,0), Export ("carrierToken")]
NSData CarrierToken { get; }
}
#if !XAMCORE_2_0
public delegate void SimAuthenticationCallback (NSDictionary dictionary);
delegate void SimAuthenticationCallback (NSDictionary dictionary);
#endif
[Since (6,0), BaseType (typeof (NSObject))]
public partial interface CTSubscriberInfo {
partial interface CTSubscriberInfo {
[Static]
[Export ("subscriber")]
CTSubscriber Subscriber { get; }

Просмотреть файл

@ -11,7 +11,7 @@ using XamCore.ObjCRuntime;
namespace XamCore.CoreVideo {
[Partial]
public interface CVPixelBufferPoolAllocationSettings {
interface CVPixelBufferPoolAllocationSettings {
[Internal][Field ("kCVPixelBufferPoolAllocationThresholdKey")]
NSString ThresholdKey { get; }
@ -19,7 +19,7 @@ namespace XamCore.CoreVideo {
#if XAMCORE_2_0
[Partial]
public interface CVBuffer {
interface CVBuffer {
[Field ("kCVBufferMovieTimeKey")]
NSString MovieTimeKey { get; }
@ -38,7 +38,7 @@ namespace XamCore.CoreVideo {
}
[Partial]
public interface CVImageBuffer : CVBuffer {
interface CVImageBuffer : CVBuffer {
[Field ("kCVImageBufferCGColorSpaceKey")]
NSString CGColorSpaceKey { get; }
@ -222,7 +222,7 @@ namespace XamCore.CoreVideo {
}
[Partial]
public interface CVPixelBuffer {
interface CVPixelBuffer {
[Field ("kCVPixelBufferPixelFormatTypeKey")]
NSString PixelFormatTypeKey{ get; }
@ -289,9 +289,9 @@ namespace XamCore.CoreVideo {
[Partial]
#if XAMCORE_3_0
public interface CVPixelBufferPool {
interface CVPixelBufferPool {
#else
public interface CVPixelBufferPool : CVImageBuffer {
interface CVPixelBufferPool : CVImageBuffer {
#endif
[Field ("kCVPixelBufferPoolMinimumBufferCountKey")]
NSString MinimumBufferCountKey { get; }
@ -302,7 +302,7 @@ namespace XamCore.CoreVideo {
#if !MONOMAC
[Partial]
public interface CVMetalTextureCache {
interface CVMetalTextureCache {
[Internal]
[Field ("kCVMetalTextureCacheMaximumTextureAgeKey")]
IntPtr MaxTextureAge { get; }
@ -310,7 +310,7 @@ namespace XamCore.CoreVideo {
// CVOpenGLESTextureCache is bound (manually) in OpenTK[-1.0].dll.
// [Partial]
// public interface CVOpenGLESTextureCache {
// interface CVOpenGLESTextureCache {
// [Internal]
// [Field ("kCVOpenGLESTextureCacheMaximumTextureAgeKey")]
// IntPtr MaxTextureAge { get; }

Просмотреть файл

@ -158,7 +158,7 @@ namespace XamCore.ExternalAccessory {
}
public interface IEAWiFiUnconfiguredAccessoryBrowserDelegate {}
interface IEAWiFiUnconfiguredAccessoryBrowserDelegate {}
// This class is exposed for tvOS in the headers, but there's no available initializer (so it can't be constructed)
// The API is also clearly unusable (you can list the unconfigured accessories, but you can't search for them first...)

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Просмотреть файл

@ -22,7 +22,7 @@ namespace XamCore.GameController {
[Mac (10,9, onlyOn64: true)]
[BaseType (typeof (NSObject))]
[DisableDefaultCtor] // The GCControllerElement class is never instantiated directly.
public partial interface GCControllerElement {
partial interface GCControllerElement {
// NOTE: ArgumentSemantic.Weak if ARC, ArgumentSemantic.Assign otherwise;
// currently MonoTouch is not ARC, neither is Xammac, so go with assign.
@ -33,13 +33,13 @@ namespace XamCore.GameController {
bool IsAnalog { [Bind ("isAnalog")] get; }
}
public delegate void GCControllerAxisValueChangedHandler (GCControllerAxisInput axis, float /* float, not CGFloat */ value);
delegate void GCControllerAxisValueChangedHandler (GCControllerAxisInput axis, float /* float, not CGFloat */ value);
[Since (7,0)]
[Mac (10,9, onlyOn64: true)]
[BaseType (typeof (GCControllerElement))]
[DisableDefaultCtor] // return nil handle -> only exposed as getter
public partial interface GCControllerAxisInput {
partial interface GCControllerAxisInput {
[Export ("valueChangedHandler", ArgumentSemantic.Copy)]
GCControllerAxisValueChangedHandler ValueChangedHandler { get; set; }
@ -48,12 +48,12 @@ namespace XamCore.GameController {
float Value { get; } /* float, not CGFloat */
}
public delegate void GCControllerButtonValueChanged (GCControllerButtonInput button, float /* float, not CGFloat */ buttonValue, bool pressed);
delegate void GCControllerButtonValueChanged (GCControllerButtonInput button, float /* float, not CGFloat */ buttonValue, bool pressed);
[Since (7,0), Mac (10,9, onlyOn64: true)]
[BaseType (typeof (GCControllerElement))]
[DisableDefaultCtor] // return nil handle -> only exposed as getter
public partial interface GCControllerButtonInput {
partial interface GCControllerButtonInput {
[Export ("setValueChangedHandler:", ArgumentSemantic.Copy)]
void SetValueChangedHandler (GCControllerButtonValueChanged handler);
@ -69,13 +69,13 @@ namespace XamCore.GameController {
void SetPressedChangedHandler (GCControllerButtonValueChanged handler);
}
public delegate void GCControllerDirectionPadValueChangedHandler (GCControllerDirectionPad dpad, float /* float, not CGFloat */ xValue, float /* float, not CGFloat */ yValue);
delegate void GCControllerDirectionPadValueChangedHandler (GCControllerDirectionPad dpad, float /* float, not CGFloat */ xValue, float /* float, not CGFloat */ yValue);
[Since (7,0)]
[Mac (10,9, onlyOn64: true)]
[BaseType (typeof (GCControllerElement))]
[DisableDefaultCtor] // return nil handle -> only exposed as getter
public partial interface GCControllerDirectionPad {
partial interface GCControllerDirectionPad {
[Export ("valueChangedHandler", ArgumentSemantic.Copy)]
GCControllerDirectionPadValueChangedHandler ValueChangedHandler { get; set; }
@ -99,13 +99,13 @@ namespace XamCore.GameController {
GCControllerButtonInput Right { get; }
}
public delegate void GCGamepadValueChangedHandler (GCGamepad gamepad, GCControllerElement element);
delegate void GCGamepadValueChangedHandler (GCGamepad gamepad, GCControllerElement element);
[Since (7,0)]
[Mac (10,9, onlyOn64: true)]
[BaseType (typeof (NSObject))]
[DisableDefaultCtor] // return nil handle -> only exposed as getter
public partial interface GCGamepad {
partial interface GCGamepad {
[Export ("controller", ArgumentSemantic.Assign)]
GCController Controller { get; }
@ -142,7 +142,7 @@ namespace XamCore.GameController {
[Mac (10,9, onlyOn64: true)]
[BaseType (typeof (GCGamepad))]
[DisableDefaultCtor]
public partial interface GCGamepadSnapshot {
partial interface GCGamepadSnapshot {
[Export ("snapshotData", ArgumentSemantic.Copy)]
NSData SnapshotData { get; set; }
@ -154,13 +154,13 @@ namespace XamCore.GameController {
IntPtr Constructor (GCController controller, NSData data);
}
public delegate void GCExtendedGamepadValueChangedHandler (GCExtendedGamepad gamepad, GCControllerElement element);
delegate void GCExtendedGamepadValueChangedHandler (GCExtendedGamepad gamepad, GCControllerElement element);
[Since (7,0)]
[Mac (10,9, onlyOn64: true)]
[BaseType (typeof (NSObject))]
[DisableDefaultCtor] // return nil handle -> only exposed as getter
public partial interface GCExtendedGamepad {
partial interface GCExtendedGamepad {
[Export ("controller", ArgumentSemantic.Assign)]
GCController Controller { get; }
@ -209,7 +209,7 @@ namespace XamCore.GameController {
[Mac (10,9, onlyOn64: true)]
[BaseType (typeof (GCExtendedGamepad))]
[DisableDefaultCtor]
public partial interface GCExtendedGamepadSnapshot {
partial interface GCExtendedGamepadSnapshot {
[Export ("snapshotData", ArgumentSemantic.Copy)]
NSData SnapshotData { get; set; }
@ -222,12 +222,12 @@ namespace XamCore.GameController {
}
#if !XAMCORE_2_0
public delegate void GCControllerPausedHandler (GCController controller);
delegate void GCControllerPausedHandler (GCController controller);
#endif
[Since (7,0), Mac (10,9, onlyOn64: true)]
[BaseType (typeof (NSObject))]
public partial interface GCController {
partial interface GCController {
[Export ("controllerPausedHandler", ArgumentSemantic.Copy)]
#if XAMCORE_2_0
@ -288,7 +288,7 @@ namespace XamCore.GameController {
[iOS (8,0), Mac (10,10, onlyOn64: true)]
[BaseType (typeof (NSObject))]
[DisableDefaultCtor] // access thru GCController.Motion - returns a nil Handle
public partial interface GCMotion {
partial interface GCMotion {
[Export ("controller", ArgumentSemantic.Assign)]
GCController Controller { get; }
@ -314,14 +314,14 @@ namespace XamCore.GameController {
[NoMac]
[iOS (10,0)]
[TV (9,0)]
public delegate void GCMicroGamepadValueChangedHandler (GCMicroGamepad gamepad, GCControllerElement element);
delegate void GCMicroGamepadValueChangedHandler (GCMicroGamepad gamepad, GCControllerElement element);
[NoMac]
[iOS (10,0)]
[TV (9,0)]
[BaseType (typeof (NSObject))]
[DisableDefaultCtor]
public interface GCMicroGamepad {
interface GCMicroGamepad {
[Export ("controller", ArgumentSemantic.Assign)]
GCController Controller { get; }
@ -351,7 +351,7 @@ namespace XamCore.GameController {
[iOS (10,0)]
[TV (9,0)]
[BaseType (typeof (GCMicroGamepad))]
public interface GCMicroGamepadSnapshot {
interface GCMicroGamepadSnapshot {
[Export ("snapshotData", ArgumentSemantic.Copy)]
NSData SnapshotData { get; set; }

Просмотреть файл

@ -42,12 +42,12 @@ namespace XamCore.GameKit {
#if MONOMAC
delegate void GKImageLoadedHandler (NSImage image, NSError error);
public delegate void GKPlayerPhotoLoaded (NSImage photo, NSError error);
delegate void GKPlayerPhotoLoaded (NSImage photo, NSError error);
delegate void GKChallengeComposeHandler (NSViewController composeController, bool issuedChallenge, string [] sentPlayerIDs);
#else
delegate void GKLeaderboardSetsHandler (GKLeaderboardSet [] leaderboardSets, NSError error);
delegate void GKImageLoadedHandler (UIImage image, NSError error);
public delegate void GKPlayerPhotoLoaded (UIImage photo, NSError error);
delegate void GKPlayerPhotoLoaded (UIImage photo, NSError error);
delegate void GKChallengeComposeHandler (UIViewController composeController, bool issuedChallenge, string [] sentPlayerIDs);
#endif
@ -1623,7 +1623,7 @@ namespace XamCore.GameKit {
[NoWatch]
[Since (5,0)]
[BaseType(typeof(NSObject))]
public partial interface GKNotificationBanner {
partial interface GKNotificationBanner {
[Static, Export ("showBannerWithTitle:message:completionHandler:")]
[Async]
void Show ([NullAllowed] string title, [NullAllowed] string message, [NullAllowed] NSAction onCompleted);

Просмотреть файл

@ -60,21 +60,21 @@ namespace XamCore.HealthKit {
Paused,
}
public delegate void HKAnchoredObjectResultHandler2 (HKAnchoredObjectQuery query, HKSample[] results, nuint newAnchor, NSError error);
delegate void HKAnchoredObjectResultHandler2 (HKAnchoredObjectQuery query, HKSample[] results, nuint newAnchor, NSError error);
#if XAMCORE_2_0
[Obsolete ("Use HKAnchoredObjectResultHandler2 instead")]
public delegate void HKAnchoredObjectResultHandler (HKAnchoredObjectQuery query, HKSampleType[] results, nuint newAnchor, NSError error);
delegate void HKAnchoredObjectResultHandler (HKAnchoredObjectQuery query, HKSampleType[] results, nuint newAnchor, NSError error);
#else
public delegate void HKAnchoredObjectResultHandler (HKAnchoredObjectQuery query, NSObject[] results, nuint newAnchor, NSError error);
delegate void HKAnchoredObjectResultHandler (HKAnchoredObjectQuery query, NSObject[] results, nuint newAnchor, NSError error);
#endif
public delegate void HKAnchoredObjectUpdateHandler (HKAnchoredObjectQuery query, HKSample[] addedObjects, HKDeletedObject[] deletedObjects, HKQueryAnchor newAnchor, NSError error);
delegate void HKAnchoredObjectUpdateHandler (HKAnchoredObjectQuery query, HKSample[] addedObjects, HKDeletedObject[] deletedObjects, HKQueryAnchor newAnchor, NSError error);
[Watch (2,0)]
[iOS (8,0)]
[BaseType (typeof (HKQuery))]
[DisableDefaultCtor] // NSInvalidArgumentException: The -init method is not available on HKAnchoredObjectQuery
public interface HKAnchoredObjectQuery {
interface HKAnchoredObjectQuery {
[NoWatch]
#if XAMCORE_2_0
@ -102,7 +102,7 @@ namespace XamCore.HealthKit {
[Watch (2,0)]
[iOS (8,0)]
[Static]
public interface HKPredicateKeyPath {
interface HKPredicateKeyPath {
[Field ("HKPredicateKeyPathCategoryValue")]
NSString CategoryValue { get; }
@ -179,7 +179,7 @@ namespace XamCore.HealthKit {
[iOS (10,0)]
[Static]
[Internal]
public interface HKDetailedCdaErrorKeys {
interface HKDetailedCdaErrorKeys {
[Field ("HKDetailedCDAValidationErrorKey")]
NSString ValidationErrorKey { get; }
}
@ -188,7 +188,7 @@ namespace XamCore.HealthKit {
[iOS (10,0)]
[StrongDictionary ("HKDetailedCdaErrorKeys")]
[Internal]
public interface HKDetailedCdaErrors {
interface HKDetailedCdaErrors {
NSString ValidationError { get; }
}
@ -196,7 +196,7 @@ namespace XamCore.HealthKit {
[iOS (8,0)]
[DisableDefaultCtor] // - (instancetype)init NS_UNAVAILABLE;
[BaseType (typeof (HKSample))]
public interface HKCategorySample {
interface HKCategorySample {
[Export ("categoryType")]
HKCategoryType CategoryType { get; }
@ -276,7 +276,7 @@ namespace XamCore.HealthKit {
[iOS (8,0)]
[BaseType (typeof (HKSample))]
[DisableDefaultCtor] // NSInvalidArgumentException: The -init method is not available on HKCorrelation
public interface HKCorrelation : NSSecureCoding {
interface HKCorrelation : NSSecureCoding {
[Export ("objects")]
NSSet Objects { get; }
@ -303,13 +303,13 @@ namespace XamCore.HealthKit {
HKCorrelation Create (HKCorrelationType correlationType, NSDate startDate, NSDate endDate, NSSet<HKSample> objects, [NullAllowed] HKDevice device, [NullAllowed] NSDictionary<NSString,NSObject> metadata);
}
public delegate void HKCorrelationQueryResultHandler (HKCorrelationQuery query, HKCorrelation[] correlations, NSError error);
delegate void HKCorrelationQueryResultHandler (HKCorrelationQuery query, HKCorrelation[] correlations, NSError error);
[Watch (2,0)]
[iOS (8,0)]
[BaseType (typeof (HKQuery))]
[DisableDefaultCtor] // NSInvalidArgumentException Reason: The -init method is not available on HKCorrelationQuery
public interface HKCorrelationQuery {
interface HKCorrelationQuery {
[Export ("initWithType:predicate:samplePredicates:completion:")]
IntPtr Constructor (HKCorrelationType correlationType, [NullAllowed] NSPredicate predicate, [NullAllowed] NSDictionary samplePredicates, HKCorrelationQueryResultHandler completion);
@ -324,14 +324,14 @@ namespace XamCore.HealthKit {
[iOS (8,0)]
[BaseType (typeof (HKSampleType))]
[DisableDefaultCtor] // NSInvalidArgumentException Reason: The -init method is not available on HKCorrelationType
public interface HKCorrelationType {
interface HKCorrelationType {
}
[Watch (2,0)]
[iOS (8,0)]
[BaseType (typeof (NSObject))]
public interface HKHealthStore {
interface HKHealthStore {
// FIXME NS_EXTENSION_UNAVAILABLE("Not available to extensions") ;
[Static]
[Export ("isHealthDataAvailable")]
@ -474,12 +474,12 @@ namespace XamCore.HealthKit {
NSString UserPreferencesDidChangeNotification { get; }
}
public delegate void HKStoreSampleAddedCallback (bool success, NSError error);
delegate void HKStoreSampleAddedCallback (bool success, NSError error);
[Watch (2,0)]
[iOS (8,0)]
[BaseType (typeof (NSObject))]
public interface HKBiologicalSexObject : NSCopying, NSSecureCoding {
interface HKBiologicalSexObject : NSCopying, NSSecureCoding {
[Export ("biologicalSex")]
HKBiologicalSex BiologicalSex { get; }
}
@ -487,13 +487,13 @@ namespace XamCore.HealthKit {
[Watch (2,0)]
[iOS (8,0)]
[BaseType (typeof (NSObject))]
public interface HKBloodTypeObject : NSCopying, NSSecureCoding {
interface HKBloodTypeObject : NSCopying, NSSecureCoding {
[Export ("bloodType")]
HKBloodType BloodType { get; }
}
[StrongDictionary ("HKMetadataKey")]
public interface HKMetadata {
interface HKMetadata {
[Export ("FoodType")]
string FoodType { get; set; }
@ -587,7 +587,7 @@ namespace XamCore.HealthKit {
[Watch (2,0)]
[iOS (8,0)]
[Static]
public interface HKMetadataKey {
interface HKMetadataKey {
[Field ("HKMetadataKeyDeviceSerialNumber")]
NSString DeviceSerialNumber { get; }
@ -685,7 +685,7 @@ namespace XamCore.HealthKit {
#endif
[DisableDefaultCtor] // - (instancetype)init NS_UNAVAILABLE;
[BaseType (typeof (NSObject))]
public interface HKObject : NSSecureCoding {
interface HKObject : NSSecureCoding {
[Export ("UUID", ArgumentSemantic.Strong)]
NSUuid Uuid { get; }
@ -715,7 +715,7 @@ namespace XamCore.HealthKit {
#endif
[DisableDefaultCtor] // - (instancetype)init NS_UNAVAILABLE;
[BaseType (typeof (NSObject))]
public interface HKObjectType : NSSecureCoding, NSCopying {
interface HKObjectType : NSSecureCoding, NSCopying {
// These identifiers come from HKTypeIdentifiers
[Export ("identifier")]
NSString Identifier { get; }
@ -785,7 +785,7 @@ namespace XamCore.HealthKit {
[iOS (8,0)]
[BaseType (typeof (HKObjectType))]
[DisableDefaultCtor] // NSInvalidArgumentException Reason: The -init method is not available on HKCharacteristicType
public interface HKCharacteristicType {
interface HKCharacteristicType {
}
@ -796,7 +796,7 @@ namespace XamCore.HealthKit {
#if XAMCORE_2_0
[Abstract] // The HKSampleType class is an abstract subclass of the HKObjectType class, used to represent data samples. Never instantiate an HKSampleType object directly. Instead, you should always work with one of its concrete subclasses [...]
#endif
public interface HKSampleType {
interface HKSampleType {
}
@ -804,7 +804,7 @@ namespace XamCore.HealthKit {
[iOS (8,0)]
[BaseType (typeof (HKSampleType))]
[DisableDefaultCtor] // NSInvalidArgumentException Reason: The -init method is not available on HKCategoryType
public interface HKCategoryType {
interface HKCategoryType {
}
@ -812,7 +812,7 @@ namespace XamCore.HealthKit {
[iOS (10,0)]
[BaseType (typeof (HKSampleType))]
[DisableDefaultCtor] // NSInvalidArgumentException Reason: The -init method is not available on HKDocumentType
public interface HKDocumentType {
interface HKDocumentType {
}
@ -820,7 +820,7 @@ namespace XamCore.HealthKit {
[iOS (8,0)]
[BaseType (typeof (HKSampleType))]
[DisableDefaultCtor] // NSInvalidArgumentException Reason: The -init method is not available on HKQuantityType
public interface HKQuantityType {
interface HKQuantityType {
[Export ("aggregationStyle")]
HKQuantityAggregationStyle AggregationStyle { get; }
@ -829,10 +829,10 @@ namespace XamCore.HealthKit {
}
#if XAMCORE_2_0
public delegate void HKObserverQueryUpdateHandler (HKObserverQuery query, [BlockCallback] Action completion, NSError error);
delegate void HKObserverQueryUpdateHandler (HKObserverQuery query, [BlockCallback] Action completion, NSError error);
#else
public delegate void HKObserverQueryCompletionHandler ();
public delegate void HKObserverQueryUpdateHandler (HKObserverQuery query, [BlockCallback] HKObserverQueryCompletionHandler completion, NSError error);
delegate void HKObserverQueryCompletionHandler ();
delegate void HKObserverQueryUpdateHandler (HKObserverQuery query, [BlockCallback] HKObserverQueryCompletionHandler completion, NSError error);
#endif
[Watch (2,0)]
@ -842,7 +842,7 @@ namespace XamCore.HealthKit {
[Abstract]
#endif
[DisableDefaultCtor] // NSInvalidArgumentException Reason: The -init method is not available on HKObserverQuery
public interface HKObserverQuery {
interface HKObserverQuery {
[Export ("initWithSampleType:predicate:updateHandler:")]
IntPtr Constructor (HKSampleType sampleType, [NullAllowed] NSPredicate predicate, HKObserverQueryUpdateHandler updateHandler);
}
@ -851,7 +851,7 @@ namespace XamCore.HealthKit {
[iOS (8,0)]
[DisableDefaultCtor] // - (instancetype)init NS_UNAVAILABLE;
[BaseType (typeof (NSObject))]
public interface HKQuantity : NSSecureCoding, NSCopying {
interface HKQuantity : NSSecureCoding, NSCopying {
[Static]
[Export ("quantityWithUnit:doubleValue:")]
HKQuantity FromQuantity (HKUnit unit, double value);
@ -870,7 +870,7 @@ namespace XamCore.HealthKit {
[iOS (8,0)]
[BaseType (typeof (HKSample))]
[DisableDefaultCtor] // NSInvalidArgumentException Reason: The -init method is not available on HKQuantitySample
public interface HKQuantitySample {
interface HKQuantitySample {
[Export ("quantityType", ArgumentSemantic.Strong)]
HKQuantityType QuantityType { get; }
@ -900,7 +900,7 @@ namespace XamCore.HealthKit {
[iOS (8,0)]
[DisableDefaultCtor] // - (instancetype)init NS_UNAVAILABLE;
[BaseType (typeof (NSObject))]
public interface HKQuery {
interface HKQuery {
[iOS (9,3), Watch (2,2)]
[NullAllowed, Export ("objectType", ArgumentSemantic.Strong)]
HKObjectType ObjectType { get; }
@ -1024,7 +1024,7 @@ namespace XamCore.HealthKit {
[Abstract]
#endif
[DisableDefaultCtor] // NSInvalidArgumentException Reason: The -init method is not available on HKSample
public interface HKSample {
interface HKSample {
[Export ("sampleType", ArgumentSemantic.Strong)]
HKSampleType SampleType { get; }
@ -1045,13 +1045,13 @@ namespace XamCore.HealthKit {
}
public delegate void HKSampleQueryResultsHandler (HKSampleQuery query, HKSample [] results, NSError error);
delegate void HKSampleQueryResultsHandler (HKSampleQuery query, HKSample [] results, NSError error);
[Watch (2,0)]
[iOS (8,0)]
[BaseType (typeof (HKQuery))]
[DisableDefaultCtor] // NSInvalidArgumentException Reason: The -init method is not available on HKSampleQuery
public interface HKSampleQuery {
interface HKSampleQuery {
[Export ("limit")]
nuint Limit { get; }
@ -1067,7 +1067,7 @@ namespace XamCore.HealthKit {
[iOS (8,0)]
[DisableDefaultCtor] // - (instancetype)init NS_UNAVAILABLE;
[BaseType (typeof (NSObject))]
public interface HKSource : NSSecureCoding, NSCopying {
interface HKSource : NSSecureCoding, NSCopying {
[Export ("name")]
string Name { get; }
@ -1079,13 +1079,13 @@ namespace XamCore.HealthKit {
HKSource GetDefaultSource { get; }
}
public delegate void HKSourceQueryCompletionHandler (HKSourceQuery query, NSSet sources, NSError error);
delegate void HKSourceQueryCompletionHandler (HKSourceQuery query, NSSet sources, NSError error);
[Watch (2,0)]
[iOS (8,0)]
[BaseType (typeof (HKQuery))]
[DisableDefaultCtor] // NSInvalidArgumentException Reason: The -init method is not available on HKSourceQuery
public interface HKSourceQuery {
interface HKSourceQuery {
[Export ("initWithSampleType:samplePredicate:completionHandler:")]
IntPtr Constructor (HKSampleType sampleType, [NullAllowed] NSPredicate objectPredicate, HKSourceQueryCompletionHandler completionHandler);
@ -1095,7 +1095,7 @@ namespace XamCore.HealthKit {
[iOS (8,0)]
[DisableDefaultCtor] // - (instancetype)init NS_UNAVAILABLE;
[BaseType (typeof (NSObject))]
public interface HKStatistics : NSSecureCoding, NSCopying {
interface HKStatistics : NSSecureCoding, NSCopying {
[Export ("quantityType", ArgumentSemantic.Strong)]
HKQuantityType QuantityType { get; }
@ -1133,13 +1133,13 @@ namespace XamCore.HealthKit {
HKQuantity SumQuantity ();
}
public delegate void HKStatisticsCollectionEnumerator (HKStatistics result, bool stop);
delegate void HKStatisticsCollectionEnumerator (HKStatistics result, bool stop);
[Watch (2,0)]
[iOS (8,0)]
[DisableDefaultCtor] // - (instancetype)init NS_UNAVAILABLE;
[BaseType (typeof (NSObject))]
public interface HKStatisticsCollection {
interface HKStatisticsCollection {
[Export ("statisticsForDate:")]
HKStatistics GetStatistics (NSDate date);
@ -1154,15 +1154,15 @@ namespace XamCore.HealthKit {
NSSet Sources { get; }
}
public delegate void HKStatisticsCollectionQueryInitialResultsHandler (HKStatisticsCollectionQuery query, HKStatisticsCollection result, NSError error);
public delegate void HKStatisticsCollectionQueryStatisticsUpdateHandler (HKStatisticsCollectionQuery query, HKStatistics statistics, HKStatisticsCollection collection, NSError error);
delegate void HKStatisticsCollectionQueryInitialResultsHandler (HKStatisticsCollectionQuery query, HKStatisticsCollection result, NSError error);
delegate void HKStatisticsCollectionQueryStatisticsUpdateHandler (HKStatisticsCollectionQuery query, HKStatistics statistics, HKStatisticsCollection collection, NSError error);
[Watch (2,0)]
[iOS (8,0)]
[BaseType (typeof (HKQuery))]
[DisableDefaultCtor] // NSInvalidArgumentException Reason: The -init method is not available on HKStatisticsCollectionQuery
public interface HKStatisticsCollectionQuery {
interface HKStatisticsCollectionQuery {
[Export ("anchorDate", ArgumentSemantic.Strong)]
NSDate AnchorDate { get; }
@ -1183,13 +1183,13 @@ namespace XamCore.HealthKit {
IntPtr Constructor (HKQuantityType quantityType, [NullAllowed] NSPredicate quantitySamplePredicate, HKStatisticsOptions options, NSDate anchorDate, NSDateComponents intervalComponents);
}
public delegate void HKStatisticsQueryHandler (HKStatisticsQuery query, HKStatistics result, NSError error);
delegate void HKStatisticsQueryHandler (HKStatisticsQuery query, HKStatistics result, NSError error);
[Watch (2,0)]
[iOS (8,0)]
[BaseType (typeof (HKQuery))]
[DisableDefaultCtor] // NSInvalidArgumentException Reason: The -init method is not available on HKStatisticsQuery
public interface HKStatisticsQuery {
interface HKStatisticsQuery {
[Export ("initWithQuantityType:quantitySamplePredicate:options:completionHandler:")]
IntPtr Constructor (HKQuantityType quantityType, [NullAllowed] NSPredicate quantitySamplePredicate, HKStatisticsOptions options, HKStatisticsQueryHandler handler);
@ -1198,7 +1198,7 @@ namespace XamCore.HealthKit {
[Watch (2,0)]
[iOS (8,0)]
[Static]
public interface HKQuantityTypeIdentifierKey {
interface HKQuantityTypeIdentifierKey {
[Field ("HKQuantityTypeIdentifierBodyMassIndex")]
NSString BodyMassIndex { get; }
@ -1436,7 +1436,7 @@ namespace XamCore.HealthKit {
[Watch (2,0)]
[iOS (8,0)]
[Static]
public interface HKCorrelationTypeKey {
interface HKCorrelationTypeKey {
[Field ("HKCorrelationTypeIdentifierBloodPressure")]
NSString IdentifierBloodPressure { get; }
@ -1449,7 +1449,7 @@ namespace XamCore.HealthKit {
[Watch (2,0)]
[iOS (8,0)]
[Static]
public interface HKCategoryTypeIdentifierKey
interface HKCategoryTypeIdentifierKey
{
/**** HKCategoryType Identifiers ****/
@ -1490,7 +1490,7 @@ namespace XamCore.HealthKit {
[Watch (2,0)]
[iOS (8,0)]
[Static]
public interface HKCharacteristicTypeIdentifierKey
interface HKCharacteristicTypeIdentifierKey
{
/**** HKCharacteristicType Identifiers ****/
@ -1518,7 +1518,7 @@ namespace XamCore.HealthKit {
[iOS (8,0)]
[DisableDefaultCtor] // - (instancetype)init NS_UNAVAILABLE;
[BaseType (typeof (NSObject))]
public interface HKUnit : NSCopying, NSSecureCoding {
interface HKUnit : NSCopying, NSSecureCoding {
[Export ("unitString")]
string UnitString { get; }
@ -1757,7 +1757,7 @@ namespace XamCore.HealthKit {
[iOS (8,0)]
[BaseType (typeof (HKSample))]
[DisableDefaultCtor] // NSInvalidArgumentException Reason: The -init method is not available on HKWorkout
public interface HKWorkout {
interface HKWorkout {
[Export ("workoutActivityType")]
HKWorkoutActivityType WorkoutActivityType { get; }
@ -1845,7 +1845,7 @@ namespace XamCore.HealthKit {
[iOS (8,0)]
[BaseType (typeof (NSObject))]
[DisableDefaultCtor]
public interface HKWorkoutEvent : NSSecureCoding, NSCopying {
interface HKWorkoutEvent : NSSecureCoding, NSCopying {
[Export ("type")]
HKWorkoutEventType Type { get; }
@ -1879,7 +1879,7 @@ namespace XamCore.HealthKit {
[iOS (8,0)]
[BaseType (typeof (HKSampleType))]
[DisableDefaultCtor] // NSInvalidArgumentException Reason: The -init method is not available on HKWorkoutType
public interface HKWorkoutType {
interface HKWorkoutType {
[Field ("HKWorkoutTypeIdentifier")]
NSString Identifier { get; }
}
@ -1888,7 +1888,7 @@ namespace XamCore.HealthKit {
[iOS (9,0)]
[BaseType (typeof (NSObject))]
[DisableDefaultCtor]
public interface HKDeletedObject : NSSecureCoding {
interface HKDeletedObject : NSSecureCoding {
[Export ("UUID", ArgumentSemantic.Strong)]
NSUuid Uuid { get; }
}
@ -1897,7 +1897,7 @@ namespace XamCore.HealthKit {
[iOS (9,0)]
[BaseType (typeof (NSObject))]
[DisableDefaultCtor]
public interface HKDevice : NSSecureCoding, NSCopying {
interface HKDevice : NSSecureCoding, NSCopying {
[NullAllowed]
[Export ("name")]
string Name { get; }
@ -1981,14 +1981,14 @@ namespace XamCore.HealthKit {
[Watch (2,0)]
[iOS (9,0)]
[BaseType (typeof (NSObject))]
public interface HKFitzpatrickSkinTypeObject : NSCopying, NSSecureCoding {
interface HKFitzpatrickSkinTypeObject : NSCopying, NSSecureCoding {
[Export ("skinType")]
HKFitzpatrickSkinType SkinType { get; }
}
[Watch (3,0), iOS (10,0)]
[BaseType (typeof(NSObject))]
public interface HKWheelchairUseObject : NSCopying, NSSecureCoding {
interface HKWheelchairUseObject : NSCopying, NSSecureCoding {
[Export ("wheelchairUse")]
HKWheelchairUse WheelchairUse { get; }
}
@ -1997,7 +1997,7 @@ namespace XamCore.HealthKit {
[iOS (9,0)]
[BaseType (typeof (NSObject))]
[DisableDefaultCtor]
public interface HKSourceRevision : NSSecureCoding, NSCopying {
interface HKSourceRevision : NSSecureCoding, NSCopying {
[Export ("source")]
HKSource Source { get; }
@ -2012,7 +2012,7 @@ namespace XamCore.HealthKit {
[iOS (9,0)]
[BaseType (typeof (NSObject))]
[DisableDefaultCtor]
public interface HKQueryAnchor : NSSecureCoding, NSCopying {
interface HKQueryAnchor : NSSecureCoding, NSCopying {
[Static]
[Export ("anchorFromValue:")]
HKQueryAnchor Create (nuint value);
@ -2023,7 +2023,7 @@ namespace XamCore.HealthKit {
[Watch (2,0)]
[BaseType (typeof(NSObject))]
[DisableDefaultCtor]
public interface HKWorkoutSession : NSSecureCoding {
interface HKWorkoutSession : NSSecureCoding {
[Deprecated (PlatformName.WatchOS, 3, 0, message: "Use WorkoutConfiguration")]
[Export ("activityType")]
HKWorkoutActivityType ActivityType { get; }
@ -2066,7 +2066,7 @@ namespace XamCore.HealthKit {
[Watch (2,0)]
[Protocol, Model]
[BaseType (typeof (NSObject))]
public interface HKWorkoutSessionDelegate {
interface HKWorkoutSessionDelegate {
[Abstract]
[Export ("workoutSession:didChangeToState:fromState:date:")]
void DidChangeToState (HKWorkoutSession workoutSession, HKWorkoutSessionState toState, HKWorkoutSessionState fromState, NSDate date);
@ -2119,12 +2119,12 @@ namespace XamCore.HealthKit {
[iOS (9,3), Watch (2,2)]
[BaseType (typeof (HKObjectType))]
[DisableDefaultCtor] // NSInvalidArgumentException Reason: The -init method is not available on HKActivitySummaryType
public interface HKActivitySummaryType {
interface HKActivitySummaryType {
}
[Watch (3,0)][iOS (10,0)]
[BaseType (typeof (NSObject))]
public interface HKWorkoutConfiguration : NSCopying, NSSecureCoding {
interface HKWorkoutConfiguration : NSCopying, NSSecureCoding {
[Export ("activityType", ArgumentSemantic.Assign)]
HKWorkoutActivityType ActivityType { get; set; }

Просмотреть файл

@ -15,7 +15,7 @@ namespace XamCore.HomeKit {
[TV (10,0)]
[iOS (8,0)]
[Static]
public partial interface HMErrors {
partial interface HMErrors {
[Field ("HMErrorDomain")]
NSString HMErrorDomain { get; }
}
@ -23,7 +23,7 @@ namespace XamCore.HomeKit {
[TV (10,0)]
[iOS (8,0)]
[BaseType (typeof (NSObject), Delegates=new string[] {"WeakDelegate"}, Events=new Type[] {typeof(HMHomeManagerDelegate)})]
public partial interface HMHomeManager {
partial interface HMHomeManager {
[Export ("delegate", ArgumentSemantic.Weak)]
[NullAllowed]
@ -62,7 +62,7 @@ namespace XamCore.HomeKit {
[iOS (8,0)]
[Model, Protocol]
[BaseType (typeof (NSObject))]
public partial interface HMHomeManagerDelegate {
partial interface HMHomeManagerDelegate {
[Export ("homeManagerDidUpdateHomes:")]
void DidUpdateHomes (HMHomeManager manager);
@ -80,7 +80,7 @@ namespace XamCore.HomeKit {
[TV (10,0)]
[iOS (8,0)]
[BaseType (typeof (NSObject), Delegates=new string[] {"WeakDelegate"}, Events=new Type[] {typeof(HMAccessoryDelegate)})]
public partial interface HMAccessory {
partial interface HMAccessory {
[Export ("name")]
string Name { get; }
@ -153,7 +153,7 @@ namespace XamCore.HomeKit {
[iOS (8,0)]
[Model, Protocol]
[BaseType (typeof (NSObject))]
public partial interface HMAccessoryDelegate {
partial interface HMAccessoryDelegate {
[Export ("accessoryDidUpdateName:")]
void DidUpdateName (HMAccessory accessory);
@ -179,7 +179,7 @@ namespace XamCore.HomeKit {
[NoTV]
[iOS (8,0)]
[BaseType (typeof (NSObject), Delegates=new string[] {"WeakDelegate"}, Events=new Type[] {typeof(HMAccessoryBrowserDelegate)})]
public partial interface HMAccessoryBrowser {
partial interface HMAccessoryBrowser {
[Export ("delegate", ArgumentSemantic.Weak)]
[NullAllowed]
@ -203,7 +203,7 @@ namespace XamCore.HomeKit {
[iOS (8,0)]
[Model, Protocol]
[BaseType (typeof (NSObject))]
public partial interface HMAccessoryBrowserDelegate {
partial interface HMAccessoryBrowserDelegate {
[Export ("accessoryBrowser:didFindNewAccessory:"), EventArgs ("HMAccessoryBrowser")]
void DidFindNewAccessory (HMAccessoryBrowser browser, HMAccessory accessory);
@ -231,7 +231,7 @@ namespace XamCore.HomeKit {
[TV (10,0)]
[iOS (8,0)]
[BaseType (typeof (NSObject))]
public partial interface HMAction {
partial interface HMAction {
[iOS (9,0)]
[Export ("uniqueIdentifier", ArgumentSemantic.Copy)]
@ -242,7 +242,7 @@ namespace XamCore.HomeKit {
[iOS (8,0)]
[DisableDefaultCtor]
[BaseType (typeof (NSObject))]
public partial interface HMActionSet {
partial interface HMActionSet {
[Export ("name")]
string Name { get; }
@ -289,7 +289,7 @@ namespace XamCore.HomeKit {
[iOS (9,0)]
[Static]
[Internal]
public interface HMActionSetTypesInternal {
interface HMActionSetTypesInternal {
[Field ("HMActionSetTypeWakeUp")]
NSString WakeUp { get; }
@ -313,7 +313,7 @@ namespace XamCore.HomeKit {
[TV (10,0)]
[iOS (8,0)]
[BaseType (typeof (NSObject))]
public partial interface HMCharacteristic {
partial interface HMCharacteristic {
[Internal]
[Export ("characteristicType", ArgumentSemantic.Copy)]
@ -373,7 +373,7 @@ namespace XamCore.HomeKit {
[iOS(8,0)]
[Static]
[Internal]
public interface HMCharacteristicPropertyInternal {
interface HMCharacteristicPropertyInternal {
[Field ("HMCharacteristicPropertyReadable")]
NSString Readable { get; }
@ -393,7 +393,7 @@ namespace XamCore.HomeKit {
[iOS(8,0)]
[Static]
[Internal]
public interface HMCharacteristicTypeInternal {
interface HMCharacteristicTypeInternal {
[Field ("HMCharacteristicTypePowerState")]
NSString PowerState { get; }
@ -734,7 +734,7 @@ namespace XamCore.HomeKit {
[TV (10,0)]
[iOS (8,0)]
[BaseType (typeof (NSObject))]
public partial interface HMCharacteristicMetadata {
partial interface HMCharacteristicMetadata {
[Export ("minimumValue")]
NSNumber MinimumValue { get; }
@ -768,7 +768,7 @@ namespace XamCore.HomeKit {
[iOS (8,0)]
[DisableDefaultCtor]
[BaseType (typeof (HMAction))]
public partial interface HMCharacteristicWriteAction {
partial interface HMCharacteristicWriteAction {
[NoTV]
[NoWatch]
@ -805,7 +805,7 @@ namespace XamCore.HomeKit {
[iOS (8,0)]
[DisableDefaultCtor]
[BaseType (typeof (NSObject), Delegates=new string[] {"WeakDelegate"}, Events=new Type[] {typeof(HMHomeDelegate)})]
public partial interface HMHome {
partial interface HMHome {
[Export ("delegate", ArgumentSemantic.Weak)]
[NullAllowed]
@ -1012,7 +1012,7 @@ namespace XamCore.HomeKit {
[iOS (8,0)]
[Model, Protocol]
[BaseType (typeof (NSObject))]
public partial interface HMHomeDelegate {
partial interface HMHomeDelegate {
[Export ("homeDidUpdateName:")]
void DidUpdateNameForHome (HMHome home);
@ -1106,7 +1106,7 @@ namespace XamCore.HomeKit {
[iOS (8,0)]
[DisableDefaultCtor]
[BaseType (typeof (NSObject))]
public partial interface HMRoom {
partial interface HMRoom {
[Export ("name")]
string Name { get; }
@ -1129,7 +1129,7 @@ namespace XamCore.HomeKit {
[iOS (8,0)]
[Static]
[Internal]
public interface HMServiceTypeInternal {
interface HMServiceTypeInternal {
[Field ("HMServiceTypeLightbulb")]
NSString LightBulb { get; }
@ -1253,7 +1253,7 @@ namespace XamCore.HomeKit {
[TV (10,0)]
[iOS (8,0)]
[BaseType (typeof (NSObject))]
public partial interface HMService {
partial interface HMService {
[Export ("accessory", ArgumentSemantic.Weak)]
HMAccessory Accessory { get; }
@ -1309,7 +1309,7 @@ namespace XamCore.HomeKit {
[iOS (8,0)]
[DisableDefaultCtor]
[BaseType (typeof (NSObject))]
public partial interface HMServiceGroup {
partial interface HMServiceGroup {
[Export ("name")]
string Name { get; }
@ -1344,7 +1344,7 @@ namespace XamCore.HomeKit {
[iOS (8,0)]
[DisableDefaultCtor]
[BaseType (typeof (HMTrigger))]
public partial interface HMTimerTrigger {
partial interface HMTimerTrigger {
[NoTV]
[NoWatch]
@ -1387,7 +1387,7 @@ namespace XamCore.HomeKit {
[iOS (8,0)]
[DisableDefaultCtor]
[BaseType (typeof (NSObject))]
public partial interface HMTrigger {
partial interface HMTrigger {
[Export ("name")]
string Name { get; }
@ -1434,7 +1434,7 @@ namespace XamCore.HomeKit {
[iOS (8,0)]
[DisableDefaultCtor]
[BaseType (typeof (NSObject))]
public partial interface HMZone {
partial interface HMZone {
[Export ("name")]
string Name { get; }
@ -1510,7 +1510,7 @@ namespace XamCore.HomeKit {
[iOS (8,0)]
[BaseType (typeof (NSObject))]
[DisableDefaultCtor]
public interface HMUser {
interface HMUser {
[Export ("name")]
string Name { get; }
@ -1523,7 +1523,7 @@ namespace XamCore.HomeKit {
[iOS (9,0)]
[BaseType (typeof (NSObject))]
[DisableDefaultCtor] // NSInternalInconsistencyException Reason: init is unavailable
public interface HMAccessoryCategory {
interface HMAccessoryCategory {
[Internal]
[Export ("categoryType")]
NSString _CategoryType { get; }
@ -1536,7 +1536,7 @@ namespace XamCore.HomeKit {
[iOS (9,0)]
[Static]
[Internal]
public interface HMAccessoryCategoryTypesInternal {
interface HMAccessoryCategoryTypesInternal {
[Field ("HMAccessoryCategoryTypeOther")]
NSString Other { get; }
@ -1699,7 +1699,7 @@ namespace XamCore.HomeKit {
[TV (10,0)]
[BaseType (typeof (NSObject))]
[DisableDefaultCtor]
public interface HMHomeAccessControl {
interface HMHomeAccessControl {
[Export ("administrator")]
bool Administrator { [Bind ("isAdministrator")] get; }
}
@ -1744,7 +1744,7 @@ namespace XamCore.HomeKit {
[Watch (3,0), TV (10,0), iOS (10,0)]
[BaseType (typeof(HMAccessoryProfile))]
[DisableDefaultCtor]
public interface HMCameraProfile
interface HMCameraProfile
{
[NullAllowed, Export ("streamControl", ArgumentSemantic.Strong)]
HMCameraStreamControl StreamControl { get; }
@ -1768,7 +1768,7 @@ namespace XamCore.HomeKit {
[Watch (3,0), TV (10,0), iOS (10,0)]
[BaseType (typeof(HMCameraControl))]
public interface HMCameraStreamControl
interface HMCameraStreamControl
{
[NullAllowed, Export ("delegate", ArgumentSemantic.Weak)]
IHMCameraStreamControlDelegate Delegate { get; set; }
@ -1786,7 +1786,7 @@ namespace XamCore.HomeKit {
void StopStream ();
}
public interface IHMCameraStreamControlDelegate {}
interface IHMCameraStreamControlDelegate {}
[Watch (3,0), TV (10,0), iOS (10,0)]
[Protocol, Model]
@ -1803,7 +1803,7 @@ namespace XamCore.HomeKit {
// TODO: Type still available for tvOS even if everything in it is __TVOS_PROHIBITED.
[Watch (3,0), TV (10,0), iOS (10,0)]
[BaseType (typeof(HMCameraSource))]
public interface HMCameraStream
interface HMCameraStream
{
[NoTV]
[Export ("audioStreamSetting", ArgumentSemantic.Assign)]
@ -1817,7 +1817,7 @@ namespace XamCore.HomeKit {
[Watch (3,0), TV (10,0), iOS (10,0)]
[BaseType (typeof(HMCameraControl))]
public interface HMCameraSnapshotControl
interface HMCameraSnapshotControl
{
[NullAllowed, Export ("delegate", ArgumentSemantic.Weak)]
IHMCameraSnapshotControlDelegate Delegate { get; set; }
@ -1829,12 +1829,12 @@ namespace XamCore.HomeKit {
void TakeSnapshot ();
}
public interface IHMCameraSnapshotControlDelegate {}
interface IHMCameraSnapshotControlDelegate {}
[Watch (3,0), TV (10,0), iOS (10,0)]
[Protocol, Model]
[BaseType (typeof(NSObject))]
public interface HMCameraSnapshotControlDelegate
interface HMCameraSnapshotControlDelegate
{
[Export ("cameraSnapshotControl:didTakeSnapshot:error:")]
void DidTakeSnapshot (HMCameraSnapshotControl cameraSnapshotControl, [NullAllowed] HMCameraSnapshot snapshot, [NullAllowed] NSError error);
@ -1842,7 +1842,7 @@ namespace XamCore.HomeKit {
[Watch (3,0), TV (10,0), iOS (10,0)]
[BaseType (typeof(HMCameraSource))]
public interface HMCameraSnapshot
interface HMCameraSnapshot
{
[Export ("captureDate", ArgumentSemantic.Copy)]
NSDate CaptureDate { get; }
@ -1851,7 +1851,7 @@ namespace XamCore.HomeKit {
[Watch (3,0), TV (10,0), iOS (10,0)]
[BaseType (typeof(HMCameraControl))]
[DisableDefaultCtor]
public interface HMCameraSettingsControl
interface HMCameraSettingsControl
{
[NullAllowed, Export ("nightVision", ArgumentSemantic.Strong)]
HMCharacteristic NightVision { get; }
@ -1884,7 +1884,7 @@ namespace XamCore.HomeKit {
[Watch (3,0), TV (10,0), iOS (10,0)]
[BaseType (typeof(HMCameraControl))]
[DisableDefaultCtor]
public interface HMCameraAudioControl
interface HMCameraAudioControl
{
[NullAllowed, Export ("mute", ArgumentSemantic.Strong)]
HMCharacteristic Mute { get; }

Просмотреть файл

@ -173,7 +173,7 @@ namespace XamCore.iAd {
}
[Category, BaseType (typeof (MPMoviePlayerController))]
public partial interface IAdPreroll {
partial interface IAdPreroll {
#if XAMCORE_2_0
[Internal]
@ -195,12 +195,12 @@ namespace XamCore.iAd {
}
#if !XAMCORE_2_0
public delegate void PlayPrerollAdCompletionHandler (NSError error);
delegate void PlayPrerollAdCompletionHandler (NSError error);
#endif
[Deprecated (PlatformName.iOS, 10, 0)]
[Category, BaseType (typeof (UIViewController))]
public partial interface IAdAdditions {
partial interface IAdAdditions {
#if XAMCORE_2_0
[Internal]
@ -238,12 +238,12 @@ namespace XamCore.iAd {
bool ShouldPresentInterstitialAd ();
}
public delegate void ADConversionDetails (NSDate appPurchaseDate, NSDate iAdImpressionDate);
delegate void ADConversionDetails (NSDate appPurchaseDate, NSDate iAdImpressionDate);
[Since (7,1)]
[BaseType (typeof (NSObject))]
[DisableDefaultCtor]
public interface ADClient {
interface ADClient {
[Static]
[Export ("sharedClient")]
ADClient SharedClient { get; }
@ -272,7 +272,7 @@ namespace XamCore.iAd {
#endif
}
public delegate void AttributedToiAdCompletionHandler (bool attributedToiAd);
delegate void AttributedToiAdCompletionHandler (bool attributedToiAd);
[Category]
[BaseType (typeof (AVPlayerViewController))]

Просмотреть файл

@ -38,7 +38,7 @@ using XamCore.CoreAnimation;
namespace XamCore.ImageKit {
[BaseType (typeof (NSView), Delegates=new string [] { "WeakDelegate" }, Events=new Type [] { typeof (IKCameraDeviceViewDelegate)})]
public interface IKCameraDeviceView {
interface IKCameraDeviceView {
[Export ("delegate", ArgumentSemantic.Assign), NullAllowed]
NSObject WeakDelegate { get; set; }
@ -117,7 +117,7 @@ namespace XamCore.ImageKit {
[BaseType (typeof (NSObject))]
[Model]
[Protocol]
public interface IKCameraDeviceViewDelegate {
interface IKCameraDeviceViewDelegate {
[Export ("cameraDeviceViewSelectionDidChange:"), EventArgs ("IKCameraDeviceView")]
void SelectionDidChange (IKCameraDeviceView cameraDeviceView);
@ -130,7 +130,7 @@ namespace XamCore.ImageKit {
}
[BaseType (typeof (NSView), Delegates=new string [] { "WeakDelegate" }, Events=new Type [] { typeof (IKDeviceBrowserViewDelegate)})]
public interface IKDeviceBrowserView {
interface IKDeviceBrowserView {
[Export ("delegate", ArgumentSemantic.Assign), NullAllowed]
NSObject WeakDelegate { get; set; }
@ -161,7 +161,7 @@ namespace XamCore.ImageKit {
[BaseType (typeof (NSObject))]
[Model]
[Protocol]
public interface IKDeviceBrowserViewDelegate {
interface IKDeviceBrowserViewDelegate {
// FIXME need ImageCaptureCore;
// [Abstract]
// [Export ("deviceBrowserView:selectionDidChange:"), EventArgs ("IKDeviceBrowserViewICDevice")]
@ -172,7 +172,7 @@ namespace XamCore.ImageKit {
}
[BaseType (typeof (NSPanel))]
public interface IKFilterBrowserPanel {
interface IKFilterBrowserPanel {
[Static]
[Export ("filterBrowserPanelWithStyleMask:")]
IKFilterBrowserPanel Create (IKFilterBrowserPanelStyleMask styleMask);
@ -224,7 +224,7 @@ namespace XamCore.ImageKit {
}
[BaseType (typeof (NSView))]
public interface IKFilterBrowserView {
interface IKFilterBrowserView {
[Export ("setPreviewState:")]
void SetPreviewState (bool showPreview);
@ -236,7 +236,7 @@ namespace XamCore.ImageKit {
[BaseType (typeof (NSObject))]
[Model]
[Protocol]
public interface IKFilterCustomUIProvider {
interface IKFilterCustomUIProvider {
// The Apple documentation says the native implementation of CIFilter.GetFilterUIView will call
// this method (if it exists). This means that This method should not be called GetFilterUIView
// (because it seems like you shouldn't override CIFilter.GetFilterUIView, and implementing
@ -271,7 +271,7 @@ namespace XamCore.ImageKit {
}
[BaseType (typeof (NSView))]
public interface IKFilterUIView {
interface IKFilterUIView {
[Export ("initWithFrame:filter:")]
IntPtr Constructor (CGRect frame, CIFilter filter);
@ -283,7 +283,7 @@ namespace XamCore.ImageKit {
}
[BaseType (typeof (NSObject))]
public interface IKImageBrowserCell {
interface IKImageBrowserCell {
[Export ("imageBrowserView")]
IKImageBrowserView ImageBrowserView { get; }
@ -341,7 +341,7 @@ namespace XamCore.ImageKit {
}
[BaseType (typeof (NSView), Delegates=new string [] { "WeakDelegate" }, Events=new Type [] { typeof (IKImageBrowserDelegate)})]
public interface IKImageBrowserView {
interface IKImageBrowserView {
//@category IKImageBrowserView (IKMainMethods)
[Export ("initWithFrame:")]
IntPtr Constructor (CGRect frame);
@ -497,7 +497,7 @@ namespace XamCore.ImageKit {
[BaseType (typeof (NSObject))]
[Model]
[Protocol]
public interface IKImageBrowserDataSource {
interface IKImageBrowserDataSource {
[Abstract]
[Export ("numberOfItemsInImageBrowser:")]
nint ItemCount (IKImageBrowserView aBrowser);
@ -548,7 +548,7 @@ namespace XamCore.ImageKit {
[BaseType (typeof (NSObject))]
[Model]
[Protocol]
public interface IKImageBrowserItem {
interface IKImageBrowserItem {
[Abstract]
[Export ("imageUID")]
string ImageUID { get; }
@ -620,12 +620,12 @@ namespace XamCore.ImageKit {
bool IsSelectable { get; }
}
public interface IIKImageBrowserItem {}
interface IIKImageBrowserItem {}
[BaseType (typeof (NSObject))]
[Model]
[Protocol (IsInformal = true)]
public interface IKImageBrowserDelegate {
interface IKImageBrowserDelegate {
[Export ("imageBrowserSelectionDidChange:"), EventArgs ("IKImageBrowserView")]
void SelectionDidChange (IKImageBrowserView browser);
@ -641,7 +641,7 @@ namespace XamCore.ImageKit {
[BaseType (typeof (NSPanel))]
[DisableDefaultCtor] // crash when disposed, sharedImageEditPanel must be used
public interface IKImageEditPanel {
interface IKImageEditPanel {
[Static]
[Export ("sharedImageEditPanel")]
IKImageEditPanel SharedPanel { get; }
@ -660,7 +660,7 @@ namespace XamCore.ImageKit {
[BaseType (typeof (NSObject))]
[Model]
[Protocol]
public interface IKImageEditPanelDataSource {
interface IKImageEditPanelDataSource {
[Abstract]
[Export ("image")]
CGImage Image { get; }
@ -686,7 +686,7 @@ namespace XamCore.ImageKit {
}
[BaseType (typeof (NSView))]
public interface IKImageView {
interface IKImageView {
//There is no protocol for this delegate. used to respond to messages in the responder chain
[Export ("delegate", ArgumentSemantic.Assign), NullAllowed]
NSObject Delegate { get; set; }
@ -804,7 +804,7 @@ namespace XamCore.ImageKit {
}
[BaseType (typeof (NSPanel))]
public interface IKPictureTaker {
interface IKPictureTaker {
[Static]
[Export ("pictureTaker")]
IKPictureTaker SharedPictureTaker { get; }
@ -873,7 +873,7 @@ namespace XamCore.ImageKit {
}
[BaseType (typeof (NSObject), Delegates=new string [] { "WeakDelegate" }, Events=new Type [] { typeof (IKSaveOptionsDelegate)})]
public interface IKSaveOptions {
interface IKSaveOptions {
[Export ("imageProperties")]
NSDictionary ImageProperties { get; }
@ -903,13 +903,13 @@ namespace XamCore.ImageKit {
[BaseType (typeof (NSObject))]
[Model]
[Protocol (IsInformal = true)]
public interface IKSaveOptionsDelegate {
interface IKSaveOptionsDelegate {
[Export ("saveOptions:shouldShowUTType:"), DelegateName ("SaveOptionsShouldShowUTType"), DefaultValue (false)]
bool ShouldShowType (IKSaveOptions saveOptions, string imageUTType);
}
[BaseType (typeof (NSView), Delegates=new string [] { "WeakDelegate" }, Events=new Type [] { typeof (IKScannerDeviceViewDelegate)})]
public interface IKScannerDeviceView {
interface IKScannerDeviceView {
[Export ("delegate", ArgumentSemantic.Assign), NullAllowed]
NSObject WeakDelegate { get; set; }
@ -958,7 +958,7 @@ namespace XamCore.ImageKit {
[BaseType (typeof (NSObject))]
[Model]
[Protocol]
public interface IKScannerDeviceViewDelegate {
interface IKScannerDeviceViewDelegate {
[Export ("scannerDeviceView:didScanToURL:fileData:error:"), EventArgs ("IKScannerDeviceViewScan")]
void DidScan (IKScannerDeviceView scannerDeviceView, NSUrl url, NSData data, NSError error);
@ -967,7 +967,7 @@ namespace XamCore.ImageKit {
}
[BaseType (typeof (NSObject))]
public interface IKSlideshow {
interface IKSlideshow {
[Static]
[Export ("sharedSlideshow")]
IKSlideshow SharedSlideshow { get; }
@ -1048,7 +1048,7 @@ namespace XamCore.ImageKit {
[BaseType (typeof (NSObject))]
[Model]
[Protocol]
public interface IKSlideshowDataSource {
interface IKSlideshowDataSource {
[Abstract]
[Export ("numberOfSlideshowItems")]
nint ItemCount { get; }

Просмотреть файл

@ -17,7 +17,7 @@ using XamCore.AppKit;
namespace XamCore.InputMethodKit {
public partial interface IMKGlobal {
partial interface IMKGlobal {
[Field ("kIMKCommandMenuItemName")]
NSString CommandMenuItemName { get; }
@ -26,7 +26,7 @@ namespace XamCore.InputMethodKit {
}
[Model]
public partial interface IMKServerProxy {
partial interface IMKServerProxy {
[Field ("IMKModeDictionary")]
NSString ModeDictionary { get; }
@ -38,7 +38,7 @@ namespace XamCore.InputMethodKit {
}
[BaseType (typeof (NSObject))]
public partial interface IMKServer : IMKServerProxy {
partial interface IMKServer : IMKServerProxy {
[Export ("initWithName:bundleIdentifier:")]
IntPtr Constructor (string name, string bundleIdentifier);
@ -57,7 +57,7 @@ namespace XamCore.InputMethodKit {
}
[Category, BaseType (typeof (NSObject))]
public partial interface IMKServerInput_NSObject {
partial interface IMKServerInput_NSObject {
[Export ("inputText:key:modifiers:client:")]
bool InputText (string str, nint keyCode, nuint flags, NSObject sender);
@ -85,7 +85,7 @@ namespace XamCore.InputMethodKit {
}
[Protocol]
public partial interface IMKStateSetting {
partial interface IMKStateSetting {
[Abstract]
[Export ("activateServer:")]
void ActivateServer (NSObject sender);
@ -116,7 +116,7 @@ namespace XamCore.InputMethodKit {
}
[Model]
public partial interface IMKMouseHandling {
partial interface IMKMouseHandling {
[Export ("mouseDownOnCharacterIndex:coordinate:withModifier:continueTracking:client:")]
bool MouseDown (nuint index, NSPoint point, nuint flags, out bool keepTracking, NSObject sender);
@ -129,7 +129,7 @@ namespace XamCore.InputMethodKit {
}
[BaseType (typeof (NSObject))]
public partial interface IMKInputController : IMKStateSetting, IMKMouseHandling {
partial interface IMKInputController : IMKStateSetting, IMKMouseHandling {
[Export ("initWithServer:delegate:client:")]
IntPtr Constructor (IMKServer server, NSObject delegateObject, NSObject inputClient);
@ -184,7 +184,7 @@ namespace XamCore.InputMethodKit {
}
[BaseType (typeof (NSResponder))]
public partial interface IMKCandidates {
partial interface IMKCandidates {
[Export ("initWithServer:panelType:")]
IntPtr Constructor (IMKServer server, IMKCandidatePanelType panelType);

Просмотреть файл

@ -13,12 +13,12 @@ using XamCore.CoreGraphics;
namespace XamCore.JavaScriptCore {
public delegate void JSContextExceptionHandler (JSContext context, JSValue exception);
delegate void JSContextExceptionHandler (JSContext context, JSValue exception);
[Mac (10,9, onlyOn64: true), iOS (7,0)]
[BaseType (typeof (NSObject))]
[DisableDefaultCtor]
public partial interface JSContext {
partial interface JSContext {
[Export ("init")]
IntPtr Constructor ();
@ -89,7 +89,7 @@ namespace XamCore.JavaScriptCore {
[Mac (10,9, onlyOn64: true), iOS (7,0)]
[BaseType (typeof (NSObject))]
[DisableDefaultCtor] // invalid (null) Handle is returned
public partial interface JSValue {
partial interface JSValue {
[Static, Export ("valueWithObject:inContext:")]
JSValue From (NSObject value, JSContext context);
@ -285,7 +285,7 @@ namespace XamCore.JavaScriptCore {
#if XAMCORE_3_0
[DisableDefaultCtor]
#endif
public partial interface JSManagedValue {
partial interface JSManagedValue {
[Static, Export ("managedValueWithValue:")]
JSManagedValue Get (JSValue value);
@ -303,7 +303,7 @@ namespace XamCore.JavaScriptCore {
[Mac (10,9, onlyOn64: true), iOS (7,0)]
[BaseType (typeof (NSObject))]
[DisableDefaultCtor]
public partial interface JSVirtualMachine {
partial interface JSVirtualMachine {
[Export ("init")]
IntPtr Constructor ();

Просмотреть файл

@ -1452,7 +1452,7 @@ namespace XamCore.MapKit {
[TV (9,2)]
[Since (7,0), BaseType (typeof (NSObject))]
[Mac (10,9, onlyOn64 : true)]
public partial interface MKMapCamera : NSCopying, NSSecureCoding {
partial interface MKMapCamera : NSCopying, NSSecureCoding {
[Export ("centerCoordinate")]
CLLocationCoordinate2D CenterCoordinate { get; set; }

Просмотреть файл

@ -7,7 +7,7 @@ namespace XamCore.MediaAccessibility {
#if XAMCORE_4_0
[Static]
public interface MACaptionAppearance {
interface MACaptionAppearance {
[iOS (7,0)][Mac (10,9)]
[Notification]
[Field ("kMACaptionAppearanceSettingsChangedNotification")]
@ -16,7 +16,7 @@ namespace XamCore.MediaAccessibility {
#endif
[Static]
public interface MAAudibleMedia {
interface MAAudibleMedia {
[iOS (8,0)][Mac (10,10)]
[Notification]
[Field ("kMAAudibleMediaSettingsChangedNotification")]
@ -24,7 +24,7 @@ namespace XamCore.MediaAccessibility {
}
[Static]
public interface MAMediaCharacteristic {
interface MAMediaCharacteristic {
[iOS (7,0)][Mac (10,9)]
[Field ("MAMediaCharacteristicDescribesMusicAndSoundForAccessibility")]
NSString DescribesMusicAndSoundForAccessibility { get; }

Просмотреть файл

@ -30,7 +30,7 @@ using XamCore.ObjCRuntime;
namespace XamCore.MediaLibrary {
[Static]
[Mac (10,9, onlyOn64 : true)]
public interface MediaLibraryTypeIdentifierKey {
interface MediaLibraryTypeIdentifierKey {
[Field ("MLFolderRootGroupTypeIdentifier")]
NSString FolderRootGroupTypeIdentifier { get; }

Просмотреть файл

@ -22,9 +22,9 @@ namespace XamCore.MediaPlayer {
[BaseType (typeof (NSObject))]
#if XAMCORE_2_0
// introduced in 4.2
public interface MPMediaEntity : NSSecureCoding {
interface MPMediaEntity : NSSecureCoding {
#else
public interface MPMediaItem : NSSecureCoding {
interface MPMediaItem : NSSecureCoding {
#endif
[Static]
[Export ("canFilterByProperty:")]
@ -49,7 +49,7 @@ namespace XamCore.MediaPlayer {
[NoTV]
[BaseType (typeof (MPMediaEntity))]
public interface MPMediaItem {
interface MPMediaItem {
#endif
[Since (4,2)]
[Export ("persistentIDPropertyForGroupingType:")][Static]
@ -247,7 +247,7 @@ namespace XamCore.MediaPlayer {
[BaseType (typeof (NSObject))]
[DisableDefaultCtor]
public interface MPMediaItemArtwork {
interface MPMediaItemArtwork {
[iOS (10,0)]
[TV (10,0)]
[Export ("initWithBoundsSize:requestHandler:")]
@ -280,10 +280,10 @@ namespace XamCore.MediaPlayer {
[BaseType (typeof (NSObject))]
#endif
#if XAMCORE_3_0 || !XAMCORE_2_0
public interface MPMediaItemCollection : NSSecureCoding {
interface MPMediaItemCollection : NSSecureCoding {
#else
// part of the bug is that we inlined MPMediaEntity needlessly
public interface MPMediaItemCollection : MPMediaEntity, NSSecureCoding {
interface MPMediaItemCollection : MPMediaEntity, NSSecureCoding {
#endif
[Static]
[Export ("collectionWithItems:")]
@ -308,7 +308,7 @@ namespace XamCore.MediaPlayer {
[NoTV]
[BaseType (typeof (NSObject))]
public interface MPMediaLibrary : NSSecureCoding {
interface MPMediaLibrary : NSSecureCoding {
[Static, Export ("defaultMediaLibrary")]
MPMediaLibrary DefaultMediaLibrary { get; }
@ -354,7 +354,7 @@ namespace XamCore.MediaPlayer {
[NoTV]
[BaseType (typeof (UIViewController), Delegates=new string [] { "WeakDelegate" }, Events=new Type [] {typeof(MPMediaPickerControllerDelegate)})]
public interface MPMediaPickerController {
interface MPMediaPickerController {
[DesignatedInitializer]
[Export ("initWithMediaTypes:")]
IntPtr Constructor (MPMediaType mediaTypes);
@ -389,7 +389,7 @@ namespace XamCore.MediaPlayer {
[BaseType (typeof (NSObject))]
[Model]
[Protocol]
public interface MPMediaPickerControllerDelegate {
interface MPMediaPickerControllerDelegate {
[Export ("mediaPicker:didPickMediaItems:"), EventArgs ("ItemsPicked"), EventName ("ItemsPicked")]
void MediaItemsPicked (MPMediaPickerController sender, MPMediaItemCollection mediaItemCollection);
@ -401,7 +401,7 @@ namespace XamCore.MediaPlayer {
[BaseType (typeof (MPMediaItemCollection))]
// Objective-C exception thrown. Name: MPMediaItemCollectionInitException Reason: -init is not supported, use -initWithItems:
[DisableDefaultCtor]
public interface MPMediaPlaylist : NSSecureCoding {
interface MPMediaPlaylist : NSSecureCoding {
[Export ("initWithItems:")]
IntPtr Constructor (MPMediaItem [] items);
@ -439,7 +439,7 @@ namespace XamCore.MediaPlayer {
}
[Static]
public interface MPMediaPlaylistProperty {
interface MPMediaPlaylistProperty {
[Field ("MPMediaPlaylistPropertyPersistentID")]
NSString PersistentID { get; }
@ -465,7 +465,7 @@ namespace XamCore.MediaPlayer {
[NoTV]
[BaseType (typeof (NSObject))]
public interface MPMediaQuery : NSSecureCoding, NSCopying {
interface MPMediaQuery : NSSecureCoding, NSCopying {
[DesignatedInitializer]
[Export ("initWithFilterPredicates:")]
IntPtr Constructor ([NullAllowed] NSSet filterPredicates);
@ -554,12 +554,12 @@ namespace XamCore.MediaPlayer {
[NoTV]
[BaseType (typeof (NSObject))]
public interface MPMediaPredicate : NSSecureCoding {
interface MPMediaPredicate : NSSecureCoding {
}
[NoTV]
[BaseType (typeof (MPMediaPredicate))]
public interface MPMediaPropertyPredicate {
interface MPMediaPropertyPredicate {
[Static, Export ("predicateWithValue:forProperty:")]
MPMediaPropertyPredicate PredicateWithValue ([NullAllowed] NSObject value, string property);
@ -579,7 +579,7 @@ namespace XamCore.MediaPlayer {
[NoTV]
[Availability (Deprecated = Platform.iOS_9_0)]
[BaseType (typeof (NSObject))]
public interface MPMovieAccessLog : NSCopying {
interface MPMovieAccessLog : NSCopying {
[Export ("events")]
MPMovieAccessLogEvent [] Events { get; }
@ -593,7 +593,7 @@ namespace XamCore.MediaPlayer {
[NoTV]
[Availability (Deprecated = Platform.iOS_9_0)]
[BaseType (typeof (NSObject))]
public interface MPMovieErrorLog : NSCopying {
interface MPMovieErrorLog : NSCopying {
[Export ("events")]
MPMovieErrorLogEvent [] Events { get; }
@ -607,7 +607,7 @@ namespace XamCore.MediaPlayer {
[NoTV]
[Availability (Deprecated = Platform.iOS_9_0)]
[BaseType (typeof (NSObject))]
public interface MPMovieAccessLogEvent : NSCopying {
interface MPMovieAccessLogEvent : NSCopying {
[Export ("numberOfSegmentsDownloaded")]
nint SegmentedDownloadedCount { get; }
@ -654,7 +654,7 @@ namespace XamCore.MediaPlayer {
[NoTV]
[Availability (Deprecated = Platform.iOS_9_0)]
[BaseType (typeof (NSObject))]
public interface MPMovieErrorLogEvent : NSCopying {
interface MPMovieErrorLogEvent : NSCopying {
[Export ("date")]
NSDate Date { get; }
@ -712,7 +712,7 @@ namespace XamCore.MediaPlayer {
// no [Model] yet... it can be easily created in user code (all abstract) if needed
[Protocol]
public interface MPMediaPlayback {
interface MPMediaPlayback {
[Abstract]
[Export ("play")]
void Play ();
@ -765,7 +765,7 @@ namespace XamCore.MediaPlayer {
[NoTV]
[Availability (Deprecated = Platform.iOS_9_0)]
[BaseType (typeof (NSObject))]
public interface MPMoviePlayerController : MPMediaPlayback {
interface MPMoviePlayerController : MPMediaPlayback {
[DesignatedInitializer]
[Export ("initWithContentURL:")]
IntPtr Constructor (NSUrl url);
@ -1038,7 +1038,7 @@ namespace XamCore.MediaPlayer {
[BaseType (typeof (NSObject))]
// Objective-C exception thrown. Name: NSGenericException Reason: MPTimedMetadata cannot be created directly
[DisableDefaultCtor]
public interface MPTimedMetadata {
interface MPTimedMetadata {
[Export ("key")]
string Key { get; }
@ -1062,7 +1062,7 @@ namespace XamCore.MediaPlayer {
[NoTV]
[BaseType (typeof (UIViewController))]
[Availability (Introduced = Platform.iOS_3_2, Deprecated = Platform.iOS_9_0)]
public interface MPMoviePlayerViewController {
interface MPMoviePlayerViewController {
[DesignatedInitializer]
[Export ("initWithContentURL:")]
IntPtr Constructor (NSUrl url);
@ -1078,7 +1078,7 @@ namespace XamCore.MediaPlayer {
[NoTV]
[BaseType (typeof (NSObject))]
public interface MPMusicPlayerController : MPMediaPlayback {
interface MPMusicPlayerController : MPMediaPlayback {
[Static, Export ("applicationMusicPlayer")]
MPMusicPlayerController ApplicationMusicPlayer { get; }
@ -1150,7 +1150,7 @@ namespace XamCore.MediaPlayer {
[NoTV]
[BaseType (typeof (UIView))]
public interface MPVolumeView {
interface MPVolumeView {
[Export ("initWithFrame:")]
IntPtr Constructor (CGRect frame);
@ -1231,7 +1231,7 @@ namespace XamCore.MediaPlayer {
[BaseType (typeof (NSObject))]
// Objective-C exception thrown. Name: NSInvalidArgumentException Reason: MPMediaQuerySection is a read-only object
[DisableDefaultCtor]
public interface MPMediaQuerySection : NSSecureCoding, NSCopying {
interface MPMediaQuerySection : NSSecureCoding, NSCopying {
[Export ("range", ArgumentSemantic.Assign)]
NSRange Range { get; }
@ -1850,7 +1850,7 @@ namespace XamCore.MediaPlayer {
[NoTV][iOS (9,3)]
[BaseType (typeof (NSObject))]
[DisableDefaultCtor]
public interface MPMediaPlaylistCreationMetadata {
interface MPMediaPlaylistCreationMetadata {
[Export ("initWithName:")]
[DesignatedInitializer]
IntPtr Constructor (string name);

Просмотреть файл

@ -25,15 +25,15 @@ using XamCore.ObjCRuntime;
namespace XamCore.Metal {
public delegate void MTLDeallocator (IntPtr pointer, nuint length);
delegate void MTLDeallocator (IntPtr pointer, nuint length);
public delegate void MTLNewComputePipelineStateWithReflectionCompletionHandler (IMTLComputePipelineState computePipelineState, MTLComputePipelineReflection reflection, NSError error);
delegate void MTLNewComputePipelineStateWithReflectionCompletionHandler (IMTLComputePipelineState computePipelineState, MTLComputePipelineReflection reflection, NSError error);
public interface IMTLCommandEncoder {}
interface IMTLCommandEncoder {}
[iOS (8,0)][Mac (10,11, onlyOn64 : true)]
[BaseType (typeof (NSObject))]
public interface MTLArgument {
interface MTLArgument {
[Export ("name")]
string Name { get; }
@ -84,7 +84,7 @@ namespace XamCore.Metal {
[iOS (8,0)][Mac (10,11, onlyOn64 : true)]
[BaseType (typeof (NSObject))]
public interface MTLArrayType {
interface MTLArrayType {
[Export ("arrayLength")]
nuint Length { get; }
@ -103,7 +103,7 @@ namespace XamCore.Metal {
[iOS (8,0)][Mac (10,11, onlyOn64 : true)]
[Protocol] // From Apple Docs: Your app does not define classes that implement this protocol. Model is not needed
public partial interface MTLCommandEncoder {
partial interface MTLCommandEncoder {
[Abstract, Export ("device")]
IMTLDevice Device { get; }
@ -123,11 +123,11 @@ namespace XamCore.Metal {
void PopDebugGroup ();
}
public interface IMTLBuffer {}
interface IMTLBuffer {}
[iOS (8,0)][Mac (10,11, onlyOn64 : true)]
[Protocol] // From Apple Docs: Your app does not define classes that implement this protocol. Model is not needed
public partial interface MTLBuffer : MTLResource {
partial interface MTLBuffer : MTLResource {
[Abstract, Export ("length")]
nuint Length { get; }
@ -158,7 +158,7 @@ namespace XamCore.Metal {
[iOS (10,0), TV (10,0), NoWatch, Mac (10,12, onlyOn64 : true)]
[BaseType (typeof(NSObject))]
public interface MTLBufferLayoutDescriptor : NSCopying
interface MTLBufferLayoutDescriptor : NSCopying
{
[Export ("stride")]
nuint Stride { get; set; }
@ -172,7 +172,7 @@ namespace XamCore.Metal {
[iOS (10,0), TV (10,0), NoWatch, Mac (10,12, onlyOn64 : true)]
[BaseType (typeof(NSObject))]
public interface MTLBufferLayoutDescriptorArray
interface MTLBufferLayoutDescriptorArray
{
[Internal]
[Export ("objectAtIndexedSubscript:")]
@ -184,11 +184,11 @@ namespace XamCore.Metal {
}
public interface IMTLCommandBuffer {}
interface IMTLCommandBuffer {}
[iOS (8,0)][Mac (10,11, onlyOn64 : true)]
[Protocol] // From Apple Docs: Your app does not define classes that implement this protocol. Model is not needed
public partial interface MTLCommandBuffer {
partial interface MTLCommandBuffer {
[Abstract, Export ("device")]
IMTLDevice Device { get; }
@ -260,11 +260,11 @@ namespace XamCore.Metal {
IMTLRenderCommandEncoder CreateRenderCommandEncoder (MTLRenderPassDescriptor renderPassDescriptor);
}
public interface IMTLCommandQueue {}
interface IMTLCommandQueue {}
[iOS (8,0)][Mac (10,11, onlyOn64 : true)]
[Protocol] // From Apple Docs: Your app does not define classes that implement this protocol. Model is not needed
public partial interface MTLCommandQueue {
partial interface MTLCommandQueue {
[Abstract, Export ("label")]
string Label { get; set; }
@ -284,11 +284,11 @@ namespace XamCore.Metal {
void InsertDebugCaptureBoundary ();
}
public interface IMTLComputeCommandEncoder {}
interface IMTLComputeCommandEncoder {}
[iOS (8,0)][Mac (10,11, onlyOn64 : true)]
[Protocol] // From Apple Docs: Your app does not define classes that implement this protocol. Model is not needed
public partial interface MTLComputeCommandEncoder : MTLCommandEncoder {
partial interface MTLComputeCommandEncoder : MTLCommandEncoder {
[Abstract, Export ("setComputePipelineState:")]
void SetComputePipelineState (IMTLComputePipelineState state);
@ -379,7 +379,7 @@ namespace XamCore.Metal {
[iOS (8,0)][Mac (10,11, onlyOn64 : true)]
[BaseType (typeof (NSObject))]
public interface MTLComputePipelineReflection {
interface MTLComputePipelineReflection {
[Export ("arguments")]
#if XAMCORE_4_0
MTLArgument [] Arguments { get; }
@ -388,10 +388,10 @@ namespace XamCore.Metal {
#endif
}
public interface IMTLComputePipelineState {}
interface IMTLComputePipelineState {}
[iOS (8,0)][Mac (10,11, onlyOn64 : true)]
[Protocol] // From Apple Docs: Your app does not define classes that implement this protocol. Model is not needed
public partial interface MTLComputePipelineState {
partial interface MTLComputePipelineState {
[Abstract, Export ("device")]
IMTLDevice Device { get; }
@ -402,11 +402,11 @@ namespace XamCore.Metal {
nuint ThreadExecutionWidth { get; }
}
public interface IMTLBlitCommandEncoder {}
interface IMTLBlitCommandEncoder {}
[iOS (8,0)][Mac (10,11, onlyOn64 : true)]
[Protocol] // From Apple Docs: Your app does not define classes that implement this protocol. Model is not needed
public partial interface MTLBlitCommandEncoder : MTLCommandEncoder {
partial interface MTLBlitCommandEncoder : MTLCommandEncoder {
#if MONOMAC
[Abstract, Export ("synchronizeResource:")]
@ -465,11 +465,11 @@ namespace XamCore.Metal {
void Wait (IMTLFence fence);
}
public interface IMTLFence {}
interface IMTLFence {}
[iOS (10,0), TV (10,0), NoWatch, NoMac]
[Protocol] // From Apple Docs: Your app does not define classes that implement this protocol. Model is not needed
public interface MTLFence
interface MTLFence
{
[Abstract]
[Export ("device")]
@ -480,11 +480,11 @@ namespace XamCore.Metal {
string Label { get; set; }
}
public interface IMTLDevice {}
interface IMTLDevice {}
[iOS (8,0)][Mac (10,11, onlyOn64 : true)]
[Protocol] // From Apple Docs: Your app does not define classes that implement this protocol. Model is not needed
public partial interface MTLDevice {
partial interface MTLDevice {
[Abstract, Export ("name")]
string Name { get; }
@ -657,11 +657,11 @@ namespace XamCore.Metal {
bool SupportsTextureSampleCount (nuint sampleCount);
}
public interface IMTLDrawable {}
interface IMTLDrawable {}
[iOS (8,0)][Mac (10,11, onlyOn64 : true)]
[Protocol, Model]
[BaseType (typeof (NSObject))]
public partial interface MTLDrawable {
partial interface MTLDrawable {
[Abstract, Export ("present")]
void Present ();
@ -669,13 +669,13 @@ namespace XamCore.Metal {
void Present (double presentationTime);
}
public interface IMTLTexture {}
interface IMTLTexture {}
// Apple added several new *required* members in iOS 9,
// but that breaks our binary compat, so we can't do that in our existing code.
[iOS (8,0)][Mac (10,11, onlyOn64 : true)]
[Protocol] // From Apple Docs: Your app does not define classes that implement this protocol. Model is not needed
public partial interface MTLTexture : MTLResource {
partial interface MTLTexture : MTLResource {
[Availability (Introduced = Platform.iOS_8_0, Deprecated = Platform.iOS_10_0)]
[Abstract, Export ("rootResource")]
IMTLResource RootResource { get; }
@ -794,7 +794,7 @@ namespace XamCore.Metal {
[iOS (8,0)][Mac (10,11, onlyOn64 : true)]
[BaseType (typeof (NSObject))]
public partial interface MTLTextureDescriptor : NSCopying {
partial interface MTLTextureDescriptor : NSCopying {
[Export ("textureType", ArgumentSemantic.Assign)]
MTLTextureType TextureType { get; set; }
@ -844,7 +844,7 @@ namespace XamCore.Metal {
[iOS (8,0)][Mac (10,11, onlyOn64 : true)]
[BaseType (typeof (NSObject))]
public partial interface MTLSamplerDescriptor : NSCopying {
partial interface MTLSamplerDescriptor : NSCopying {
[Export ("minFilter", ArgumentSemantic.Assign)]
MTLSamplerMinMagFilter MinFilter { get; set; }
@ -896,10 +896,10 @@ namespace XamCore.Metal {
string Label { get; set; }
}
public interface IMTLSamplerState {}
interface IMTLSamplerState {}
[iOS (8,0)][Mac (10,11, onlyOn64 : true)]
[Protocol] // From Apple Docs: Your app does not define classes that implement this protocol. Model is not needed
public partial interface MTLSamplerState {
partial interface MTLSamplerState {
[Abstract, Export ("label")]
string Label { get; }
@ -910,7 +910,7 @@ namespace XamCore.Metal {
[iOS (8,0)][Mac (10,11, onlyOn64 : true)]
[BaseType (typeof (NSObject))]
public partial interface MTLRenderPipelineDescriptor : NSCopying {
partial interface MTLRenderPipelineDescriptor : NSCopying {
// [NullAllowed] we can't allow setting null - even if the default value is null
// /SourceCache/AcceleratorKit/AcceleratorKit-14.9/Framework/MTLRenderPipeline.mm:627: failed assertion `label must not be nil.'
@ -987,7 +987,7 @@ namespace XamCore.Metal {
[iOS (8,0)][Mac (10,11, onlyOn64 : true)]
[BaseType (typeof (NSObject))]
public interface MTLRenderPipelineColorAttachmentDescriptorArray {
interface MTLRenderPipelineColorAttachmentDescriptorArray {
[Export ("objectAtIndexedSubscript:"), Internal]
MTLRenderPipelineColorAttachmentDescriptor ObjectAtIndexedSubscript (nuint attachmentIndex);
@ -996,11 +996,11 @@ namespace XamCore.Metal {
void SetObject (MTLRenderPipelineColorAttachmentDescriptor attachment, nuint attachmentIndex);
}
public interface IMTLRenderPipelineState {}
interface IMTLRenderPipelineState {}
[iOS (8,0)][Mac (10,11, onlyOn64 : true)]
[Protocol] // From Apple Docs: Your app does not define classes that implement this protocol. Model is not needed
public partial interface MTLRenderPipelineState {
partial interface MTLRenderPipelineState {
[Abstract, Export ("label")]
string Label { get; }
@ -1011,7 +1011,7 @@ namespace XamCore.Metal {
[iOS (8,0)][Mac (10,11, onlyOn64 : true)]
[BaseType (typeof (NSObject))]
public interface MTLVertexBufferLayoutDescriptor : NSCopying {
interface MTLVertexBufferLayoutDescriptor : NSCopying {
[Export ("stride", ArgumentSemantic.UnsafeUnretained)]
nuint Stride { get; set; }
@ -1024,7 +1024,7 @@ namespace XamCore.Metal {
[iOS (8,0)][Mac (10,11, onlyOn64 : true)]
[BaseType (typeof (NSObject))]
public interface MTLVertexBufferLayoutDescriptorArray {
interface MTLVertexBufferLayoutDescriptorArray {
[Export ("objectAtIndexedSubscript:"), Internal]
MTLVertexBufferLayoutDescriptor ObjectAtIndexedSubscript (nuint index);
@ -1034,7 +1034,7 @@ namespace XamCore.Metal {
[iOS (10,0), TV (10,0), NoWatch, Mac (10,12, onlyOn64 : true)]
[BaseType (typeof(NSObject))]
public interface MTLAttribute
interface MTLAttribute
{
[NullAllowed, Export ("name")]
string Name { get; }
@ -1057,7 +1057,7 @@ namespace XamCore.Metal {
[iOS (10,0), TV (10,0), NoWatch, Mac (10,12, onlyOn64 : true)]
[BaseType (typeof(NSObject))]
public interface MTLAttributeDescriptor : NSCopying
interface MTLAttributeDescriptor : NSCopying
{
[Export ("format", ArgumentSemantic.Assign)]
MTLAttributeFormat Format { get; set; }
@ -1071,7 +1071,7 @@ namespace XamCore.Metal {
[iOS (10,0), TV (10,0), NoWatch, Mac (10,12, onlyOn64 : true)]
[BaseType (typeof(NSObject))]
public interface MTLAttributeDescriptorArray
interface MTLAttributeDescriptorArray
{
[Internal]
[Export ("objectAtIndexedSubscript:")]
@ -1084,7 +1084,7 @@ namespace XamCore.Metal {
[iOS (8,0)][Mac (10,11, onlyOn64 : true)]
[BaseType (typeof (NSObject))]
public interface MTLVertexAttributeDescriptor : NSCopying {
interface MTLVertexAttributeDescriptor : NSCopying {
[Export ("format", ArgumentSemantic.Assign)]
MTLVertexFormat Format { get; set; }
@ -1097,7 +1097,7 @@ namespace XamCore.Metal {
[iOS (8,0)][Mac (10,11, onlyOn64 : true)]
[BaseType (typeof (NSObject))]
public interface MTLVertexAttributeDescriptorArray {
interface MTLVertexAttributeDescriptorArray {
[Export ("objectAtIndexedSubscript:"), Internal]
MTLVertexAttributeDescriptor ObjectAtIndexedSubscript (nuint index);
@ -1107,7 +1107,7 @@ namespace XamCore.Metal {
[iOS (8,0)][Mac (10,11, onlyOn64 : true)]
[BaseType (typeof (NSObject))]
public partial interface MTLVertexDescriptor : NSCopying {
partial interface MTLVertexDescriptor : NSCopying {
[Static, Export ("vertexDescriptor")]
MTLVertexDescriptor Create ();
@ -1123,7 +1123,7 @@ namespace XamCore.Metal {
[iOS (8,0)][Mac (10,11, onlyOn64 : true)]
[BaseType (typeof (NSObject))]
public partial interface MTLVertexAttribute {
partial interface MTLVertexAttribute {
[Export ("attributeIndex")]
nuint AttributeIndex { get; }
@ -1149,7 +1149,7 @@ namespace XamCore.Metal {
[iOS (10,0), TV (10,0), NoWatch, Mac (10,12, onlyOn64 : true)]
[BaseType (typeof(NSObject))]
[DisableDefaultCtor]
public interface MTLFunctionConstantValues : NSCopying
interface MTLFunctionConstantValues : NSCopying
{
[Export ("setConstantValue:type:atIndex:")]
void SetConstantValue (IntPtr value, MTLDataType type, nuint index);
@ -1166,7 +1166,7 @@ namespace XamCore.Metal {
[iOS (10,0), TV (10,0), NoWatch, Mac (10,12, onlyOn64 : true)]
[BaseType (typeof(NSObject))]
public interface MTLFunctionConstant
interface MTLFunctionConstant
{
[Export ("name")]
string Name { get; }
@ -1181,10 +1181,10 @@ namespace XamCore.Metal {
bool IsRequired { get; }
}
public interface IMTLFunction {}
interface IMTLFunction {}
[iOS (8,0)][Mac (10,11, onlyOn64 : true)]
[Protocol] // // From Apple Docs: Your app does not define classes that implement this protocol. Model is not needed
public partial interface MTLFunction {
partial interface MTLFunction {
[iOS (10, 0), TV (10,0), NoWatch, Mac (10,12)]
#if XAMCORE_4_0
@ -1234,11 +1234,11 @@ namespace XamCore.Metal {
NSDictionary<NSString, MTLFunctionConstant> FunctionConstants { get; }
}
public interface IMTLLibrary {}
interface IMTLLibrary {}
[iOS (8,0)][Mac (10,11, onlyOn64 : true)]
[Protocol] // From Apple Docs: Your app does not define classes that implement this protocol. Model is not needed
public partial interface MTLLibrary {
partial interface MTLLibrary {
[Abstract, Export ("label")]
string Label { get; set; }
@ -1273,7 +1273,7 @@ namespace XamCore.Metal {
[iOS (8,0)][Mac (10,11, onlyOn64 : true)]
[BaseType (typeof (NSObject))]
public partial interface MTLCompileOptions : NSCopying {
partial interface MTLCompileOptions : NSCopying {
[NullAllowed] // by default this property is null
[Export ("preprocessorMacros", ArgumentSemantic.Copy)]
@ -1289,7 +1289,7 @@ namespace XamCore.Metal {
[iOS (8,0)][Mac (10,11, onlyOn64 : true)]
[BaseType (typeof (NSObject))]
public partial interface MTLStencilDescriptor : NSCopying {
partial interface MTLStencilDescriptor : NSCopying {
[Export ("stencilCompareFunction")]
MTLCompareFunction StencilCompareFunction { get; set; }
@ -1311,7 +1311,7 @@ namespace XamCore.Metal {
[iOS (8,0)][Mac (10,11, onlyOn64 : true)]
[BaseType (typeof (NSObject))]
public interface MTLStructMember {
interface MTLStructMember {
[Export ("name")]
string Name { get; }
@ -1338,7 +1338,7 @@ namespace XamCore.Metal {
[iOS (8,0)][Mac (10,11, onlyOn64 : true)]
[BaseType (typeof (NSObject))]
public interface MTLStructType {
interface MTLStructType {
[Export ("members")]
MTLStructMember [] Members { get; }
@ -1346,11 +1346,11 @@ namespace XamCore.Metal {
MTLStructMember Lookup (string name);
}
public interface IMTLDepthStencilState {}
interface IMTLDepthStencilState {}
[iOS (8,0)][Mac (10,11, onlyOn64 : true)]
[Protocol] // From Apple Docs: Your app does not define classes that implement this protocol. Model is not needed
public partial interface MTLDepthStencilState {
partial interface MTLDepthStencilState {
#if XAMCORE_2_0
[Abstract]
#endif
@ -1366,7 +1366,7 @@ namespace XamCore.Metal {
[iOS (8,0)][Mac (10,11, onlyOn64 : true)]
[BaseType (typeof (NSObject))]
public partial interface MTLDepthStencilDescriptor : NSCopying {
partial interface MTLDepthStencilDescriptor : NSCopying {
[Export ("depthCompareFunction")]
MTLCompareFunction DepthCompareFunction { get; set; }
@ -1386,11 +1386,11 @@ namespace XamCore.Metal {
string Label { get; set; }
}
public interface IMTLParallelRenderCommandEncoder {}
interface IMTLParallelRenderCommandEncoder {}
[iOS (8,0)][Mac (10,11, onlyOn64 : true)]
[Protocol] // From Apple Docs: Your app does not define classes that implement this protocol. Model is not needed
public interface MTLParallelRenderCommandEncoder : MTLCommandEncoder {
interface MTLParallelRenderCommandEncoder : MTLCommandEncoder {
[Abstract]
[Export ("renderCommandEncoder")]
[Autorelease]
@ -1418,11 +1418,11 @@ namespace XamCore.Metal {
void SetStencilStoreAction (MTLStoreAction storeAction);
}
public interface IMTLRenderCommandEncoder {}
interface IMTLRenderCommandEncoder {}
[iOS (8,0)][Mac (10,11, onlyOn64 : true)]
[Protocol] // From Apple Docs: Your app does not define classes that implement this protocol. Model is not needed
public partial interface MTLRenderCommandEncoder : MTLCommandEncoder {
partial interface MTLRenderCommandEncoder : MTLCommandEncoder {
[Abstract, Export ("setRenderPipelineState:")]
void SetRenderPipelineState (IMTLRenderPipelineState pipelineState);
@ -1667,7 +1667,7 @@ namespace XamCore.Metal {
[iOS (8,0)][Mac (10,11, onlyOn64 : true)]
[BaseType (typeof (NSObject))]
public interface MTLRenderPipelineColorAttachmentDescriptor : NSCopying {
interface MTLRenderPipelineColorAttachmentDescriptor : NSCopying {
[Export ("pixelFormat", ArgumentSemantic.Assign)]
MTLPixelFormat PixelFormat { get; set; }
@ -1699,7 +1699,7 @@ namespace XamCore.Metal {
[iOS (8,0)][Mac (10,11, onlyOn64 : true)]
[BaseType (typeof (NSObject))]
public interface MTLRenderPipelineReflection {
interface MTLRenderPipelineReflection {
[Export ("vertexArguments")]
#if XAMCORE_4_0
MTLArgument [] VertexArguments { get; }
@ -1754,14 +1754,14 @@ namespace XamCore.Metal {
[iOS (8,0)][Mac (10,11, onlyOn64 : true)]
[BaseType (typeof (MTLRenderPassAttachmentDescriptor))]
public interface MTLRenderPassColorAttachmentDescriptor {
interface MTLRenderPassColorAttachmentDescriptor {
[Export ("clearColor")]
MTLClearColor ClearColor { get; set; }
}
[iOS (8,0)][Mac (10,11, onlyOn64 : true)]
[BaseType (typeof (MTLRenderPassAttachmentDescriptor))]
public interface MTLRenderPassDepthAttachmentDescriptor {
interface MTLRenderPassDepthAttachmentDescriptor {
[Export ("clearDepth")]
double ClearDepth { get; set; }
@ -1774,7 +1774,7 @@ namespace XamCore.Metal {
[iOS (8,0)][Mac (10,11, onlyOn64 : true)]
[BaseType (typeof (MTLRenderPassAttachmentDescriptor))]
public interface MTLRenderPassStencilAttachmentDescriptor {
interface MTLRenderPassStencilAttachmentDescriptor {
[Export ("clearStencil")]
uint ClearStencil { get; set; } /* uint32_t */
@ -1782,7 +1782,7 @@ namespace XamCore.Metal {
[iOS (8,0)][Mac (10,11, onlyOn64 : true)]
[BaseType (typeof (NSObject))]
public interface MTLRenderPassColorAttachmentDescriptorArray {
interface MTLRenderPassColorAttachmentDescriptorArray {
[Export ("objectAtIndexedSubscript:"), Internal]
MTLRenderPassColorAttachmentDescriptor ObjectAtIndexedSubscript (nuint attachmentIndex);
@ -1792,7 +1792,7 @@ namespace XamCore.Metal {
[iOS (8,0)][Mac (10,11, onlyOn64 : true)]
[BaseType (typeof (NSObject))]
public interface MTLRenderPassDescriptor : NSCopying {
interface MTLRenderPassDescriptor : NSCopying {
[Export ("colorAttachments")]
MTLRenderPassColorAttachmentDescriptorArray ColorAttachments { get; }
@ -1821,7 +1821,7 @@ namespace XamCore.Metal {
[iOS (10, 0), TV (10,0), NoWatch, NoMac]
[BaseType (typeof(NSObject))]
// note: type works only on devices, symbol is missing on the simulator
public interface MTLHeapDescriptor : NSCopying
interface MTLHeapDescriptor : NSCopying
{
[Export ("size")]
nuint Size { get; set; }
@ -1835,7 +1835,7 @@ namespace XamCore.Metal {
[iOS (10, 0), TV (10,0), NoWatch, NoMac]
[Protocol] // From Apple Docs: Your app does not define classes that implement this protocol. Model is not needed
public interface MTLHeap
interface MTLHeap
{
[Abstract]
[NullAllowed, Export ("label")]
@ -1878,11 +1878,11 @@ namespace XamCore.Metal {
MTLPurgeableState SetPurgeableState (MTLPurgeableState state);
}
public interface IMTLResource {}
public interface IMTLHeap {}
interface IMTLResource {}
interface IMTLHeap {}
[iOS (8,0)][Mac (10,11, onlyOn64 : true)]
[Protocol] // From Apple Docs: Your app does not define classes that implement this protocol. Model is not needed
public partial interface MTLResource {
partial interface MTLResource {
[Abstract, Export ("label")]
string Label { get; set; }
@ -1927,7 +1927,7 @@ namespace XamCore.Metal {
[iOS (9,0)][Mac (10,11, onlyOn64: true)]
[BaseType (typeof (NSObject))]
public interface MTLComputePipelineDescriptor : NSCopying {
interface MTLComputePipelineDescriptor : NSCopying {
// it's marked as `nullable` but it asserts with
// /BuildRoot/Library/Caches/com.apple.xbs/Sources/Metal/Metal-54.18/Framework/MTLComputePipeline.mm:216: failed assertion `label must not be nil.'
[Export ("label")]
@ -1951,7 +1951,7 @@ namespace XamCore.Metal {
[iOS (10,0), TV (10,0), NoWatch, Mac (10,12, onlyOn64 : true)]
[BaseType (typeof(NSObject))]
public interface MTLStageInputOutputDescriptor : NSCopying
interface MTLStageInputOutputDescriptor : NSCopying
{
[Static]
[Export ("stageInputOutputDescriptor")]

Просмотреть файл

@ -23,7 +23,7 @@ namespace XamCore.MultipeerConnectivity {
[Since (7,0)][Mac (10,10, onlyOn64 : true)]
[BaseType (typeof (NSObject))]
[DisableDefaultCtor] // NSInvalidArgumentException Reason: -[MCPeerID init]: unrecognized selector sent to instance 0x7d721090
public partial interface MCPeerID : NSCopying, NSSecureCoding {
partial interface MCPeerID : NSCopying, NSSecureCoding {
[DesignatedInitializer]
[Export ("initWithDisplayName:")]
@ -33,13 +33,13 @@ namespace XamCore.MultipeerConnectivity {
string DisplayName { get; }
}
public delegate void MCSessionNearbyConnectionDataForPeerCompletionHandler (NSData connectionData, NSError error);
delegate void MCSessionNearbyConnectionDataForPeerCompletionHandler (NSData connectionData, NSError error);
[TV (10,0)]
[Since (7,0)][Mac (10,10, onlyOn64 : true)]
[BaseType (typeof (NSObject))]
[DisableDefaultCtor] // crash when calling `description` selector
public partial interface MCSession {
partial interface MCSession {
[Export ("initWithPeer:")]
IntPtr Constructor (MCPeerID myPeerID);
@ -109,7 +109,7 @@ namespace XamCore.MultipeerConnectivity {
[BaseType (typeof (NSObject))]
[Model]
[Protocol]
public partial interface MCSessionDelegate {
partial interface MCSessionDelegate {
[Abstract]
[Export ("session:peer:didChangeState:")]
void DidChangeState (MCSession session, MCPeerID peerID, MCSessionState state);
@ -138,7 +138,7 @@ namespace XamCore.MultipeerConnectivity {
[Since (7,0)][Mac (10,10, onlyOn64 : true)]
[BaseType (typeof (NSObject))]
[DisableDefaultCtor] // NSInvalidArgumentException -[MCNearbyServiceAdvertiser init]: unrecognized selector sent to instance 0x19195e50
public partial interface MCNearbyServiceAdvertiser {
partial interface MCNearbyServiceAdvertiser {
[DesignatedInitializer]
[Export ("initWithPeer:discoveryInfo:serviceType:")]
@ -167,14 +167,14 @@ namespace XamCore.MultipeerConnectivity {
string ServiceType { get; }
}
public delegate void MCNearbyServiceAdvertiserInvitationHandler (bool accept, [NullAllowed] MCSession session);
delegate void MCNearbyServiceAdvertiserInvitationHandler (bool accept, [NullAllowed] MCSession session);
[TV (10,0)]
[Since (7,0)][Mac (10,10, onlyOn64 : true)]
[BaseType (typeof (NSObject))]
[Model]
[Protocol]
public partial interface MCNearbyServiceAdvertiserDelegate {
partial interface MCNearbyServiceAdvertiserDelegate {
#if XAMCORE_2_0
[Abstract]
@ -190,7 +190,7 @@ namespace XamCore.MultipeerConnectivity {
[Since (7,0)][Mac (10,10, onlyOn64 : true)]
[BaseType (typeof (NSObject))]
[DisableDefaultCtor] // NSInvalidArgumentException -[MCNearbyServiceBrowser init]: unrecognized selector sent to instance 0x15519a70
public partial interface MCNearbyServiceBrowser {
partial interface MCNearbyServiceBrowser {
[DesignatedInitializer]
[Export ("initWithPeer:serviceType:")]
@ -224,7 +224,7 @@ namespace XamCore.MultipeerConnectivity {
[BaseType (typeof (NSObject))]
[Model]
[Protocol]
public partial interface MCNearbyServiceBrowserDelegate {
partial interface MCNearbyServiceBrowserDelegate {
#if XAMCORE_2_0
[Abstract]
@ -245,7 +245,7 @@ namespace XamCore.MultipeerConnectivity {
void DidNotStartBrowsingForPeers (MCNearbyServiceBrowser browser, NSError error);
}
public interface IMCNearbyServiceBrowserDelegate {}
interface IMCNearbyServiceBrowserDelegate {}
#if MONOMAC
[Mac (10,10, onlyOn64 : true)]
@ -256,7 +256,7 @@ namespace XamCore.MultipeerConnectivity {
[BaseType (typeof (UIViewController))]
#endif
[DisableDefaultCtor] // NSInvalidArgumentException -[MCPeerPickerViewController initWithNibName:bundle:]: unrecognized selector sent to instance 0x15517b90
public partial interface MCBrowserViewController : MCNearbyServiceBrowserDelegate {
partial interface MCBrowserViewController : MCNearbyServiceBrowserDelegate {
[Export ("initWithNibName:bundle:")]
[PostGet ("NibBundle")]
IntPtr Constructor ([NullAllowed] string nibName, [NullAllowed] NSBundle bundle);
@ -293,7 +293,7 @@ namespace XamCore.MultipeerConnectivity {
[BaseType (typeof (NSObject))]
[Model]
[Protocol]
public partial interface MCBrowserViewControllerDelegate {
partial interface MCBrowserViewControllerDelegate {
#if XAMCORE_2_0
[Abstract]

Просмотреть файл

@ -16,7 +16,7 @@ namespace XamCore.NewsstandKit {
// <quote>You create an NKAssetDownload instance using the NKIssue method addAssetWithRequest:</quote> -> http://developer.apple.com/library/ios/#documentation/StoreKit/Reference/NKAssetDownload_Class/NKAssetDownload/NKAssetDownload.html
// init returns NIL
[DisableDefaultCtor]
public interface NKAssetDownload {
interface NKAssetDownload {
[Export ("issue", ArgumentSemantic.Weak)]
NKIssue Issue { get; }
@ -39,7 +39,7 @@ namespace XamCore.NewsstandKit {
// http://developer.apple.com/library/ios/#documentation/StoreKit/Reference/NKIssue_Class/NKIssue/NKIssue.html#//apple_ref/occ/cl/NKIssue
// init returns NIL
[DisableDefaultCtor]
public interface NKIssue {
interface NKIssue {
[Export ("downloadingAssets", ArgumentSemantic.Copy)]
NKAssetDownload [] DownloadingAssets { get; }

Просмотреть файл

@ -138,7 +138,7 @@ namespace XamCore.NotificationCenter {
nuint GetRow (NSViewController viewController);
}
public interface INCWidgetListViewDelegate {}
interface INCWidgetListViewDelegate {}
[Mac (10, 10)]
[Protocol, Model]
@ -185,7 +185,7 @@ namespace XamCore.NotificationCenter {
string SearchResultKeyPath { get; set; }
}
public interface INCWidgetSearchViewDelegate {}
interface INCWidgetSearchViewDelegate {}
[Mac (10,10)]
[Protocol, Model]

Просмотреть файл

@ -20,7 +20,7 @@ namespace XamCore.OpenGLES {
[BaseType (typeof (NSObject))]
// <quote>It is created when an EAGLContext object is initialized and disposed of when the last EAGLContext object that references it is released.</quote>
[DisableDefaultCtor]
public interface EAGLSharegroup {
interface EAGLSharegroup {
[iOS (6,0)]
[Export ("debugLabel")]
@ -29,7 +29,7 @@ namespace XamCore.OpenGLES {
[BaseType (typeof (NSObject))]
[DisableDefaultCtor] // init now marked with NS_UNAVAILABLE
public interface EAGLContext {
interface EAGLContext {
[Export ("initWithAPI:")]
IntPtr Constructor (EAGLRenderingAPI api);
@ -75,7 +75,7 @@ namespace XamCore.OpenGLES {
[Protocol]
// no [Model] because "The EAGLDrawable protocol is not intended to be implemented by objects outside of the iOS."
public interface EAGLDrawable {
interface EAGLDrawable {
[Abstract]
[NullAllowed] // by default this property is null
[Export ("drawableProperties", ArgumentSemantic.Copy)]

Просмотреть файл

@ -191,8 +191,8 @@ namespace XamCore.PassKit {
}
#if !WATCH
public delegate void PKPaymentShippingAddressSelected (PKPaymentAuthorizationStatus status, PKShippingMethod [] shippingMethods, PKPaymentSummaryItem [] summaryItems);
public delegate void PKPaymentShippingMethodSelected (PKPaymentAuthorizationStatus status, PKPaymentSummaryItem[] summaryItems);
delegate void PKPaymentShippingAddressSelected (PKPaymentAuthorizationStatus status, PKShippingMethod [] shippingMethods, PKPaymentSummaryItem [] summaryItems);
delegate void PKPaymentShippingMethodSelected (PKPaymentAuthorizationStatus status, PKPaymentSummaryItem[] summaryItems);
#if !XAMCORE_2_0
delegate void PKPaymentAuthorizationHandler (PKPaymentAuthorizationStatus status);
@ -273,7 +273,7 @@ namespace XamCore.PassKit {
[Watch (3,0)]
[iOS (8,0)]
[BaseType (typeof (NSObject))]
public interface PKPaymentSummaryItem {
interface PKPaymentSummaryItem {
[NullAllowed] // by default this property is null
[Export ("label")]
string Label { get; set; }
@ -298,7 +298,7 @@ namespace XamCore.PassKit {
[Watch (3,0)]
[iOS (8,0)]
[BaseType (typeof (PKPaymentSummaryItem))]
public interface PKShippingMethod {
interface PKShippingMethod {
[NullAllowed] // by default this property is null
[Export ("identifier")]
string Identifier { get; set; }
@ -630,7 +630,7 @@ namespace XamCore.PassKit {
[iOS (8,0)]
[BaseType (typeof (NSObject))]
public partial interface PKObject : NSCoding, NSSecureCoding, NSCopying {
partial interface PKObject : NSCoding, NSSecureCoding, NSCopying {
//Empty class in header file
}

Просмотреть файл

@ -44,7 +44,7 @@ namespace XamCore.PdfKit {
#if XAMCORE_2_0
[Abstract]
#endif
public interface PdfAction : NSCopying {
interface PdfAction : NSCopying {
//This is an abstract superclass with no public init - should it have a private constructor??
//As it is, I can create instances, that segfault when you access the type method.
//marking the method as [Abstract] doesn't work because the subclasses do not explictly
@ -54,7 +54,7 @@ namespace XamCore.PdfKit {
}
[BaseType (typeof (PdfAction), Name="PDFActionGoTo")]
public interface PdfActionGoTo {
interface PdfActionGoTo {
[Export ("initWithDestination:")]
IntPtr Constructor (PdfDestination destination);
@ -63,7 +63,7 @@ namespace XamCore.PdfKit {
}
[BaseType (typeof (PdfAction), Name="PDFActionNamed")]
public interface PdfActionNamed {
interface PdfActionNamed {
[Export ("initWithName:")]
IntPtr Constructor (PdfActionNamedName name);
@ -72,7 +72,7 @@ namespace XamCore.PdfKit {
}
[BaseType (typeof (PdfAction), Name="PDFActionRemoteGoTo")]
public interface PdfActionRemoteGoTo {
interface PdfActionRemoteGoTo {
[Export ("initWithPageIndex:atPoint:fileURL:")]
IntPtr Constructor (nint pageIndex, CGPoint point, NSUrl fileUrl);
@ -87,7 +87,7 @@ namespace XamCore.PdfKit {
}
[BaseType (typeof (PdfAction), Name="PDFActionResetForm")]
public interface PdfActionResetForm {
interface PdfActionResetForm {
//has a public Init ???
//NSArray of NSString
@ -99,7 +99,7 @@ namespace XamCore.PdfKit {
}
[BaseType (typeof (PdfAction), Name="PDFActionURL")]
public interface PdfActionUrl {
interface PdfActionUrl {
[Export ("initWithURL:")]
IntPtr Constructor (NSUrl url);
@ -108,7 +108,7 @@ namespace XamCore.PdfKit {
}
[BaseType (typeof (NSObject), Name="PDFAnnotation")]
public interface PdfAnnotation : NSCoding, NSCopying {
interface PdfAnnotation : NSCoding, NSCopying {
[Export ("initWithBounds:")]
IntPtr Constructor (CGRect bounds);
@ -162,7 +162,7 @@ namespace XamCore.PdfKit {
}
[BaseType (typeof (PdfAnnotation), Name="PDFAnnotationButtonWidget")]
public interface PdfAnnotationButtonWidget {
interface PdfAnnotationButtonWidget {
[Export ("controlType")]
PdfWidgetControlType ControlType { get; set; }
@ -195,7 +195,7 @@ namespace XamCore.PdfKit {
}
[BaseType (typeof (PdfAnnotation), Name="PDFAnnotationChoiceWidget")]
public interface PdfAnnotationChoiceWidget {
interface PdfAnnotationChoiceWidget {
[Export ("stringValue")]
string Text { get; set; }
@ -220,13 +220,13 @@ namespace XamCore.PdfKit {
}
[BaseType (typeof (PdfAnnotation), Name="PDFAnnotationCircle")]
public interface PdfAnnotationCircle {
interface PdfAnnotationCircle {
[Export ("interiorColor")]
NSColor InteriorColor { get; set; }
}
[BaseType (typeof (PdfAnnotation), Name="PDFAnnotationFreeText")]
public interface PdfAnnotationFreeText {
interface PdfAnnotationFreeText {
[Export ("font")]
NSFont Font { get; set; }
@ -238,7 +238,7 @@ namespace XamCore.PdfKit {
}
[BaseType (typeof (PdfAnnotation), Name="PDFAnnotationInk")]
public interface PdfAnnotationInk {
interface PdfAnnotationInk {
[Export ("paths")]
NSBezierPath [] Paths { get; }
@ -250,7 +250,7 @@ namespace XamCore.PdfKit {
}
[BaseType (typeof (PdfAnnotation), Name="PDFAnnotationLine")]
public interface PdfAnnotationLine {
interface PdfAnnotationLine {
[Export ("startPoint")]
CGPoint StartPoint { get; set; }
@ -268,7 +268,7 @@ namespace XamCore.PdfKit {
}
[BaseType (typeof (PdfAnnotation), Name="PDFAnnotationLink")]
public interface PdfAnnotationLink {
interface PdfAnnotationLink {
[Export ("destination")]
PdfDestination Destination { get; set; }
@ -280,7 +280,7 @@ namespace XamCore.PdfKit {
}
[BaseType (typeof (PdfAnnotation), Name="PDFAnnotationMarkup")]
public interface PdfAnnotationMarkup {
interface PdfAnnotationMarkup {
[Export ("quadrilateralPoints", ArgumentSemantic.Assign), NullAllowed]
#if XAMCORE_2_0
NSArray WeakQuadrilateralPoints { get; set; }
@ -293,31 +293,31 @@ namespace XamCore.PdfKit {
}
[BaseType (typeof (PdfAnnotation), Name="PDFAnnotationPopup")]
public interface PdfAnnotationPopup {
interface PdfAnnotationPopup {
[Export ("isOpen")]
bool IsOpen { get; set; }
}
[BaseType (typeof (PdfAnnotation), Name="PDFAnnotationSquare")]
public interface PdfAnnotationSquare {
interface PdfAnnotationSquare {
[Export ("interiorColor")]
NSColor InteriorColor { get; set; }
}
[BaseType (typeof (PdfAnnotation), Name="PDFAnnotationStamp")]
public interface PdfAnnotationStamp {
interface PdfAnnotationStamp {
[Export ("name")]
string Name { get; set; }
}
[BaseType (typeof (PdfAnnotation), Name="PDFAnnotationText")]
public interface PdfAnnotationText {
interface PdfAnnotationText {
[Export ("iconType")]
PdfTextAnnotationIconType IconType { get; set; }
}
[BaseType (typeof (PdfAnnotation), Name="PDFAnnotationTextWidget")]
public interface PdfAnnotationTextWidget {
interface PdfAnnotationTextWidget {
[Export ("stringValue")]
string StringValue { get; set; }
@ -344,7 +344,7 @@ namespace XamCore.PdfKit {
}
[BaseType (typeof (NSObject), Name="PDFBorder")]
public interface PdfBorder : NSCoding, NSCopying {
interface PdfBorder : NSCoding, NSCopying {
[Export ("style")]
PdfBorderStyle Style { get; set; }
@ -369,7 +369,7 @@ namespace XamCore.PdfKit {
}
[BaseType (typeof (NSObject), Name="PDFDestination")]
public interface PdfDestination : NSCopying {
interface PdfDestination : NSCopying {
[Export ("initWithPage:atPoint:")]
IntPtr Constructor (PdfPage page, CGPoint point);
@ -386,7 +386,7 @@ namespace XamCore.PdfKit {
//Add attributes for delegates/events
[BaseType (typeof (NSObject), Name="PDFDocument", Delegates=new string [] { "WeakDelegate" }, Events=new Type [] { typeof (PdfDocumentDelegate)})]
public interface PdfDocument : NSCopying {
interface PdfDocument : NSCopying {
[Export ("initWithURL:")]
IntPtr Constructor (NSUrl url);
@ -514,7 +514,7 @@ namespace XamCore.PdfKit {
[BaseType (typeof (NSObject))]
[Model]
[Protocol (IsInformal = true)]
public interface PdfDocumentDelegate {
interface PdfDocumentDelegate {
[Export ("didMatchString:"), EventArgs ("PdfSelection")]
void DidMatchString (PdfSelection sender);
@ -539,7 +539,7 @@ namespace XamCore.PdfKit {
}
[BaseType (typeof (NSObject), Name="PDFOutline")]
public interface PdfOutline {
interface PdfOutline {
// Why did this have a special init????
// Constructor/class needs special documentation on how to use one that is created (not obtained from another object).
@ -578,7 +578,7 @@ namespace XamCore.PdfKit {
}
[BaseType (typeof (NSObject), Name="PDFPage")]
public interface PdfPage : NSCopying {
interface PdfPage : NSCopying {
[Export ("initWithImage:")]
IntPtr Constructor (NSImage image);
@ -660,7 +660,7 @@ namespace XamCore.PdfKit {
[BaseType (typeof (NSObject), Name="PDFSelection")]
[DisableDefaultCtor] // An uncaught exception was raised: init: not a valid initializer for PDFSelection
public interface PdfSelection : NSCopying {
interface PdfSelection : NSCopying {
[Export ("initWithDocument:")]
IntPtr Constructor (PdfDocument document);
@ -704,7 +704,7 @@ namespace XamCore.PdfKit {
}
[BaseType (typeof (NSView), Name="PDFThumbnailView")]
public interface PdfThumbnailView {
interface PdfThumbnailView {
[Export ("PDFView")]
PdfView PdfView { get; set; }
@ -732,7 +732,7 @@ namespace XamCore.PdfKit {
}
[BaseType (typeof (NSView), Name="PDFView", Delegates=new string [] { "WeakDelegate" }, Events=new Type [] { typeof (PdfViewDelegate)})]
public interface PdfView : NSMenuDelegate {
interface PdfView : NSMenuDelegate {
[Export ("document")]
PdfDocument Document { get; set; }
@ -968,7 +968,7 @@ namespace XamCore.PdfKit {
NSString DisplayBoxChangedNotification { get; }
}
public interface PdfViewAnnotationHitEventArgs {
interface PdfViewAnnotationHitEventArgs {
[Export ("PDFAnnotationHit")]
PdfAnnotation AnnotationHit { get; }
}
@ -978,7 +978,7 @@ namespace XamCore.PdfKit {
[BaseType (typeof (NSObject))]
[Model]
[Protocol (IsInformal = true)]
public interface PdfViewDelegate {
interface PdfViewDelegate {
//from docs: 'By default, the scale factor is restricted to a range between 0.1 and 10.0 inclusive.'
[Export ("PDFViewWillChangeScaleFactor:toScale:"), DelegateName ("PdfViewScale"), DefaultValueFromArgument ("scale")]
nfloat WillChangeScaleFactor (PdfView sender, nfloat scale);

Просмотреть файл

@ -1017,7 +1017,7 @@ namespace XamCore.Photos
#endif
[Mac (10,12, onlyOn64 : true)]
[BaseType (typeof(NSObject))]
public interface PHLivePhoto
interface PHLivePhoto
#if !MONOMAC
: NSSecureCoding, NSCopying
#endif

Просмотреть файл

@ -544,7 +544,7 @@ namespace XamCore.QTKit
}
[Static]
public interface QTErrorKey {
interface QTErrorKey {
[Field ("QTKitErrorDomain")]
NSString Domain { get; }

Просмотреть файл

@ -43,7 +43,7 @@ namespace XamCore.SafariServices {
[Since (7,0)]
[BaseType (typeof (NSObject))]
[DisableDefaultCtor] // NSGenericException Misuse of SSReadingList interface. Use class method defaultReadingList.
public partial interface SSReadingList {
partial interface SSReadingList {
[NullAllowed]
[Static, Export ("defaultReadingList")]

Просмотреть файл

@ -69,7 +69,7 @@ namespace XamCore.SceneKit {
#if WATCH
// stubs to limit the number of preprocessor directives in the source file
public interface CAAnimation {}
interface CAAnimation {}
interface CALayer {}
interface CAMediaTimingFunction {}
interface MDLAsset {}
@ -1958,7 +1958,7 @@ namespace XamCore.SceneKit {
[Export ("entriesPassingTest:")]
NSObject [] EntriesPassingTest (SCNSceneSourceFilter predicate);
}
public delegate bool SCNSceneSourceFilter (NSObject entry, NSString identifier, ref bool stop);
delegate bool SCNSceneSourceFilter (NSObject entry, NSString identifier, ref bool stop);
[Watch (3,0)]
[Mac (10,8), iOS (8,0)]
@ -2611,13 +2611,13 @@ namespace XamCore.SceneKit {
}
[Mac (10,9), iOS (8,0)]
public delegate void SCNAnimationEventHandler (CAAnimation animation, NSObject animatedObject, bool playingBackward);
delegate void SCNAnimationEventHandler (CAAnimation animation, NSObject animatedObject, bool playingBackward);
[NoWatch]
[Mac (10,9), iOS (8,0)]
[BaseType (typeof (NSObject))]
[DisableDefaultCtor]
public interface SCNAnimationEvent {
interface SCNAnimationEvent {
[Static, Export ("animationEventWithKeyTime:block:")]
SCNAnimationEvent Create (nfloat keyTime, SCNAnimationEventHandler eventHandler);
}
@ -2625,7 +2625,7 @@ namespace XamCore.SceneKit {
[Watch (3,0)]
[Mac (10,9), iOS (8,0)]
[BaseType (typeof (SCNGeometry))]
public partial interface SCNShape {
partial interface SCNShape {
[NullAllowed] // by default this property is null
[Export ("path", ArgumentSemantic.Copy)]
NSBezierPath Path { get; set; }

Просмотреть файл

@ -8,7 +8,7 @@ using XamCore.ObjCRuntime;
namespace XamCore.SearchKit {
[Static]
public interface SKTextAnalysisKeys {
interface SKTextAnalysisKeys {
[Field ("kSKMinTermLength")]
NSString MinTermLengthKey { get; }

Просмотреть файл

@ -21,7 +21,7 @@ namespace XamCore.StoreKit {
[Since(6,0)]
[BaseType (typeof (NSObject))]
public partial interface SKDownload {
partial interface SKDownload {
#if MONOMAC
[Export ("state")]
SKDownloadState DownloadState { get; }
@ -72,7 +72,7 @@ namespace XamCore.StoreKit {
}
[BaseType (typeof (NSObject))]
public partial interface SKPayment : NSMutableCopying {
partial interface SKPayment : NSMutableCopying {
[Static]
[Export("paymentWithProduct:")]
SKPayment CreateFrom (SKProduct product);
@ -104,7 +104,7 @@ namespace XamCore.StoreKit {
}
[BaseType (typeof (SKPayment))]
public interface SKMutablePayment {
interface SKMutablePayment {
[Static]
[Export("paymentWithProduct:")]
SKMutablePayment PaymentWithProduct (SKProduct product);
@ -139,7 +139,7 @@ namespace XamCore.StoreKit {
}
[BaseType (typeof (NSObject))]
public interface SKPaymentQueue {
interface SKPaymentQueue {
[Export ("defaultQueue")][Static]
SKPaymentQueue DefaultQueue { get; }
@ -191,7 +191,7 @@ namespace XamCore.StoreKit {
}
[BaseType (typeof (NSObject))]
public interface SKProduct {
interface SKProduct {
[Export ("localizedDescription")]
string LocalizedDescription { get; }
@ -238,7 +238,7 @@ namespace XamCore.StoreKit {
[BaseType (typeof (NSObject))]
[Model]
[Protocol]
public interface SKPaymentTransactionObserver {
interface SKPaymentTransactionObserver {
[Export ("paymentQueue:updatedTransactions:")][Abstract]
void UpdatedTransactions (SKPaymentQueue queue, SKPaymentTransaction [] transactions);
@ -258,7 +258,7 @@ namespace XamCore.StoreKit {
}
[BaseType (typeof (NSObject))]
public interface SKPaymentTransaction {
interface SKPaymentTransaction {
[Export ("error")]
NSError Error { get; }
@ -289,7 +289,7 @@ namespace XamCore.StoreKit {
}
[BaseType (typeof (NSObject), Delegates=new string [] {"WeakDelegate"}, Events=new Type [] {typeof (SKRequestDelegate)})]
public interface SKRequest {
interface SKRequest {
[Export ("delegate", ArgumentSemantic.Assign)][NullAllowed]
NSObject WeakDelegate { get; [NullAllowed] set; }
@ -307,7 +307,7 @@ namespace XamCore.StoreKit {
[BaseType (typeof (NSObject))]
[Model]
[Protocol]
public interface SKRequestDelegate {
interface SKRequestDelegate {
[Export ("requestDidFinish:")]
void RequestFinished (SKRequest request);
@ -318,7 +318,7 @@ namespace XamCore.StoreKit {
[Since (7,0)]
[Mac (10,9)]
[BaseType (typeof (SKRequest))]
public interface SKReceiptRefreshRequest {
interface SKReceiptRefreshRequest {
[Export ("initWithReceiptProperties:")]
IntPtr Constructor ([NullAllowed] NSDictionary properties);
@ -347,7 +347,7 @@ namespace XamCore.StoreKit {
}
[BaseType (typeof (SKRequest), Delegates=new string [] {"WeakDelegate"}, Events=new Type [] {typeof (SKProductsRequestDelegate)})]
public interface SKProductsRequest {
interface SKProductsRequest {
[Export ("initWithProductIdentifiers:")]
IntPtr Constructor (NSSet productIdentifiersStringSet);
@ -360,7 +360,7 @@ namespace XamCore.StoreKit {
}
[BaseType (typeof (NSObject))]
public interface SKProductsResponse {
interface SKProductsResponse {
[Export ("products")]
SKProduct [] Products { get; }
@ -371,7 +371,7 @@ namespace XamCore.StoreKit {
[BaseType (typeof (SKRequestDelegate))]
[Model]
[Protocol]
public interface SKProductsRequestDelegate {
interface SKProductsRequestDelegate {
[Export ("productsRequest:didReceiveResponse:")][Abstract][EventArgs ("SKProductsRequestResponse")]
void ReceivedResponse (SKProductsRequest request, SKProductsResponse response);
}

Просмотреть файл

@ -14,10 +14,10 @@ using XamCore.Accounts;
namespace XamCore.Twitter {
public delegate void TWRequestHandler (NSData responseData, NSHttpUrlResponse urlResponse, NSError error);
delegate void TWRequestHandler (NSData responseData, NSHttpUrlResponse urlResponse, NSError error);
#if !XAMCORE_2_0
public delegate void TWTweetComposeHandler (TWTweetComposeViewControllerResult result);
delegate void TWTweetComposeHandler (TWTweetComposeViewControllerResult result);
#endif
[Availability (Introduced = Platform.iOS_5_0, Deprecated = Platform.iOS_6_0, Message = "Use the Social framework")]

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Просмотреть файл

@ -1,4 +1,4 @@
//
//
// VideoSubscriberAccount bindings
//
// Authors:
@ -60,7 +60,7 @@ namespace XamCore.VideoSubscriberAccount {
[Introduced (PlatformName.TvOS, 10, 0)]
[Unavailable (PlatformName.WatchOS)]
[StrongDictionary ("VSErrorInfoKeys")]
public interface VSErrorInfo {
interface VSErrorInfo {
string SamlResponse { get; }

Просмотреть файл

@ -1319,7 +1319,7 @@ namespace XamCore.WebKit {
[Export ("handleEvent:")]
void HandleEvent (DomEvent evt);
}
public interface IDomEventListener {}
interface IDomEventListener {}
[BaseType (typeof (DomCharacterData), Name="DOMProcessingInstruction")]
[DisableDefaultCtor] // An uncaught exception was raised: +[DOMProcessingInstruction init]: should never be used
@ -2043,7 +2043,7 @@ namespace XamCore.WebKit {
void Cancel ();
}
public interface IWebOpenPanelResultListener {}
interface IWebOpenPanelResultListener {}
[BaseType (typeof (NSObject))]
[Model]

Просмотреть файл

@ -513,7 +513,7 @@ namespace XamCore.WebKit
SecTrust ServerTrust { get; }
}
public delegate void WKJavascriptEvaluationResult (NSObject result, NSError error);
delegate void WKJavascriptEvaluationResult (NSObject result, NSError error);
[iOS (8,0), Mac (10,10, onlyOn64 : true)] // Not defined in 32-bit
[BaseType (typeof (NSObject))]