// Enables/disables location support for banners and interstitials
    public static void setLocationAwareness(MoPubLocationAwareness locationAwareness)
    {
        if (Application.platform != RuntimePlatform.Android)
        {
            return;
        }

        _pluginClass.CallStatic("setLocationAwareness", locationAwareness.ToString());
    }
示例#2
0
    // Enables/disables location support for banners and interstitials
    public static void setLocationAwareness( MoPubLocationAwareness locationAwareness )
    {
        if( Application.platform != RuntimePlatform.Android )
            return;

        _plugin.Call( "setLocationAwareness", locationAwareness.ToString() );
    }