resumeSlider method
Resumes the currently displayed slider ad.
Implementation
Future<void> resumeSlider() async {
try {
await MethodHandler.invokeNativeMethod("sliderAdViewResume");
} on OsmosException {
rethrow;
} catch (e) {
throw OsmosException(
errorCode: OsmosErrorCodes.pipAdError,
details: 'Failed to resume slider ad: ${e.toString()}',
nativeError: e,
);
}
}