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 "ReleaseDetails.h"
|
||||
#import "../Core/Utility/NSStringHelper.h"
|
||||
#import <AppCenterDistribute/AppCenterDistribute.h>
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
int appcenter_unity_release_details_get_id(MSACReleaseDetails* details)
|
||||
{
|
||||
return [[details id] intValue];
|
||||
}
|
||||
|
||||
const char* appcenter_unity_release_details_get_version(MSACReleaseDetails* details)
|
||||
{
|
||||
return appcenter_unity_ns_string_to_cstr([details version]);
|
||||
}
|
||||
|
||||
const char* appcenter_unity_release_details_get_short_version(MSACReleaseDetails* details)
|
||||
{
|
||||
return appcenter_unity_ns_string_to_cstr([details shortVersion]);
|
||||
}
|
||||
|
||||
const char* appcenter_unity_release_details_get_release_notes(MSACReleaseDetails* details)
|
||||
{
|
||||
return appcenter_unity_ns_string_to_cstr([details releaseNotes]);
|
||||
}
|
||||
|
||||
bool appcenter_unity_release_details_get_mandatory_update(MSACReleaseDetails* details)
|
||||
{
|
||||
return [details isMandatoryUpdate];
|
||||
}
|
||||
|
||||
const char* appcenter_unity_release_details_get_url(MSACReleaseDetails* details)
|
||||
{
|
||||
return appcenter_unity_ns_string_to_cstr([[details releaseNotesUrl] absoluteString]);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user