private void SendOutLogoRecognisedEvent(string mTargetName, string mTargetMetadata) { var location = DeviceLocation.GetInstance().GetLocation(); var args = new LogoRecognisedEventArgs { microsite = mTargetName, metadata = mTargetMetadata, latitude = location.latitude, longitude = location.longitude }; OnLogoRecognised(args); }
/// <summary> /// Send out a message that a logo has been recognised /// </summary> protected virtual void OnLogoRecognised(LogoRecognisedEventArgs e) { LogoRecognised?.Invoke(this, e); }