Syntax
Java
NewRelic.shutdown()Kotlin
NewRelic.shutdown()Description
This API provides the ability to shut down the agent within the current application lifecycle during runtime. Once the agent has shut down, it cannot be restarted within the current application lifecycle.
Example
Java
NewRelic.shutdown()Kotlin
NewRelic.shutdown()Syntax
Objective-c
+ (void) shutdown();Swift
NewRelic.shutdown() -> VoidDescription
This API provides the ability to shut down the agent within the current application lifecycle during runtime. Once the agent has shut down, it cannot be restarted within the current application lifecycle.
Examples
Objective-C
[NewRelic shutdown];Swift
NewRelic.shutdown()Syntax
shutdown(options?: {} | undefined) => voidDescription
Shut down the agent within the current application lifecycle during runtime.
Example
NewRelicCapacitorPlugin.shutdown();Syntax
shutdown() : void;Description
Shut down the agent within the current application lifecycle during runtime.
Example
NewRelic.shutdown();Syntax
Shutdown() : voidDescription
Shut down the agent within the current application lifecycle during runtime.
Example
CrossNewRelic.Current.Shutdown());Syntax
shutdown() : void;Description
Shut down the agent within the current application lifecycle during runtime.
Example
NewRelic.shutdown();Syntax
shutdown(): void;Description
Shut down the agent within the current application lifecycle during runtime.
Example
UNewRelicBPLibrary::shutdown();;Syntax
Shutdown(): void;Description
Shut down the agent within the current application lifecycle during runtime.
Example
CrossNewRelicClient.Current.Shutdown();