Packagecom.tuarua.firebase
Classpublic class Crashlytics
InheritanceCrashlytics Inheritance flash.events.EventDispatcher



Public Properties
 PropertyDefined 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
Public Methods
 MethodDefined By
  
Crashlytics
  
crash():void
The easiest way to cause a crash - great for testing!
Crashlytics
  
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
Property Detail
enabledproperty
enabled:Boolean

This Boolean enables or disables logging. The default value is true.


Implementation
    public static function get enabled():Boolean
    public static function set enabled(value:Boolean):void
userIdproperty 
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.


Implementation
    public function set userId(value:String):void
Constructor Detail
Crashlytics()Constructor
public function Crashlytics()



Method Detail
crash()method
public function crash():void

The easiest way to cause a crash - great for testing!

didCrashOnPreviousExecution()method 
public function didCrashOnPreviousExecution():Boolean

Returns
Boolean
dispose()method 
public static function dispose():void

Disposes the ANE

log()method 
public function log(message:String):void

This 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):void

This 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:*):void

Parameters

key:String
 
value:*