ParsePush MethodsParse

The ParsePush type exposes the following members.

Methods

  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberPushJson(ILaunchActivatedEventArgs)
Helper method to extract the full Push JSON provided to Parse, including any non-visual custom information. Overloads exist for all data types which may be provided by Windows, I.E. LaunchActivatedEventArgs and PushNotificationReceivedEventArgs. Returns an empty dictionary if this push type cannot include non-visual data or this event was not triggered by a push.
Public methodStatic memberPushJson(PushNotificationReceivedEventArgs)
Helper method to extract the full Push JSON provided to Parse, including any non-visual custom information. Overloads exist for all data types which may be provided by Windows, I.E. LaunchActivatedEventArgs and PushNotificationReceivedEventArgs. Returns an empty dictionary if this push type cannot include non-visual data or this event was not triggered by a push.
Public methodStatic memberSendAlertAsync(String)
Pushes a simple message to every device. This is shorthand for:
var push = new ParsePush();
push.Data = new Dictionary<string, object>{{"alert", alert}};
return push.SendAsync();
Public methodStatic memberSendAlertAsync(String, ParseQueryParseInstallation)
Pushes a simple message to every device matching the target query. This is shorthand for:
var push = new ParsePush();
push.Query = query;
push.Data = new Dictionary<string, object>{{"alert", alert}};
return push.SendAsync();
Public methodStatic memberSendAlertAsync(String, IEnumerableString)
Pushes a simple message to every device subscribed to any of channels. This is shorthand for:
var push = new ParsePush();
push.Channels = channels;
push.Data = new Dictionary<string, object>{{"alert", alert}};
return push.SendAsync();
Public methodStatic memberSendAlertAsync(String, String)
Pushes a simple message to every device subscribed to channel. This is shorthand for:
var push = new ParsePush();
push.Channels = new List<string> { channel };
push.Data = new Dictionary<string, object>{{"alert", alert}};
return push.SendAsync();
Public methodSendAsync
Request a push to be sent. When this task completes, Parse has successfully acknowledged a request to send push notifications but has not necessarily finished sending all notifications requested. The current status of recent push notifications can be seen in your Push Notifications console on http://parse.com
Public methodSendAsync(CancellationToken)
Request a push to be sent. When this task completes, Parse has successfully acknowledged a request to send push notifications but has not necessarily finished sending all notifications requested. The current status of recent push notifications can be seen in your Push Notifications console on http://parse.com
Public methodStatic memberSendDataAsync(IDictionaryString, Object)
Pushes an arbitrary payload to every device. This is shorthand for:
var push = new ParsePush();
push.Data = data;
return push.SendAsync();
Public methodStatic memberSendDataAsync(IDictionaryString, Object, ParseQueryParseInstallation)
Pushes an arbitrary payload to every device matching target. This is shorthand for:
var push = new ParsePush();
push.Query = query
push.Data = data;
return push.SendAsync();
Public methodStatic memberSendDataAsync(IDictionaryString, Object, IEnumerableString)
Pushes an arbitrary payload to every device subscribed to any of channels. This is shorthand for:
var push = new ParsePush();
push.Channels = channels;
push.Data = data;
return push.SendAsync();
Public methodStatic memberSendDataAsync(IDictionaryString, Object, String)
Pushes an arbitrary payload to every device subscribed to channel. This is shorthand for:
var push = new ParsePush();
push.Channels = new List<string> { channel };
push.Data = data;
return push.SendAsync();
Public methodStatic memberSubscribeAsync(IEnumerableString)
Subscribe the current installation to these channels. This is shorthand for:
var installation = ParseInstallation.CurrentInstallation;
installation.AddRangeUniqueToList("channels", channels);
installation.SaveAsync();
Public methodStatic memberSubscribeAsync(String)
Subscribe the current installation to this channel. This is shorthand for:
var installation = ParseInstallation.CurrentInstallation;
installation.AddUniqueToList("channels", channel);
installation.SaveAsync();
Public methodStatic memberSubscribeAsync(IEnumerableString, CancellationToken)
Subscribe the current installation to these channels. This is shorthand for:
var installation = ParseInstallation.CurrentInstallation;
installation.AddRangeUniqueToList("channels", channels);
installation.SaveAsync(cancellationToken);
Public methodStatic memberSubscribeAsync(String, CancellationToken)
Subscribe the current installation to this channel. This is shorthand for:
var installation = ParseInstallation.CurrentInstallation;
installation.AddUniqueToList("channels", channel);
installation.SaveAsync(cancellationToken);
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodStatic memberUnsubscribeAsync(IEnumerableString)
Unsubscribe the current installation from these channels. This is shorthand for:
var installation = ParseInstallation.CurrentInstallation;
installation.RemoveAllFromList("channels", channels);
installation.SaveAsync();
Public methodStatic memberUnsubscribeAsync(String)
Unsubscribe the current installation from this channel. This is shorthand for:
var installation = ParseInstallation.CurrentInstallation;
installation.Remove("channels", channel);
installation.SaveAsync();
Public methodStatic memberUnsubscribeAsync(IEnumerableString, CancellationToken)
Unsubscribe the current installation from these channels. This is shorthand for:
var installation = ParseInstallation.CurrentInstallation;
installation.RemoveAllFromList("channels", channels);
installation.SaveAsync(cancellationToken);
Public methodStatic memberUnsubscribeAsync(String, CancellationToken)
Unsubscribe the current installation from this channel. This is shorthand for:
var installation = ParseInstallation.CurrentInstallation;
installation.Remove("channels", channel);
installation.SaveAsync(cancellationToken);
Top
See Also

Reference