app center;增加發送ping的秒
This commit is contained in:
1 parent
1bd1ffdb5a
commit
d754ff3b15
719 files changed
+34172
-2875
No files matched your search
@@ -0,0 +1,38 @@
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Licensed under the MIT license.
|
||||
|
||||
#import "NSStringHelper.h"
|
||||
#import "WrapperException.h"
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
MSACWrapperExceptionModel* appcenter_unity_exception_create()
|
||||
{
|
||||
return [[MSACWrapperExceptionModel alloc] init];
|
||||
}
|
||||
|
||||
void appcenter_unity_exception_set_type(MSACWrapperExceptionModel* exception, char* type)
|
||||
{
|
||||
[exception setType:[NSString stringWithUTF8String:type]];
|
||||
}
|
||||
|
||||
void appcenter_unity_exception_set_message(MSACWrapperExceptionModel* exception, char* message)
|
||||
{
|
||||
[exception setMessage:[NSString stringWithUTF8String:message]];
|
||||
}
|
||||
|
||||
void appcenter_unity_exception_set_stacktrace(MSACWrapperExceptionModel* exception, char* stacktrace)
|
||||
{
|
||||
[exception setStackTrace:appcenter_unity_cstr_to_ns_string(stacktrace)];
|
||||
}
|
||||
|
||||
void appcenter_unity_exception_set_inner_exception(MSACWrapperExceptionModel* exception, MSACWrapperExceptionModel* innerException)
|
||||
{
|
||||
NSArray* innerExceptions = @[innerException];
|
||||
[exception setInnerExceptions:innerExceptions];
|
||||
}
|
||||
|
||||
void appcenter_unity_exception_set_wrapper_sdk_name(MSACWrapperExceptionModel* exception, char* sdkName)
|
||||
{
|
||||
[exception setWrapperSdkName:[NSString stringWithUTF8String:sdkName]];
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user