## uni.onMemoryWarning(UTSCallback) @onmemorywarning

<!-- UTSAPIJSON.onMemoryWarning.description -->

<!-- UTSAPIJSON.onMemoryWarning.compatibility -->

<!-- UTSAPIJSON.onMemoryWarning.param -->

<!-- UTSAPIJSON.onMemoryWarning.returnValue -->

<!-- UTSAPIJSON.onMemoryWarning.tutorial -->

## uni.offMemoryWarning(callback?) @offmemorywarning

<!-- UTSAPIJSON.offMemoryWarning.description -->

<!-- UTSAPIJSON.offMemoryWarning.compatibility -->

<!-- UTSAPIJSON.offMemoryWarning.param -->

<!-- UTSAPIJSON.offMemoryWarning.returnValue -->

<!-- UTSAPIJSON.offMemoryWarning.tutorial -->

<!-- UTSAPIJSON.general_type.name -->

<!-- UTSAPIJSON.general_type.param -->
