// An interface that provides the means to access field trials. // // A FieldTrialsView is guaranteed to be immutable, // // Note that there are no guarantess that the meaning of a particular key-value // mapping will be preserved over time and no announcements will be made if they // are changed. It's up to the library user to ensure that the behavior does not // break. class RTC_EXPORT FieldTrialsView { public: virtual ~FieldTrialsView() = default;
// Returns the configured value for `key` or an empty string if the field // trial isn't configured. virtual std::string Lookup(absl::string_view key) const = 0;
// Create a copy of this view. // // This method can't be pure virtual, due to downstream projects // but that is fine since they won't use the method...if they // implement their own FieldTrialsView. virtual std::unique_ptr<FieldTrialsView> CreateCopy() const {
RTC_CHECK_NOTREACHED(); return nullptr;
}
};
} // namespace webrtc
#endif// API_FIELD_TRIALS_VIEW_H_
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.13 Sekunden
(vorverarbeitet am 2026-08-27)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.