# Interface PushTransport.Callback

Enclosing interface:
  `PushTransport`

public static interface PushTransport.Callback

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `failed(PushError error)`
  `void`
  `message(String envelopeJson)`
  `void`
  `registered(PushSubscription subscription)`
  `void`
  `unregistered()`

- ## Method Details

  - ### registered

    void registered(PushSubscription subscription)

  - ### unregistered

    void unregistered()

  - ### message

    void message(String envelopeJson)

  - ### failed

    void failed(PushError error)