Use this API to stop listening for memory warning events that were registered with my.onMemoryWarning().
Parameters
Code Example
Remove All Listeners
Remove Specific Listener
Conditional Memory Monitoring
Pass the same callback function reference to my.offMemoryWarning() that was used with my.onMemoryWarning() to remove only that specific listener.
my.onMemoryWarning
Listen for memory warnings