-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
runner
authored and
runner
committed
Jul 12, 2021
1 parent
7366623
commit f35eef9
Showing
161 changed files
with
7,408 additions
and
289 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
12 changes: 12 additions & 0 deletions
12
Documentation/MobileSDK Reference/Blocks/SMCompletionBlockFailure.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# SMCompletionBlockFailure Block Reference | ||
|
||
**Declared in** SMBlock.h | ||
|
||
<a title="Block Definition" name="instance_methods"></a> | ||
## Block Definition | ||
### SMCompletionBlockFailure | ||
|
||
@typedef type of block that will be triggered when an event has failed to be sent | ||
|
||
<code>typedef void (^SMCompletionBlockFailure) (SMFailure *failure)</code> | ||
|
12 changes: 12 additions & 0 deletions
12
Documentation/MobileSDK Reference/Blocks/SMCompletionBlockSuccess.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# SMCompletionBlockSuccess Block Reference | ||
|
||
**Declared in** SMBlock.h | ||
|
||
<a title="Block Definition" name="instance_methods"></a> | ||
## Block Definition | ||
### SMCompletionBlockSuccess | ||
|
||
@typedef type of block that will be triggered when an event has been succesfully sent | ||
|
||
<code>typedef void (^SMCompletionBlockSuccess) (SMSuccess *success)</code> | ||
|
60 changes: 60 additions & 0 deletions
60
Documentation/MobileSDK Reference/Categories/SMManager+DataTransaction.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
# SMManager(DataTransaction) Category Reference | ||
|
||
**Declared in** SMManager+DataTransaction.h | ||
|
||
## Overview | ||
|
||
This category will help you to retrieve or send specific information to the selligent platform. | ||
|
||
<h1>SMManager+DataTransaction :</h1> | ||
|
||
## Tasks | ||
|
||
### | ||
|
||
[– sendDeviceInfo](#//api/name/sendDeviceInfo) | ||
|
||
[– sendDeviceInfo:](#//api/name/sendDeviceInfo:) | ||
|
||
<a title="Instance Methods" name="instance_methods"></a> | ||
## Instance Methods | ||
|
||
<a name="//api/name/sendDeviceInfo" title="sendDeviceInfo"></a> | ||
### sendDeviceInfo | ||
|
||
Deprecated method | ||
|
||
<code>- (void)sendDeviceInfo</code> | ||
|
||
#### Discussion | ||
|
||
|
||
<strong>Warning:</strong> Deprecated methodIn order to send device informations to the back-end you can use | ||
|
||
<ul> | ||
<li><a href="#//api/name/sendDeviceInfo:">sendDeviceInfo:</a>(SMDeviceInfos*)infos;</li> | ||
</ul> | ||
|
||
#### Declared In | ||
* `SMManager+DataTransaction.h` | ||
|
||
<a name="//api/name/sendDeviceInfo:" title="sendDeviceInfo:"></a> | ||
### sendDeviceInfo: | ||
|
||
This method allow you to send an event with pre-defined devices informations to the back-end | ||
|
||
<code>- (void)sendDeviceInfo:(SMDeviceInfos *)*deviceInfos*</code> | ||
|
||
#### Parameters | ||
|
||
*deviceInfos* | ||
<a href="../Classes/SMDeviceInfos.md">SMDeviceInfos</a> object | ||
|
||
#### Discussion | ||
The informations to be sent will be set in a <a href="../Classes/SMDeviceInfos.md">SMDeviceInfos</a> object. Each property of the created object will be a data that will be provided to the back-end. For additional informations you can refer to SMDevicesInfos. | ||
|
||
This call can be done at any time after starting the library and if the properties of <a href="../Classes/SMDeviceInfos.md">SMDeviceInfos</a> object has not changed from a previous call, the event will not be sent to avoid platform unnecessarily overload. | ||
|
||
#### Declared In | ||
* `SMManager+DataTransaction.h` | ||
|
Oops, something went wrong.