/// <summary> /// Register a orientation source /// </summary> /// <param name="source">The source to register</param> /// <returns>if the source was registered</returns> protected override bool RegisterOrientationReceiver(IOrientationSource source) { if (source != null) { this.localizer.AddOrientationSource(source); return(true); } return(false); }
/// <summary> /// Add a orientation source to the receiver. /// </summary> /// <param name="source">The source from which data can be extracted.</param> public void AddOrientationSource(IOrientationSource source) { this.orientationFilter.AddOrientationSource(source); }
/// <summary> /// Add a orientation source to the receiver. /// </summary> /// <param name="source">The source from which data can be extracted.</param> public void AddOrientationSource(IOrientationSource source) { this.orientationSources.Add(source); }
/// <summary> /// Register a orientation source /// </summary> /// <param name="source">The source to register</param> /// <returns>if the source was registered</returns> protected abstract bool RegisterOrientationReceiver(IOrientationSource source);