public void PermissionsGranted(int responseCode) { var intent = new Intent(this, typeof(UrlLauncherActivity)); intent.PutExtra(SimpleArFragment.IntentExtrasKeyExperienceData, ArExperience.Serialize(lastExperience)); StartActivity(intent); }
public void PermissionsGranted(int responseCode) { /* * For ArExperiences that require an interaction of JS and Native code more * advanced Activities will be loaded. * For ArExperiences that don't require any interactions either the SimpleArActivity * or the SimpleGeoArActivity are loaded. Those activites contain the least amount of * code required to use the Wikitude SDK with the addition of loading the configuarion * form Intent extras. */ var activity = GetActivityForExperience(lastExperience); var intent = new Intent(this, activity); intent.PutExtra(SimpleArActivity.IntentExtrasKeyExperienceData, ArExperience.Serialize(lastExperience)); StartActivity(intent); }