-
- All Implemented Interfaces:
-
com.bugsnag.android.JsonStream.Streamable
public class Breadcrumb implements JsonStream.Streamable
-
-
Method Summary
Modifier and Type Method Description voidsetMessage(@NonNull() String message)Sets the description of the breadcrumb StringgetMessage()Gets the description of the breadcrumb voidsetType(@NonNull() BreadcrumbType type)Sets the type of breadcrumb left - one of those enabled in getEnabledBreadcrumbTypes BreadcrumbTypegetType()Gets the type of breadcrumb left - one of those enabled in getEnabledBreadcrumbTypes voidsetMetadata(@Nullable() Map<String, Object> metadata)Sets diagnostic data relating to the breadcrumb Map<String, Object>getMetadata()Gets diagnostic data relating to the breadcrumb DategetTimestamp()The timestamp that the breadcrumb was left voidtoStream(@NonNull() JsonStream stream)-
-
Method Detail
-
setMessage
void setMessage(@NonNull() String message)
Sets the description of the breadcrumb
-
getMessage
@NonNull() String getMessage()
Gets the description of the breadcrumb
-
setType
void setType(@NonNull() BreadcrumbType type)
Sets the type of breadcrumb left - one of those enabled in getEnabledBreadcrumbTypes
-
getType
@NonNull() BreadcrumbType getType()
Gets the type of breadcrumb left - one of those enabled in getEnabledBreadcrumbTypes
-
setMetadata
void setMetadata(@Nullable() Map<String, Object> metadata)
Sets diagnostic data relating to the breadcrumb
-
getMetadata
@Nullable() Map<String, Object> getMetadata()
Gets diagnostic data relating to the breadcrumb
-
getTimestamp
@NonNull() Date getTimestamp()
The timestamp that the breadcrumb was left
-
toStream
void toStream(@NonNull() JsonStream stream)
-
-
-
-