using CoreGraphics;
|
using Foundation;
|
using ObjCRuntime;
|
using UIKit;
|
using LocalAuthentication;
|
using System;
|
|
namespace Shared.IOS.TBL
|
{
|
|
|
|
|
|
|
|
|
|
|
|
//******************************************HDLArcSeekbar******************************************//
|
// @protocol HDLArcSeekbarProgressChangedDelegate <NSObject>
|
[Protocol, Model(AutoGeneratedName = true)]
|
[BaseType(typeof(NSObject))]
|
interface HDLArcSeekbarProgressChangedDelegate
|
{
|
// @required -(void)onStartTrackingTouch;
|
[Abstract]
|
[Export("onStartTrackingTouch")]
|
void OnStartTrackingTouch();
|
|
// @required -(void)onProgressChanged:(int)mProgress;
|
[Abstract]
|
[Export("onProgressChanged:")]
|
void OnProgressChanged(int mProgress);
|
|
// @required -(void)onStopTrackingTouch:(int)mProgress;
|
[Abstract]
|
[Export("onStopTrackingTouch:")]
|
void OnStopTrackingTouch(int mProgress);
|
}
|
|
// @interface HDLArcSeekbar : UIControl
|
[BaseType(typeof(UIControl))]
|
interface HDLArcSeekbar
|
{
|
// @property (assign, nonatomic) BOOL isClickable;
|
[Export("isClickable")]
|
bool IsClickable { get; set; }
|
|
// @property (nonatomic, strong) UIColor * mArcBackBarColor;
|
[Export("mArcBackBarColor", ArgumentSemantic.Strong)]
|
UIColor MArcBackBarColor { get; set; }
|
|
// @property (nonatomic, strong) UIColor * mThumbColor;
|
[Export("mThumbColor", ArgumentSemantic.Strong)]
|
UIColor MThumbColor { get; set; }
|
|
// @property (assign, nonatomic) float mProgressCurrentValue;
|
[Export("mProgressCurrentValue")]
|
float MProgressCurrentValue { get; set; }
|
|
// @property (assign, nonatomic) float mArcWidth;
|
[Export("mArcWidth")]
|
float MArcWidth { get; set; }
|
|
// @property (assign, nonatomic) float mThumbWidth;
|
[Export("mThumbWidth")]
|
float MThumbWidth { get; set; }
|
|
// @property (assign, nonatomic) HDLThumbMode mThumbMode;
|
[Export("mThumbMode", ArgumentSemantic.Assign)]
|
HDLThumbMode MThumbMode { get; set; }
|
|
// @property (nonatomic, strong) UIColor * mProgressTextColor;
|
[Export("mProgressTextColor", ArgumentSemantic.Strong)]
|
UIColor MProgressTextColor { get; set; }
|
|
// @property (assign, nonatomic) int mProgressTextSize;
|
[Export("mProgressTextSize")]
|
int MProgressTextSize { get; set; }
|
|
// @property (assign, nonatomic) int mTextDefaultDistance;
|
[Export("mTextDefaultDistance")]
|
int MTextDefaultDistance { get; set; }
|
|
[Wrap("WeakMProgressChangedDelegate")]
|
HDLArcSeekbarProgressChangedDelegate MProgressChangedDelegate { get; set; }
|
|
// @property (nonatomic, weak) id<HDLArcSeekbarProgressChangedDelegate> mProgressChangedDelegate;
|
[NullAllowed, Export("mProgressChangedDelegate", ArgumentSemantic.Weak)]
|
NSObject WeakMProgressChangedDelegate { get; set; }
|
|
// -(void)setProgress:(int)mProgress;
|
[Export("setProgress:")]
|
void SetProgress(int mProgress);
|
|
// -(void)setOpenAngle:(float)mOpenAngle;
|
[Export("setOpenAngle:")]
|
void SetOpenAngle(float mOpenAngle);
|
|
// -(void)setProgressBarUnitSring:(NSString *)mString;
|
[Export("setProgressBarUnitSring:")]
|
void SetProgressBarUnitSring(string mString);
|
|
// -(void)setMinAndMaxValue:(float)mMinValue mMaxValue:(float)mMaxValue;
|
[Export("setMinAndMaxValue:mMaxValue:")]
|
void SetMinAndMaxValue(float mMinValue, float mMaxValue);
|
|
// -(void)initWithFrameArc:(CGRect)mCGRect;
|
[Export("initWithFrameArc:")]
|
void InitWithFrameArc(CGRect mCGRect);
|
|
// -(void)setProgressBarColors:(UIColor *)startColor endColor:(UIColor *)endColor;
|
[Export("setProgressBarColors:endColor:")]
|
void SetProgressBarColors(UIColor startColor, UIColor endColor);
|
|
// -(void)setProgressBarColor:(UIColor *)oneColor;
|
[Export("setProgressBarColor:")]
|
void SetProgressBarColor(UIColor oneColor);
|
}
|
|
|
//******************************************HDLTouchID******************************************//
|
// @interface HDLTouchID : LAContext
|
[BaseType(typeof(LAContext))]
|
interface HDLTouchID
|
{
|
// +(HDLTouchID *)sharedInstance;
|
[Static]
|
[Export("sharedInstance")]
|
//[Verify(MethodToProperty)]
|
HDLTouchID SharedInstance { get; }
|
|
// -(void)HDL_showTouchIDWithDescribe:(NSString *)descTitle mlocalizedReason:(NSString *)mlocalizedReason blockState:(StateBlock)block;
|
[Export("HDL_showTouchIDWithDescribe:mlocalizedReason:blockState:")]
|
void HDL_showTouchIDWithDescribe(string descTitle, string mlocalizedReason, StateBlock block);
|
|
// -(void)HDL_showFaceIDWithDescribe:(NSString *)mlocalizedReason blockState:(faceIDStateBlock)block;
|
[Export("HDL_showFaceIDWithDescribe:blockState:")]
|
void HDL_showFaceIDWithDescribe(string mlocalizedReason, faceIDStateBlock block);
|
|
// -(HDLTouchIDSupperType)HDL_canSupperBiometrics;
|
[Export("HDL_canSupperBiometrics")]
|
//[Verify(MethodToProperty)]
|
HDLTouchIDSupperType HDL_canSupperBiometrics { get; }
|
}
|
|
// typedef void (^StateBlock)(HDLTouchIDState, NSError *);
|
delegate void StateBlock(HDLTouchIDState arg0, NSError arg1);
|
|
// typedef void (^faceIDStateBlock)(HDLFaceIDState, NSError *);
|
delegate void faceIDStateBlock(HDLFaceIDState arg0, NSError arg1);
|
|
|
//******************************************ZJPickerView******************************************//
|
// @interface ZJPickerView : UIView
|
[BaseType(typeof(UIView))]
|
interface ZJPickerView
|
{
|
// +(void)zj_showWithDataList:(NSArray * _Nonnull)dataList propertyDict:(NSDictionary * _Nullable)propertyDict completion:(void (^ _Nullable)(NSInteger, NSInteger, NSInteger))completion;
|
[Static]
|
[Export("zj_showWithDataList:propertyDict:completion:")]
|
//[Verify(StronglyTypedNSArray)]
|
//void Zj_showWithDataList(NSObject[] dataList, [NullAllowed] NSDictionary propertyDict, [NullAllowed] Action<nint, nint, nint> completion);
|
void Zj_showWithDataList(NSArray dataList, [NullAllowed] NSDictionary propertyDict, [NullAllowed] Action<nint, nint, nint> completion);
|
|
// +(void)zj_showWithDataListWithNotLinked:(NSArray * _Nonnull)dataList mSecondList:(NSArray * _Nonnull)mSecondLis mThirdList:(NSArray * _Nullable)mThirdList propertyDict:(NSDictionary * _Nullable)propertyDict completion:(void (^ _Nullable)(NSInteger, NSInteger, NSInteger))completion;
|
[Static]
|
[Export("zj_showWithDataListWithNotLinked:mSecondList:mThirdList:propertyDict:completion:")]
|
//[Verify(StronglyTypedNSArray), Verify(StronglyTypedNSArray), Verify(StronglyTypedNSArray)]
|
void Zj_showWithDataListWithNotLinked(NSArray dataList, NSArray mSecondLis, [NullAllowed] NSArray mThirdList, [NullAllowed] NSDictionary propertyDict, [NullAllowed] Action<nint, nint, nint> completion);
|
|
}
|
|
[Static]
|
//[Verify(ConstantsInterfaceAssociation)]
|
partial interface Constants
|
{
|
// extern NSString *const _Nonnull ZJPickerViewPropertyCanceBtnTitleKey;
|
[Field("ZJPickerViewPropertyCanceBtnTitleKey", "__Internal")]
|
NSString ZJPickerViewPropertyCanceBtnTitleKey { get; }
|
|
// extern NSString *const _Nonnull ZJPickerViewPropertySureBtnTitleKey;
|
[Field("ZJPickerViewPropertySureBtnTitleKey", "__Internal")]
|
NSString ZJPickerViewPropertySureBtnTitleKey { get; }
|
|
// extern NSString *const _Nonnull ZJPickerViewPropertyTipLabelTextKey;
|
[Field("ZJPickerViewPropertyTipLabelTextKey", "__Internal")]
|
NSString ZJPickerViewPropertyTipLabelTextKey { get; }
|
|
// extern NSString *const _Nonnull ZJPickerViewPropertyDividedSymbolKey;
|
[Field("ZJPickerViewPropertyDividedSymbolKey", "__Internal")]
|
NSString ZJPickerViewPropertyDividedSymbolKey { get; }
|
|
// extern NSString *const _Nonnull ZJPickerViewPropertyCanceBtnTitleColorKey;
|
[Field("ZJPickerViewPropertyCanceBtnTitleColorKey", "__Internal")]
|
NSString ZJPickerViewPropertyCanceBtnTitleColorKey { get; }
|
|
// extern NSString *const _Nonnull ZJPickerViewPropertySureBtnTitleColorKey;
|
[Field("ZJPickerViewPropertySureBtnTitleColorKey", "__Internal")]
|
NSString ZJPickerViewPropertySureBtnTitleColorKey { get; }
|
|
// extern NSString *const _Nonnull ZJPickerViewPropertyTipLabelTextColorKey;
|
[Field("ZJPickerViewPropertyTipLabelTextColorKey", "__Internal")]
|
NSString ZJPickerViewPropertyTipLabelTextColorKey { get; }
|
|
// extern NSString *const _Nonnull ZJPickerViewPropertyLineViewBackgroundColorKey;
|
[Field("ZJPickerViewPropertyLineViewBackgroundColorKey", "__Internal")]
|
NSString ZJPickerViewPropertyLineViewBackgroundColorKey { get; }
|
|
// extern NSString *const _Nonnull ZJPickerViewPropertyCanceBtnTitleFontKey;
|
[Field("ZJPickerViewPropertyCanceBtnTitleFontKey", "__Internal")]
|
NSString ZJPickerViewPropertyCanceBtnTitleFontKey { get; }
|
|
// extern NSString *const _Nonnull ZJPickerViewPropertySureBtnTitleFontKey;
|
[Field("ZJPickerViewPropertySureBtnTitleFontKey", "__Internal")]
|
NSString ZJPickerViewPropertySureBtnTitleFontKey { get; }
|
|
// extern NSString *const _Nonnull ZJPickerViewPropertyTipLabelTextFontKey;
|
[Field("ZJPickerViewPropertyTipLabelTextFontKey", "__Internal")]
|
NSString ZJPickerViewPropertyTipLabelTextFontKey { get; }
|
|
// extern NSString *const _Nonnull ZJPickerViewPropertyPickerViewHeightKey;
|
[Field("ZJPickerViewPropertyPickerViewHeightKey", "__Internal")]
|
NSString ZJPickerViewPropertyPickerViewHeightKey { get; }
|
|
// extern NSString *const _Nonnull ZJPickerViewPropertyOneComponentRowHeightKey;
|
[Field("ZJPickerViewPropertyOneComponentRowHeightKey", "__Internal")]
|
NSString ZJPickerViewPropertyOneComponentRowHeightKey { get; }
|
|
// extern NSString *const _Nonnull ZJPickerViewPropertySelectRowTitleAttrKey;
|
[Field("ZJPickerViewPropertySelectRowTitleAttrKey", "__Internal")]
|
NSString ZJPickerViewPropertySelectRowTitleAttrKey { get; }
|
|
// extern NSString *const _Nonnull ZJPickerViewPropertyUnSelectRowTitleAttrKey;
|
[Field("ZJPickerViewPropertyUnSelectRowTitleAttrKey", "__Internal")]
|
NSString ZJPickerViewPropertyUnSelectRowTitleAttrKey { get; }
|
|
// extern NSString *const _Nonnull ZJPickerViewPropertySelectRowLineBackgroundColorKey;
|
[Field("ZJPickerViewPropertySelectRowLineBackgroundColorKey", "__Internal")]
|
NSString ZJPickerViewPropertySelectRowLineBackgroundColorKey { get; }
|
|
// extern NSString *const _Nonnull ZJPickerViewPropertyIsTouchBackgroundHideKey;
|
[Field("ZJPickerViewPropertyIsTouchBackgroundHideKey", "__Internal")]
|
NSString ZJPickerViewPropertyIsTouchBackgroundHideKey { get; }
|
|
// extern NSString *const _Nonnull ZJPickerViewPropertyIsShowTipLabelKey;
|
[Field("ZJPickerViewPropertyIsShowTipLabelKey", "__Internal")]
|
NSString ZJPickerViewPropertyIsShowTipLabelKey { get; }
|
|
// extern NSString *const _Nonnull ZJPickerViewPropertyIsShowSelectContentKey;
|
[Field("ZJPickerViewPropertyIsShowSelectContentKey", "__Internal")]
|
NSString ZJPickerViewPropertyIsShowSelectContentKey { get; }
|
|
// extern NSString *const _Nonnull ZJPickerViewPropertyIsScrollToSelectedRowKey;
|
[Field("ZJPickerViewPropertyIsScrollToSelectedRowKey", "__Internal")]
|
NSString ZJPickerViewPropertyIsScrollToSelectedRowKey { get; }
|
|
// extern NSString *const _Nonnull ZJPickerViewPropertyIsDividedSelectContentKey;
|
[Field("ZJPickerViewPropertyIsDividedSelectContentKey", "__Internal")]
|
NSString ZJPickerViewPropertyIsDividedSelectContentKey { get; }
|
|
// extern NSString *const _Nonnull ZJPickerViewPropertyIsAnimationShowKey;
|
[Field("ZJPickerViewPropertyIsAnimationShowKey", "__Internal")]
|
NSString ZJPickerViewPropertyIsAnimationShowKey { get; }
|
|
// extern NSString *const _Nonnull ZJPickerViewPropertyBackgroundAlphaKey;
|
[Field("ZJPickerViewPropertyBackgroundAlphaKey", "__Internal")]
|
NSString ZJPickerViewPropertyBackgroundAlphaKey { get; }
|
|
// extern NSString *const _Nonnull ZJPickerViewPropertyDefaultSelectedIndexKey;
|
[Field("ZJPickerViewPropertyDefaultSelectedIndexKey", "__Internal")]
|
NSString ZJPickerViewPropertyDefaultSelectedIndexKey { get; }
|
}
|
|
|
|
//******************************************HDLWaveSeekbar******************************************//
|
// @protocol HDLWaveSeekbarProgressChangedDelegate <NSObject>
|
[Protocol, Model(AutoGeneratedName = true)]
|
[BaseType(typeof(NSObject))]
|
interface HDLWaveSeekbarProgressChangedDelegate
|
{
|
// @required -(void)onStartTrackingTouch;
|
[Abstract]
|
[Export("onStartTrackingTouch")]
|
void OnStartTrackingTouch();
|
|
// @required -(void)onProgressChanged:(int)mProgress;
|
[Abstract]
|
[Export("onProgressChanged:")]
|
void OnProgressChanged(int mProgress);
|
|
// @required -(void)onStopTrackingTouch:(int)mProgress;
|
[Abstract]
|
[Export("onStopTrackingTouch:")]
|
void OnStopTrackingTouch(int mProgress);
|
}
|
|
// @interface HDLWaveSeekbar : UIControl
|
[BaseType(typeof(UIControl))]
|
interface HDLWaveSeekbar
|
{
|
// @property (assign, nonatomic) BOOL isClickable;
|
[Export("isClickable")]
|
bool IsClickable { get; set; }
|
|
// @property (assign, nonatomic) int mProgress;
|
[Export("mProgress")]
|
int MProgress { get; set; }
|
|
// @property (assign, nonatomic) BOOL isProgressTextShow;
|
[Export("isProgressTextShow")]
|
bool IsProgressTextShow { get; set; }
|
|
// @property (nonatomic, strong) UIColor * _Nonnull mProgressTextColor;
|
[Export("mProgressTextColor", ArgumentSemantic.Strong)]
|
UIColor MProgressTextColor { get; set; }
|
|
// @property (assign, nonatomic) int mProgressTextSize;
|
[Export("mProgressTextSize")]
|
int MProgressTextSize { get; set; }
|
|
// @property (nonatomic, strong) UIColor * _Nonnull mWaveProgressBarColor;
|
[Export("mWaveProgressBarColor", ArgumentSemantic.Strong)]
|
UIColor MWaveProgressBarColor { get; set; }
|
|
// @property (nonatomic, strong) UIColor * _Nonnull mWaveBorderColor;
|
[Export("mWaveBorderColor", ArgumentSemantic.Strong)]
|
UIColor MWaveBorderColor { get; set; }
|
|
// @property (assign, nonatomic) int mCornerRadius;
|
[Export("mCornerRadius")]
|
int MCornerRadius { get; set; }
|
|
[Wrap("WeakMProgressChangedDelegate")]
|
[NullAllowed]
|
HDLWaveSeekbarProgressChangedDelegate MProgressChangedDelegate { get; set; }
|
|
// @property (nonatomic, weak) id<HDLWaveSeekbarProgressChangedDelegate> _Nullable mProgressChangedDelegate;
|
[NullAllowed, Export("mProgressChangedDelegate", ArgumentSemantic.Weak)]
|
NSObject WeakMProgressChangedDelegate { get; set; }
|
|
// -(void)setProgress:(int)mProgress;
|
[Export("setProgress:")]
|
void SetProgress(int mProgress);
|
|
// -(void)setProgressBarUnitSring:(NSString * _Nonnull)mString;
|
[Export("setProgressBarUnitSring:")]
|
void SetProgressBarUnitSring(string mString);
|
|
// -(void)setMinAndMaxValue:(float)mMinValue mMaxValue:(float)mMaxValue;
|
[Export("setMinAndMaxValue:mMaxValue:")]
|
void SetMinAndMaxValue(float mMinValue, float mMaxValue);
|
|
// -(void)initWithFrameWaveSeekBar:(CGRect)mCGRect;
|
[Export("initWithFrameWaveSeekBar:")]
|
void InitWithFrameWaveSeekBar(CGRect mCGRect);
|
|
// -(void)setProgressBarColor:(UIColor * _Nonnull)oneColor;
|
[Export("setProgressBarColor:")]
|
void SetProgressBarColor(UIColor oneColor);
|
|
// -(void)setWavePadding:(int)Padding;
|
[Export("setWavePadding:")]
|
void SetWavePadding(int Padding);
|
|
// -(void)setBorderWidth:(int)borderWidth;
|
[Export("setBorderWidth:")]
|
void SetBorderWidth(int borderWidth);
|
|
// -(CGFloat)getProgressY;
|
[Export("getProgressY")]
|
nfloat ProgressY { get; }
|
}
|
|
|
|
//******************************************高德地图 地理围栏******************************************//
|
// typedef void (^SaveButtonCallBack)(double, double, int, NSString * _Nonnull);
|
delegate void SaveButtonCallBack(double mLatitude, double mLongitude, int mRadius, string addressName);
|
|
// @interface GDMapViewController : UIViewController
|
[BaseType(typeof(UIViewController))]
|
interface GDMapViewController
|
{
|
// @property (assign, nonatomic) NSInteger mRadius;
|
[Export("mRadius")]
|
nint MRadius { get; set; }
|
|
// @property (nonatomic, strong) NSString * _Nonnull titleName;
|
[Export("titleName", ArgumentSemantic.Strong)]
|
string TitleName { get; set; }
|
|
// @property (copy, nonatomic) SaveButtonCallBack _Nonnull mSaveButtonCallBack;
|
[Export("mSaveButtonCallBack", ArgumentSemantic.Copy)]
|
SaveButtonCallBack MSaveButtonCallBack { get; set; }
|
|
// -(void)setmHomeCoordinate:(double)mLatitude mLongitude:(double)mLongitude mRadius:(int)mRadius;
|
[Export("setmHomeCoordinate:mLongitude:mRadius:")]
|
void SetmHomeCoordinate(double mLatitude, double mLongitude, int mRadius);
|
}
|
|
// @interface AMapServices : NSObject
|
[BaseType(typeof(NSObject))]
|
interface AMapServices
|
{
|
// +(AMapServices *)sharedServices;
|
[Static]
|
[Export("sharedServices")]
|
//[Verify(MethodToProperty)]
|
AMapServices SharedServices { get; }
|
|
// @property (copy, nonatomic) NSString * apiKey;
|
[Export("apiKey")]
|
string ApiKey { get; set; }
|
|
//// @property (assign, nonatomic) BOOL enableHTTPS;
|
//[Export("enableHTTPS")]
|
//bool EnableHTTPS { get; set; }
|
|
//// @property (assign, nonatomic) BOOL crashReportEnabled;
|
//[Export("crashReportEnabled")]
|
//bool CrashReportEnabled { get; set; }
|
}
|
|
|
//******************************************HDLPickerView******************************************//
|
// @protocol HDLPickerviewChangedDelegate <NSObject>
|
[Protocol, Model(AutoGeneratedName = true)]
|
[BaseType(typeof(NSObject))]
|
interface HDLPickerviewChangedDelegate
|
{
|
// @required -(void)onOptionsSelectChangeListener:(NSInteger)selectIndex1 selectIndex2:(NSInteger)selectIndex2 selectIndex3:(NSInteger)selectIndex3;
|
[Abstract]
|
[Export("onOptionsSelectChangeListener:selectIndex2:selectIndex3:")]
|
void SelectIndex2(nint selectIndex1, nint selectIndex2, nint selectIndex3);
|
}
|
|
// @interface HDLPickerView : UIView
|
[BaseType(typeof(UIView))]
|
interface HDLPickerView
|
{
|
[Wrap("WeakMChangedDelegate")]
|
[NullAllowed]
|
HDLPickerviewChangedDelegate MChangedDelegate { get; set; }
|
|
// @property (nonatomic, weak) id<HDLPickerviewChangedDelegate> _Nullable mChangedDelegate;
|
[NullAllowed, Export("mChangedDelegate", ArgumentSemantic.Weak)]
|
NSObject WeakMChangedDelegate { get; set; }
|
|
// -(void)setNPicker:(NSArray * _Nonnull)dataList mSecondList:(NSArray * _Nonnull)mSecondList mThirdList:(NSArray * _Nullable)mThirdList;
|
[Export("setNPicker:mSecondList:mThirdList:")]
|
//[Verify(StronglyTypedNSArray), Verify(StronglyTypedNSArray), Verify(StronglyTypedNSArray)]
|
void SetNPicker(NSArray dataList, [NullAllowed] NSArray mSecondList, [NullAllowed] NSArray mThirdList);
|
|
// -(void)setCurrentItems:(NSInteger)selectIndex1 selectIndex2:(NSInteger)selectIndex2 selectIndex3:(NSInteger)selectIndex3;
|
[Export("setCurrentItems:selectIndex2:selectIndex3:")]
|
void SetCurrentItems(nint selectIndex1, nint selectIndex2, nint selectIndex3);
|
|
// -(void)initWithFrameArc:(CGRect)mCGRect;
|
[Export("initWithFrameArc:")]
|
void InitWithFrameArc(CGRect mCGRect);
|
|
// -(void)setTextColorCenter:(UIColor * _Nonnull)mColor optionId:(NSInteger)optionId;
|
[Export("setTextColorCenter:optionId:")]
|
void SetTextColorCenter(UIColor mColor, nint optionId);
|
|
// -(void)setTextColorCenterAll:(UIColor * _Nonnull)mColor;
|
[Export("setTextColorCenterAll:")]
|
void SetTextColorCenterAll(UIColor mColor);
|
|
// -(void)setTextColorCenterAlone:(UIColor * _Nonnull)mColor0 mColor1:(UIColor * _Nonnull)mColor1 mColor2:(UIColor * _Nonnull)mColor2;
|
[Export("setTextColorCenterAlone:mColor1:mColor2:")]
|
void SetTextColorCenterAlone(UIColor mColor0, UIColor mColor1, UIColor mColor2);
|
|
// -(void)setPicker:(NSArray * _Nonnull)dataList;
|
[Export("setPicker:")]
|
//[Verify(StronglyTypedNSArray)]
|
void SetPicker(NSArray dataList);
|
}
|
|
|
|
//******************************************HDLCoverFlow******************************************//
|
// @protocol SelectItemDelegate <NSObject>
|
[Protocol, Model(AutoGeneratedName = true)]
|
[BaseType(typeof(NSObject))]
|
interface SelectItemDelegate
|
{
|
// @required -(void)onSelectItem:(NSInteger)mSelectIndex;
|
[Abstract]
|
[Export("onSelectItem:")]
|
void OnSelectItem(nint mSelectIndex);
|
}
|
|
// @interface HDLCoverFlow : UIView
|
[BaseType(typeof(UIView))]
|
interface HDLCoverFlow
|
{
|
[Wrap("WeakMSelectItemDelegate")]
|
[NullAllowed]
|
SelectItemDelegate MSelectItemDelegate { get; set; }
|
|
// @property (nonatomic, weak) id<SelectItemDelegate> _Nullable mSelectItemDelegate;
|
[NullAllowed, Export("mSelectItemDelegate", ArgumentSemantic.Weak)]
|
NSObject WeakMSelectItemDelegate { get; set; }
|
|
// -(void)addCoverFlowViewDatas:(NSArray<UIView *> * _Nonnull)viewsData;
|
[Export("addCoverFlowViewDatas:")]
|
void AddCoverFlowViewDatas(UIView[] viewsData);
|
|
// -(void)setCoverFlowSelectIndex:(NSInteger)selectIndex;
|
[Export("setCoverFlowSelectIndex:")]
|
void SetCoverFlowSelectIndex(nint selectIndex);
|
|
// -(void)initWithFrameArc:(CGRect)mCGRect;
|
[Export("initWithFrameArc:")]
|
void InitWithFrameArc(CGRect mCGRect);
|
|
|
|
}
|
|
|
//******************************************HDLCropImageUtlis******************************************//
|
// @interface CropImageUtlis : NSObject
|
[BaseType(typeof(NSObject))]
|
interface CropImageUtlis
|
{
|
// @property (assign, nonatomic) int openType;
|
[Export("openType")]
|
int OpenType { get; set; }
|
|
// -(instancetype _Nonnull)initWithController:(UIViewController * _Nonnull)mUIViewController openType:(int)openType fileName:(NSString * _Nonnull)fileName mRATIO_X:(int)mRATIO_X mRATIO_Y:(int)mRATIO_Y callBackBlock:(void (^ _Nonnull)(NSString * _Nonnull))callBackBlock;
|
[Export("initWithController:openType:fileName:mRATIO_X:mRATIO_Y:callBackBlock:")]
|
IntPtr Constructor(UIViewController mUIViewController, int openType, string fileName, int mRATIO_X, int mRATIO_Y, Action<NSString> callBackBlock);
|
}
|
|
//以下是微信登录的
|
// @protocol WechatAuthAPIDelegate <NSObject>
|
[Protocol, Model(AutoGeneratedName = true)]
|
[BaseType(typeof(NSObject))]
|
interface WechatAuthAPIDelegate
|
{
|
// @optional -(void)onAuthGotQrcode:(UIImage * _Nonnull)image;
|
[Export("onAuthGotQrcode:")]
|
void OnAuthGotQrcode(UIImage image);
|
|
// @optional -(void)onQrcodeScanned;
|
[Export("onQrcodeScanned")]
|
void OnQrcodeScanned();
|
|
// @optional -(void)onAuthFinish:(int)errCode AuthCode:(NSString * _Nullable)authCode;
|
[Export("onAuthFinish:AuthCode:")]
|
void OnAuthFinish(int errCode, [NullAllowed] string authCode);
|
}
|
|
// @interface WechatAuthSDK : NSObject
|
[BaseType(typeof(NSObject))]
|
interface WechatAuthSDK
|
{
|
[Wrap("WeakDelegate")]
|
[NullAllowed]
|
WechatAuthAPIDelegate Delegate { get; set; }
|
|
// @property (nonatomic, weak) id<WechatAuthAPIDelegate> _Nullable delegate;
|
[NullAllowed, Export("delegate", ArgumentSemantic.Weak)]
|
NSObject WeakDelegate { get; set; }
|
|
// @property (readonly, nonatomic) NSString * _Nonnull sdkVersion;
|
[Export("sdkVersion")]
|
string SdkVersion { get; }
|
|
// -(BOOL)Auth:(NSString * _Nonnull)appId nonceStr:(NSString * _Nonnull)nonceStr timeStamp:(NSString * _Nonnull)timeStamp scope:(NSString * _Nonnull)scope signature:(NSString * _Nonnull)signature schemeData:(NSString * _Nullable)schemeData;
|
[Export("Auth:nonceStr:timeStamp:scope:signature:schemeData:")]
|
bool Auth(string appId, string nonceStr, string timeStamp, string scope, string signature, [NullAllowed] string schemeData);
|
|
// -(BOOL)StopAuth;
|
[Export("StopAuth")]
|
bool StopAuth { get; }
|
}
|
|
// typedef void (^WXLogBolock)(NSString * _Nonnull);
|
delegate void WXLogBolock(string arg0);
|
|
// @interface BaseReq : NSObject
|
[BaseType(typeof(NSObject))]
|
interface BaseReq
|
{
|
// @property (assign, nonatomic) int type;
|
[Export("type")]
|
int Type { get; set; }
|
|
// @property (copy, nonatomic) NSString * _Nonnull openID;
|
[Export("openID")]
|
string OpenID { get; set; }
|
}
|
|
// @interface BaseResp : NSObject
|
[BaseType(typeof(NSObject))]
|
interface BaseResp
|
{
|
// @property (assign, nonatomic) int errCode;
|
[Export("errCode")]
|
int ErrCode { get; set; }
|
|
// @property (copy, nonatomic) NSString * _Nonnull errStr;
|
[Export("errStr")]
|
string ErrStr { get; set; }
|
|
// @property (assign, nonatomic) int type;
|
[Export("type")]
|
int Type { get; set; }
|
}
|
|
// @interface SendAuthReq : BaseReq
|
[BaseType(typeof(BaseReq))]
|
interface SendAuthReq
|
{
|
// @property (copy, nonatomic) NSString * _Nonnull scope;
|
[Export("scope")]
|
string Scope { get; set; }
|
|
// @property (copy, nonatomic) NSString * _Nonnull state;
|
[Export("state")]
|
string State { get; set; }
|
}
|
|
// @interface SendAuthResp : BaseResp
|
[BaseType(typeof(BaseResp))]
|
interface SendAuthResp
|
{
|
// @property (copy, nonatomic) NSString * _Nullable code;
|
[NullAllowed, Export("code")]
|
string Code { get; set; }
|
|
// @property (copy, nonatomic) NSString * _Nullable state;
|
[NullAllowed, Export("state")]
|
string State { get; set; }
|
|
// @property (copy, nonatomic) NSString * _Nullable lang;
|
[NullAllowed, Export("lang")]
|
string Lang { get; set; }
|
|
// @property (copy, nonatomic) NSString * _Nullable country;
|
[NullAllowed, Export("country")]
|
string Country { get; set; }
|
}
|
|
// @interface SendMessageToWXReq : BaseReq
|
[BaseType(typeof(BaseReq))]
|
interface SendMessageToWXReq
|
{
|
// @property (copy, nonatomic) NSString * _Nonnull text;
|
[Export("text")]
|
string Text { get; set; }
|
|
// @property (nonatomic, strong) WXMediaMessage * _Nonnull message;
|
[Export("message", ArgumentSemantic.Strong)]
|
WXMediaMessage Message { get; set; }
|
|
// @property (assign, nonatomic) BOOL bText;
|
[Export("bText")]
|
bool BText { get; set; }
|
|
// @property (assign, nonatomic) int scene;
|
[Export("scene")]
|
int Scene { get; set; }
|
|
// @property (copy, nonatomic) NSString * _Nullable toUserOpenId;
|
[NullAllowed, Export("toUserOpenId")]
|
string ToUserOpenId { get; set; }
|
}
|
|
// @interface SendMessageToWXResp : BaseResp
|
[BaseType(typeof(BaseResp))]
|
interface SendMessageToWXResp
|
{
|
// @property (copy, nonatomic) NSString * _Nonnull lang;
|
[Export("lang")]
|
string Lang { get; set; }
|
|
// @property (copy, nonatomic) NSString * _Nonnull country;
|
[Export("country")]
|
string Country { get; set; }
|
}
|
|
// @interface GetMessageFromWXReq : BaseReq
|
[BaseType(typeof(BaseReq))]
|
interface GetMessageFromWXReq
|
{
|
// @property (nonatomic, strong) NSString * _Nonnull lang;
|
[Export("lang", ArgumentSemantic.Strong)]
|
string Lang { get; set; }
|
|
// @property (nonatomic, strong) NSString * _Nonnull country;
|
[Export("country", ArgumentSemantic.Strong)]
|
string Country { get; set; }
|
}
|
|
// @interface GetMessageFromWXResp : BaseResp
|
[BaseType(typeof(BaseResp))]
|
interface GetMessageFromWXResp
|
{
|
// @property (nonatomic, strong) NSString * _Nonnull text;
|
[Export("text", ArgumentSemantic.Strong)]
|
string Text { get; set; }
|
|
// @property (nonatomic, strong) WXMediaMessage * _Nonnull message;
|
[Export("message", ArgumentSemantic.Strong)]
|
WXMediaMessage Message { get; set; }
|
|
// @property (assign, nonatomic) BOOL bText;
|
[Export("bText")]
|
bool BText { get; set; }
|
}
|
|
// @interface ShowMessageFromWXReq : BaseReq
|
[BaseType(typeof(BaseReq))]
|
interface ShowMessageFromWXReq
|
{
|
// @property (nonatomic, strong) WXMediaMessage * _Nonnull message;
|
[Export("message", ArgumentSemantic.Strong)]
|
WXMediaMessage Message { get; set; }
|
|
// @property (copy, nonatomic) NSString * _Nonnull lang;
|
[Export("lang")]
|
string Lang { get; set; }
|
|
// @property (copy, nonatomic) NSString * _Nonnull country;
|
[Export("country")]
|
string Country { get; set; }
|
}
|
|
// @interface ShowMessageFromWXResp : BaseResp
|
[BaseType(typeof(BaseResp))]
|
interface ShowMessageFromWXResp
|
{
|
}
|
|
// @interface LaunchFromWXReq : BaseReq
|
[BaseType(typeof(BaseReq))]
|
interface LaunchFromWXReq
|
{
|
// @property (nonatomic, strong) WXMediaMessage * _Nonnull message;
|
[Export("message", ArgumentSemantic.Strong)]
|
WXMediaMessage Message { get; set; }
|
|
// @property (copy, nonatomic) NSString * _Nonnull lang;
|
[Export("lang")]
|
string Lang { get; set; }
|
|
// @property (copy, nonatomic) NSString * _Nonnull country;
|
[Export("country")]
|
string Country { get; set; }
|
}
|
|
// @interface OpenWebviewReq : BaseReq
|
[BaseType(typeof(BaseReq))]
|
interface OpenWebviewReq
|
{
|
// @property (copy, nonatomic) NSString * _Nonnull url;
|
[Export("url")]
|
string Url { get; set; }
|
}
|
|
// @interface OpenWebviewResp : BaseResp
|
[BaseType(typeof(BaseResp))]
|
interface OpenWebviewResp
|
{
|
}
|
|
// @interface WXOpenBusinessWebViewReq : BaseReq
|
[BaseType(typeof(BaseReq))]
|
interface WXOpenBusinessWebViewReq
|
{
|
// @property (assign, nonatomic) UInt32 businessType;
|
[Export("businessType")]
|
uint BusinessType { get; set; }
|
|
// @property (nonatomic, strong) NSDictionary * _Nullable queryInfoDic;
|
[NullAllowed, Export("queryInfoDic", ArgumentSemantic.Strong)]
|
NSDictionary QueryInfoDic { get; set; }
|
}
|
|
// @interface WXOpenBusinessWebViewResp : BaseResp
|
[BaseType(typeof(BaseResp))]
|
interface WXOpenBusinessWebViewResp
|
{
|
// @property (copy, nonatomic) NSString * _Nonnull result;
|
[Export("result")]
|
string Result { get; set; }
|
|
// @property (assign, nonatomic) UInt32 businessType;
|
[Export("businessType")]
|
uint BusinessType { get; set; }
|
}
|
|
// @interface OpenRankListReq : BaseReq
|
[BaseType(typeof(BaseReq))]
|
interface OpenRankListReq
|
{
|
}
|
|
// @interface OpenRankListResp : BaseResp
|
[BaseType(typeof(BaseResp))]
|
interface OpenRankListResp
|
{
|
}
|
|
// @interface WXCardItem : NSObject
|
[BaseType(typeof(NSObject))]
|
interface WXCardItem
|
{
|
// @property (copy, nonatomic) NSString * _Nonnull cardId;
|
[Export("cardId")]
|
string CardId { get; set; }
|
|
// @property (copy, nonatomic) NSString * _Nullable extMsg;
|
[NullAllowed, Export("extMsg")]
|
string ExtMsg { get; set; }
|
|
// @property (assign, nonatomic) UInt32 cardState;
|
[Export("cardState")]
|
uint CardState { get; set; }
|
|
// @property (copy, nonatomic) NSString * _Nonnull encryptCode;
|
[Export("encryptCode")]
|
string EncryptCode { get; set; }
|
|
// @property (copy, nonatomic) NSString * _Nonnull appID;
|
[Export("appID")]
|
string AppID { get; set; }
|
}
|
|
// @interface WXInvoiceItem : NSObject
|
[BaseType(typeof(NSObject))]
|
interface WXInvoiceItem
|
{
|
// @property (copy, nonatomic) NSString * _Nonnull cardId;
|
[Export("cardId")]
|
string CardId { get; set; }
|
|
// @property (copy, nonatomic) NSString * _Nullable extMsg;
|
[NullAllowed, Export("extMsg")]
|
string ExtMsg { get; set; }
|
|
// @property (assign, nonatomic) UInt32 cardState;
|
[Export("cardState")]
|
uint CardState { get; set; }
|
|
// @property (copy, nonatomic) NSString * _Nonnull encryptCode;
|
[Export("encryptCode")]
|
string EncryptCode { get; set; }
|
|
// @property (copy, nonatomic) NSString * _Nonnull appID;
|
[Export("appID")]
|
string AppID { get; set; }
|
}
|
|
// @interface AddCardToWXCardPackageReq : BaseReq
|
[BaseType(typeof(BaseReq))]
|
interface AddCardToWXCardPackageReq
|
{
|
// @property (nonatomic, strong) NSArray * _Nonnull cardAry;
|
[Export("cardAry", ArgumentSemantic.Strong)]
|
NSObject[] CardAry { get; set; }
|
}
|
|
// @interface AddCardToWXCardPackageResp : BaseResp
|
[BaseType(typeof(BaseResp))]
|
interface AddCardToWXCardPackageResp
|
{
|
// @property (nonatomic, strong) NSArray * _Nonnull cardAry;
|
[Export("cardAry", ArgumentSemantic.Strong)]
|
NSObject[] CardAry { get; set; }
|
}
|
|
// @interface WXChooseCardReq : BaseReq
|
[BaseType(typeof(BaseReq))]
|
interface WXChooseCardReq
|
{
|
// @property (copy, nonatomic) NSString * _Nonnull appID;
|
[Export("appID")]
|
string AppID { get; set; }
|
|
// @property (assign, nonatomic) UInt32 shopID;
|
[Export("shopID")]
|
uint ShopID { get; set; }
|
|
// @property (assign, nonatomic) UInt32 canMultiSelect;
|
[Export("canMultiSelect")]
|
uint CanMultiSelect { get; set; }
|
|
// @property (copy, nonatomic) NSString * _Nonnull cardType;
|
[Export("cardType")]
|
string CardType { get; set; }
|
|
// @property (copy, nonatomic) NSString * _Nonnull cardTpID;
|
[Export("cardTpID")]
|
string CardTpID { get; set; }
|
|
// @property (copy, nonatomic) NSString * _Nonnull signType;
|
[Export("signType")]
|
string SignType { get; set; }
|
|
// @property (copy, nonatomic) NSString * _Nonnull cardSign;
|
[Export("cardSign")]
|
string CardSign { get; set; }
|
|
// @property (assign, nonatomic) UInt32 timeStamp;
|
[Export("timeStamp")]
|
uint TimeStamp { get; set; }
|
|
// @property (copy, nonatomic) NSString * _Nonnull nonceStr;
|
[Export("nonceStr")]
|
string NonceStr { get; set; }
|
}
|
|
// @interface WXChooseCardResp : BaseResp
|
[BaseType(typeof(BaseResp))]
|
interface WXChooseCardResp
|
{
|
// @property (nonatomic, strong) NSArray * _Nonnull cardAry;
|
[Export("cardAry", ArgumentSemantic.Strong)]
|
NSObject[] CardAry { get; set; }
|
}
|
|
// @interface WXChooseInvoiceReq : BaseReq
|
[BaseType(typeof(BaseReq))]
|
interface WXChooseInvoiceReq
|
{
|
// @property (copy, nonatomic) NSString * _Nonnull appID;
|
[Export("appID")]
|
string AppID { get; set; }
|
|
// @property (assign, nonatomic) UInt32 shopID;
|
[Export("shopID")]
|
uint ShopID { get; set; }
|
|
// @property (copy, nonatomic) NSString * _Nonnull signType;
|
[Export("signType")]
|
string SignType { get; set; }
|
|
// @property (copy, nonatomic) NSString * _Nonnull cardSign;
|
[Export("cardSign")]
|
string CardSign { get; set; }
|
|
// @property (assign, nonatomic) UInt32 timeStamp;
|
[Export("timeStamp")]
|
uint TimeStamp { get; set; }
|
|
// @property (copy, nonatomic) NSString * _Nonnull nonceStr;
|
[Export("nonceStr")]
|
string NonceStr { get; set; }
|
}
|
|
// @interface WXChooseInvoiceResp : BaseResp
|
[BaseType(typeof(BaseResp))]
|
interface WXChooseInvoiceResp
|
{
|
// @property (nonatomic, strong) NSArray * _Nonnull cardAry;
|
[Export("cardAry", ArgumentSemantic.Strong)]
|
NSObject[] CardAry { get; set; }
|
}
|
|
// @interface WXSubscribeMsgReq : BaseReq
|
[BaseType(typeof(BaseReq))]
|
interface WXSubscribeMsgReq
|
{
|
// @property (assign, nonatomic) UInt32 scene;
|
[Export("scene")]
|
uint Scene { get; set; }
|
|
// @property (copy, nonatomic) NSString * _Nonnull templateId;
|
[Export("templateId")]
|
string TemplateId { get; set; }
|
|
// @property (copy, nonatomic) NSString * _Nullable reserved;
|
[NullAllowed, Export("reserved")]
|
string Reserved { get; set; }
|
}
|
|
// @interface WXSubscribeMsgResp : BaseResp
|
[BaseType(typeof(BaseResp))]
|
interface WXSubscribeMsgResp
|
{
|
// @property (copy, nonatomic) NSString * _Nonnull templateId;
|
[Export("templateId")]
|
string TemplateId { get; set; }
|
|
// @property (assign, nonatomic) UInt32 scene;
|
[Export("scene")]
|
uint Scene { get; set; }
|
|
// @property (copy, nonatomic) NSString * _Nonnull action;
|
[Export("action")]
|
string Action { get; set; }
|
|
// @property (copy, nonatomic) NSString * _Nonnull reserved;
|
[Export("reserved")]
|
string Reserved { get; set; }
|
|
// @property (copy, nonatomic) NSString * _Nullable openId;
|
[NullAllowed, Export("openId")]
|
string OpenId { get; set; }
|
}
|
|
// @interface WXSubscribeMiniProgramMsgReq : BaseReq
|
[BaseType(typeof(BaseReq))]
|
interface WXSubscribeMiniProgramMsgReq
|
{
|
// @property (copy, nonatomic) NSString * _Nonnull miniProgramAppid;
|
[Export("miniProgramAppid")]
|
string MiniProgramAppid { get; set; }
|
}
|
|
// @interface WXSubscribeMiniProgramMsgResp : BaseResp
|
[BaseType(typeof(BaseResp))]
|
interface WXSubscribeMiniProgramMsgResp
|
{
|
// @property (copy, nonatomic) NSString * _Nonnull openId;
|
[Export("openId")]
|
string OpenId { get; set; }
|
|
// @property (copy, nonatomic) NSString * _Nonnull unionId;
|
[Export("unionId")]
|
string UnionId { get; set; }
|
|
// @property (copy, nonatomic) NSString * _Nonnull nickName;
|
[Export("nickName")]
|
string NickName { get; set; }
|
}
|
|
// @interface WXInvoiceAuthInsertReq : BaseReq
|
[BaseType(typeof(BaseReq))]
|
interface WXInvoiceAuthInsertReq
|
{
|
// @property (copy, nonatomic) NSString * _Nonnull urlString;
|
[Export("urlString")]
|
string UrlString { get; set; }
|
}
|
|
// @interface WXInvoiceAuthInsertResp : BaseResp
|
[BaseType(typeof(BaseResp))]
|
interface WXInvoiceAuthInsertResp
|
{
|
// @property (copy, nonatomic) NSString * _Nonnull wxOrderId;
|
[Export("wxOrderId")]
|
string WxOrderId { get; set; }
|
}
|
|
// @interface WXMediaMessage : NSObject
|
[BaseType(typeof(NSObject))]
|
interface WXMediaMessage
|
{
|
// +(WXMediaMessage * _Nonnull)message;
|
[Static]
|
[Export("message")]
|
WXMediaMessage Message { get; }
|
|
// @property (copy, nonatomic) NSString * _Nonnull title;
|
[Export("title")]
|
string Title { get; set; }
|
|
// @property (copy, nonatomic) NSString * _Nonnull description;
|
[Export("description")]
|
string Description { get; set; }
|
|
// @property (nonatomic, strong) NSData * _Nullable thumbData;
|
[NullAllowed, Export("thumbData", ArgumentSemantic.Strong)]
|
NSData ThumbData { get; set; }
|
|
// @property (copy, nonatomic) NSString * _Nullable mediaTagName;
|
[NullAllowed, Export("mediaTagName")]
|
string MediaTagName { get; set; }
|
|
// @property (copy, nonatomic) NSString * _Nullable messageExt;
|
[NullAllowed, Export("messageExt")]
|
string MessageExt { get; set; }
|
|
// @property (copy, nonatomic) NSString * _Nullable messageAction;
|
[NullAllowed, Export("messageAction")]
|
string MessageAction { get; set; }
|
|
// @property (nonatomic, strong) id _Nonnull mediaObject;
|
[Export("mediaObject", ArgumentSemantic.Strong)]
|
NSObject MediaObject { get; set; }
|
|
// -(void)setThumbImage:(UIImage * _Nonnull)image;
|
[Export("setThumbImage:")]
|
void SetThumbImage(UIImage image);
|
}
|
|
// @interface WXImageObject : NSObject
|
[BaseType(typeof(NSObject))]
|
interface WXImageObject
|
{
|
// +(WXImageObject * _Nonnull)object;
|
[Static]
|
[Export("object")]
|
WXImageObject Object { get; }
|
|
// @property (nonatomic, strong) NSData * _Nonnull imageData;
|
[Export("imageData", ArgumentSemantic.Strong)]
|
NSData ImageData { get; set; }
|
}
|
|
// @interface WXMusicObject : NSObject
|
[BaseType(typeof(NSObject))]
|
interface WXMusicObject
|
{
|
// +(WXMusicObject * _Nonnull)object;
|
[Static]
|
[Export("object")]
|
WXMusicObject Object { get; }
|
|
// @property (copy, nonatomic) NSString * _Nonnull musicUrl;
|
[Export("musicUrl")]
|
string MusicUrl { get; set; }
|
|
// @property (copy, nonatomic) NSString * _Nonnull musicLowBandUrl;
|
[Export("musicLowBandUrl")]
|
string MusicLowBandUrl { get; set; }
|
|
// @property (copy, nonatomic) NSString * _Nonnull musicDataUrl;
|
[Export("musicDataUrl")]
|
string MusicDataUrl { get; set; }
|
|
// @property (copy, nonatomic) NSString * _Nonnull musicLowBandDataUrl;
|
[Export("musicLowBandDataUrl")]
|
string MusicLowBandDataUrl { get; set; }
|
|
// @property (copy, nonatomic) NSString * _Nonnull songAlbumUrl;
|
[Export("songAlbumUrl")]
|
string SongAlbumUrl { get; set; }
|
|
// @property (copy, nonatomic) NSString * _Nullable songLyric;
|
[NullAllowed, Export("songLyric")]
|
string SongLyric { get; set; }
|
}
|
|
// @interface WXVideoObject : NSObject
|
[BaseType(typeof(NSObject))]
|
interface WXVideoObject
|
{
|
// +(WXVideoObject * _Nonnull)object;
|
[Static]
|
[Export("object")]
|
WXVideoObject Object { get; }
|
|
// @property (copy, nonatomic) NSString * _Nonnull videoUrl;
|
[Export("videoUrl")]
|
string VideoUrl { get; set; }
|
|
// @property (copy, nonatomic) NSString * _Nonnull videoLowBandUrl;
|
[Export("videoLowBandUrl")]
|
string VideoLowBandUrl { get; set; }
|
}
|
|
// @interface WXWebpageObject : NSObject
|
[BaseType(typeof(NSObject))]
|
interface WXWebpageObject
|
{
|
// +(WXWebpageObject * _Nonnull)object;
|
[Static]
|
[Export("object")]
|
WXWebpageObject Object { get; }
|
|
// @property (copy, nonatomic) NSString * _Nonnull webpageUrl;
|
[Export("webpageUrl")]
|
string WebpageUrl { get; set; }
|
}
|
|
// @interface WXAppExtendObject : NSObject
|
[BaseType(typeof(NSObject))]
|
interface WXAppExtendObject
|
{
|
// +(WXAppExtendObject * _Nonnull)object;
|
[Static]
|
[Export("object")]
|
WXAppExtendObject Object { get; }
|
|
// @property (copy, nonatomic) NSString * _Nonnull url;
|
[Export("url")]
|
string Url { get; set; }
|
|
// @property (copy, nonatomic) NSString * _Nullable extInfo;
|
[NullAllowed, Export("extInfo")]
|
string ExtInfo { get; set; }
|
|
// @property (nonatomic, strong) NSData * _Nullable fileData;
|
[NullAllowed, Export("fileData", ArgumentSemantic.Strong)]
|
NSData FileData { get; set; }
|
}
|
|
// @interface WXEmoticonObject : NSObject
|
[BaseType(typeof(NSObject))]
|
interface WXEmoticonObject
|
{
|
// +(WXEmoticonObject * _Nonnull)object;
|
[Static]
|
[Export("object")]
|
WXEmoticonObject Object { get; }
|
|
// @property (nonatomic, strong) NSData * _Nonnull emoticonData;
|
[Export("emoticonData", ArgumentSemantic.Strong)]
|
NSData EmoticonData { get; set; }
|
}
|
|
// @interface WXFileObject : NSObject
|
[BaseType(typeof(NSObject))]
|
interface WXFileObject
|
{
|
// +(WXFileObject * _Nonnull)object;
|
[Static]
|
[Export("object")]
|
WXFileObject Object { get; }
|
|
// @property (copy, nonatomic) NSString * _Nonnull fileExtension;
|
[Export("fileExtension")]
|
string FileExtension { get; set; }
|
|
// @property (nonatomic, strong) NSData * _Nonnull fileData;
|
[Export("fileData", ArgumentSemantic.Strong)]
|
NSData FileData { get; set; }
|
}
|
|
// @interface WXLocationObject : NSObject
|
[BaseType(typeof(NSObject))]
|
interface WXLocationObject
|
{
|
// +(WXLocationObject * _Nonnull)object;
|
[Static]
|
[Export("object")]
|
WXLocationObject Object { get; }
|
|
// @property (assign, nonatomic) double lng;
|
[Export("lng")]
|
double Lng { get; set; }
|
|
// @property (assign, nonatomic) double lat;
|
[Export("lat")]
|
double Lat { get; set; }
|
}
|
|
// @interface WXTextObject : NSObject
|
[BaseType(typeof(NSObject))]
|
interface WXTextObject
|
{
|
// +(WXTextObject * _Nonnull)object;
|
[Static]
|
[Export("object")]
|
WXTextObject Object { get; }
|
|
// @property (copy, nonatomic) NSString * _Nonnull contentText;
|
[Export("contentText")]
|
string ContentText { get; set; }
|
}
|
|
// @interface WXMiniProgramObject : NSObject
|
[BaseType(typeof(NSObject))]
|
interface WXMiniProgramObject
|
{
|
// +(WXMiniProgramObject * _Nonnull)object;
|
[Static]
|
[Export("object")]
|
WXMiniProgramObject Object { get; }
|
|
// @property (copy, nonatomic) NSString * _Nonnull webpageUrl;
|
[Export("webpageUrl")]
|
string WebpageUrl { get; set; }
|
|
// @property (copy, nonatomic) NSString * _Nonnull userName;
|
[Export("userName")]
|
string UserName { get; set; }
|
|
// @property (copy, nonatomic) NSString * _Nullable path;
|
[NullAllowed, Export("path")]
|
string Path { get; set; }
|
|
// @property (nonatomic, strong) NSData * _Nullable hdImageData;
|
[NullAllowed, Export("hdImageData", ArgumentSemantic.Strong)]
|
NSData HdImageData { get; set; }
|
|
// @property (assign, nonatomic) BOOL withShareTicket;
|
[Export("withShareTicket")]
|
bool WithShareTicket { get; set; }
|
|
// @property (assign, nonatomic) WXMiniProgramType miniProgramType;
|
[Export("miniProgramType", ArgumentSemantic.Assign)]
|
WXMiniProgramType MiniProgramType { get; set; }
|
|
// @property (assign, nonatomic) BOOL disableForward;
|
[Export("disableForward")]
|
bool DisableForward { get; set; }
|
}
|
|
// @interface WXLaunchMiniProgramReq : BaseReq
|
[BaseType(typeof(BaseReq))]
|
interface WXLaunchMiniProgramReq
|
{
|
// +(WXLaunchMiniProgramReq * _Nonnull)object;
|
[Static]
|
[Export("object")]
|
WXLaunchMiniProgramReq Object { get; }
|
|
// @property (copy, nonatomic) NSString * _Nonnull userName;
|
[Export("userName")]
|
string UserName { get; set; }
|
|
// @property (copy, nonatomic) NSString * _Nullable path;
|
[NullAllowed, Export("path")]
|
string Path { get; set; }
|
|
// @property (assign, nonatomic) WXMiniProgramType miniProgramType;
|
[Export("miniProgramType", ArgumentSemantic.Assign)]
|
WXMiniProgramType MiniProgramType { get; set; }
|
|
// @property (copy, nonatomic) NSString * _Nullable extMsg;
|
[NullAllowed, Export("extMsg")]
|
string ExtMsg { get; set; }
|
|
// @property (copy, nonatomic) NSDictionary * _Nullable extDic;
|
[NullAllowed, Export("extDic", ArgumentSemantic.Copy)]
|
NSDictionary ExtDic { get; set; }
|
}
|
|
// @interface WXLaunchMiniProgramResp : BaseResp
|
[BaseType(typeof(BaseResp))]
|
interface WXLaunchMiniProgramResp
|
{
|
// @property (copy, nonatomic) NSString * _Nullable extMsg;
|
[NullAllowed, Export("extMsg")]
|
string ExtMsg { get; set; }
|
}
|
|
// @interface WXOpenBusinessViewReq : BaseReq
|
[BaseType(typeof(BaseReq))]
|
interface WXOpenBusinessViewReq
|
{
|
// +(WXOpenBusinessViewReq * _Nonnull)object;
|
[Static]
|
[Export("object")]
|
WXOpenBusinessViewReq Object { get; }
|
|
// @property (copy, nonatomic) NSString * _Nonnull businessType;
|
[Export("businessType")]
|
string BusinessType { get; set; }
|
|
// @property (copy, nonatomic) NSString * _Nullable query;
|
[NullAllowed, Export("query")]
|
string Query { get; set; }
|
|
// @property (copy, nonatomic) NSString * _Nullable extInfo;
|
[NullAllowed, Export("extInfo")]
|
string ExtInfo { get; set; }
|
|
// @property (nonatomic, strong) NSData * _Nullable extData;
|
[NullAllowed, Export("extData", ArgumentSemantic.Strong)]
|
NSData ExtData { get; set; }
|
}
|
|
// @interface WXOpenBusinessViewResp : BaseResp
|
[BaseType(typeof(BaseResp))]
|
interface WXOpenBusinessViewResp
|
{
|
// @property (copy, nonatomic) NSString * _Nonnull businessType;
|
[Export("businessType")]
|
string BusinessType { get; set; }
|
|
// @property (copy, nonatomic) NSString * _Nullable extMsg;
|
[NullAllowed, Export("extMsg")]
|
string ExtMsg { get; set; }
|
}
|
|
// @protocol WXApiDelegate <NSObject>
|
[Protocol, Model(AutoGeneratedName = true)]
|
[BaseType(typeof(NSObject))]
|
interface WXApiDelegate
|
{
|
// @optional -(void)onReq:(BaseReq * _Nonnull)req;
|
[Export("onReq:")]
|
void OnReq(BaseReq req);
|
|
// @optional -(void)onResp:(BaseResp * _Nonnull)resp;
|
[Export("onResp:")]
|
void OnResp(BaseResp resp);
|
}
|
|
// @protocol WXApiLogDelegate <NSObject>
|
[Protocol, Model(AutoGeneratedName = true)]
|
[BaseType(typeof(NSObject))]
|
interface WXApiLogDelegate
|
{
|
// @required -(void)onLog:(NSString * _Nonnull)log logLevel:(WXLogLevel)level;
|
[Abstract]
|
[Export("onLog:logLevel:")]
|
void LogLevel(string log, WXLogLevel level);
|
}
|
|
// @interface WXApi : NSObject
|
[BaseType(typeof(NSObject))]
|
interface WXApi
|
{
|
// +(BOOL)registerApp:(NSString * _Nonnull)appid universalLink:(NSString * _Nonnull)universalLink;
|
[Static]
|
[Export("registerApp:universalLink:")]
|
bool RegisterApp(string appid, string universalLink);
|
|
// +(BOOL)handleOpenURL:(NSURL * _Nonnull)url delegate:(id<WXApiDelegate> _Nullable)delegate;
|
[Static]
|
[Export("handleOpenURL:delegate:")]
|
bool HandleOpenURL(NSUrl url, [NullAllowed] WXApiDelegate @delegate);
|
|
// +(BOOL)handleOpenUniversalLink:(NSUserActivity * _Nonnull)userActivity delegate:(id<WXApiDelegate> _Nullable)delegate;
|
[Static]
|
[Export("handleOpenUniversalLink:delegate:")]
|
bool HandleOpenUniversalLink(NSUserActivity userActivity, [NullAllowed] WXApiDelegate @delegate);
|
|
// +(BOOL)isWXAppInstalled;
|
[Static]
|
[Export("isWXAppInstalled")]
|
bool IsWXAppInstalled { get; }
|
|
// +(BOOL)isWXAppSupportApi;
|
[Static]
|
[Export("isWXAppSupportApi")]
|
bool IsWXAppSupportApi { get; }
|
|
// +(NSString * _Nonnull)getWXAppInstallUrl;
|
[Static]
|
[Export("getWXAppInstallUrl")]
|
string WXAppInstallUrl { get; }
|
|
// +(NSString * _Nonnull)getApiVersion;
|
[Static]
|
[Export("getApiVersion")]
|
string ApiVersion { get; }
|
|
// +(BOOL)openWXApp;
|
[Static]
|
[Export("openWXApp")]
|
bool OpenWXApp { get; }
|
|
// +(void)sendReq:(BaseReq * _Nonnull)req completion:(void (^ _Nullable)(BOOL))completion;
|
[Static]
|
[Export("sendReq:completion:")]
|
void SendReq(BaseReq req, [NullAllowed] Action<bool> completion);
|
|
// +(void)sendResp:(BaseResp * _Nonnull)resp completion:(void (^ _Nullable)(BOOL))completion;
|
[Static]
|
[Export("sendResp:completion:")]
|
void SendResp(BaseResp resp, [NullAllowed] Action<bool> completion);
|
|
// +(void)sendAuthReq:(SendAuthReq * _Nonnull)req viewController:(UIViewController * _Nonnull)viewController delegate:(id<WXApiDelegate> _Nullable)delegate completion:(void (^ _Nullable)(BOOL))completion;
|
[Static]
|
[Export("sendAuthReq:viewController:delegate:completion:")]
|
void SendAuthReq(SendAuthReq req, UIViewController viewController, [NullAllowed] WXApiDelegate @delegate, [NullAllowed] Action<bool> completion);
|
|
// +(void)startLogByLevel:(WXLogLevel)level logBlock:(WXLogBolock _Nonnull)logBlock;
|
[Static]
|
[Export("startLogByLevel:logBlock:")]
|
void StartLogByLevel(WXLogLevel level, WXLogBolock logBlock);
|
|
// +(void)startLogByLevel:(WXLogLevel)level logDelegate:(id<WXApiLogDelegate> _Nonnull)logDelegate;
|
[Static]
|
[Export("startLogByLevel:logDelegate:")]
|
void StartLogByLevel(WXLogLevel level, WXApiLogDelegate logDelegate);
|
|
// +(void)stopLog;
|
[Static]
|
[Export("stopLog")]
|
void StopLog();
|
}
|
|
|
//******************************************HDLGestureLockView 手势解锁******************************************//
|
// @protocol SSGestureLockViewDelegate <NSObject>
|
[Protocol, Model(AutoGeneratedName = true)]
|
[BaseType(typeof(NSObject))]
|
interface SSGestureLockViewDelegate
|
{
|
// @optional -(void)didSelectedGestureLockView:(NSString * _Nonnull)selectNumStr selectCount:(int)selectCount;
|
[Export("didSelectedGestureLockView:selectCount:")]
|
void onDidSelectedGestureLockView(string selectNumStr, int selectCount);
|
}
|
|
// @interface HDLGestureLockView : UIView
|
[BaseType(typeof(UIView))]
|
interface HDLGestureLockView
|
{
|
// @property (assign, nonatomic) CGFloat verticalSpace;
|
[Export("verticalSpace")]
|
nfloat VerticalSpace { get; set; }
|
|
// @property (assign, nonatomic) CGFloat horizontalSpace;
|
[Export("horizontalSpace")]
|
nfloat HorizontalSpace { get; set; }
|
|
// @property (assign, nonatomic) CGFloat lineWidth;
|
[Export("lineWidth")]
|
nfloat LineWidth { get; set; }
|
|
// @property (nonatomic, strong) UIColor * _Nonnull selectedLineColor;
|
[Export("selectedLineColor", ArgumentSemantic.Strong)]
|
UIColor SelectedLineColor { get; set; }
|
|
// @property (nonatomic, strong) UIColor * _Nonnull errorLineColor;
|
[Export("errorLineColor", ArgumentSemantic.Strong)]
|
UIColor ErrorLineColor { get; set; }
|
|
// @property (nonatomic, strong) UIColor * _Nonnull normalColor;
|
[Export("normalColor", ArgumentSemantic.Strong)]
|
UIColor NormalColor { get; set; }
|
|
// @property (assign, nonatomic) int resetDelayMillis;
|
[Export("resetDelayMillis")]
|
int ResetDelayMillis { get; set; }
|
|
[Wrap("WeakDelegate")]
|
[NullAllowed]
|
SSGestureLockViewDelegate Delegate { get; set; }
|
|
// @property (nonatomic, weak) id<SSGestureLockViewDelegate> _Nullable delegate;
|
[NullAllowed, Export("delegate", ArgumentSemantic.Weak)]
|
NSObject WeakDelegate { get; set; }
|
|
// @property (assign, nonatomic) BOOL showErrorStatus;
|
[Export("showErrorStatus")]
|
bool ShowErrorStatus { get; set; }
|
|
// -(void)initWithFrameLockView:(CGRect)mCGRect;
|
[Export("initWithFrameLockView:")]
|
void InitWithFrameLockView(CGRect mCGRect);
|
}
|
|
|
//******************************************HDLOACCurtainSeekBar 开合帘*****************************************//
|
// @protocol HDLSeekBarProgressChangedDelegate <NSObject>
|
[Protocol, Model(AutoGeneratedName = true)]
|
[BaseType(typeof(NSObject))]
|
interface HDLSeekBarProgressChangedDelegate
|
{
|
// @required -(void)onStartTrackingTouch;
|
[Abstract]
|
[Export("onStartTrackingTouch")]
|
void OnStartTrackingTouch();
|
|
// @required -(void)onProgressChanged:(int)mProgress;
|
[Abstract]
|
[Export("onProgressChanged:")]
|
void OnProgressChanged(int mProgress);
|
|
// @required -(void)onStopTrackingTouch:(int)mProgress;
|
[Abstract]
|
[Export("onStopTrackingTouch:")]
|
void OnStopTrackingTouch(int mProgress);
|
}
|
|
// @interface SeekBarDelegate : NSObject
|
[BaseType(typeof(NSObject))]
|
interface SeekBarDelegate
|
{
|
}
|
|
// @interface HDLOACCurtainSeekBar : UIControl
|
[BaseType(typeof(UIControl))]
|
interface HDLOACCurtainSeekBar
|
{
|
// @property (assign, nonatomic) BOOL isClickable;
|
[Export("isClickable")]
|
bool IsClickable { get; set; }
|
|
// @property (assign, nonatomic) int mProgress;
|
[Export("mProgress")]
|
int MProgress { get; set; }
|
|
// @property (assign, nonatomic) BOOL isProgressTextShow;
|
[Export("isProgressTextShow")]
|
bool IsProgressTextShow { get; set; }
|
|
// @property (nonatomic, strong) UIColor * _Nonnull mProgressTextColor;
|
[Export("mProgressTextColor", ArgumentSemantic.Strong)]
|
UIColor MProgressTextColor { get; set; }
|
|
// @property (assign, nonatomic) int mProgressTextSize;
|
[Export("mProgressTextSize")]
|
int MProgressTextSize { get; set; }
|
|
[Wrap("WeakMProgressChangedDelegate")]
|
[NullAllowed]
|
HDLSeekBarProgressChangedDelegate MProgressChangedDelegate { get; set; }
|
|
// @property (nonatomic, weak) id<HDLSeekBarProgressChangedDelegate> _Nullable mProgressChangedDelegate;
|
[NullAllowed, Export("mProgressChangedDelegate", ArgumentSemantic.Weak)]
|
NSObject WeakMProgressChangedDelegate { get; set; }
|
|
// -(void)setProgress:(int)mProgress;
|
[Export("setProgress:")]
|
void SetProgress(int mProgress);
|
|
// -(void)setProgressBarUnitSring:(NSString * _Nonnull)mString;
|
[Export("setProgressBarUnitSring:")]
|
void SetProgressBarUnitSring(string mString);
|
|
// -(void)setMinAndMaxValue:(float)mMinValue mMaxValue:(float)mMaxValue;
|
[Export("setMinAndMaxValue:mMaxValue:")]
|
void SetMinAndMaxValue(float mMinValue, float mMaxValue);
|
|
// -(void)initWithFrameSeekBar:(CGRect)mCGRect;
|
[Export("initWithFrameSeekBar:")]
|
void InitWithFrameSeekBar(CGRect mCGRect);
|
|
// -(void)setCurtainPadding:(int)Padding;
|
[Export("setCurtainPadding:")]
|
void SetCurtainPadding(int Padding);
|
|
// -(void)setCurtainPaddingTop:(int)Padding;
|
[Export("setCurtainPaddingTop:")]
|
void SetCurtainPaddingTop(int Padding);
|
|
// -(void)setOffline:(BOOL)isOffline;
|
[Export("setOffline:")]
|
void SetOffline(bool isOffline);
|
|
// -(CGFloat)getProgressX;
|
[Export("getProgressX")]
|
nfloat ProgressX { get; }
|
}
|
|
|
//******************************************HDLRollCurtainSeekBar 卷帘*****************************************//
|
// @interface HDLRollCurtainSeekBar : UIControl
|
[BaseType(typeof(UIControl))]
|
interface HDLRollCurtainSeekBar
|
{
|
// @property (assign, nonatomic) BOOL isClickable;
|
[Export("isClickable")]
|
bool IsClickable { get; set; }
|
|
// @property (assign, nonatomic) int mProgress;
|
[Export("mProgress")]
|
int MProgress { get; set; }
|
|
// @property (assign, nonatomic) BOOL isProgressTextShow;
|
[Export("isProgressTextShow")]
|
bool IsProgressTextShow { get; set; }
|
|
// @property (nonatomic, strong) UIColor * _Nonnull mProgressTextColor;
|
[Export("mProgressTextColor", ArgumentSemantic.Strong)]
|
UIColor MProgressTextColor { get; set; }
|
|
// @property (assign, nonatomic) int mProgressTextSize;
|
[Export("mProgressTextSize")]
|
int MProgressTextSize { get; set; }
|
|
[Wrap("WeakMProgressChangedDelegate")]
|
[NullAllowed]
|
HDLSeekBarProgressChangedDelegate MProgressChangedDelegate { get; set; }
|
|
// @property (nonatomic, weak) id<HDLSeekBarProgressChangedDelegate> _Nullable mProgressChangedDelegate;
|
[NullAllowed, Export("mProgressChangedDelegate", ArgumentSemantic.Weak)]
|
NSObject WeakMProgressChangedDelegate { get; set; }
|
|
// -(void)setProgress:(int)mProgress;
|
[Export("setProgress:")]
|
void SetProgress(int mProgress);
|
|
// -(void)setProgressBarUnitSring:(NSString * _Nonnull)mString;
|
[Export("setProgressBarUnitSring:")]
|
void SetProgressBarUnitSring(string mString);
|
|
// -(void)setMinAndMaxValue:(float)mMinValue mMaxValue:(float)mMaxValue;
|
[Export("setMinAndMaxValue:mMaxValue:")]
|
void SetMinAndMaxValue(float mMinValue, float mMaxValue);
|
|
// -(void)initWithFrameSeekBar:(CGRect)mCGRect;
|
[Export("initWithFrameSeekBar:")]
|
void InitWithFrameSeekBar(CGRect mCGRect);
|
|
// -(void)setCurtainPadding:(int)Padding;
|
[Export("setCurtainPadding:")]
|
void SetCurtainPadding(int Padding);
|
|
// -(void)setCurtainPaddingTop:(int)Padding;
|
[Export("setCurtainPaddingTop:")]
|
void SetCurtainPaddingTop(int Padding);
|
|
// -(void)setOffline:(BOOL)isOffline;
|
[Export("setOffline:")]
|
void SetOffline(bool isOffline);
|
|
// -(CGFloat)getProgressY;
|
[Export("getProgressY")]
|
nfloat ProgressY { get; }
|
}
|
|
|
|
//******************************************HDLArcScaleSeekBar 空调刻度圆弧*****************************************//
|
// @interface HDLArcScaleSeekBar : UIControl
|
[BaseType(typeof(UIControl))]
|
interface HDLArcScaleSeekBar
|
{
|
// @property (assign, nonatomic) BOOL isClickable;
|
[Export("isClickable")]
|
bool IsClickable { get; set; }
|
|
// @property (assign, nonatomic) int mProgress;
|
[Export("mProgress")]
|
int MProgress { get; set; }
|
|
// @property (assign, nonatomic) BOOL isProgressTextShow;
|
[Export("isProgressTextShow")]
|
bool IsProgressTextShow { get; set; }
|
|
// @property (nonatomic, strong) UIColor * _Nonnull mProgressTextColor;
|
[Export("mProgressTextColor", ArgumentSemantic.Strong)]
|
UIColor MProgressTextColor { get; set; }
|
|
// @property (assign, nonatomic) int mProgressTextSize;
|
[Export("mProgressTextSize")]
|
int MProgressTextSize { get; set; }
|
|
// @property (nonatomic, strong) UIColor * _Nonnull pathBackColor;
|
[Export("pathBackColor", ArgumentSemantic.Strong)]
|
UIColor PathBackColor { get; set; }
|
|
[Wrap("WeakMProgressChangedDelegate")]
|
[NullAllowed]
|
HDLSeekBarProgressChangedDelegate MProgressChangedDelegate { get; set; }
|
|
// @property (nonatomic, weak) id<HDLSeekBarProgressChangedDelegate> _Nullable mProgressChangedDelegate;
|
[NullAllowed, Export("mProgressChangedDelegate", ArgumentSemantic.Weak)]
|
NSObject WeakMProgressChangedDelegate { get; set; }
|
|
// -(void)setProgress:(int)mProgress;
|
[Export("setProgress:")]
|
void SetProgress(int mProgress);
|
|
// -(void)setProgressBarUnitSring:(NSString * _Nonnull)mString;
|
[Export("setProgressBarUnitSring:")]
|
void SetProgressBarUnitSring(string mString);
|
|
// -(void)setMinAndMaxValue:(CGFloat)mMinValue mMaxValue:(CGFloat)mMaxValue;
|
[Export("setMinAndMaxValue:mMaxValue:")]
|
void SetMinAndMaxValue(nfloat mMinValue, nfloat mMaxValue);
|
|
// -(void)initWithFrameSeekBar:(CGRect)mCGRect;
|
[Export("initWithFrameSeekBar:")]
|
void InitWithFrameSeekBar(CGRect mCGRect);
|
|
// -(void)setOffline:(BOOL)isOffline;
|
[Export("setOffline:")]
|
void SetOffline(bool isOffline);
|
|
// -(void)setProgressBarColors:(UIColor * _Nonnull)startColor endColor:(UIColor * _Nonnull)endColor;
|
[Export("setProgressBarColors:endColor:")]
|
void SetProgressBarColors(UIColor startColor, UIColor endColor);
|
}
|
|
|
//******************************************HDLDiyImageSeekBar 可以自定义拖动按钮图标的 滑动Seekbar*****************************************//
|
// @interface HDLDiyImageSeekBar : UIControl
|
[BaseType(typeof(UIControl))]
|
interface HDLDiyImageSeekBar
|
{
|
// @property (assign, nonatomic) BOOL isClickable;
|
[Export("isClickable")]
|
bool IsClickable { get; set; }
|
|
// @property (nonatomic, strong) UIColor * _Nonnull mArcBackBarColor;
|
[Export("mArcBackBarColor", ArgumentSemantic.Strong)]
|
UIColor MArcBackBarColor { get; set; }
|
|
// @property (nonatomic, strong) UIColor * _Nonnull mProgressBarColor;
|
[Export("mProgressBarColor", ArgumentSemantic.Strong)]
|
UIColor MProgressBarColor { get; set; }
|
|
// @property (assign, nonatomic) int mProgress;
|
[Export("mProgress")]
|
int MProgress { get; set; }
|
|
// @property (assign, nonatomic) BOOL isProgressTextShow;
|
[Export("isProgressTextShow")]
|
bool IsProgressTextShow { get; set; }
|
|
// @property (nonatomic, strong) UIColor * _Nonnull mProgressTextColor;
|
[Export("mProgressTextColor", ArgumentSemantic.Strong)]
|
UIColor MProgressTextColor { get; set; }
|
|
// @property (assign, nonatomic) int mProgressTextSize;
|
[Export("mProgressTextSize")]
|
int MProgressTextSize { get; set; }
|
|
[Wrap("WeakMProgressChangedDelegate")]
|
[NullAllowed]
|
HDLSeekBarProgressChangedDelegate MProgressChangedDelegate { get; set; }
|
|
// @property (nonatomic, weak) id<HDLSeekBarProgressChangedDelegate> _Nullable mProgressChangedDelegate;
|
[NullAllowed, Export("mProgressChangedDelegate", ArgumentSemantic.Weak)]
|
NSObject WeakMProgressChangedDelegate { get; set; }
|
|
// -(void)setProgress:(int)mProgress;
|
[Export("setProgress:")]
|
void SetProgress(int mProgress);
|
|
// -(void)setProgressBarUnitSring:(NSString * _Nonnull)mString;
|
[Export("setProgressBarUnitSring:")]
|
void SetProgressBarUnitSring(string mString);
|
|
// -(void)setMinAndMaxValue:(float)mMinValue mMaxValue:(float)mMaxValue;
|
[Export("setMinAndMaxValue:mMaxValue:")]
|
void SetMinAndMaxValue(float mMinValue, float mMaxValue);
|
|
// -(void)initWithFrameSeekBar:(CGRect)mCGRect;
|
[Export("initWithFrameSeekBar:")]
|
void InitWithFrameSeekBar(CGRect mCGRect);
|
|
// -(void)setSeekBarPadding:(int)Padding;
|
[Export("setSeekBarPadding:")]
|
void SetSeekBarPadding(int Padding);
|
|
// -(void)setProgressBarHeight:(int)mHeight;
|
[Export("setProgressBarHeight:")]
|
void SetProgressBarHeight(int mHeight);
|
|
// -(void)setBitmapButtonHeight:(int)mHeight;
|
[Export("setBitmapButtonHeight:")]
|
void SetBitmapButtonHeight(int mHeight);
|
|
// -(void)setOffline:(BOOL)isOffline;
|
[Export("setOffline:")]
|
void SetOffline(bool isOffline);
|
|
// -(void)setBgBitmapButton:(UIImage * _Nonnull)mImage;
|
[Export("setBgBitmapButton:")]
|
void SetBgBitmapButton(UIImage mImage);
|
}
|
}
|