endSessionCopy URLendSession(): MeasurementProtocolForces the current session to end with this hit. All other values are ignored.Returnstype:MeasurementProtocol