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

# &lt;init&gt;

`AutoPushSubscription(scope: `[`PushScope`](../-push-scope.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)`, appServerKey: `[`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.

