我为mac osx编写了绑定库,(使用HockeySDK.framework)。以下是我的ApiDefinition.cs的样子:
bitblt
此处还有调用部分(AppDelegate.cs):
[BaseType (typeof (NSObject))]
interface BITHockeyManager
{
[Static, Export ("sharedHockeyManager")]
BITHockeyManager SharedHockeyManager { get; }
[Export ("crashManager")]
BITCrashManager CrashManager { get; }
[Export ("configureWithIdentifier:")]
void ConfigureWithIdentifier (NSString appIdentifier);
[Export ("startManager")]
void StartManager ();
}
[BaseType (typeof (NSObject))]
interface BITCrashManager
{
[Export ("setAutoSubmitCrashReport:")]
void SetAutoSubmitCrashReport (bool flag);
}
似乎一切都是o,但我无法在服务器中获取崩溃报告。任何的想法?