// Private instance methods

        /// <summary>
        /// Procedural abstraction used to setup event handlers for the OnceUX plugin.
        /// </summary>
        private void registerEventHandlers()
        {
            // Handle the case where the ad data URL has not been supplied to the plugin.
            EventEmitter eventEmitter = brightcoveVideoView.EventEmitter;

            eventEmitter.on(OnceUxEventType.NO_AD_DATA_URL, new EventListenerAnonymousInnerClassHelper(this));
        }
		protected internal override void onCreate(Bundle savedInstanceState)
		{
			// When extending the BrightcovePlayer, we must assign the BrightcoveVideoView
			// before entering the superclass. This allows for some stock video player lifecycle
			// management.
			ContentView = R.layout.omniture_activity_main;
			brightcoveVideoView = (BrightcoveVideoView) findViewById(R.id.brightcove_video_view);
			base.onCreate(savedInstanceState);

			eventEmitter = brightcoveVideoView.EventEmitter;

			setupOmniture();

			// Add a test video to the BrightcoveVideoView.
			Catalog catalog = new Catalog("ErQk9zUeDVLIp8Dc7aiHKq8hDMgkv5BFU7WGshTc-hpziB3BuYh28A..");
			catalog.findPlaylistByReferenceID("stitch", new PlaylistListenerAnonymousInnerClassHelper(this));
		}
        protected internal override void onCreate(Bundle savedInstanceState)
        {
            // When extending the BrightcovePlayer, we must assign the BrightcoveVideoView
            // before entering the superclass. This allows for some stock video player lifecycle
            // management.
            ContentView         = R.layout.omniture_activity_main;
            brightcoveVideoView = (BrightcoveVideoView)findViewById(R.id.brightcove_video_view);
            base.onCreate(savedInstanceState);

            eventEmitter = brightcoveVideoView.EventEmitter;

            setupOmniture();

            // Add a test video to the BrightcoveVideoView.
            Catalog catalog = new Catalog("ErQk9zUeDVLIp8Dc7aiHKq8hDMgkv5BFU7WGshTc-hpziB3BuYh28A..");

            catalog.findPlaylistByReferenceID("stitch", new PlaylistListenerAnonymousInnerClassHelper(this));
        }