Skip to content

Commit e94895a

Browse files
committed
Add heading for namespaces
1 parent b392edc commit e94895a

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

MIGRATION_GUIDE_v3_to_v5.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ The SDK is still accessible via a `OneSignal` static class, it provides access t
158158
| `void Logout()` | *Logout the user previously logged in via [login]. The [user] property now references a new device-scoped user. A device-scoped user has no user identity that can later be retrieved, except through this device as long as the app remains installed and the app data is not cleared.* |
159159

160160

161-
**User Namespace**
161+
### User Namespace
162162
The user name space is accessible via `OneSignal.User` and provides access to user-scoped functionality.
163163

164164
| **C#** | **Description** |
@@ -180,7 +180,7 @@ The user name space is accessible via `OneSignal.User` and provides access to us
180180
| `void RemoveTags(params string[] keys)` | *Remove multiple tags from the current user.* |
181181

182182

183-
**Session Namespace**
183+
### Session Namespace
184184
The session namespace is accessible via `OneSignal.Session` and provides access to session-scoped functionality.
185185

186186
| **C#** | **Description** |
@@ -190,7 +190,7 @@ The session namespace is accessible via `OneSignal.Session` and provides access
190190
| `void AddOutcomeWithValue(string name, float value)` | *Add an outcome with the provided name and value, captured against the current session.* |
191191

192192

193-
**Notifications Namespace**
193+
### Notifications Namespace
194194
The notification namespace is accessible via `OneSignal.Notifications` and provides access to notification-scoped functionality.
195195

196196
| **C#** | **Description** |
@@ -205,7 +205,7 @@ The notification namespace is accessible via `OneSignal.Notifications` and provi
205205
| `event EventHandler<NotificationClickEventArgs> Clicked` <br><br> `NotificationClickEventArgs { INotification Notification, INotificationClickResult Result }` | *Set an event that will fire whenever a notification is clicked on by the user.* |
206206

207207

208-
**Location Namespace**
208+
### Location Namespace
209209
The location namespace is accessible via `OneSignal.Location` and provides access to location-scoped functionality.
210210

211211
| **C#** | **Description** |
@@ -214,7 +214,7 @@ The location namespace is accessible via `OneSignal.Location` and provides acces
214214
| `void RequestPermission()` | *Use this method to manually prompt the user for location permissions. This allows for geotagging so you send notifications to users based on location.* |
215215

216216

217-
**InAppMessages Namespace**
217+
### InAppMessages Namespace
218218
The In App Messages namespace is accessible via `OneSignal.InAppMessages` and provides access to in app messages-scoped functionality.
219219

220220
| **C#** | **Description** |
@@ -229,7 +229,7 @@ The In App Messages namespace is accessible via `OneSignal.InAppMessages` and pr
229229
| `event EventHandler<InAppMessageClickEventArgs> Clicked` <br><br> `InAppMessageClickEventArgs { IInAppMessage Message, IInAppMessageClickResult Result }` | *Set the IAM click events.* |
230230

231231

232-
**LiveActivities Namespace**
232+
### LiveActivities Namespace
233233
The Live Activities namespace is accessible via `OneSignal.LiveActivities` and provides access to live activities-scoped functionality.
234234

235235
| **C#** | **Description** |
@@ -238,7 +238,7 @@ The Live Activities namespace is accessible via `OneSignal.LiveActivities` and p
238238
| `Task<bool> ExitAsync(string activityId)` | ***Note:*** *This method is for iOS only<br>Exiting a Live activity deletes the association between a customer defined activityId with a Live Activity temporary push token on OneSignal's server.* |
239239

240240

241-
**Debug Namespace**
241+
### Debug Namespace
242242
The debug namespace is accessible via `OneSignal.Debug` and provides access to debug-scoped functionality.
243243

244244
| **C#** | **Description** |

OneSignalExample/Assets/OneSignal/MIGRATION_GUIDE_v3_to_v5.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ The SDK is still accessible via a `OneSignal` static class, it provides access t
158158
| `void Logout()` | *Logout the user previously logged in via [login]. The [user] property now references a new device-scoped user. A device-scoped user has no user identity that can later be retrieved, except through this device as long as the app remains installed and the app data is not cleared.* |
159159

160160

161-
**User Namespace**
161+
### User Namespace
162162
The user name space is accessible via `OneSignal.User` and provides access to user-scoped functionality.
163163

164164
| **C#** | **Description** |
@@ -180,7 +180,7 @@ The user name space is accessible via `OneSignal.User` and provides access to us
180180
| `void RemoveTags(params string[] keys)` | *Remove multiple tags from the current user.* |
181181

182182

183-
**Session Namespace**
183+
### Session Namespace
184184
The session namespace is accessible via `OneSignal.Session` and provides access to session-scoped functionality.
185185

186186
| **C#** | **Description** |
@@ -190,7 +190,7 @@ The session namespace is accessible via `OneSignal.Session` and provides access
190190
| `void AddOutcomeWithValue(string name, float value)` | *Add an outcome with the provided name and value, captured against the current session.* |
191191

192192

193-
**Notifications Namespace**
193+
### Notifications Namespace
194194
The notification namespace is accessible via `OneSignal.Notifications` and provides access to notification-scoped functionality.
195195

196196
| **C#** | **Description** |
@@ -205,7 +205,7 @@ The notification namespace is accessible via `OneSignal.Notifications` and provi
205205
| `event EventHandler<NotificationClickEventArgs> Clicked` <br><br> `NotificationClickEventArgs { INotification Notification, INotificationClickResult Result }` | *Set an event that will fire whenever a notification is clicked on by the user.* |
206206

207207

208-
**Location Namespace**
208+
### Location Namespace
209209
The location namespace is accessible via `OneSignal.Location` and provides access to location-scoped functionality.
210210

211211
| **C#** | **Description** |
@@ -214,7 +214,7 @@ The location namespace is accessible via `OneSignal.Location` and provides acces
214214
| `void RequestPermission()` | *Use this method to manually prompt the user for location permissions. This allows for geotagging so you send notifications to users based on location.* |
215215

216216

217-
**InAppMessages Namespace**
217+
### InAppMessages Namespace
218218
The In App Messages namespace is accessible via `OneSignal.InAppMessages` and provides access to in app messages-scoped functionality.
219219

220220
| **C#** | **Description** |
@@ -229,7 +229,7 @@ The In App Messages namespace is accessible via `OneSignal.InAppMessages` and pr
229229
| `event EventHandler<InAppMessageClickEventArgs> Clicked` <br><br> `InAppMessageClickEventArgs { IInAppMessage Message, IInAppMessageClickResult Result }` | *Set the IAM click events.* |
230230

231231

232-
**LiveActivities Namespace**
232+
### LiveActivities Namespace
233233
The Live Activities namespace is accessible via `OneSignal.LiveActivities` and provides access to live activities-scoped functionality.
234234

235235
| **C#** | **Description** |
@@ -238,7 +238,7 @@ The Live Activities namespace is accessible via `OneSignal.LiveActivities` and p
238238
| `Task<bool> ExitAsync(string activityId)` | ***Note:*** *This method is for iOS only<br>Exiting a Live activity deletes the association between a customer defined activityId with a Live Activity temporary push token on OneSignal's server.* |
239239

240240

241-
**Debug Namespace**
241+
### Debug Namespace
242242
The debug namespace is accessible via `OneSignal.Debug` and provides access to debug-scoped functionality.
243243

244244
| **C#** | **Description** |

0 commit comments

Comments
 (0)