EnglishReferenceRepositories
PushRepository v1.0.0
Methods for one API section.
Description: Methods for one API section.
Namespace: DevCraftClub\MyShows\Repository
Since: 1.0.0
See also:
Methods
registerTokenIOS(string $token, ?string $idfa = null): PushTokenResponse
Description: Calls push.RegisterTokenIOS.
| Parameter | Type | Description |
|---|---|---|
$token | string | — |
$idfa | ?string | — Default: null. |
Returns: PushTokenResponse
registerTokenAndroid(string $token, ?string $gaid = null): PushTokenResponse
Description: Calls push.RegisterTokenAndroid.
| Parameter | Type | Description |
|---|---|---|
$token | string | — |
$gaid | ?string | — Default: null. |
Returns: PushTokenResponse
registerTokenWeb(string $token): PushTokenResponse
Description: Calls push.RegisterTokenWeb.
| Parameter | Type | Description |
|---|---|---|
$token | string | — |
Returns: PushTokenResponse
sendTestAndroid(string $pushType = 'achievement'): PushTokenResponse
Description: Calls push.SendTestAndroid.
| Parameter | Type | Description |
|---|---|---|
$pushType | string | — Default: 'achievement'. |
Returns: PushTokenResponse
sendTestIOS(string $pushType = 'achievement'): PushTokenResponse
Description: Calls push.SendTestIOS.
| Parameter | Type | Description |
|---|---|---|
$pushType | string | — Default: 'achievement'. |
Returns: PushTokenResponse