public void SetEnvironment(mParticle.Environment environment) { mp.Call( "setEnvironment", new object[] { toUtils.ConvertToMpEnvironment(environment) } ); }
internal AndroidJavaObject ConvertToMpEnvironment(mParticle.Environment environment) { return(environmentClass.CallStatic <AndroidJavaObject>("valueOf", environment.ToString())); }