| Package | com.tuarua.firebase |
| Class | public class Crashlytics |
| Inheritance | Crashlytics flash.events.EventDispatcher |
| Property | Defined By | ||
|---|---|---|---|
| enabled : Boolean [static]
This Boolean enables or disables logging. | Crashlytics | ||
| userId : String [write-only]
Specify a user identifier which will be visible in the Crashlytics UI. | Crashlytics | ||
| Method | Defined By | ||
|---|---|---|---|
| Crashlytics | |||
crash():void
The easiest way to cause a crash - great for testing!
| Crashlytics | ||
didCrashOnPreviousExecution():Boolean | Crashlytics | ||
dispose():void [static] Disposes the ANE | Crashlytics | ||
log(message:String):void
This method can be used to record a non-fatal error message. | Crashlytics | ||
recordException(error:Error):void
This method can be used to record a single exception structure in a report. | Crashlytics | ||
setCustomKey(key:String, value:*):void | Crashlytics | ||
| enabled | property |
enabled:BooleanThis Boolean enables or disables logging. The default value is true.
public static function get enabled():Boolean public static function set enabled(value:Boolean):void| userId | property |
userId:String [write-only] Specify a user identifier which will be visible in the Crashlytics UI. Many of our customers have requested the ability to tie crashes to specific end-users of their application in order to facilitate responses to support requests or permit the ability to reach out for more information. We allow you to specify up to three separate values for display within the Crashlytics UI - but please be mindful of your end-user's privacy. We recommend specifying a user identifier - an arbitrary string that ties an end-user to a record in your system. This could be a database id, hash, or other value that is meaningless to a third-party observer but can be indexed and queried by you. Optionally, you may also specify the end-user's name or username, as well as email address if you do not have a system that works well with obscured identifiers. Pursuant to our EULA, this data is transferred securely throughout our system and we will not disseminate end-user data unless required to by law. That said, if you choose to provide end-user contact information, we strongly recommend that you disclose this in your application's privacy policy. Data privacy is of our utmost concern.
public function set userId(value:String):void| Crashlytics | () | Constructor |
public function Crashlytics()| crash | () | method |
public function crash():voidThe easiest way to cause a crash - great for testing!
| didCrashOnPreviousExecution | () | method |
public function didCrashOnPreviousExecution():BooleanReturnsBoolean |
| dispose | () | method |
public static function dispose():voidDisposes the ANE
| log | () | method |
public function log(message:String):voidThis method can be used to record a non-fatal error message. Android Only.
Parameters
message:String — The message
|
| recordException | () | method |
public function recordException(error:Error):voidThis method can be used to record a single exception structure in a report.
Parameters
error:Error — The custom Error
|
| setCustomKey | () | method |
public function setCustomKey(key:String, value:*):voidParameters
key:String | |
value:* |