Xamarin.Insights.XML 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369
  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.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. </member>
  76. <member name="T:Xamarin.Insights.HasPendingCrashReportEventHandler">
  77. <summary>
  78. A delegate for the HasPendingCrashReportEventHandler event, you are expected to call Insights.PurgePendingCrashReports() in this method
  79. if you wish for Insights to synchronously send a crash report on startup, otherwise ignore this and insights will send the crash report
  80. in the background.
  81. </summary>
  82. <param name="sender"></param>
  83. <param name="isStartupCrash"></param>
  84. </member>
  85. <member name="E:Xamarin.Insights.HasPendingCrashReport">
  86. <summary>
  87. This event is fired when Insights detects a new pending crash report
  88. </summary>
  89. </member>
  90. <member name="F:Xamarin.Insights.DebugModeKey">
  91. <summary>
  92. Passing this key into <seealso cref="M:Xamarin.Insights.Initialize(System.String,System.Boolean)" /> will enable a silent debug mode in Insights.
  93. Insights will not track, catch exceptions or submit information of any kind.
  94. This is useful if you are trying to debug your application and want Insights to get out of the way.
  95. </summary>
  96. </member>
  97. <member name="P:Xamarin.Insights.IsInitialized">
  98. <summary>
  99. This paramater will return true if Initialize has been successfully called
  100. </summary>
  101. </member>
  102. <member name="T:Xamarin.Insights.CollectionTypes">
  103. <summary>
  104. </summary>
  105. </member>
  106. <member name="P:Xamarin.Insights.DisableCollectionTypes">
  107. <summary>
  108. This paramater allows you to disable certain collection types, they will not be reported to the Insights server.
  109. </summary>
  110. <example>
  111. Insights.DisableCollection = true; // Disables Insights automated behaviors
  112. Insights.DisableDataTransmission = true; // Disables data communication with the webapi
  113. Insights.DisableExceptionCatching = true; // Disables automatic unhandled exception catching
  114. Insights.DisableCollectionTypes = Insights.OSInfo; // Stops Insights from tracking OSInfo
  115. Insights.DisableCollectionTypes = Insights.Jailbroken; // Stops Insights from tracking HardwareInfo
  116. Insights.DisableCollectionTypes = Insights.NetworkInfo; // Stops Insights from tracking NetworkInfo
  117. //Can be combined
  118. Insights.DisableCollectionTypes = Insights.OSInfo | Insights.NetworkInfo; // Stops Insights from tracking OSInfo and NetworkInfo
  119. </example>
  120. </member>
  121. <member name="F:Xamarin.Insights.Traits.Avatar">
  122. <summary>
  123. URL corresponding to the location of the users avatar
  124. </summary>
  125. </member>
  126. <member name="F:Xamarin.Insights.Traits.DateOfBirth">
  127. <summary>
  128. Use Date.ToString('o'); to encode the users date of birth
  129. </summary>
  130. </member>
  131. <member name="F:Xamarin.Insights.Traits.CreatedAt">
  132. <summary>
  133. Use Date.ToString('o'); to encode the date the user created the account
  134. </summary>
  135. </member>
  136. <member name="P:Xamarin.Insights.DisableCollection">
  137. <summary>
  138. DisableCollection allows you to disable Insights at run time, it will not collect information, it will not submit
  139. information, any information it has collected will be preserved.
  140. Crash reporting is also disabled if this flag is set, use at your own risk.
  141. </summary>
  142. </member>
  143. <member name="P:Xamarin.Insights.DisableDataTransmission">
  144. <summary>
  145. DisableDataTransmission allows you to disable any use of data communication by Insights, when this value is set to True
  146. Insights will just gather data and not send any data.
  147. </summary>
  148. </member>
  149. <member name="P:Xamarin.Insights.DisableExceptionCatching">
  150. <summary>
  151. DisableExceptionCatching disables any automatic unhandled exception handling in Insights.
  152. Use this if you wish to catch exceptions yourself and .Report() them to insights at your leisure
  153. </summary>
  154. </member>
  155. <member name="P:Xamarin.Insights.ForceDataTransmission">
  156. <summary>
  157. Setting this property to true will force Insights to submit data to the server regardless of the network state
  158. </summary>
  159. </member>
  160. <member name="M:Xamarin.Insights.Identify(System.String,System.Collections.Generic.IDictionary{System.String,System.String})">
  161. <summary>
  162. Identify is used to identify your users with unique information, this also allows Insights to attach other reports
  163. to this user.
  164. </summary>
  165. <seealso cref="M:Xamarin.Insights.Identify(System.String,System.String,System.String)" />
  166. <param name="uid">
  167. The unique identifier for this user, this can be whatever string you like as long as it is unique for
  168. that user, using DeviceIDs and such is not recommended, those are only unique to devices
  169. </param>
  170. <param name="table">A Generic table of information you would like to associate with this user.</param>
  171. <example>
  172. This sample shows how to call the method with a table of data
  173. <code>
  174. var manyInfos = new Dictionary&lt;string, string&gt;{
  175. {"Email", "njpatel@catfacts.com"},
  176. {"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."}
  177. }
  178. Insights.Identify("YourUsersUniqueId", manyInfos);
  179. </code>
  180. </example>
  181. </member>
  182. <member name="M:Xamarin.Insights.Identify(System.String,System.String,System.String)">
  183. <summary>
  184. Identify is used to identify your users with unique information, this also allows Insights to attach other reports
  185. to this user.
  186. This method is a shorthand version of Identify(string, IDictionary) in that it essentially represents
  187. a table with one value
  188. </summary>
  189. <param name="uid">
  190. The unique identifier for this user, this can be whatever string you like as long as it is unique for
  191. that user, using DeviceIDs and such is not recommended, those are only unique to devices
  192. </param>
  193. <param name="key">The key representing a key/value storage type.</param>
  194. <param name="value">The value representing a key/value storage type.</param>
  195. <example>
  196. This sample shows how to call the <see cref="M:Xamarin.Insights.Identify(System.String,System.String,System.String)" /> method with a key/value.
  197. <code>
  198. Insights.Identify("YourUsersUniqueId", "Email", "njpatel@catfacts.com");
  199. </code>
  200. </example>
  201. </member>
  202. <member name="M:Xamarin.Insights.Track(System.String,System.Collections.Generic.IDictionary{System.String,System.String})">
  203. <summary>
  204. Track allows you to track usage of your application and add additional data to each event
  205. </summary>
  206. <param name="trackIdentifier">A unique name for this event</param>
  207. <param name="table">
  208. An optional key/value store representing additional data that you would like to attach to this
  209. event
  210. </param>
  211. </member>
  212. <member name="M:Xamarin.Insights.Track(System.String,System.String,System.String)">
  213. <summary>
  214. Track allows you to track usage of your application and add additional data to each event
  215. </summary>
  216. <param name="trackIdentifier">A unique name for this event</param>
  217. <param name="key">A trait for this track event, key value form of the Dictionary varient</param>
  218. <param name="value">Value for the given trait, key value form of the Dictionary varient</param>
  219. </member>
  220. <member name="M:Xamarin.Insights.TrackTime(System.String,System.Collections.Generic.IDictionary{System.String,System.String})">
  221. <summary>
  222. TrackTime allows you to track events that make take an amount of time to complete. For example measuring how long
  223. it takes to submit login information to a remote server.
  224. </summary>
  225. <param name="identifier">A unique identifier name for this event</param>
  226. <param name="table"></param>
  227. <returns>a handler object that allows you to start and stop the built in timer.</returns>
  228. <example>
  229. This shows how to use this method with a using keyword
  230. <code>
  231. using (var handle = Insights.TrackTime("TimeToLogin")) {
  232. await SubmitLoginInformation("myuserid", "mypassword");
  233. ... more code goes here ...
  234. }
  235. </code>
  236. If you do not wish to use the using keyword or want to track events in more complex scenarios you can use the Start
  237. and Stop methods on the handle object
  238. <code>
  239. var handle = Insights.TrackTime("TimeToLogin");
  240. handle.Start();
  241. await SubmitLoginInformation("myuserid", "mypassword");
  242. ... more code goes here ...
  243. handle.Stop();
  244. </code>
  245. </example>
  246. </member>
  247. <member name="M:Xamarin.Insights.TrackTime(System.String,System.String,System.String)">
  248. <summary>
  249. TrackTime allows you to track events that make take an amount of time to complete. For example measuring how long
  250. it takes to submit login information to a remote server.
  251. </summary>
  252. <param name="identifier">A unique identifer name for this event</param>
  253. <param name="key"></param>
  254. <param name="value"></param>
  255. <returns>a handler object that allows you to start and stop the built in timer.</returns>
  256. <example>
  257. This shows how to use this method with a using keyword
  258. <code>
  259. using (var handle = Insights.TrackTime("TimeToLogin")) {
  260. await SubmitLoginInformation("myuserid", "mypassword");
  261. ... more code goes here ...
  262. }
  263. </code>
  264. If you do not wish to use the using keyword or want to track events in more complex scenarios you can use the Start
  265. and Stop methods on the handle object
  266. <code>
  267. var handle = Insights.TrackTime("TimeToLogin");
  268. handle.Start();
  269. await SubmitLoginInformation("myuserid", "mypassword");
  270. ... more code goes here ...
  271. handle.Stop();
  272. </code>
  273. </example>
  274. </member>
  275. <member name="T:Xamarin.Insights.Severity">
  276. <summary>
  277. Describes the Severity of a Report
  278. </summary>
  279. </member>
  280. <member name="F:Xamarin.Insights.Severity.Warning">
  281. <summary>
  282. Warning Severity
  283. </summary>
  284. </member>
  285. <member name="F:Xamarin.Insights.Severity.Error">
  286. <summary>
  287. Error Severity, you are not expected to call this from client side code unless you have disabled unhandled exception handling.
  288. </summary>
  289. </member>
  290. <member name="F:Xamarin.Insights.Severity.Critical">
  291. <summary>
  292. Critical Severity
  293. </summary>
  294. </member>
  295. <member name="M:Xamarin.Insights.Report(System.Exception,Xamarin.Insights.Severity)">
  296. <summary>
  297. Report allows you to report exceptions to Insights when they are caught, this allows you to track exceptions
  298. without crashing.
  299. </summary>
  300. <param name="exception">an Exception data type, you can also attach extra data to the .Data paramater of the exception</param>
  301. <param name="warningLevel">A warning level for the given report, can be ReportSeverity.Warning or ReportSeverity.Error</param>
  302. <example>
  303. This sample shows how to call the Report method.
  304. <code>
  305. try {
  306. ExceptionThrowingFunction();
  307. }
  308. catch (Exception exception) {
  309. exception.Data["This is some extra data"] = "A cat's field of vision is about 200 degrees."
  310. Insights.Report(exception);
  311. }
  312. </code>
  313. </example>
  314. </member>
  315. <member name="M:Xamarin.Insights.Report(System.Exception,System.Collections.IDictionary,Xamarin.Insights.Severity)">
  316. <summary>
  317. An overload of Report, this allows you to specify extra data to be sent with the exception.
  318. </summary>
  319. <param name="exception">The Exception you want to report</param>
  320. <param name="extraData">A Dictionary containing key/values that you want to report along with the exception</param>
  321. <param name="warningLevel">A warning level for the given report, can be ReportSeverity.Warning or ReportSeverity.Error</param>
  322. </member>
  323. <member name="M:Xamarin.Insights.Report(System.Exception,System.String,System.String,Xamarin.Insights.Severity)">
  324. <summary>
  325. An overload of Report, this allows you to specify a single key/value pair of extra data to be sent with the exception
  326. </summary>
  327. <param name="exception">The Exception you want to report</param>
  328. <param name="warningLevel">A warning level for the given report, can be ReportSeverity.Warning or ReportSeverity.Error</param>
  329. <param name="key"></param>
  330. <param name="value"></param>
  331. </member>
  332. <member name="M:Xamarin.Insights.Save">
  333. <summary>
  334. 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.
  335. 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.
  336. </summary>
  337. <returns>Returns a task, it is recommended that you await this task.</returns>
  338. </member>
  339. <member name="M:Xamarin.Insights.PurgePendingCrashReports">
  340. <summary>
  341. Purges any pending crash reports. This is only ever intended to be used when Insights notifies you that there are pending crash reports.
  342. </summary>
  343. <returns>A Task that should be awaited until it has completed, signifying that the crash reports have been delivered to insights web.</returns>
  344. </member>
  345. <member name="T:Xamarin.ITrackHandle">
  346. <summary>
  347. Interface for TrackHandles, this not expected to be implimented by client side code
  348. </summary>
  349. </member>
  350. <member name="M:Xamarin.ITrackHandle.Start">
  351. <summary>
  352. Starts the TrackTime handle
  353. </summary>
  354. </member>
  355. <member name="M:Xamarin.ITrackHandle.Stop">
  356. <summary>
  357. Stops the TrackTime handle
  358. </summary>
  359. </member>
  360. <member name="P:Xamarin.ITrackHandle.Data">
  361. <summary>
  362. the key value traits list associated with this TrackTime event
  363. </summary>
  364. </member>
  365. </members>
  366. </doc>