Show / Hide Table of Contents

Interface IEmbraceProvider

Namespace: EmbraceSDK
Assembly: cs.temp.dll.dll
Syntax
public interface IEmbraceProvider

Methods

AddSessionProperty(String, String, Boolean)

Declaration
bool AddSessionProperty(string key, string value, bool permanent)
Parameters
Type Name Description
System.String key
System.String value
System.Boolean permanent
Returns
Type Description
System.Boolean

ClearAllUserPersonas()

Declaration
void ClearAllUserPersonas()

ClearUserAsPayer()

Declaration
void ClearUserAsPayer()

ClearUserEmail()

Declaration
void ClearUserEmail()

ClearUserIdentifier()

Declaration
void ClearUserIdentifier()

ClearUsername()

Declaration
void ClearUsername()

ClearUserPersona(String)

Declaration
void ClearUserPersona(string persona)
Parameters
Type Name Description
System.String persona

Crash()

Declaration
void Crash()

EnableDebugLogging()

Declaration
void EnableDebugLogging()

EndAppStartup(Dictionary<String, String>)

Declaration
void EndAppStartup(Dictionary<string, string> properties)
Parameters
Type Name Description
System.Collections.Generic.Dictionary<System.String, System.String> properties

EndMoment(String, String, Dictionary<String, String>)

Declaration
void EndMoment(string name, string identifier, Dictionary<string, string> properties)
Parameters
Type Name Description
System.String name
System.String identifier
System.Collections.Generic.Dictionary<System.String, System.String> properties

EndSession(Boolean)

Declaration
void EndSession(bool clearUserInfo)
Parameters
Type Name Description
System.Boolean clearUserInfo

EndView(String)

Declaration
bool EndView(string name)
Parameters
Type Name Description
System.String name
Returns
Type Description
System.Boolean

GetDeviceId()

Declaration
string GetDeviceId()
Returns
Type Description
System.String

GetSessionProperties()

Declaration
Dictionary<string, string> GetSessionProperties()
Returns
Type Description
System.Collections.Generic.Dictionary<System.String, System.String>

InitializeSDK()

Called automatically on awake. Does not start any monitoring or network calls.

Declaration
void InitializeSDK()

LogBreadcrumb(String)

Declaration
void LogBreadcrumb(string message)
Parameters
Type Name Description
System.String message

LogMessage(String, EMBSeverity, Dictionary<String, String>, Boolean)

Declaration
void LogMessage(string message, EMBSeverity severity, Dictionary<string, string> properties, bool allowScreenshot)
Parameters
Type Name Description
System.String message
EMBSeverity severity
System.Collections.Generic.Dictionary<System.String, System.String> properties
System.Boolean allowScreenshot

LogNetworkRequest(String, HTTPMethod, Int64, Int64, Int32, Int32, Int32, String)

Declaration
void LogNetworkRequest(string url, HTTPMethod method, long startms, long endms, int bytesin, int bytesout, int code, string error)
Parameters
Type Name Description
System.String url
HTTPMethod method
System.Int64 startms
System.Int64 endms
System.Int32 bytesin
System.Int32 bytesout
System.Int32 code
System.String error

logUnhandledUnityException(String, String)

Declaration
void logUnhandledUnityException(string exceptionMessage, string stack)
Parameters
Type Name Description
System.String exceptionMessage
System.String stack

RemoveSessionProperty(String)

Declaration
void RemoveSessionProperty(string key)
Parameters
Type Name Description
System.String key

SetMetaData(String, String)

Declaration
void SetMetaData(string version, string guid)
Parameters
Type Name Description
System.String version
System.String guid

SetUserAsPayer()

Declaration
void SetUserAsPayer()

SetUserEmail(String)

Declaration
void SetUserEmail(string email)
Parameters
Type Name Description
System.String email

SetUserIdentifier(String)

Declaration
void SetUserIdentifier(string identifier)
Parameters
Type Name Description
System.String identifier

SetUsername(String)

Declaration
void SetUsername(string username)
Parameters
Type Name Description
System.String username

SetUserPersona(String)

Declaration
void SetUserPersona(string persona)
Parameters
Type Name Description
System.String persona

StartMoment(String, String, Boolean, Dictionary<String, String>)

Declaration
void StartMoment(string name, string identifier, bool allowScreenshot, Dictionary<string, string> properties)
Parameters
Type Name Description
System.String name
System.String identifier
System.Boolean allowScreenshot
System.Collections.Generic.Dictionary<System.String, System.String> properties

StartSDK(Boolean)

Declaration
void StartSDK(bool enableIntegrationTesting)
Parameters
Type Name Description
System.Boolean enableIntegrationTesting

StartView(String)

Declaration
bool StartView(string name)
Parameters
Type Name Description
System.String name
Returns
Type Description
System.Boolean
In This Article
Back to top Generated by DocFX