Xamarin.Insights.XML 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378
  1. <?xml version="1.0"?>
  2. <doc>
  3. <assembly>
  4. <name>Xamarin.Insights</name>
  5. </assembly>
  6. <members>
  7. <member name="M:Xamarin.InsightsCore.IOWriter.ReadRawDiskImage(System.String)">
  8. <summary>
  9. Reads an image from disk in a portable way - will not decompress compressed images
  10. </summary>
  11. <param name="fileName"></param>
  12. </member>
  13. <member name="M:Xamarin.InsightsCore.IOWriter.ReadDiskImage(System.String)">
  14. <summary>
  15. Reads an image from disk in a portable way - also will decompress images that require decompression
  16. </summary>
  17. <param name="fileName"></param>
  18. </member>
  19. <member name="T:Xamarin.InsightsCore.NetworkAvailability">
  20. <summary>
  21. One big state machine for network availability, with allowances for overrides.
  22. It is expected to have its NetworkState set by platform specific codebases signalling changes in their network state.
  23. </summary>
  24. </member>
  25. <member name="T:Xamarin.InsightsCore.States.FuzzyNetworkState">
  26. <summary>
  27. Basically every platform has a different idea of network states and trying to represent the specifics of each one is a pita.
  28. so lets just be fuzzy and use abstract concepts, trying to match the platform specific concepts to them as best we can
  29. </summary>
  30. </member>
  31. <member name="M:Xamarin.InsightsCore.WebApi.SubmitException(System.Exception,Xamarin.Insights.Severity,System.String)">
  32. <summary>
  33. Submits an exception to our api server, this runs through the crash api
  34. </summary>
  35. <param name="exception"></param>
  36. <param name="warningLevel"></param>
  37. <param name="Source"></param>
  38. <returns></returns>
  39. </member>
  40. <member name="M:Xamarin.InsightsCore.WebApi.SubmitExceptionAndSave(System.Exception,Xamarin.Insights.Severity,System.String)">
  41. <summary>
  42. Submits an exception to our api server, this runs through the crash api,
  43. in addition this will save the current state of the journal to disk
  44. this entire method will block. It is intended to be used when in an unhandled event handler
  45. </summary>
  46. <param name="exception"></param>
  47. <param name="warningLevel"></param>
  48. <param name="Source"></param>
  49. </member>
  50. <member name="T:Xamarin.ReportSeverity">
  51. <summary>
  52. Obsolete, use Xamarin.Insights.ReportSeverity instead
  53. </summary>
  54. </member>
  55. <member name="F:Xamarin.ReportSeverity.Warning">
  56. <summary>
  57. A Warning
  58. </summary>
  59. </member>
  60. <member name="F:Xamarin.ReportSeverity.Error">
  61. <summary>
  62. An Error
  63. </summary>
  64. </member>
  65. <member name="T:Xamarin.Insights">
  66. <summary>
  67. Xamarin.Insights
  68. </summary>
  69. </member>
  70. <member name="M:Xamarin.Insights.Initialize(System.String,System.String,System.String,System.String,System.Boolean)">
  71. <summary>
  72. This method initializes Insights and starts automatic monitoring systems, it is required to be called before any other API
  73. </summary>
  74. <param name="apiKey">The APIKey given to you by Insights, which can be found here: https://insights.xamarin.com/app/$YourAppNameGoesHere$/settings </param>
  75. <param name="versionIdentifier">The current version of your app, this should use Semantic Versioning</param>
  76. <param name="appIdentifier">An identifier that uniquely identifies your app, a unique string of some kind</param>
  77. <param name="cacheDirectoryOverride">An opetional paramater that allows you to specify a unique cache directory for insights to use</param>
  78. </member>
  79. <member name="M:Xamarin.Insights.PurgeAllPendingData">
  80. <summary>
  81. Attempts to purge all pending data, this may not actually send all data to the web service if networking is down or insights is unavailable.
  82. </summary>
  83. <returns></returns>
  84. </member>
  85. <member name="T:Xamarin.Insights.HasPendingCrashReportEventHandler">
  86. <summary>
  87. A delegate for the HasPendingCrashReportEventHandler event, you are expected to call Insights.PurgePendingCrashReports() in this method
  88. if you wish for Insights to synchronously send a crash report on startup, otherwise ignore this and insights will send the crash report
  89. in the background.
  90. </summary>
  91. <param name="sender"></param>
  92. <param name="isStartupCrash"></param>
  93. </member>
  94. <member name="E:Xamarin.Insights.HasPendingCrashReport">
  95. <summary>
  96. This event is fired when Insights detects a new pending crash report
  97. </summary>
  98. </member>
  99. <member name="F:Xamarin.Insights.DebugModeKey">
  100. <summary>
  101. Passing this key into <seealso cref="M:Xamarin.Insights.Initialize(System.String,System.String,System.String,System.String,System.Boolean)" /> will enable a silent debug mode in Insights.
  102. Insights will not track, catch exceptions or submit information of any kind.
  103. This is useful if you are trying to debug your application and want Insights to get out of the way.
  104. </summary>
  105. </member>
  106. <member name="P:Xamarin.Insights.IsInitialized">
  107. <summary>
  108. This paramater will return true if Initialize has been successfully called
  109. </summary>
  110. </member>
  111. <member name="T:Xamarin.Insights.CollectionTypes">
  112. <summary>
  113. </summary>
  114. </member>
  115. <member name="P:Xamarin.Insights.DisableCollectionTypes">
  116. <summary>
  117. This paramater allows you to disable certain collection types, they will not be reported to the Insights server.
  118. </summary>
  119. <example>
  120. Insights.DisableCollection = true; // Disables Insights automated behaviors
  121. Insights.DisableDataTransmission = true; // Disables data communication with the webapi
  122. Insights.DisableExceptionCatching = true; // Disables automatic unhandled exception catching
  123. Insights.DisableCollectionTypes = Insights.OSInfo; // Stops Insights from tracking OSInfo
  124. Insights.DisableCollectionTypes = Insights.Jailbroken; // Stops Insights from tracking HardwareInfo
  125. Insights.DisableCollectionTypes = Insights.NetworkInfo; // Stops Insights from tracking NetworkInfo
  126. //Can be combined
  127. Insights.DisableCollectionTypes = Insights.OSInfo | Insights.NetworkInfo; // Stops Insights from tracking OSInfo and NetworkInfo
  128. </example>
  129. </member>
  130. <member name="F:Xamarin.Insights.Traits.Avatar">
  131. <summary>
  132. URL corresponding to the location of the users avatar
  133. </summary>
  134. </member>
  135. <member name="F:Xamarin.Insights.Traits.DateOfBirth">
  136. <summary>
  137. Use Date.ToString('o'); to encode the users date of birth
  138. </summary>
  139. </member>
  140. <member name="F:Xamarin.Insights.Traits.CreatedAt">
  141. <summary>
  142. Use Date.ToString('o'); to encode the date the user created the account
  143. </summary>
  144. </member>
  145. <member name="P:Xamarin.Insights.DisableCollection">
  146. <summary>
  147. DisableCollection allows you to disable Insights at run time, it will not collect information, it will not submit
  148. information, any information it has collected will be preserved.
  149. Crash reporting is also disabled if this flag is set, use at your own risk.
  150. </summary>
  151. </member>
  152. <member name="P:Xamarin.Insights.DisableDataTransmission">
  153. <summary>
  154. DisableDataTransmission allows you to disable any use of data communication by Insights, when this value is set to True
  155. Insights will just gather data and not send any data.
  156. </summary>
  157. </member>
  158. <member name="P:Xamarin.Insights.DisableExceptionCatching">
  159. <summary>
  160. DisableExceptionCatching disables any automatic unhandled exception handling in Insights.
  161. Use this if you wish to catch exceptions yourself and .Report() them to insights at your leisure
  162. </summary>
  163. </member>
  164. <member name="P:Xamarin.Insights.ForceDataTransmission">
  165. <summary>
  166. Setting this property to true will force Insights to submit data to the server regardless of the network state
  167. </summary>
  168. </member>
  169. <member name="M:Xamarin.Insights.Identify(System.String,System.Collections.Generic.IDictionary{System.String,System.String})">
  170. <summary>
  171. Identify is used to identify your users with unique information, this also allows Insights to attach other reports
  172. to this user.
  173. </summary>
  174. <seealso cref="M:Xamarin.Insights.Identify(System.String,System.String,System.String)" />
  175. <param name="uid">
  176. The unique identifier for this user, this can be whatever string you like as long as it is unique for
  177. that user, using DeviceIDs and such is not recommended, those are only unique to devices
  178. </param>
  179. <param name="table">A Generic table of information you would like to associate with this user.</param>
  180. <example>
  181. This sample shows how to call the method with a table of data
  182. <code>
  183. var manyInfos = new Dictionary&lt;string, string&gt;{
  184. {"Email", "njpatel@catfacts.com"},
  185. {"CatTeethFact", "Cats have 30 teeth (12 incisors, 10 premolars, 4 canines, and 4 molars), while dogs have 42. Kittens have baby teeth, which are replaced by permanent teeth around the age of 7 months."}
  186. }
  187. Insights.Identify("YourUsersUniqueId", manyInfos);
  188. </code>
  189. </example>
  190. </member>
  191. <member name="M:Xamarin.Insights.Identify(System.String,System.String,System.String)">
  192. <summary>
  193. Identify is used to identify your users with unique information, this also allows Insights to attach other reports
  194. to this user.
  195. This method is a shorthand version of Identify(string, IDictionary) in that it essentially represents
  196. a table with one value
  197. </summary>
  198. <param name="uid">
  199. The unique identifier for this user, this can be whatever string you like as long as it is unique for
  200. that user, using DeviceIDs and such is not recommended, those are only unique to devices
  201. </param>
  202. <param name="key">The key representing a key/value storage type.</param>
  203. <param name="value">The value representing a key/value storage type.</param>
  204. <example>
  205. This sample shows how to call the <see cref="M:Xamarin.Insights.Identify(System.String,System.String,System.String)" /> method with a key/value.
  206. <code>
  207. Insights.Identify("YourUsersUniqueId", "Email", "njpatel@catfacts.com");
  208. </code>
  209. </example>
  210. </member>
  211. <member name="M:Xamarin.Insights.Track(System.String,System.Collections.Generic.IDictionary{System.String,System.String})">
  212. <summary>
  213. Track allows you to track usage of your application and add additional data to each event
  214. </summary>
  215. <param name="trackIdentifier">A unique name for this event</param>
  216. <param name="table">
  217. An optional key/value store representing additional data that you would like to attach to this
  218. event
  219. </param>
  220. </member>
  221. <member name="M:Xamarin.Insights.Track(System.String,System.String,System.String)">
  222. <summary>
  223. Track allows you to track usage of your application and add additional data to each event
  224. </summary>
  225. <param name="trackIdentifier">A unique name for this event</param>
  226. <param name="key">A trait for this track event, key value form of the Dictionary varient</param>
  227. <param name="value">Value for the given trait, key value form of the Dictionary varient</param>
  228. </member>
  229. <member name="M:Xamarin.Insights.TrackTime(System.String,System.Collections.Generic.IDictionary{System.String,System.String})">
  230. <summary>
  231. TrackTime allows you to track events that make take an amount of time to complete. For example measuring how long
  232. it takes to submit login information to a remote server.
  233. </summary>
  234. <param name="identifier">A unique identifier name for this event</param>
  235. <param name="table"></param>
  236. <returns>a handler object that allows you to start and stop the built in timer.</returns>
  237. <example>
  238. This shows how to use this method with a using keyword
  239. <code>
  240. using (var handle = Insights.TrackTime("TimeToLogin")) {
  241. await SubmitLoginInformation("myuserid", "mypassword");
  242. ... more code goes here ...
  243. }
  244. </code>
  245. If you do not wish to use the using keyword or want to track events in more complex scenarios you can use the Start
  246. and Stop methods on the handle object
  247. <code>
  248. var handle = Insights.TrackTime("TimeToLogin");
  249. handle.Start();
  250. await SubmitLoginInformation("myuserid", "mypassword");
  251. ... more code goes here ...
  252. handle.Stop();
  253. </code>
  254. </example>
  255. </member>
  256. <member name="M:Xamarin.Insights.TrackTime(System.String,System.String,System.String)">
  257. <summary>
  258. TrackTime allows you to track events that make take an amount of time to complete. For example measuring how long
  259. it takes to submit login information to a remote server.
  260. </summary>
  261. <param name="identifier">A unique identifer name for this event</param>
  262. <param name="key"></param>
  263. <param name="value"></param>
  264. <returns>a handler object that allows you to start and stop the built in timer.</returns>
  265. <example>
  266. This shows how to use this method with a using keyword
  267. <code>
  268. using (var handle = Insights.TrackTime("TimeToLogin")) {
  269. await SubmitLoginInformation("myuserid", "mypassword");
  270. ... more code goes here ...
  271. }
  272. </code>
  273. If you do not wish to use the using keyword or want to track events in more complex scenarios you can use the Start
  274. and Stop methods on the handle object
  275. <code>
  276. var handle = Insights.TrackTime("TimeToLogin");
  277. handle.Start();
  278. await SubmitLoginInformation("myuserid", "mypassword");
  279. ... more code goes here ...
  280. handle.Stop();
  281. </code>
  282. </example>
  283. </member>
  284. <member name="T:Xamarin.Insights.Severity">
  285. <summary>
  286. Describes the Severity of a Report
  287. </summary>
  288. </member>
  289. <member name="F:Xamarin.Insights.Severity.Warning">
  290. <summary>
  291. Warning Severity
  292. </summary>
  293. </member>
  294. <member name="F:Xamarin.Insights.Severity.Error">
  295. <summary>
  296. Error Severity, you are not expected to call this from client side code unless you have disabled unhandled exception handling.
  297. </summary>
  298. </member>
  299. <member name="F:Xamarin.Insights.Severity.Critical">
  300. <summary>
  301. Critical Severity
  302. </summary>
  303. </member>
  304. <member name="M:Xamarin.Insights.Report(System.Exception,Xamarin.Insights.Severity)">
  305. <summary>
  306. Report allows you to report exceptions to Insights when they are caught, this allows you to track exceptions
  307. without crashing.
  308. </summary>
  309. <param name="exception">an Exception data type, you can also attach extra data to the .Data paramater of the exception</param>
  310. <param name="warningLevel">A warning level for the given report, can be ReportSeverity.Warning or ReportSeverity.Error</param>
  311. <example>
  312. This sample shows how to call the Report method.
  313. <code>
  314. try {
  315. ExceptionThrowingFunction();
  316. }
  317. catch (Exception exception) {
  318. exception.Data["This is some extra data"] = "A cat's field of vision is about 200 degrees."
  319. Insights.Report(exception);
  320. }
  321. </code>
  322. </example>
  323. </member>
  324. <member name="M:Xamarin.Insights.Report(System.Exception,System.Collections.IDictionary,Xamarin.Insights.Severity)">
  325. <summary>
  326. An overload of Report, this allows you to specify extra data to be sent with the exception.
  327. </summary>
  328. <param name="exception">The Exception you want to report</param>
  329. <param name="extraData">A Dictionary containing key/values that you want to report along with the exception</param>
  330. <param name="warningLevel">A warning level for the given report, can be ReportSeverity.Warning or ReportSeverity.Error</param>
  331. </member>
  332. <member name="M:Xamarin.Insights.Report(System.Exception,System.String,System.String,Xamarin.Insights.Severity)">
  333. <summary>
  334. An overload of Report, this allows you to specify a single key/value pair of extra data to be sent with the exception
  335. </summary>
  336. <param name="exception">The Exception you want to report</param>
  337. <param name="warningLevel">A warning level for the given report, can be ReportSeverity.Warning or ReportSeverity.Error</param>
  338. <param name="key"></param>
  339. <param name="value"></param>
  340. </member>
  341. <member name="M:Xamarin.Insights.Save">
  342. <summary>
  343. Save is intended to be called when your process is being stopped. It informs Insights that the process will no longer be active and lets Insights save its state to disk.
  344. Insights auto detects most cases where this would happen, The intendted use case for this is if you are handling unhandled exceptions yourself, you will need to Insights.Save() after reporting your exceptions.
  345. </summary>
  346. <returns>Returns a task, it is recommended that you await this task.</returns>
  347. </member>
  348. <member name="M:Xamarin.Insights.PurgePendingCrashReports">
  349. <summary>
  350. Purges any pending crash reports. This is only ever intended to be used when Insights notifies you that there are pending crash reports.
  351. </summary>
  352. <returns>A Task that should be awaited until it has completed, signifying that the crash reports have been delivered to insights web.</returns>
  353. </member>
  354. <member name="T:Xamarin.ITrackHandle">
  355. <summary>
  356. Interface for TrackHandles, this not expected to be implimented by client side code
  357. </summary>
  358. </member>
  359. <member name="M:Xamarin.ITrackHandle.Start">
  360. <summary>
  361. Starts the TrackTime handle
  362. </summary>
  363. </member>
  364. <member name="M:Xamarin.ITrackHandle.Stop">
  365. <summary>
  366. Stops the TrackTime handle
  367. </summary>
  368. </member>
  369. <member name="P:Xamarin.ITrackHandle.Data">
  370. <summary>
  371. the key value traits list associated with this TrackTime event
  372. </summary>
  373. </member>
  374. </members>
  375. </doc>