[android-components](../../index.md) / [mozilla.components.feature.push](../index.md) / [AutoPushSubscription](index.md) / [&lt;init&gt;](./-init-.md)

# &lt;init&gt;

`AutoPushSubscription(type: `[`PushType`](../-push-type/index.md)`, endpoint: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`, publicKey: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`, authKey: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`)`

The subscription information from Autopush that can be used to send push messages to other devices.

