Deprecate custom view methods in CordovaWebView.

They are just helper methods that plugins should just be implementing
for themselves.
This commit is contained in:
Andrew Grieve 2015-02-19 10:33:06 -05:00
parent 804dcac12f
commit de4d7cd10d

View File

@ -77,10 +77,22 @@ public interface CordovaWebView {
void showWebPage(String errorUrl, boolean b, boolean c, Map<String, Object> params); void showWebPage(String errorUrl, boolean b, boolean c, Map<String, Object> params);
/**
* Deprecated in 4.0.0. Use your own View-toggling logic.
*/
@Deprecated
boolean isCustomViewShowing(); boolean isCustomViewShowing();
/**
* Deprecated in 4.0.0. Use your own View-toggling logic.
*/
@Deprecated
void showCustomView(View view, CustomViewCallback callback); void showCustomView(View view, CustomViewCallback callback);
/**
* Deprecated in 4.0.0. Use your own View-toggling logic.
*/
@Deprecated
void hideCustomView(); void hideCustomView();
CordovaResourceApi getResourceApi(); CordovaResourceApi getResourceApi();