public extern virtual sap.m.App attachOrientationChange(sap.m.App.AppOrientationChangeDelegate fnFunction);
public extern virtual sap.m.App detachOrientationChange(sap.m.App.AppOrientationChangeDelegate fnFunction, object oListener);
/// <summary> /// Attaches event handler <code>fnFunction</code> to the {@link #event:orientationChange orientationChange} event of this <code>sap.m.SplitApp</code>. /// /// When called, the context of the event handler (its <code>this</code>) will be bound to <code>oListener</code> if specified, otherwise it will be bound to this <code>sap.m.SplitApp</code> itself. /// /// Fires when orientation (portrait/landscape) is changed. /// </summary> /// <param name="oData">An application-specific payload object that will be passed to the event handler along with the event object when firing the event</param> /// <param name="fnFunction">The function to be called when the event occurs</param> /// <returns>Reference to <code>this</code> in order to allow method chaining</returns> public extern virtual sap.m.SplitApp attachOrientationChange(object oData, sap.m.App.AppOrientationChangeDelegate fnFunction);