Méthode | Description | |
---|---|---|
Channel ( ) : System |
Initializes a new instance of the Channel class.
|
|
Channel ( ICloudBlobStorageProvider cloudBlobStorage, |
Initializes a new instance of the Channel class.
|
|
DeleteInboxItemAsync ( IronPigeon.Payload payload, |
Deletes the online inbox item that points to a previously downloaded payload. This method should be called after the client application has saved the downloaded payload to persistent storage. |
|
DownloadPayloadAsync ( |
Downloads the message payload referred to by the specified PayloadReference.
|
|
GetVerifiableIdentifiersAsync ( IronPigeon.Endpoint endpoint, |
Gets the set of identifiers this endpoint claims that are verifiable.
|
|
PostAsync ( IronPigeon.Payload message, IReadOnlyCollection |
Sends some payload to a set of recipients.
|
|
PostPayloadAsync ( IronPigeon.Payload message, System.DateTime expiresUtc, IProgress |
Encrypts a message and uploads it to the cloud.
|
|
ReceiveAsync ( bool longPoll = false, IProgress |
Downloads messages from the server.
|
|
RegisterApplePushNotificationAsync ( string deviceToken, |
Registers an iOS application to receive push notifications for incoming messages.
|
|
RegisterGooglePlayPushNotificationAsync ( string googlePlayRegistrationId, |
Registers an Android application to receive push notifications for incoming messages.
|
|
RegisterWinPhonePushNotificationAsync ( |
Registers a Windows 8 application to receive push notifications for incoming messages.
|
|
RegisterWindowsPushNotificationChannelAsync ( string packageSecurityIdentifier, |
Registers a Windows 8 application to receive push notifications for incoming messages.
|
Méthode | Description | |
---|---|---|
DownloadPayloadReferenceAsync ( |
Downloads a PayloadReference that is referenced from an incoming inbox item.
|
|
PostPayloadReferenceAsync ( |
Shares the reference to a message payload with the specified set of recipients.
|
|
PostPayloadReferenceAsync ( |
Shares the reference to a message payload with the specified recipient.
|
Méthode | Description | |
---|---|---|
DeletePayloadReferenceAsync ( |
Deletes an entry from an inbox's incoming item list.
|
|
DownloadIncomingItemsAsync ( bool longPoll, |
Downloads inbox items from the server.
|
|
IsVerifiableIdentifierAsync ( IronPigeon.Endpoint claimingEndpoint, string claimedIdentifier, |
Checks whether the specified identifier yields an endpoint equivalent to this one.
|
|
Log ( string caption, byte buffer ) : void |
Logs a message.
|
public Channel ( ICloudBlobStorageProvider cloudBlobStorage, |
||
cloudBlobStorage | ICloudBlobStorageProvider | The cloud blob storage. |
httpClient | The HTTP client. | |
httpClientLongPoll | The HTTP client long poll. | |
addressBooks | IEnumerable |
The address books. |
Résultat | System |
public DeleteInboxItemAsync ( IronPigeon.Payload payload, |
||
payload | IronPigeon.Payload | The payload whose originating inbox item should be deleted. |
cancellationToken | The cancellation token. | |
Résultat | Task |
public DownloadPayloadAsync ( |
||
notification | The payload reference. | |
cancellationToken | The cancellation token. | |
Résultat | Task |
protected DownloadPayloadReferenceAsync ( |
||
inboxItem | The inbox item that referenced the |
|
cancellationToken | The cancellation token. | |
Résultat | Task |
public GetVerifiableIdentifiersAsync ( IronPigeon.Endpoint endpoint, |
||
endpoint | IronPigeon.Endpoint | The endpoint whose authorized identifiers are to be verified. |
cancellationToken | A general cancellation token on the request. | |
Résultat | Task |
public PostAsync ( IronPigeon.Payload message, IReadOnlyCollection |
||
message | IronPigeon.Payload | The payload to transmit. |
recipients | IReadOnlyCollection |
The recipients to receive the message. |
expiresUtc | System.DateTime | The date after which the message may be destroyed. |
bytesCopiedProgress | IProgress |
Progress in terms of bytes copied. |
cancellationToken | The cancellation token. | |
Résultat | Task |
public PostPayloadAsync ( IronPigeon.Payload message, System.DateTime expiresUtc, IProgress |
||
message | IronPigeon.Payload | The message being transmitted. |
expiresUtc | System.DateTime | The date after which the message may be destroyed. |
bytesCopiedProgress | IProgress |
Receives progress in terms of number of bytes uploaded. |
cancellationToken | The cancellation token. | |
Résultat | Task |
protected PostPayloadReferenceAsync ( |
||
messageReference | The payload reference to share. | |
recipients | IReadOnlyCollection |
The set of recipients that should be notified of the message. |
cancellationToken | The cancellation token. | |
Résultat | Task |
protected PostPayloadReferenceAsync ( |
||
messageReference | The payload reference to share. | |
recipient | IronPigeon.Endpoint | The recipient that should be notified of the message. |
cancellationToken | The cancellation token. | |
Résultat | Task |
public ReceiveAsync ( bool longPoll = false, IProgress |
||
longPoll | bool | |
progress | IProgress |
A callback that receives messages as they are retrieved. |
cancellationToken | A token whose cancellation signals lost interest in the result of this method. | |
Résultat | Task |
public RegisterApplePushNotificationAsync ( string deviceToken, |
||
deviceToken | string | The Apple-assigned device token to use from the cloud to reach this device. |
cancellationToken | The cancellation token. | |
Résultat | Task |
public RegisterGooglePlayPushNotificationAsync ( string googlePlayRegistrationId, |
||
googlePlayRegistrationId | string | The Google Cloud Messaging registration identifier. |
cancellationToken | The cancellation token. | |
Résultat | Task |
public RegisterWinPhonePushNotificationAsync ( |
||
pushNotificationChannelUri | The push notification channel's ChannelUri property. | |
pushContent | string | Content of the push. |
toastLine1 | string | The first line in the toast notification to send. |
toastLine2 | string | The second line in the toast notification to send. |
tileTemplate | string | The tile template used by the client app. |
cancellationToken | The cancellation token. | |
Résultat | Task |
public RegisterWindowsPushNotificationChannelAsync ( string packageSecurityIdentifier, |
||
packageSecurityIdentifier | string | The package security identifier of the app. |
pushNotificationChannelUri | The push notification channel. | |
channelExpiration | System.DateTime | When the channel will expire. |
pushContent | string | Content of the push. |
cancellationToken | The cancellation token. | |
Résultat | Task |