Interface InMobiNative.LockScreenListener

  • All Implemented Interfaces:

    
    public interface InMobiNative.LockScreenListener
    
                        

    A listener for receiving lock screen events during the lifecycle of a native ad.

    Register this listener only if your app renders native ads on the lock screen. This interface provides callbacks for handling user interactions that require unlocking the device.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Unit onActionRequired(InMobiNative nativeAd) Called to notify the lock screen that some action is required.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • onActionRequired

         abstract Unit onActionRequired(InMobiNative nativeAd)

        Called to notify the lock screen that some action is required.

        After this callback, the lock screen app should prompt for keyguard dismissal. On dismissal of the keyguard, the app should call takeAction to complete the action.

        Parameters:
        nativeAd - The native ad instance for which the callback is generated